Skip to content

Releases: rondinif/phytojs

Static code analysis and linting

09 Jun 13:07
Compare
Choose a tag to compare

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

01 Jun 06:02
Compare
Choose a tag to compare

NPM package

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:

  1. Download rondinif-phytojs-1.2.1.tgz and expand it in a temp folder : tmp *$ tar -xvzf rondinif-phytojs-1.2.1.tgz
  2. replace node_modules/@rondinif/phytojs/umd/phyto.js with <YOUR-TMP>/package/umd/phyto.js
  3. check the hot-fix is working by running again the samples

v.1.2.0 - general improvements

26 May 16:32
Compare
Choose a tag to compare

NPM package

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

19 May 22:51
69a0adb
Compare
Choose a tag to compare

NPM package

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

11 May 06:58
Compare
Choose a tag to compare

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.