Skip to content

Commit 9312399

Browse files
committed
- npm: Update devDeps
- npm: Bump to 2.0.0
1 parent 355b3f4 commit 9312399

File tree

4 files changed

+1188
-687
lines changed

4 files changed

+1188
-687
lines changed

CHANGES.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# CHANGES for jsonpath-plus
22

3+
## 2.0.0 (November 23, 2019)
4+
5+
- Breaking change: Throw `TypeError` instead of `Error` for missing
6+
`otherTypeCallback` when using `@other`
7+
- Breaking change: Throw `TypeError` instead of `Error` for missing `path`
8+
- Enhancement: Throw `TypeError` for missing `json` (fixes #110)
9+
- Enhancement: Use more efficient `new Function` over `eval`;
10+
also allows use of cyclic context objects
11+
- Maintenance: Add `.editorconfig`
12+
- Docs: Document options in jsdoc; add return values to callbacks;
13+
fix constructor doc sig.
14+
- Testing: Add test for missing `path` or `json`
15+
- Testing: Remove unneeded closures
16+
- npm: Update devDeps
17+
318
## 1.2.0 (October 13, 2019)
419

520
- Enhancement: Add `@root` filter selector

dist/index-umd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
33
typeof define === 'function' && define.amd ? define(['exports'], factory) :
44
(global = global || self, factory(global.JSONPath = {}));
5-
}(this, function (exports) { 'use strict';
5+
}(this, (function (exports) { 'use strict';
66

77
function _typeof(obj) {
88
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
@@ -991,4 +991,4 @@
991991

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

994-
}));
994+
})));

0 commit comments

Comments
 (0)