ebay-lookup
Advanced tools
Comparing version 0.8.6 to 0.9.0
@@ -7,3 +7,3 @@ /** | ||
, _ = require('underscore') | ||
, path = require('JSONPath').eval | ||
, jp = require('jsonpath') | ||
, accounting = require('accounting') | ||
@@ -274,3 +274,3 @@ , currency = require('currency-symbol-map') | ||
var parseErr = function (obj) { | ||
var result = path(obj, '$..error..message[0]'); | ||
var result = jp.query(obj, '$..error..message[0]'); | ||
return result.length ? new Error(result[0]) : null; | ||
@@ -280,3 +280,3 @@ }; | ||
var first = function (obj, query) { | ||
var result = path(obj, query); | ||
var result = jp.query(obj, query) | ||
return result.length ? result[0] : null; | ||
@@ -283,0 +283,0 @@ }; |
{ | ||
"name": "ebay-lookup", | ||
"version": "0.8.6", | ||
"version": "0.9.0", | ||
"description": "A simple wrapper around the ebay product lookup api", | ||
@@ -15,5 +15,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"JSONPath": "^0.10.0", | ||
"accounting": "^0.3.2", | ||
"currency-symbol-map": "^1.3.0", | ||
"jsonpath": "^0.2.7", | ||
"nomnom": "^1.8.1", | ||
@@ -20,0 +20,0 @@ "superagent": "^0.17.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10276
+ Addedjsonpath@^0.2.7
+ AddedJSONSelect@0.4.0(transitive)
+ Addedcjson@0.2.1(transitive)
+ Addedcolors@0.5.1(transitive)
+ Addedebnf-parser@0.1.10(transitive)
+ Addedescodegen@0.0.210.0.28(transitive)
+ Addedesprima@1.0.41.2.2(transitive)
+ Addedestraverse@0.0.41.3.2(transitive)
+ Addedjison@0.4.13(transitive)
+ Addedjison-lex@0.2.1(transitive)
+ Addedjsonpath@0.2.12(transitive)
+ Addedlex-parser@0.1.4(transitive)
+ Addednomnom@1.5.2(transitive)
+ Addedsource-map@0.7.4(transitive)
+ Addedstatic-eval@0.2.3(transitive)
+ Addedunderscore@1.1.71.7.0(transitive)
- RemovedJSONPath@^0.10.0
- RemovedJSONPath@0.10.0(transitive)