ansicolor
Advanced tools
Comparing version 1.1.68 to 1.1.70
{ | ||
"name": "ansicolor", | ||
"version": "1.1.68", | ||
"version": "1.1.70", | ||
"description": "The final solution to the ANSI color/style management. Works in browsers!", | ||
"main": "ansicolor.js", | ||
"main": "./build/ansicolor.js", | ||
"scripts": { | ||
"test": "nyc --reporter=html --reporter=text mocha --reporter spec", | ||
"lint": "eslint ansicolor.js", | ||
"lint-test": "eslint test.js", | ||
"doc": "esdoc -c esdoc.json", | ||
"babel": "babel ansicolor.js --source-maps inline --out-file ./build/ansicolor.js", | ||
"build": "npm run lint && npm run lint-test && npm run babel", | ||
"test": "npm run build && nyc --reporter=html --reporter=text mocha --reporter spec", | ||
"autotest": "mocha --reporter spec --watch", | ||
"coverage": "nyc report --reporter=text-lcov | coveralls" | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls" | ||
}, | ||
@@ -89,10 +90,12 @@ "repository": { | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-plugin-transform-es2015-destructuring": "^6.23.0", | ||
"babel-plugin-transform-es2015-parameters": "^6.24.1", | ||
"babel-plugin-transform-es2015-spread": "^6.22.0", | ||
"coveralls": "^2.13.1", | ||
"esdoc": "^1.0.1", | ||
"esdoc-node": "^1.0.2", | ||
"eslint": "^4.2.0", | ||
"eslint": "^4.7.2", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.4.2", | ||
"nyc": "^11.0.3" | ||
"mocha": "^3.5.3", | ||
"nyc": "^11.2.1" | ||
} | ||
} |
@@ -6,3 +6,3 @@ "use strict"; | ||
const assert = require ('assert'), | ||
ansi = require ('./ansicolor').nice | ||
ansi = require ('./build/ansicolor').nice | ||
@@ -72,3 +72,4 @@ /* ------------------------------------------------------------------------ */ | ||
assert.deepEqual ([...parsed], parsed.spans) | ||
// assert.deepEqual ([...parsed], parsed.spans) // not working in node v4 | ||
assert.equal (parsed[Symbol.iterator] ().next ().value.text, 'foo') | ||
@@ -75,0 +76,0 @@ assert.deepEqual (parsed.spans, |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
254554
13
6353
9
1