launchdarkly-js-sdk-common
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -5,2 +5,6 @@ # Change log | ||
## [4.0.1] - 2022-01-21 | ||
### Changed: | ||
- This package is now published as a regular Node module. Previously, it was published as minified bundles created by Rollup. There was no need for this since Rollup is only needed for web code, and the `js-client-sdk` build already runs Rollup to embed the `js-sdk-common` code. Using Rollup caused the platform-dependent behavior of `uuid` to fail because the code for only one platform (browser or Node) was embedded. | ||
## [4.0.0] - 2022-01-14 | ||
@@ -7,0 +11,0 @@ ### Changed: |
{ | ||
"name": "launchdarkly-js-sdk-common", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "LaunchDarkly SDK for JavaScript - common code", | ||
"author": "LaunchDarkly <team@launchdarkly.com>", | ||
"license": "Apache-2.0", | ||
"files": [ | ||
"ldclient-common.cjs.js", | ||
"ldclient-common.cjs.js.map", | ||
"ldclient-common.es.js", | ||
"ldclient-common.es.js.map", | ||
"ldclient-common.min.js", | ||
"ldclient-common.min.js.map", | ||
"typings.d.ts" | ||
], | ||
"types": "./typings.d.ts", | ||
"main": "dist/ldclient-common.cjs.js", | ||
"module": "dist/ldclient-common.es.js", | ||
"unpkg": "dist/ldclient-common.min.js", | ||
"jsdelivr": "dist/ldclient-common.min.js", | ||
"main": "src/index.js", | ||
"scripts": { | ||
@@ -30,10 +18,4 @@ "lint": "eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path .eslintignore", | ||
"format:test:js": "prettier --ignore-path .prettierignore --list-different 'src/**/*.js'", | ||
"build": "cross-env NODE_ENV=development rollup -c rollup.config.js", | ||
"build:min": "cross-env NODE_ENV=production rollup -c rollup.config.js", | ||
"test": "cross-env NODE_ENV=test jest", | ||
"test:junit": "cross-env NODE_ENV=test jest --testResultsProcessor jest-junit", | ||
"check-typescript": "node_modules/typescript/bin/tsc", | ||
"clean": "rimraf dist/**", | ||
"prepublishOnly": "npm run build:min", | ||
"prepare": "npm run build" | ||
"check-typescript": "node_modules/typescript/bin/tsc" | ||
}, | ||
@@ -47,3 +29,2 @@ "devDependencies": { | ||
"@babel/runtime": "7.6.3", | ||
"@rollup/plugin-node-resolve": "^6.0.0", | ||
"@rollup/plugin-replace": "^2.2.0", | ||
@@ -64,9 +45,2 @@ "babel-eslint": "^10.1.0", | ||
"readline-sync": "^1.4.9", | ||
"rimraf": "^2.6.2", | ||
"rollup": "^1.26.0", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-filesize": "^6.2.1", | ||
"rollup-plugin-terser": "5.2.0", | ||
"rollup-plugin-uglify": "6.0.4", | ||
"semver": "^5.5.0", | ||
@@ -73,0 +47,0 @@ "semver-compare": "^1.0.0", |
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
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
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
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
24
64
8241
1
364764
1