strtok3 10.1.1 → 10.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -35,6 +35,8 @@ npm install strtok3
|
|
|
35
35
|
Starting with version 7, the module has migrated from [CommonJS](https://en.wikipedia.org/wiki/CommonJS) to [pure ECMAScript Module (ESM)](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
|
|
36
36
|
The distributed JavaScript codebase is compliant with the [ECMAScript 2020 (11th Edition)](https://en.wikipedia.org/wiki/ECMAScript_version_history#11th_Edition_%E2%80%93_ECMAScript_2020) standard.
|
|
37
37
|
|
|
38
|
+
Requires a modern browser or Node.js ≥ 18 engine.
|
|
39
|
+
|
|
38
40
|
For TypeScript CommonJs backward compatibility, you can use [load-esm](https://github.com/Borewit/load-esm).
|
|
39
41
|
|
|
40
42
|
> [!NOTE]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "strtok3",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.2",
|
|
4
4
|
"description": "A promise based streaming tokenizer",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Borewit",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"start": "yarn run compile && yarn run lint && yarn run cover-test"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
|
-
"node": ">=
|
|
30
|
+
"node": ">=18"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"@types/chai-as-promised": "^8.0.1",
|
|
57
57
|
"@types/debug": "^4.1.12",
|
|
58
58
|
"@types/mocha": "^10.0.10",
|
|
59
|
-
"@types/node": "^22.
|
|
59
|
+
"@types/node": "^22.12.0",
|
|
60
60
|
"c8": "^10.1.3",
|
|
61
61
|
"chai": "^5.1.2",
|
|
62
62
|
"chai-as-promised": "^8.0.1",
|
|
63
63
|
"del-cli": "^6.0.0",
|
|
64
64
|
"mocha": "^11.1.0",
|
|
65
65
|
"remark-cli": "^12.0.1",
|
|
66
|
-
"remark-preset-lint-recommended": "^7.0.
|
|
66
|
+
"remark-preset-lint-recommended": "^7.0.1",
|
|
67
67
|
"token-types": "^6.0.0",
|
|
68
68
|
"ts-node": "^10.9.2",
|
|
69
69
|
"typescript": "^5.7.3",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@tokenizer/token": "^0.3.0",
|
|
74
|
-
"peek-readable": "^6.0.
|
|
74
|
+
"peek-readable": "^6.0.2"
|
|
75
75
|
},
|
|
76
76
|
"keywords": [
|
|
77
77
|
"tokenizer",
|