@vtex/api
Advanced tools
Comparing version 0.12.1 to 0.12.2
@@ -7,3 +7,7 @@ 'use strict'; | ||
exports.api = api; | ||
exports.apps = apps; | ||
exports.registry = registry; | ||
exports.vbase = vbase; | ||
exports.router = router; | ||
exports.workspaces = workspaces; | ||
exports.vtexid = vtexid; | ||
@@ -17,9 +21,42 @@ function api(env) { | ||
function apps(env) { | ||
return { | ||
STABLE: 'http://apps-engine.aws-us-east-1.vtex.io', | ||
BETA: 'http://apps-engine.aws-us-east-1.vtex.io', | ||
NEXT: 'http://apps-engine.aws-us-east-1.vtex.io' | ||
}[env] || env; | ||
} | ||
function registry(env) { | ||
return { | ||
STABLE: 'http://apps-registry.aws-us-east-1.vtex.io', | ||
BETA: 'http://apps-registry.aws-us-east-1.vtex.io', | ||
NEXT: 'http://apps-registry.aws-us-east-1.vtex.io' | ||
}[env] || env; | ||
} | ||
function vbase(env) { | ||
return { | ||
STABLE: 'http://vbase.vtex.com', | ||
BETA: 'http://vbase.beta.vtex.com' | ||
BETA: 'http://vbase.beta.vtex.com', | ||
NEXT: 'http://vbase.aws-us-east-1.vtex.io' | ||
}[env] || env; | ||
} | ||
function router(env) { | ||
return { | ||
STABLE: 'http://kube-router.aws-us-east-1.vtex.io', | ||
BETA: 'http://kube-router.aws-us-east-1.vtex.io', | ||
NEXT: 'http://kube-router.aws-us-east-1.vtex.io' | ||
}[env] || env; | ||
} | ||
function workspaces(env) { | ||
return { | ||
STABLE: 'http://kube-router.aws-us-east-1.vtex.io', | ||
BETA: 'http://kube-router.aws-us-east-1.vtex.io', | ||
NEXT: 'http://kube-router.aws-us-east-1.vtex.io' | ||
}[env] || env; | ||
} | ||
function vtexid(env) { | ||
@@ -26,0 +63,0 @@ return { |
{ | ||
"name": "@vtex/api", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"description": "VTEX I/O API client", | ||
@@ -13,3 +13,3 @@ "main": "./lib/index.js", | ||
"build": "babel src --out-dir lib --ignore=*.test.js", | ||
"flow": "flow check", | ||
"flow": "flow check --ignore '.*/lib/.*'", | ||
"copy": "flow-copy-source -v src lib --ignore=*.test.js", | ||
@@ -32,2 +32,3 @@ "lint": "eslint src", | ||
"axios": "^0.14.0", | ||
"archiver": "^1.3.0", | ||
"mime-types": "^2.1.12", | ||
@@ -48,3 +49,3 @@ "multipart-stream": "^2.0.1" | ||
"fast-async": "^6.0.34", | ||
"flow-bin": "^0.33.0", | ||
"flow-bin": "^0.37.4", | ||
"flow-copy-source": "^1.1.0", | ||
@@ -60,2 +61,2 @@ "npm-run-all": "^2.3.0", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
220738
40
722
4
1
+ Addedarchiver@^1.3.0
+ Addedarchiver@1.3.0(transitive)
+ Addedarchiver-utils@1.3.0(transitive)
+ Addedasync@2.6.4(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbl@1.2.3(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedbuffer-alloc@1.2.0(transitive)
+ Addedbuffer-alloc-unsafe@1.1.0(transitive)
+ Addedbuffer-crc32@0.2.13(transitive)
+ Addedbuffer-fill@1.0.0(transitive)
+ Addedcompress-commons@1.2.2(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedcrc@3.8.0(transitive)
+ Addedcrc32-stream@2.0.0(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedfs-constants@1.0.0(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedlazystream@1.0.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addednormalize-path@2.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedtar-stream@1.6.2(transitive)
+ Addedto-buffer@1.1.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwalkdir@0.0.11(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedxtend@4.0.2(transitive)
+ Addedzip-stream@1.2.0(transitive)