Releases: rondinif/phytojs
Releases · rondinif/phytojs
Static code analysis and linting
Since 1.3.0 the project the project adopts static code analysis tools to keep the control of the technical debt and improve the general quality of the code; in addition it adopts linting techniques of the code to guarantee a clean and homogeneous style code base
v1.2.1 hotfix invalid ESM references in UMD autogenerated modules
npm i @rondinif/[email protected]
Take a look at the updated UMD PhytoJS sample:
node samples/index.umd.js
node samples/index.umd.1.js
node samples/index.umd.2.js
node samples/index.umd.3.js
in case of failure:
- Download
rondinif-phytojs-1.2.1.tgz
and expand it in a temp folder :tmp *$ tar -xvzf rondinif-phytojs-1.2.1.tgz
- replace
node_modules/@rondinif/phytojs/umd/phyto.js
with<YOUR-TMP>/package/umd/phyto.js
- check the hot-fix is working by running again the samples
v.1.2.0 - general improvements
npm i @rondinif/[email protected]
Take a look at how to use PhytoJS library in a SPA implemented in vanilla Javascript ES6 base on MVC pattern live demo
v1.1.0
npm i @rondinif/[email protected]
Take a look at how to use PhytoJS library in a SPA implemented in vanilla Javascript ES6 base on MVC pattern live demo
HOTFIX to work properly in browsers wt CORS
fixed CORS disabled in Chrome breaks the operation od the service
src/lib/OpenDataLogicAgent.mjs::getPromiseOfWikiDataApiActionQuerySearchByName
now has support for cors
; this fix errors in browser such as:
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.