Skip to content

Commit

Permalink
- npm: Update devDeps
Browse files Browse the repository at this point in the history
- npm: Bump to 2.0.0
  • Loading branch information
brettz9 committed Nov 23, 2019
1 parent 355b3f4 commit 9312399
Show file tree
Hide file tree
Showing 4 changed files with 1,188 additions and 687 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# CHANGES for jsonpath-plus

## 2.0.0 (November 23, 2019)

- Breaking change: Throw `TypeError` instead of `Error` for missing
`otherTypeCallback` when using `@other`
- Breaking change: Throw `TypeError` instead of `Error` for missing `path`
- Enhancement: Throw `TypeError` for missing `json` (fixes #110)
- Enhancement: Use more efficient `new Function` over `eval`;
also allows use of cyclic context objects
- Maintenance: Add `.editorconfig`
- Docs: Document options in jsdoc; add return values to callbacks;
fix constructor doc sig.
- Testing: Add test for missing `path` or `json`
- Testing: Remove unneeded closures
- npm: Update devDeps

## 1.2.0 (October 13, 2019)

- Enhancement: Add `@root` filter selector
Expand Down
4 changes: 2 additions & 2 deletions dist/index-umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.JSONPath = {}));
}(this, function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

function _typeof(obj) {
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
Expand Down Expand Up @@ -991,4 +991,4 @@

Object.defineProperty(exports, '__esModule', { value: true });

}));
})));
Loading

0 comments on commit 9312399

Please sign in to comment.