Comparing version 0.4.0 to 0.4.1
# Changelog | ||
### 0.4.1 | ||
* Added UMD build | ||
### 0.4.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "immer", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Create your next immutable state by mutating the current one", | ||
@@ -11,3 +11,5 @@ "main": "immer.js", | ||
"coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", | ||
"prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write" | ||
"prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write", | ||
"build:umd": "browserify immer.js -o immer.umd.js -s immer && browserify es5.js -o es5.umd.js -s immer", | ||
"prepublish": "yarn build:umd" | ||
}, | ||
@@ -34,3 +36,5 @@ "pre-commit": [ | ||
"immer.js", | ||
"immer.umd.js", | ||
"es5.js", | ||
"es5.umd.js", | ||
"index.d.ts" | ||
@@ -43,2 +47,3 @@ ], | ||
"babel-preset-env": "^1.6.1", | ||
"browserify": "^15.0.0", | ||
"coveralls": "^3.0.0", | ||
@@ -45,0 +50,0 @@ "deep-freeze": "^0.0.1", |
@@ -13,3 +13,3 @@ # Immer | ||
* NPM / Yarn: `npm install immer` | ||
* CDN: https://unpkg.com/immer | ||
* CDN: https://unpkg.com/immer/immer.umd.js or https://unpkg.com/immer/es5.umd.js. Exposed global is `immer`. | ||
@@ -16,0 +16,0 @@ Immer (German for: always) is a tiny package that allows you to work with immutable state in a more convenient way. |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
56870
9
1044
14
4