Socket
Socket
Sign inDemoInstall

string-length

Package Overview
Dependencies
1
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 1.0.0

10

package.json
{
"name": "string-length",
"version": "0.1.2",
"version": "1.0.0",
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes",

@@ -16,4 +16,3 @@ "license": "MIT",

"scripts": {
"test": "mocha",
"browser": "browserify -s $npm_package_name -o browser.js ."
"test": "mocha"
},

@@ -37,8 +36,7 @@ "files": [

"dependencies": {
"strip-ansi": "^0.2.1"
"strip-ansi": "^2.0.0"
},
"devDependencies": {
"mocha": "*",
"browserify": "^3.0.0"
"mocha": "*"
}
}
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