[Pkg-javascript-commits] [node-loose-envify] 01/05: New upstream version 1.3.1+dfsg1
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Jan 23 11:33:18 UTC 2018
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-loose-envify.
commit bf5b3b60fe0ed4fce4df53b00c3e9b528fdf036e
Author: Pirate Praveen <praveen at debian.org>
Date: Tue Jan 23 16:44:00 2018 +0530
New upstream version 1.3.1+dfsg1
---
package.json | 4 ++--
replace.js | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package.json b/package.json
index 9de13cf..7952efa 100644
--- a/package.json
+++ b/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/replace.js b/replace.js
index 0360090..ec15e81 100644
--- a/replace.js
+++ b/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|\/[/*])/;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-loose-envify.git
More information about the Pkg-javascript-commits
mailing list