Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

string-length

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-length - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc