Skip to content

Commit

Permalink
- Fix: Deal with issue with Chrome/Node and Number.MIN_VALUE conver…
Browse files Browse the repository at this point in the history
…ting

    to string
- Build: Add `yarn.lock`
- License: Rename files to include file extensions for Windows
- Demo: Add example of IDBKeyUtils usage (not documented yet)
- npm (Build): Preserve LICENSE info in `npmignore` (and avoid redundant items)
- npm: Add `web-platform-tests` and `sqlite-rebuild` scripts
- npm: Update typeson/typeson registry; add back mapstraction branch
- npm: Add missing `babel-core` devDep
- npm: Update devDeps
- npm: Update W3C test script to clean before beginning as well
- npm: Limit engines to exclude Node 8.9.3 as having problems with Mocha
    IDBIndex/openCursor-spec.js test
    "should query multi-entry indexes with hundreds of records"; may be
   other problematic versions but 7.7.4 and 9.2.1 are ok
- Build: For Babel, use env over deprecated es2015; rebuild
- Docs: Remove outdated polyfill info in README (babel-polyfill should cover)
- npm: Bump to 3.2.0
  • Loading branch information
brettz9 committed Dec 9, 2017
1 parent ac0f05a commit a94cd5f
Show file tree
Hide file tree
Showing 34 changed files with 16,955 additions and 8,216 deletions.
5 changes: 2 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
/tests-qunit
/web-platform-tests
/.*
/index.html
/Gruntfile.js
/travis.sh
!LICENSE-MIT.txt
!LICENSE-APACHE.txt
21 changes: 21 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# IndexedDBShim changes

## Version 3.2.0

- Fix: Deal with issue with Chrome/Node and `Number.MIN_VALUE` converting
to string
- npm: Add `module` to `package.json` for potential use by Webpack/Rollup
- npm: Limit engines to exclude Node 8.9.3 as having problems with Mocha
IDBIndex/openCursor-spec.js test
"should query multi-entry indexes with hundreds of records"; may be
other problematic versions but 7.7.4 and 9.2.1 are ok
- npm (Build): Update devDeps including versioned `eventtargeter`, `typeson`,
and `typeson-registry`
- npm (Build/Testing): Add missing `babel-core` devDep
- npm (Build): Preserve LICENSE info in `npmignore` (and avoid redundant items)
- npm (Testing): Add `web-platform-tests` and `sqlite-rebuild` scripts
- npm (Testing): Update W3C test script to clean before beginning as well
- Build: For Babel, use env over deprecated es2015; rebuild
- Build: Add `yarn.lock`
- Docs: Remove outdated polyfill info in README (babel-polyfill should cover)
- Demo: Add example of IDBKeyUtils usage (not documented yet)
- License: Rename files to include file extensions for Windows

## Version 3.1.0

- Fix: `update` and `delete` were invalidating the cache and thus
Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const babelBrowserOptions = {
sourceMapsAbsolute: true,
plugins: ['add-module-exports'],
presets: ['es2015']
presets: ['env']
};
const babelES6BrowserOptions = Object.assign({}, babelBrowserOptions, {
presets: [
Expand Down
File renamed without changes.
File renamed without changes.
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ to the data format, thereby breaking old data.***
[![CDNJS](https://img.shields.io/cdnjs/v/IndexedDBShim.svg)](https://cdnjs.com/libraries/IndexedDBShim)
[![License](https://img.shields.io/npm/l/indexeddbshim.svg)](LICENSE-APACHE)

|[Live Demo!](https://cdn.rawgit.com/axemclion/IndexedDBShim/v3.1.0/index.html)
|[Live Demo!](https://cdn.rawgit.com/axemclion/IndexedDBShim/v3.2.0/index.html)
|------------------------------------------------------------

__Use a single, indexable, offline storage API across all desktop and mobile
Expand Down Expand Up @@ -80,21 +80,6 @@ npm install indexeddbshim
Add the following scripts to your page:

```html
<!--
If you omit the first script, you will need to ensure that each of your target
browsers supports the necessary features or for which you have supplied
polyfills. Our code currently relies on at least the following:
- `Array.prototype.includes`
- `Object.assign` (including within the `eventtarget` dependency),
- `Object.values`
- `Object.setPrototypeOf` (called if config set)
- `Set`
- `String.fromCodePoint`
- `String.prototype.codePointAt`
- `Symbol`
- Typed Arrays (if used; part of typeson-registry dependency)
-->
<script src="node_modules/babel-polyfill/dist/polyfill.min.js"></script>
<script src="dist/indexeddbshim.min.js"></script>
```
Expand Down
7 changes: 6 additions & 1 deletion dist/indexeddbshim-Key.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/indexeddbshim-Key.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/indexeddbshim-Key.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/indexeddbshim-Key.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit a94cd5f

Please sign in to comment.