Comparing version 1.4.1 to 2.0.0
{ | ||
"name": "translate", | ||
"version": "1.4.1", | ||
"version": "2.0.0", | ||
"description": "Translate text to different languages on node.js and the browser", | ||
@@ -8,5 +8,3 @@ "homepage": "https://github.com/franciscop/translate#readme", | ||
"bugs": "https://github.com/franciscop/translate/issues", | ||
"funding": { | ||
"url": "https://www.paypal.me/franciscopresencia/19" | ||
}, | ||
"funding": "https://www.paypal.me/franciscopresencia/19", | ||
"author": "Francisco Presencia <public@francisco.io> (https://francisco.io/)", | ||
@@ -16,6 +14,6 @@ "license": "MIT", | ||
"start": "npm run watch # Start ~= Start dev", | ||
"build": "rollup src/index.js --name translate --output.format umd | uglifyjs -o translate.min.js", | ||
"test": "jest --coverage --collectCoverageFrom=src/**/*.js", | ||
"watch": "nodemon --exec \"npm run build && npm test && npm run gzip\" --watch src --watch test --watch webpack.config.js --watch package.json", | ||
"gzip": "gzip -c translate.min.js | wc -c && echo 'bytes' # Only for Unix" | ||
"build": "rollup src/index.js --name translate --output.format umd | terser --compress --mangle -o index.min.js", | ||
"size": "gzip -c index.min.js | wc -c && echo 'bytes' # Only for Unix", | ||
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --collectCoverageFrom=src/**/*.js && npx check-dts", | ||
"watch": "nodemon --exec \"npm run build && npm test && npm run gzip\" --watch src --watch test --watch webpack.config.js --watch package.json" | ||
}, | ||
@@ -31,27 +29,19 @@ "keywords": [ | ||
], | ||
"main": "translate.min.js", | ||
"dependencies": { | ||
"@babel/preset-env": "^7.15.6", | ||
"node-fetch": "^2.6.0" | ||
}, | ||
"type": "module", | ||
"main": "index.min.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"devDependencies": { | ||
"@babel/plugin-transform-runtime": "^7.15.0", | ||
"babel-core": "^6.26.3", | ||
"babel-jest": "^27.2.1", | ||
"dotenv": "^4.0.0", | ||
"check-dts": "^0.7.1", | ||
"dotenv": "^16.0.3", | ||
"fetch-mock": "^9.11.0", | ||
"jest": "^27.2.1", | ||
"rollup": "^0.50.0", | ||
"uglify-es": "^3.1.3" | ||
"jest": "^29.5.0", | ||
"rollup": "^3.20.2", | ||
"terser": "^5.16.9" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"@babel/preset-env" | ||
], | ||
"plugins": [ | ||
[ | ||
"@babel/plugin-transform-runtime" | ||
] | ||
] | ||
"jest": { | ||
"transform": {} | ||
} | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
0
6
0
168
1
2
Yes
18392
5
24
- Removed@babel/preset-env@^7.15.6
- Removednode-fetch@^2.6.0
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/compat-data@7.26.2(transitive)
- Removed@babel/core@7.26.0(transitive)
- Removed@babel/generator@7.26.2(transitive)
- Removed@babel/helper-annotate-as-pure@7.25.9(transitive)
- Removed@babel/helper-builder-binary-assignment-operator-visitor@7.25.9(transitive)
- Removed@babel/helper-compilation-targets@7.25.9(transitive)
- Removed@babel/helper-create-class-features-plugin@7.25.9(transitive)
- Removed@babel/helper-create-regexp-features-plugin@7.25.9(transitive)
- Removed@babel/helper-define-polyfill-provider@0.6.3(transitive)
- Removed@babel/helper-member-expression-to-functions@7.25.9(transitive)
- Removed@babel/helper-module-imports@7.25.9(transitive)
- Removed@babel/helper-module-transforms@7.26.0(transitive)
- Removed@babel/helper-optimise-call-expression@7.25.9(transitive)
- Removed@babel/helper-plugin-utils@7.25.9(transitive)
- Removed@babel/helper-remap-async-to-generator@7.25.9(transitive)
- Removed@babel/helper-replace-supers@7.25.9(transitive)
- Removed@babel/helper-simple-access@7.25.9(transitive)
- Removed@babel/helper-skip-transparent-expression-wrappers@7.25.9(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/helper-validator-option@7.25.9(transitive)
- Removed@babel/helper-wrap-function@7.25.9(transitive)
- Removed@babel/helpers@7.26.0(transitive)
- Removed@babel/parser@7.26.2(transitive)
- Removed@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(transitive)
- Removed@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9(transitive)
- Removed@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(transitive)
- Removed@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9(transitive)
- Removed@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9(transitive)
- Removed@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(transitive)
- Removed@babel/plugin-syntax-import-assertions@7.26.0(transitive)
- Removed@babel/plugin-syntax-import-attributes@7.26.0(transitive)
- Removed@babel/plugin-syntax-unicode-sets-regex@7.18.6(transitive)
- Removed@babel/plugin-transform-arrow-functions@7.25.9(transitive)
- Removed@babel/plugin-transform-async-generator-functions@7.25.9(transitive)
- Removed@babel/plugin-transform-async-to-generator@7.25.9(transitive)
- Removed@babel/plugin-transform-block-scoped-functions@7.25.9(transitive)
- Removed@babel/plugin-transform-block-scoping@7.25.9(transitive)
- Removed@babel/plugin-transform-class-properties@7.25.9(transitive)
- Removed@babel/plugin-transform-class-static-block@7.26.0(transitive)
- Removed@babel/plugin-transform-classes@7.25.9(transitive)
- Removed@babel/plugin-transform-computed-properties@7.25.9(transitive)
- Removed@babel/plugin-transform-destructuring@7.25.9(transitive)
- Removed@babel/plugin-transform-dotall-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-duplicate-keys@7.25.9(transitive)
- Removed@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-dynamic-import@7.25.9(transitive)
- Removed@babel/plugin-transform-exponentiation-operator@7.25.9(transitive)
- Removed@babel/plugin-transform-export-namespace-from@7.25.9(transitive)
- Removed@babel/plugin-transform-for-of@7.25.9(transitive)
- Removed@babel/plugin-transform-function-name@7.25.9(transitive)
- Removed@babel/plugin-transform-json-strings@7.25.9(transitive)
- Removed@babel/plugin-transform-literals@7.25.9(transitive)
- Removed@babel/plugin-transform-logical-assignment-operators@7.25.9(transitive)
- Removed@babel/plugin-transform-member-expression-literals@7.25.9(transitive)
- Removed@babel/plugin-transform-modules-amd@7.25.9(transitive)
- Removed@babel/plugin-transform-modules-commonjs@7.25.9(transitive)
- Removed@babel/plugin-transform-modules-systemjs@7.25.9(transitive)
- Removed@babel/plugin-transform-modules-umd@7.25.9(transitive)
- Removed@babel/plugin-transform-named-capturing-groups-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-new-target@7.25.9(transitive)
- Removed@babel/plugin-transform-nullish-coalescing-operator@7.25.9(transitive)
- Removed@babel/plugin-transform-numeric-separator@7.25.9(transitive)
- Removed@babel/plugin-transform-object-rest-spread@7.25.9(transitive)
- Removed@babel/plugin-transform-object-super@7.25.9(transitive)
- Removed@babel/plugin-transform-optional-catch-binding@7.25.9(transitive)
- Removed@babel/plugin-transform-optional-chaining@7.25.9(transitive)
- Removed@babel/plugin-transform-parameters@7.25.9(transitive)
- Removed@babel/plugin-transform-private-methods@7.25.9(transitive)
- Removed@babel/plugin-transform-private-property-in-object@7.25.9(transitive)
- Removed@babel/plugin-transform-property-literals@7.25.9(transitive)
- Removed@babel/plugin-transform-regenerator@7.25.9(transitive)
- Removed@babel/plugin-transform-regexp-modifiers@7.26.0(transitive)
- Removed@babel/plugin-transform-reserved-words@7.25.9(transitive)
- Removed@babel/plugin-transform-shorthand-properties@7.25.9(transitive)
- Removed@babel/plugin-transform-spread@7.25.9(transitive)
- Removed@babel/plugin-transform-sticky-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-template-literals@7.25.9(transitive)
- Removed@babel/plugin-transform-typeof-symbol@7.25.9(transitive)
- Removed@babel/plugin-transform-unicode-escapes@7.25.9(transitive)
- Removed@babel/plugin-transform-unicode-property-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-unicode-regex@7.25.9(transitive)
- Removed@babel/plugin-transform-unicode-sets-regex@7.25.9(transitive)
- Removed@babel/preset-env@7.26.0(transitive)
- Removed@babel/preset-modules@0.1.6-no-external-plugins(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@babel/template@7.25.9(transitive)
- Removed@babel/traverse@7.25.9(transitive)
- Removed@babel/types@7.26.0(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removedbabel-plugin-polyfill-corejs2@0.4.12(transitive)
- Removedbabel-plugin-polyfill-corejs3@0.10.6(transitive)
- Removedbabel-plugin-polyfill-regenerator@0.6.3(transitive)
- Removedbrowserslist@4.24.2(transitive)
- Removedcaniuse-lite@1.0.30001680(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcore-js-compat@3.39.0(transitive)
- Removeddebug@4.3.7(transitive)
- Removedelectron-to-chromium@1.5.58(transitive)
- Removedescalade@3.2.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjsesc@3.0.2(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlodash.debounce@4.0.8(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedms@2.1.3(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednode-releases@2.0.18(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedregenerate@1.4.2(transitive)
- Removedregenerate-unicode-properties@10.2.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedregenerator-transform@0.15.2(transitive)
- Removedregexpu-core@6.1.1(transitive)
- Removedregjsgen@0.8.0(transitive)
- Removedregjsparser@0.11.2(transitive)
- Removedresolve@1.22.8(transitive)
- Removedsemver@6.3.1(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedunicode-canonical-property-names-ecmascript@2.0.1(transitive)
- Removedunicode-match-property-ecmascript@2.0.0(transitive)
- Removedunicode-match-property-value-ecmascript@2.2.0(transitive)
- Removedunicode-property-aliases-ecmascript@2.1.0(transitive)
- Removedupdate-browserslist-db@1.1.1(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedyallist@3.1.1(transitive)