jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

Incorrect require paths in jsonpath.js?

Open jedahu opened this issue 5 years ago • 0 comments

https://github.com/dchester/jsonpath/blob/778bc1ea297309e5925910698bb8ead9369d2e55/jsonpath.js#L4695

Noticed when updating from jsonpath 1.0.1 to 1.0.2. The browser field of package.json in 1.0.2 is different, which for my build resulted in jsonpath.js being loaded instead of lib/index.js, and then failing because require('..') could not find a module.

jedahu avatar Jun 25 '19 03:06 jedahu