Comparing version 1.0.1 to 1.0.2
@@ -14,3 +14,4 @@ /** | ||
const MERGE_ENDPOINT = '/merge' | ||
const ROUTE_ENDPOINT = '/route' | ||
const MERGE_ROUTE_ENDPOINT = '/route' | ||
const ROUTE_ENDPOINT = '/api/routes' | ||
const TOOLS_ENDPOINT = '/tools' | ||
@@ -31,3 +32,2 @@ | ||
class WebMergeAPI { | ||
/** | ||
@@ -241,3 +241,3 @@ * Create an API client that uses callbacks. | ||
return this.client.post({ | ||
url: `${ROUTE_ENDPOINT}/${id}/${key}`, | ||
url: `${MERGE_ROUTE_ENDPOINT}/${id}/${key}`, | ||
qs: { | ||
@@ -328,3 +328,2 @@ test: isTestMode ? 1 : 0, | ||
class WebMergePromiseAPI extends WebMergeAPI { | ||
/** | ||
@@ -331,0 +330,0 @@ * Create an API client that uses Promises. |
{ | ||
"name": "webmerge", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Library for accessing WebMerge (https://webmerge.me/) API", | ||
@@ -21,12 +21,12 @@ "license": "MIT", | ||
"dependencies": { | ||
"request": "^2.81.0" | ||
"request": "2.83.0" | ||
}, | ||
"devDependencies": { | ||
"coveralls": "^2.13.1", | ||
"eslint": "^3.19.0", | ||
"eslint-config-airbnb-base": "^11.2.0", | ||
"eslint-plugin-import": "^2.3.0", | ||
"eslint-plugin-jest": "^20.0.3", | ||
"jest": "^20.0.4", | ||
"jsdoc": "^3.4.3" | ||
"coveralls": "3.0.0", | ||
"eslint": "4.17.0", | ||
"eslint-config-airbnb-base": "12.1.0", | ||
"eslint-plugin-import": "2.8.0", | ||
"eslint-plugin-jest": "21.12.1", | ||
"jest": "22.3.0", | ||
"jsdoc": "3.5.5" | ||
}, | ||
@@ -38,5 +38,6 @@ "scripts": { | ||
"precommit": "npm run lint && npm run test", | ||
"test": "jest --coverage" | ||
"test": "jest --coverage --ci --verbose" | ||
}, | ||
"jest": { | ||
"testEnvironment": "node", | ||
"coverageReporters": [ | ||
@@ -43,0 +44,0 @@ "text", |
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
21797
482
+ Addedajv@5.5.2(transitive)
+ Addedboom@4.3.15.3.3(transitive)
+ Addedco@4.6.0(transitive)
+ Addedcryptiles@3.2.1(transitive)
+ Addedfast-deep-equal@1.1.0(transitive)
+ Addedhar-validator@5.0.3(transitive)
+ Addedhawk@6.0.2(transitive)
+ Addedhoek@4.3.1(transitive)
+ Addedjson-schema-traverse@0.3.1(transitive)
+ Addedoauth-sign@0.8.2(transitive)
+ Addedpunycode@1.4.1(transitive)
+ Addedrequest@2.83.0(transitive)
+ Addedsntp@2.1.0(transitive)
+ Addedstringstream@0.0.6(transitive)
+ Addedtough-cookie@2.3.4(transitive)
- Removedajv@6.12.6(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedpsl@1.14.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedrequest@2.88.2(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removeduri-js@4.4.1(transitive)
Updatedrequest@2.83.0