New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

js-data

Package Overview
Dependencies
Maintainers
2
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-data - npm Package Compare versions

Comparing version 3.0.8 to 4.0.0-beta.1

src/Collection.ts

10

CHANGELOG.md

@@ -1,11 +0,5 @@

##### 3.0.8 - 3 September 2019
##### 4.0.0-beta.1 - 31 January 2020
###### Bug fixes
- Fix beforeCreate & beforeCreateMany lifecycle hook re-assignment of props
- [#560] - Typescript migration
##### 3.0.7 - 3 September 2019
###### Bug fixes
- Fix beforeCreate & beforeCreateMany lifecycle hook re-assignment of props
##### 3.0.5 - 2 December 2018

@@ -12,0 +6,0 @@

93

package.json
{
"name": "js-data",
"description": "Robust, framework-agnostic in-memory data store.",
"version": "3.0.8",
"version": "4.0.0-beta.1",
"homepage": "http://www.js-data.io",

@@ -14,3 +14,3 @@ "repository": {

"jsnext:main": "dist/js-data.es2015.js",
"typings": "./dist/js-data.d.ts",
"module": "./src/index.ts",
"files": [

@@ -38,3 +38,3 @@ "dist/",

"standard": {
"parser": "babel-eslint",
"parser": "@typescript-eslint/parser",
"globals": [

@@ -50,64 +50,49 @@ "beforeEach",

"build": "npm run lint && npm run bundle && npm run min && npm run banner",
"bundle:es5": "rollup src/index.js -c -o dist/js-data.js -m dist/js-data.js.map -f umd",
"bundle:next": "rollup src/index.js -c -o dist/js-data.es2015.js -m dist/js-data.es2015.js.map -f es",
"bundle:es5": "rollup src/index.ts -c -o dist/js-data.js -m dist/js-data.js.map -f umd",
"bundle:next": "rollup src/index.ts -c -o dist/js-data.es2015.js -m dist/js-data.es2015.js.map -f es",
"bundle": "npm run bundle:es5 && npm run bundle:next && repo-tools write-version dist/js-data.js dist/js-data.es2015.js",
"cover": "nyc --require babel-core/register --require babel-polyfill --cache mocha --recursive -t 20000 -R dot && nyc report --reporter=html",
"doc": "jsdoc -c conf.json src && node scripts/cleanup.js",
"cover": "nyc npm run mocha && nyc report --reporter=html",
"doc": "typedoc --out doc src",
"gzip": "echo gzipped size: $(cat dist/js-data.min.js | gzip -f9 | wc -c)kb",
"karma": "karma start",
"lint": "eslint --fix src/**/*.js && standard 'src/**/*.js' 'test/**/*.js' 'scripts/*.js' 'lib/**/*.js' '*.config.js'",
"lint": "eslint --fix 'src/**/*.ts' 'test/**/*.ts' && standard --fix 'scripts/*.js' '*.config.js'",
"min": "uglifyjs -o dist/js-data.min.js --source-map url=js-data.min.map -v -m -c --keep-fnames --screw-ie8 -- dist/js-data.js",
"mocha": "mocha --recursive -t 20000 -R dot -r babel-core/register -r babel-polyfill",
"mocha": "mocha --recursive -t 20000 -R dot -r ts-node/register './**/*.test.ts'",
"precommit": "lint-staged && npm run lint",
"prepush": "npm test",
"release": "npm test && npm run doc && repo-tools updates && repo-tools changelog && repo-tools authors",
"test": "npm run build && npm run cover && npm run karma"
"release": "npm test && npm run doc && repo-tools changelog && repo-tools authors",
"test": "npm run build && npm run cover"
},
"lint-staged": {
"linters": {
"src/**/*.js": [
"prettier-standard",
"git add"
]
}
"{src,test}/**/*.ts": "eslint --fix"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-plugin-external-helpers": "6.22.0",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-transform-es2015-modules-umd": "6.24.1",
"babel-plugin-transform-regenerator": "6.26.0",
"babel-polyfill": "6.26.0",
"babel-preset-env": "^1.7.0",
"chai": "^4.1.2",
"eslint": "^5.4.0",
"eslint-config-standard": "^12.0.0-alpha.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-standard": "^3.1.0",
"husky": "^0.14.3",
"@js-data/repo-tools": "^1.0.1",
"@rollup/plugin-typescript": "^3.0.0",
"@types/chai": "^4.2.8",
"@types/mocha": "^7.0.1",
"@types/sinon": "^7.5.1",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-standard-with-typescript": "^12.0.1",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.1",
"ink-docstrap": "git+https://github.com/js-data/docstrap.git#cfbe45fa313e1628c493076d5e15d2b855dfbf2c",
"js-data-repo-tools": "1.0.0",
"jsdoc": "^3.5.5",
"karma": "3.0.0",
"karma-babel-preprocessor": "7.0.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "2.2.0",
"karma-mocha": "1.3.0",
"karma-phantomjs-launcher": "1.0.4",
"karma-sauce-launcher": "1.2.0",
"karma-sinon": "1.0.5",
"lint-staged": "^7.2.2",
"mocha": "5.2.0",
"nyc": "12.0.2",
"phantomjs-prebuilt": "2.1.16",
"prettier-standard": "^8.0.1",
"rollup": "0.64.1",
"rollup-plugin-babel": "3.0.7",
"sinon": "6.1.5",
"standard": "11.0.1",
"uglify-js": "3.4.7"
"lint-staged": "^10.0.7",
"lodash": "^4.17.15",
"mocha": "^7.0.0",
"nyc": "15.0.0",
"prettier-standard": "^16.1.0",
"rollup": "^1.31.0",
"sinon": "^8.1.0",
"standard": "^14.3.1",
"ts-node": "^8.6.2",
"tslib": "^1.10.0",
"typedoc": "^0.16.9",
"typescript": "^3.7.5",
"uglify-js": "^3.7.6"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc