Socket
Socket
Sign inDemoInstall

ansicolor

Package Overview
Dependencies
0
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.68 to 1.1.70

.babelrc

23

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc