Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: node_modules/vulcanize/node_modules/update-notifier/node_modules/string-length/package.json

Issue 800513006: Added vulcanize under third_party/npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: node_modules/vulcanize/node_modules/update-notifier/node_modules/string-length/package.json
diff --git a/node_modules/vulcanize/node_modules/update-notifier/node_modules/string-length/package.json b/node_modules/vulcanize/node_modules/update-notifier/node_modules/string-length/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..f9b1c67a48bdb5799ac865b16848ba07b58bb1dc
--- /dev/null
+++ b/node_modules/vulcanize/node_modules/update-notifier/node_modules/string-length/package.json
@@ -0,0 +1,51 @@
+{
+ "name": "string-length",
+ "version": "1.0.0",
+ "description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes",
+ "license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/sindresorhus/string-length"
+ },
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "http://sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "files": [
+ "index.js"
+ ],
+ "keywords": [
+ "unicode",
+ "string",
+ "str",
+ "length",
+ "astral",
+ "symbol",
+ "surrogates",
+ "codepoints",
+ "ansi",
+ "escape",
+ "codes"
+ ],
+ "dependencies": {
+ "strip-ansi": "^2.0.0"
+ },
+ "devDependencies": {
+ "mocha": "*"
+ },
+ "readme": "# string-length [![Build Status](https://travis-ci.org/sindresorhus/string-length.svg?branch=master)](https://travis-ci.org/sindresorhus/string-length)\n\n> Get the real length of a string - by correctly counting astral symbols and ignoring [ansi escape codes](https://github.com/sindresorhus/strip-ansi)\n\n`String#length` errornously counts [astral symbols](http://www.tlg.uci.edu/~opoudjis/unicode/unicode_astral.html) as two characters.\n\n\n## Install\n\n```sh\n$ npm install --save string-length\n```\n\n```sh\n$ bower install --save string-length\n```\n\n```sh\n$ component install sindresorhus/string-length\n```\n\n\n## Usage\n\n```js\n'𐌢'.length;\n//=> 2\n\nstringLength('𐌢');\n//=> 1\n\nstringLength('\\x1b[1municorn\\x1b[22m');\n//=> 7\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/string-length/issues"
+ },
+ "homepage": "https://github.com/sindresorhus/string-length",
+ "_id": "string-length@1.0.0",
+ "_from": "string-length@^1.0.0"
+}

Powered by Google App Engine
This is Rietveld 408576698