localforage
Advanced tools
Comparing version 1.7.4 to 1.8.0
{ | ||
"name": "localforage", | ||
"main": [ | ||
"dist/localforage.js" | ||
], | ||
"ignore": [ | ||
".travis.yml", | ||
"CONTRIBUTING.md", | ||
"config.rb", | ||
"Gemfile", | ||
"Gemfile.lock", | ||
"Rakefile", | ||
"LICENSE", | ||
"docs*", | ||
"examples*", | ||
"test*", | ||
"site*" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"es6-promise": "~1.0.0", | ||
"requirejs": "~2.1.10", | ||
"mocha": "~3.4.2", | ||
"expect": "~0.3.1", | ||
"assert": "~0.1.0", | ||
"modernizr": "~2.8.1" | ||
}, | ||
"version": "1.7.4" | ||
"name": "localforage", | ||
"main": ["dist/localforage.js"], | ||
"ignore": [ | ||
".travis.yml", | ||
"CONTRIBUTING.md", | ||
"config.rb", | ||
"Gemfile", | ||
"Gemfile.lock", | ||
"Rakefile", | ||
"LICENSE", | ||
"docs*", | ||
"examples*", | ||
"test*", | ||
"site*" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"es6-promise": "~1.0.0", | ||
"requirejs": "~2.1.10", | ||
"mocha": "~3.4.2", | ||
"expect": "~0.3.1", | ||
"assert": "~0.1.0", | ||
"modernizr": "~2.8.1" | ||
}, | ||
"version": "1.8.0" | ||
} |
@@ -6,2 +6,6 @@ # About this CHANGELOG | ||
### [1.8.0](https://github.com/mozilla/localForage/releases/tag/1.8.0) | ||
* No changes to code, but added a `module` field in `package.json` for better ESM support. See: #940. | ||
### [1.7.4](https://github.com/mozilla/localForage/releases/tag/1.7.4) | ||
@@ -8,0 +12,0 @@ |
{ | ||
"name": "localforage", | ||
"version": "1.7.4", | ||
"dependencies": { | ||
"then/promise": "5.0.0" | ||
}, | ||
"scripts": [ | ||
"build/es5src/localforage.js", | ||
"build/es5src/utils/serializer.js", | ||
"build/es5src/drivers/indexeddb.js", | ||
"build/es5src/drivers/localstorage.js", | ||
"build/es5src/drivers/websql.js" | ||
], | ||
"main": "build/es5src/localforage.js" | ||
"name": "localforage", | ||
"version": "1.8.0", | ||
"dependencies": { | ||
"then/promise": "5.0.0" | ||
}, | ||
"scripts": [ | ||
"build/es5src/localforage.js", | ||
"build/es5src/utils/serializer.js", | ||
"build/es5src/drivers/indexeddb.js", | ||
"build/es5src/drivers/localstorage.js", | ||
"build/es5src/drivers/websql.js" | ||
], | ||
"main": "build/es5src/localforage.js" | ||
} |
/*! | ||
localForage -- Offline Storage, Improved | ||
Version 1.7.4 | ||
Version 1.8.0 | ||
https://localforage.github.io/localForage | ||
@@ -5,0 +5,0 @@ (c) 2013-2017 Mozilla, Apache License 2.0 |
/*! | ||
localForage -- Offline Storage, Improved | ||
Version 1.7.4 | ||
Version 1.8.0 | ||
https://localforage.github.io/localForage | ||
@@ -5,0 +5,0 @@ (c) 2013-2017 Mozilla, Apache License 2.0 |
143
package.json
{ | ||
"name": "localforage", | ||
"author": "Mozilla", | ||
"license": "Apache-2.0", | ||
"description": "Offline storage, improved.", | ||
"keywords": [ | ||
"indexeddb", | ||
"localstorage", | ||
"storage", | ||
"websql" | ||
], | ||
"version": "1.7.4", | ||
"homepage": "https://github.com/localForage/localForage", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/localForage/localForage.git" | ||
}, | ||
"scripts": { | ||
"build": "node -e \"require('grunt').cli()\" null build", | ||
"prettify": "prettier --write \"src/**/*.js\" \"test/**/*.js\"", | ||
"publish-docs": "node -e \"require('grunt').cli()\" null copy build-rules-html publish-rules", | ||
"serve": "node -e \"require('grunt').cli()\" null serve", | ||
"test": "node -e \"require('grunt').cli()\" null test" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.5.1", | ||
"babel-eslint": "^7.2.3", | ||
"babel-loader": "^6.2.2", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-plugin-transform-es2015-modules-umd": "^6.5.0", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-preset-es2015-loose": "^7.0.0", | ||
"babelify": "^7.2.0", | ||
"browserify-derequire": "^0.9.4", | ||
"bundle-collapser": "^1.2.1", | ||
"cors": "^2.3.1", | ||
"eslint-config-prettier": "^2.9.0", | ||
"grunt": "^0.4.2", | ||
"grunt-babel": "^6.0.0", | ||
"grunt-browserify": "^3.8.0", | ||
"grunt-contrib-concat": "^0.3.0", | ||
"grunt-contrib-connect": "^0.8.0", | ||
"grunt-contrib-uglify": "^0.4.0", | ||
"grunt-contrib-watch": "^0.5.0", | ||
"grunt-es3-safe-recast": "^0.1.0", | ||
"grunt-eslint": "^20.0.0", | ||
"mocha-headless-chrome": "2.0.3", | ||
"grunt-rollup": "^0.6.2", | ||
"grunt-run": "^0.5.2", | ||
"grunt-saucelabs": "^5.1.2", | ||
"grunt-ts": "^6.0.0-beta.11", | ||
"grunt-webpack": "^1.0.11", | ||
"husky": "^2.3.0", | ||
"lint-staged": "^8.1.7", | ||
"load-grunt-tasks": "^0.4.0", | ||
"mocha": "^3.4.2", | ||
"prettier": "~1.12.0", | ||
"rollupify": "^0.1.0", | ||
"script-loader": "^0.6.1", | ||
"typescript": "^2.0.3", | ||
"uglify-js": "^2.3.x", | ||
"webpack": "^1.12.13", | ||
"webpack-dev-server": "^1.10.1" | ||
}, | ||
"main": "dist/localforage.js", | ||
"typings": "typings/localforage.d.ts", | ||
"bugs": { | ||
"url": "http://github.com/localForage/localForage/issues" | ||
}, | ||
"dependencies": { | ||
"lie": "3.1.1" | ||
} | ||
"name": "localforage", | ||
"author": "Mozilla", | ||
"license": "Apache-2.0", | ||
"description": "Offline storage, improved.", | ||
"keywords": [ | ||
"indexeddb", | ||
"localstorage", | ||
"storage", | ||
"websql" | ||
], | ||
"version": "1.8.0", | ||
"homepage": "https://github.com/localForage/localForage", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/localForage/localForage.git" | ||
}, | ||
"scripts": { | ||
"build": "node -e \"require('grunt').cli()\" null build", | ||
"prettify": "prettier --write \"src/**/*.js\" \"test/**/*.js\"", | ||
"publish-docs": "node -e \"require('grunt').cli()\" null copy build-rules-html publish-rules", | ||
"serve": "node -e \"require('grunt').cli()\" null serve", | ||
"test": "node -e \"require('grunt').cli()\" null test" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.5.1", | ||
"babel-eslint": "^7.2.3", | ||
"babel-loader": "^6.2.2", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-plugin-transform-es2015-modules-umd": "^6.5.0", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-preset-es2015-loose": "^7.0.0", | ||
"babelify": "^7.2.0", | ||
"browserify-derequire": "^0.9.4", | ||
"bundle-collapser": "^1.2.1", | ||
"cors": "^2.3.1", | ||
"eslint-config-prettier": "^2.9.0", | ||
"grunt": "^0.4.2", | ||
"grunt-babel": "^6.0.0", | ||
"grunt-browserify": "^3.8.0", | ||
"grunt-contrib-concat": "^0.3.0", | ||
"grunt-contrib-connect": "^0.8.0", | ||
"grunt-contrib-uglify": "^0.4.0", | ||
"grunt-contrib-watch": "^0.5.0", | ||
"grunt-es3-safe-recast": "^0.1.0", | ||
"grunt-eslint": "^20.0.0", | ||
"mocha-headless-chrome": "3.1.0", | ||
"grunt-rollup": "^0.6.2", | ||
"grunt-run": "^0.5.2", | ||
"grunt-saucelabs": "^5.1.2", | ||
"grunt-ts": "^6.0.0-beta.11", | ||
"grunt-webpack": "^1.0.11", | ||
"husky": "^2.3.0", | ||
"lint-staged": "^8.1.7", | ||
"load-grunt-tasks": "^0.4.0", | ||
"mocha": "^3.4.2", | ||
"prettier": "~1.12.0", | ||
"rollupify": "^0.1.0", | ||
"script-loader": "^0.6.1", | ||
"typescript": "^2.0.3", | ||
"uglify-js": "^2.3.x", | ||
"webpack": "^1.12.13", | ||
"webpack-dev-server": "^1.10.1" | ||
}, | ||
"main": "dist/localforage.js", | ||
"module": "src/localforage.js", | ||
"typings": "typings/localforage.d.ts", | ||
"bugs": { | ||
"url": "http://github.com/localForage/localForage/issues" | ||
}, | ||
"dependencies": { | ||
"lie": "3.1.1" | ||
} | ||
} |
@@ -7,3 +7,3 @@ # localForage | ||
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/localforage/badge?style=rounded)](https://www.jsdelivr.com/package/npm/localforage) | ||
[![minzipped size](https://badgen.net/bundlephobia/minzip/localforage)](https://bundlephobia.com/result?p=localforage@1.7.4) | ||
[![minzipped size](https://badgen.net/bundlephobia/minzip/localforage)](https://bundlephobia.com/result?p=localforage@1.8.0) | ||
@@ -32,4 +32,2 @@ localForage is a fast and simple storage library for JavaScript. localForage | ||
localForage is compatible with [browserify](http://browserify.org/). | ||
[supported browsers]: https://github.com/localForage/localForage/wiki/Supported-Browsers-Platforms | ||
@@ -44,6 +42,2 @@ | ||
## Safari 10.1+ | ||
Since Safari 10.1 we default to IndexedDB; see the [CHANGELOG](https://github.com/localForage/localForage/blob/master/CHANGELOG.md) for more info. | ||
# How to use localForage | ||
@@ -171,16 +165,2 @@ | ||
## Browserify and Webpack | ||
localForage 1.3+ works with both Browserify and Webpack. If you're using an | ||
earlier version of localForage and are having issues with Browserify or | ||
Webpack, please upgrade to 1.3.0 or above. | ||
Webpack will emit a warning about using a prebuilt javascript file which is fine. If you want to remove the warning you should exclude `localforage` from being parsed by webpack using the following conf : | ||
```javascript | ||
module: { | ||
noParse: /node_modules\/localforage\/dist\/localforage.js/, | ||
loaders: [...], | ||
``` | ||
## TypeScript | ||
@@ -187,0 +167,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1775570
30139
259