New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

notation

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notation - npm Package Compare versions

Comparing version 1.1.0 to 1.3.0

lib/.DS_Store

35

package.json
{
"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

[![version](http://img.shields.io/npm/v/notation.svg)](https://www.npmjs.com/package/notation)
![dependencies](https://david-dm.org/onury/notation.svg)
![license](http://img.shields.io/npm/l/notation.svg)
[![build-status](https://img.shields.io/travis/onury/notation.svg?branch=master)](https://travis-ci.org/onury/notation)
[![npm](http://img.shields.io/npm/v/notation.svg)](https://www.npmjs.com/package/notation)
[![release](https://img.shields.io/github/release/onury/notation.svg)](https://github.com/onury/notation)
[![dependencies](https://david-dm.org/onury/notation.svg)](https://david-dm.org/onury/notation)
[![license](http://img.shields.io/npm/l/notation.svg)](https://github.com/onury/notation/blob/master/LICENSE)
[![maintained](https://img.shields.io/maintenance/yes/2017.svg)](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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc