+7
-0
@@ -0,2 +1,9 @@ | ||
| 2.6.1 / 2017-02-10 | ||
| ================== | ||
| * Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error | ||
| * Fix: Whitelist DEBUG_FD for values 1 and 2 only (#415, @pi0) | ||
| * Fix: IE8 "Expected identifier" error (#414, @vgoma) | ||
| * Fix: Namespaces would not disable once enabled (#409, @musikov) | ||
| 2.6.0 / 2016-12-28 | ||
@@ -3,0 +10,0 @@ ================== |
+1
-1
@@ -5,3 +5,3 @@ { | ||
| "description": "small debugging utility", | ||
| "version": "2.6.0", | ||
| "version": "2.6.1", | ||
| "keywords": [ | ||
@@ -8,0 +8,0 @@ "debug", |
+10
-12
@@ -20,26 +20,24 @@ # get Makefile directory name: http://stackoverflow.com/a/5982798/376773 | ||
| all: dist/debug.js | ||
| install: node_modules | ||
| install: node_modules | ||
| node_modules: package.json | ||
| @NODE_ENV= $(PKG) install | ||
| @touch node_modules | ||
| lint: .FORCE | ||
| eslint browser.js debug.js index.js node.js | ||
| test-node: .FORCE | ||
| istanbul cover node_modules/mocha/bin/_mocha -- test/**.js | ||
| test-browser: .FORCE | ||
| mkdir -p dist | ||
| @$(BROWSERIFY) \ | ||
| --standalone debug \ | ||
| . > dist/debug.js | ||
| karma start --single-run | ||
| rimraf dist | ||
| test: .FORCE | ||
@@ -49,6 +47,6 @@ concurrently \ | ||
| "make test-browser" | ||
| coveralls: | ||
| coveralls: | ||
| cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js | ||
| .PHONY: all install clean distclean |
+1
-1
| { | ||
| "name": "debug", | ||
| "version": "2.6.0", | ||
| "version": "2.6.1", | ||
| "repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
+4
-1
@@ -9,3 +9,3 @@ | ||
| exports = module.exports = createDebug.debug = createDebug.default = createDebug; | ||
| exports = module.exports = createDebug.debug = createDebug['default'] = createDebug; | ||
| exports.coerce = coerce; | ||
@@ -142,2 +142,5 @@ exports.disable = disable; | ||
| exports.names = []; | ||
| exports.skips = []; | ||
| var split = (namespaces || '').split(/[\s,]+/); | ||
@@ -144,0 +147,0 @@ var len = split.length; |
+4
-3
@@ -61,7 +61,8 @@ /** | ||
| if ('DEBUG_FD' in process.env) { | ||
| util.deprecate(function(){}, '`DEBUG_FD` is deprecated. Override `debug.log` if you want to use a different log function (https://git.io/vMUyr)')() | ||
| var fd = parseInt(process.env.DEBUG_FD, 10) || 2; | ||
| if (1 !== fd && 2 !== fd) { | ||
| util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')() | ||
| } | ||
| var fd = parseInt(process.env.DEBUG_FD, 10) || 2; | ||
| var stream = 1 === fd ? process.stdout : | ||
@@ -68,0 +69,0 @@ 2 === fd ? process.stderr : |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
40427
0.94%618
0.32%11
-8.33%