react-localize
Advanced tools
Comparing version 3.0.0 to 4.0.0-alpha.1
@@ -9,3 +9,11 @@ # Change Log | ||
_(add items here to be added to future release)_ | ||
### Added | ||
- Support for older react versions via `create-react-context` | ||
### Changed | ||
- Basically everything. Aligned with `react-access` from a deps/structure/tooling standpoint | ||
- The entire API is updated, while conceptually the same its now more | ||
in line with the latest React Context functionality | ||
## 3.0.0, 3.0.0-beta 2017-04-26 | ||
@@ -12,0 +20,0 @@ ### Added |
{ | ||
"name": "react-localize", | ||
"version": "3.0.0", | ||
"version": "4.0.0-alpha.1", | ||
"description": "A simple context wrapper and text localization component for localizing strings", | ||
"main": "build/index.js", | ||
"main": "dist/index.js", | ||
"files": [ | ||
"build" | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "gulp build", | ||
"githooks": "gulp githooks", | ||
"precommit": "npm run test", | ||
"prepublish": "in-publish && npm t && npm run build || not-in-publish", | ||
"test": "gulp test", | ||
"lint": "eslint src/*.jsx" | ||
"dev": "webpack --mode development --module-bind js=babel-loader ./src/index.js --output dist/react-localize.js", | ||
"build": "webpack --mode production --module-bind js=babel-loader ./src/index.js --output dist/react-localize.js", | ||
"prepublish": "in-publish && yarn run test && yarn run build || not-in-publish", | ||
"test": "jest" | ||
}, | ||
@@ -32,32 +30,30 @@ "repository": { | ||
"dependencies": { | ||
"in-publish": "2.0.0", | ||
"lodash.get": "4.4.2", | ||
"util": "0.10.3" | ||
"create-react-context": "^0.2.1", | ||
"format-util": "1.0.3" | ||
}, | ||
"peerDependencies": { | ||
"prop-types": ">=15", | ||
"react": "^0.14.9 || >=15" | ||
"prop-types": "15.x", | ||
"react": "^0.14.9" | ||
}, | ||
"devDependencies": { | ||
"babel-preset-latest": "6.24.1", | ||
"babel-plugin-add-module-exports": "0.2.1", | ||
"babel-plugin-transform-react-jsx": "6.23.0", | ||
"babel-preset-stage-2": "6.24.1", | ||
"babel-register": "6.24.1", | ||
"chai": "3.5.0", | ||
"eslint": "3.19.0", | ||
"eslint-config-airbnb": "14.1.0", | ||
"eslint-plugin-import": "2.2.0", | ||
"eslint-plugin-jsx-a11y": "4.0.0", | ||
"eslint-plugin-react": "6.10.3", | ||
"gulp": "git://github.com/gulpjs/gulp.git#4ed9a4a3275559c73a396eff7e1fde3824951ebb", | ||
"gulp-babel": "6.1.2", | ||
"gulp-mocha": "4.3.0", | ||
"gulp-symlink": "2.1.4", | ||
"gulp-util": "3.0.8", | ||
"mocha": "3.3.0", | ||
"prop-types": ">=15", | ||
"react": "^0.14.9 || >=15", | ||
"react-dom": "^0.14.9 || >=15" | ||
"babel-core": "^6.26.3", | ||
"babel-loader": "7.1.1", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"in-publish": "2.0.0", | ||
"jest": "^22.4.3", | ||
"prop-types": "15.5", | ||
"react": "^16.3.0", | ||
"react-dom": "^16.3.0", | ||
"react-testing-library": "^3.1.0", | ||
"uglifyjs-webpack-plugin": "^1.2.5", | ||
"webpack": "4", | ||
"webpack-bundle-analyzer": "^2.12.0", | ||
"webpack-cli": "^2.1.3" | ||
}, | ||
"jest": { | ||
"coverageDirectory": "./coverage/", | ||
"collectCoverage": true | ||
} | ||
} |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
49233
4
15
7
33
2
2
+ Addedcreate-react-context@^0.2.1
+ Addedformat-util@1.0.3
+ Addedacorn@5.7.4(transitive)
+ Addedamdefine@1.0.1(transitive)
+ Addedasap@2.0.6(transitive)
+ Addedast-types@0.9.6(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbase62@1.2.8(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcommoner@0.10.8(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedcore-js@1.2.7(transitive)
+ Addedcreate-react-context@0.2.3(transitive)
+ Addeddefined@1.0.1(transitive)
+ Addeddetective@4.7.1(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addedenvify@3.4.1(transitive)
+ Addedesprima@3.1.3(transitive)
+ Addedesprima-fb@15001.1.0-dev-harmony-fb(transitive)
+ Addedfbjs@0.6.10.8.18(transitive)
+ Addedformat-util@1.0.3(transitive)
+ Addedglob@5.0.15(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedgud@1.0.0(transitive)
+ Addediconv-lite@0.4.240.6.3(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisomorphic-fetch@2.2.1(transitive)
+ Addedjstransform@11.0.3(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addednode-fetch@1.7.3(transitive)
+ Addedobject-assign@2.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedprivate@0.1.8(transitive)
+ Addedpromise@7.3.1(transitive)
+ Addedq@1.5.1(transitive)
+ Addedreact@0.14.10(transitive)
+ Addedrecast@0.11.23(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsetimmediate@1.0.5(transitive)
+ Addedsource-map@0.4.40.5.7(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedua-parser-js@0.7.40(transitive)
+ Addedwhatwg-fetch@0.9.03.6.20(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedin-publish@2.0.0
- Removedlodash.get@4.4.2
- Removedutil@0.10.3
- Removedin-publish@2.0.0(transitive)
- Removedinherits@2.0.1(transitive)
- Removedlodash.get@4.4.2(transitive)
- Removedreact@19.0.0(transitive)
- Removedutil@0.10.3(transitive)