diff options
Diffstat (limited to 'node_modules/loose-envify')
-rw-r--r-- | node_modules/loose-envify/package.json | 4 | ||||
-rw-r--r-- | node_modules/loose-envify/replace.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/loose-envify/package.json b/node_modules/loose-envify/package.json index 9de13cf1e..7952efa52 100644 --- a/node_modules/loose-envify/package.json +++ b/node_modules/loose-envify/package.json @@ -1,6 +1,6 @@ { "name": "loose-envify", - "version": "1.3.0", + "version": "1.3.1", "description": "Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST", "keywords": [ "environment", @@ -26,7 +26,7 @@ "test": "tap test/*.js" }, "dependencies": { - "js-tokens": "^2.0.0" + "js-tokens": "^3.0.0" }, "devDependencies": { "browserify": "^13.1.1", diff --git a/node_modules/loose-envify/replace.js b/node_modules/loose-envify/replace.js index 036009099..ec15e81c2 100644 --- a/node_modules/loose-envify/replace.js +++ b/node_modules/loose-envify/replace.js @@ -1,6 +1,6 @@ 'use strict'; -var jsTokens = require('js-tokens'); +var jsTokens = require('js-tokens').default; var processEnvRe = /\bprocess\.env\.[_$a-zA-Z][$\w]+\b/; var spaceOrCommentRe = /^(?:\s|\/[/*])/; |