Comparing version 2.0.2 to 2.0.3
@@ -23,3 +23,3 @@ /* | ||
/* | ||
* Version 2.0.2 - e9f61e5 | ||
* Version 2.0.3 - 0a8f025 | ||
*/ | ||
@@ -26,0 +26,0 @@ |
@@ -71,5 +71,5 @@ # Hacking on Kinto.js | ||
- `dist/kinto-2.0.1.js`: Development version, unminified, embedding source maps; | ||
- `dist/kinto-2.0.1.min.js`: Production version, minified, no source maps; | ||
- `dist/kinto-2.0.1.noshim.js`: Production version, minified, no polyfills; | ||
- `dist/kinto.js`: Development version, unminified, embedding source maps; | ||
- `dist/kinto.min.js`: Production version, minified, no source maps; | ||
- `dist/kinto.noshim.js`: Production version, minified, no polyfills; | ||
- `dist/moz-kinto-offline-client.js`: Firefox internal component bundle (for Mozilla specific use). | ||
@@ -79,5 +79,5 @@ | ||
- [http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.js](http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.js) for the development version; | ||
- [http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.min.js](http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.min.js) for the production version. | ||
- [http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.noshim.js](http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.noshim.js) for the production version without polyfills. | ||
- [http://npmcdn.com/kinto/dist/kinto.js](http://npmcdn.com/kinto/dist/kinto.js) for the development version; | ||
- [http://npmcdn.com/kinto/dist/kinto.min.js](http://npmcdn.com/kinto/dist/kinto.min.js) for the production version. | ||
- [http://npmcdn.com/kinto/dist/kinto.noshim.js](http://npmcdn.com/kinto/dist/kinto.noshim.js) for the production version without polyfills. | ||
@@ -84,0 +84,0 @@ ## Updating docs |
@@ -19,5 +19,5 @@ # Installing Kinto.js | ||
- Dev version, including source maps: [kinto-2.0.1.js](http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.js) | ||
- Production version, minified, no source maps: [kinto-2.0.1.min.js](http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.min.js) | ||
- Minimalist version, without polyfills [kinto-2.0.1.noshim.js](http://npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.noshim.js) | ||
- Dev version, including source maps: [kinto.js](http://npmcdn.com/kinto/dist/kinto.js) | ||
- Production version, minified, no source maps: [kinto.min.js](http://npmcdn.com/kinto/dist/kinto.min.js) | ||
- Minimalist version, without polyfills [kinto.noshim.js](http://npmcdn.com/kinto/dist/kinto.noshim.js) | ||
@@ -35,4 +35,4 @@ > #### Notes | ||
```html | ||
<script src="//npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.min.js" | ||
integrity="sha384-/6HibJ/ub13TpR2+A2DhxlX6qo0hSIzT75j26NpoAlRQEDefIV56QWmWqo1n9fjG" | ||
<script src="//npmcdn.com/kinto@X.Y.Z/dist/kinto.min.js" | ||
integrity="sha384-<refer to the table below to retrieve the proper hash>" | ||
crossorigin="anonymous"> | ||
@@ -44,5 +44,6 @@ </script> | ||
|-------------------------|-------------------------------------------------------------------------| | ||
| kinto-2.0.1.js | sha384-dnS8mqJJO8tfA5ltm4hbDgU/xDbxgKTRUb06s514e/TLowfz5Y05kbPkqec0Wx/X | | ||
| kinto-2.0.1.min.js | sha384-/6HibJ/ub13TpR2+A2DhxlX6qo0hSIzT75j26NpoAlRQEDefIV56QWmWqo1n9fjG | | ||
| kinto-2.0.1.noshim.js | sha384-uT/r9N2hBs+/nUKSxIR9asConCsr2kX89pMglaRDr66CCCFFOzw09v4GSDj3fdNr | | ||
| kinto.js | sha384-wOOIJGZhGCWgy9NpG/9u5Z/P/+QhmXEn7sRIaWhIn/LtpFF4AEue7g8Q9ALFuL78 | | ||
| kinto.min.js | sha384-+nl5SVE5KtBDyiHKcKwqe1AA2aEj+fhrqhUCYiKN5MMPK8FAk3P7TI7bR+4Z8LoG | | ||
| kinto.noshim.js | sha384-rKJ9KxJS7RaeHjdZu3o6HVdf/EL8U26eNcHwZoWcyDxRT01RABMGVGh+Sc+Qmr3i | | ||
@@ -39,3 +39,3 @@ # Tutorial | ||
</div> | ||
<script src="//npmcdn.com/kinto@2.0.1/dist/kinto-2.0.1.js"></script> | ||
<script src="//npmcdn.com/kinto/dist/kinto.min.js"></script> | ||
<script src="demo.js"></script> | ||
@@ -42,0 +42,0 @@ </body> |
{ | ||
"name": "kinto", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "JavaScript client for Kinto.", | ||
@@ -8,11 +8,11 @@ "main": "lib/index.js", | ||
"build": "babel -d lib/ src/", | ||
"build-demo": "mkdir -p dist && npm run dist-prod && cp dist/kinto-$npm_package_version.min.js demo/kinto.js", | ||
"build-demo": "mkdir -p dist && npm run dist-prod && cp dist/kinto.min.js demo/kinto.js", | ||
"demo": "npm run build-demo && http-server demo", | ||
"dist": "mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx", | ||
"dist-dev": "browserify --ignore process -s Kinto -d -e src/index.js -o dist/kinto-$npm_package_version.js -t [ babelify --sourceMapRelative . ]", | ||
"dist-noshim": "browserify --ignore process -s Kinto -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-$npm_package_version.noshim.js -t [ babelify --sourceMapRelative . ]", | ||
"dist-prod": "browserify --ignore process -s Kinto -g uglifyify -e src/index.js -o dist/kinto-$npm_package_version.min.js -t [ babelify --sourceMapRelative . ]", | ||
"dist-dev": "browserify --ignore process -s Kinto -d -e src/index.js -o dist/kinto.js -t [ babelify --sourceMapRelative . ]", | ||
"dist-noshim": "browserify --ignore process -s Kinto -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto.noshim.js -t [ babelify --sourceMapRelative . ]", | ||
"dist-prod": "browserify --ignore process -s Kinto -g uglifyify -e src/index.js -o dist/kinto.min.js -t [ babelify --sourceMapRelative . ]", | ||
"dist-fx": "BABEL_ENV=firefox browserify -s loadKinto --bare --ignore uuid --ignore kinto-client --ignore isomorphic-fetch -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-offline-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-offline-client.js && cat temp.jsm >> dist/moz-kinto-offline-client.js && rm temp.jsm", | ||
"compute-sri": "cd dist; for file in $(ls kinto-*.js); do printf \"| %-23s | %-64s |\\n\" ${file} $(echo -n 'sha384-' && cat ${file} | openssl dgst -sha384 -binary | openssl enc -base64); done", | ||
"publish-demo": "npm run dist-prod && cp dist/kinto-$npm_package_version.js demo/kinto.js && gh-pages -d demo", | ||
"compute-sri": "cd dist; for file in $(ls kinto*.js); do printf \"| %-23s | %-64s |\\n\" ${file} $(echo -n 'sha384-' && cat ${file} | openssl dgst -sha384 -binary | openssl enc -base64); done", | ||
"publish-demo": "npm run dist-prod && cp dist/kinto.js demo/kinto.js && gh-pages -d demo", | ||
"publish-to-npm": "npm run dist && npm run build && npm publish", | ||
@@ -19,0 +19,0 @@ "report-coverage": "npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6
2894485