Comparing version 1.1.0 to 1.3.0
{ | ||
"name": "notation", | ||
"version": "1.1.0", | ||
"description": "Utility for modifying / processing the contents of Javascript objects by parsing object notation strings or globs.", | ||
"version": "1.3.0", | ||
"description": "Utility for modifying / processing the contents of Javascript objects by object notation strings or globs.", | ||
"license": "MIT", | ||
@@ -10,5 +10,5 @@ "author": { | ||
}, | ||
"main": "dist/notation.min.js", | ||
"main": "lib/notation.min.js", | ||
"files": [ | ||
"dist", | ||
"lib", | ||
"LICENSE" | ||
@@ -25,3 +25,10 @@ ], | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build:min": "webpack --env.WEBPACK_OUT=minified --progress --colors", | ||
"build:nomin": "webpack --env.WEBPACK_OUT=nomin --progress --colors", | ||
"build": "npm run build:min && npm run build:nomin", | ||
"watch": "webpack --env.WEBPACK_OUT=nomin --progress --colors --watch", | ||
"test": "npm run build && node test", | ||
"dev": "npm run build:nomin && npm run test", | ||
"docs": "docma -c ./docma.config.json", | ||
"release": "npm run build && node test && npm run docs" | ||
}, | ||
@@ -46,17 +53,11 @@ "keywords": [ | ||
"babel-core": "^6.8.0", | ||
"babel-loader": "^6.2.4", | ||
"babel-loader": "^7.1.2", | ||
"babel-preset-es2015": "^6.6.0", | ||
"eslint": "^2.9.0", | ||
"eslint-config-xo": "^0.14.1", | ||
"grunt": "^1.0.1", | ||
"grunt-contrib-watch": "^1.0.0", | ||
"grunt-docma": "^0.6.4", | ||
"grunt-jasmine-nodejs": "^1.5.2", | ||
"grunt-webpack": "^1.0.11", | ||
"lodash": "^4.11.2", | ||
"matchdep": "^1.0.1", | ||
"webpack": "^1.13.0", | ||
"webpack-dev-server": "^1.14.1" | ||
"jasmine": "^2.8.0", | ||
"jasmine-console-reporter": "^2.0.1", | ||
"lodash": "^4.17.4", | ||
"webpack": "^3.6.0", | ||
"webpack-dev-server": "^2.8.2" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -5,7 +5,10 @@ ## Notation.js | ||
[](https://www.npmjs.com/package/notation) | ||
 | ||
 | ||
[](https://travis-ci.org/onury/notation) | ||
[](https://www.npmjs.com/package/notation) | ||
[](https://github.com/onury/notation) | ||
[](https://david-dm.org/onury/notation) | ||
[](https://github.com/onury/notation/blob/master/LICENSE) | ||
[](https://github.com/onury/notation/graphs/commit-activity) | ||
> © 2016, Onur Yıldırım (@onury). MIT License. | ||
> © 2017, Onur Yıldırım ([@onury](https://github.com/onury)). MIT License. | ||
@@ -21,3 +24,3 @@ Utility for modifying / processing the contents of Javascript objects by parsing object notation strings or globs. | ||
```shell | ||
```sh | ||
npm i notation --save | ||
@@ -50,3 +53,20 @@ ``` | ||
**1.1.0** (2015-09-27) | ||
**1.3.0** (2017-09-30) | ||
- Completely re-wrote `Notation.Glob.union()` static method. | ||
- Fixed the array mutation issue. Fixes [issue #2](https://github.com/onury/notation/issues/2). | ||
- Fixed an issue where a glob with wildcard is not properly union'ed. Fixes [issue #3](https://github.com/onury/notation/issues/3). | ||
- `sort` (`boolean`) argument is removed (the output is now always sorted.) | ||
- Union output is now properly normalized, duplicates and redundant globs are removed, etc... | ||
- Fixed an issue where negated wildcards would be filtered incorrectly in some edge cases (e.g. `!*.*.*`). | ||
- Added `Notation.Glob.normalize(array)` static method. | ||
- Added `Notation.Glob.toRegExp(glob)` static method. | ||
- Aded `Notation.countNotes(notation)` convenience method. | ||
- Improved glob validation. | ||
- Fix import typo that prevents Travis builds succeed. | ||
- Minor revisions, clean-up. | ||
- (dev) Removed dev-dependencies (Grunt and plugins) in favor of NPM scripts. Updated other dev-dependencies. Added more, comprehensive tests. | ||
**1.1.0** (2016-09-27) | ||
- Added `Notation#expand()` method (alias `Notation#aggregate()`). | ||
@@ -58,2 +78,3 @@ - Refactored `Notation#getFlat()` to `Notation#flatten()`. Returns instance (chainable) instead of source. | ||
**v1.0.0** (2016-04-10) | ||
- initial release. | ||
@@ -63,4 +84,4 @@ | ||
MIT. | ||
[**MIT**](https://github.com/onury/notation/blob/master/LICENSE). | ||
[docs]:http://onury.github.io/notation/?api=notation |
Sorry, the diff of this file is not supported yet
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 tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
385121
9
8
1982
0
83
1