dexie-batch
Advanced tools
Comparing version 0.3.1 to 0.4.0
{ | ||
"name": "dexie-batch", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "Fetch DB entries in batches to improve performance while respecting IPC size constraints", | ||
"main": "dexie-batch.js", | ||
"license": "MIT", | ||
"author": "Raphael von der Grün", | ||
"main": "dist/dexie-batch.js", | ||
"module": "dist/dexie-batch.mjs", | ||
"repository": "raphinesse/dexie-batch", | ||
"scripts": { | ||
"format": "prettier --write '*.js'", | ||
"coverage": "istanbul cover --report html -x spec.js spec.js | tap-spec", | ||
"test": "node spec.js | tap-spec" | ||
"prebuild": "npm test", | ||
"build": "npm run bundle && npm run minify", | ||
"bundle": "rollup -c", | ||
"postbundle": "TEST_SUBJECT=dist/dexie-batch.js ava", | ||
"format": "prettier --ignore-path .gitignore --write '**/*.js'", | ||
"minify": "cujs dist/dexie-batch.js", | ||
"postminify": "TEST_SUBJECT=dist/dexie-batch.min.js ava", | ||
"prepublishOnly": "npm run build", | ||
"test": "xo && nyc ava" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/raphinesse/dexie-batch.git" | ||
"xo": { | ||
"space": 2, | ||
"prettier": true | ||
}, | ||
"keywords": [ | ||
"dexie", | ||
"get", | ||
"fetch", | ||
"batch", | ||
"bulk" | ||
"prettier": { | ||
"bracketSpacing": true, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"author": "Raphael von der Grün", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/raphinesse/dexie-batch/issues" | ||
"devDependencies": { | ||
"ava": "^0.25.0", | ||
"babel-core": "^6.26.0", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-preset-env": "^1.6.1", | ||
"cujs": "^0.2.0", | ||
"dexie": "^2.0.1", | ||
"fake-indexeddb": "^2.0.3", | ||
"nyc": "^11.6.0", | ||
"rollup": "^0.57.1", | ||
"rollup-plugin-babel": "^3.0.3", | ||
"rollup-plugin-commonjs": "^9.1.0", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"uglify-es": "^3.3.9", | ||
"xo": "^0.20.3" | ||
}, | ||
"homepage": "https://github.com/raphinesse/dexie-batch#readme", | ||
"peerDependencies": { | ||
"dexie": ">1.3.6" | ||
}, | ||
"devDependencies": { | ||
"blue-tape": "^1.0.0", | ||
"dexie": "^2.0.1", | ||
"fake-indexeddb": "^2.0.3", | ||
"istanbul": "^0.4.5", | ||
"prettier": "^1.10.2", | ||
"tap-spec": "^4.1.1" | ||
} | ||
"keywords": [ | ||
"batch", | ||
"bulk", | ||
"dexie", | ||
"fetch", | ||
"get" | ||
] | ||
} |
@@ -7,2 +7,3 @@ # `dexie-batch` | ||
If you are using some kind of module bundler: | ||
```shell | ||
@@ -12,2 +13,8 @@ npm i dexie-batch | ||
Alternatively, you can use one of the [pre-built scripts](https://unpkg.com/dexie-batch/dist/) and include it *after* the script for `Dexie`: | ||
```html | ||
<script src="https://unpkg.com/dexie-batch/dist/dexie-batch.min.js"></script> | ||
``` | ||
This way, `DexieBatch` will be available as a global variable. | ||
## Usage | ||
@@ -14,0 +21,0 @@ |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
37821
9
340
53
14
1
3
1
1