jsonpath
jsonpath copied to clipboard
Incorrect require paths in jsonpath.js?
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.