diff options
author | Walter Lozano <walter.lozano@collabora.com> | 2021-06-17 19:31:56 +0000 |
---|---|---|
committer | Walter Lozano <walter.lozano@collabora.com> | 2021-06-22 16:25:26 +0000 |
commit | 979e94c4e505a30562edbfe12d45d77aea961e96 (patch) | |
tree | 37e83af388462579df70ccd08af1987be5ede6a3 | |
parent | 765de9763ff33634c88970bb3e9ce52de040c9ba (diff) |
Add test for non ASCII data in package.json
Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
-rw-r--r-- | t/scanner/examples/node-to-regex-range.d/package.json | 88 | ||||
-rw-r--r-- | t/scanner/examples/node-to-regex-range.out | 4 |
2 files changed, 92 insertions, 0 deletions
diff --git a/t/scanner/examples/node-to-regex-range.d/package.json b/t/scanner/examples/node-to-regex-range.d/package.json new file mode 100644 index 00000000..e08a4391 --- /dev/null +++ b/t/scanner/examples/node-to-regex-range.d/package.json @@ -0,0 +1,88 @@ +{ + "name": "to-regex-range", + "description": "Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.", + "version": "5.0.1", + "homepage": "https://github.com/micromatch/to-regex-range", + "author": "Jon Schlinkert (https://github.com/jonschlinkert) ßæø", + "contributors": [ + "Jon Schlinkert (http://twitter.com/jonschlinkert)", + "Rouven Weßling (www.rouvenwessling.de)" + ], + "repository": "micromatch/to-regex-range", + "bugs": { + "url": "https://github.com/micromatch/to-regex-range/issues" + }, + "license": "MIT", + "files": [ + "index.js" + ], + "main": "index.js", + "engines": { + "node": ">=8.0" + }, + "scripts": { + "test": "mocha" + }, + "dependencies": { + "is-number": "^7.0.0" + }, + "devDependencies": { + "fill-range": "^6.0.0", + "gulp-format-md": "^2.0.0", + "mocha": "^6.0.2", + "text-table": "^0.2.0", + "time-diff": "^0.3.1" + }, + "keywords": [ + "bash", + "date", + "expand", + "expansion", + "expression", + "glob", + "match", + "match date", + "match number", + "match numbers", + "match year", + "matches", + "matching", + "number", + "numbers", + "numerical", + "range", + "ranges", + "regex", + "regexp", + "regular", + "regular expression", + "sequence" + ], + "verb": { + "layout": "default", + "toc": false, + "tasks": [ + "readme" + ], + "plugins": [ + "gulp-format-md" + ], + "lint": { + "reflinks": true + }, + "helpers": { + "examples": { + "displayName": "examples" + } + }, + "related": { + "list": [ + "expand-range", + "fill-range", + "micromatch", + "repeat-element", + "repeat-string" + ] + } + } +} diff --git a/t/scanner/examples/node-to-regex-range.out b/t/scanner/examples/node-to-regex-range.out new file mode 100644 index 00000000..919b3749 --- /dev/null +++ b/t/scanner/examples/node-to-regex-range.out @@ -0,0 +1,4 @@ +Files: * +Copyright: Jon Schlinkert (https://github.com/jonschlinkert) ßæø +License: Expat + |