all-named-html-entities 3.0.0 → 3.0.1
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/CHANGELOG.md +2 -6
- package/package.json +11 -11
- package/types/index.d.ts +3 -9
- package/dist/all-named-html-entities.esm.js +0 -11
- package/dist/all-named-html-entities.umd.js +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,17 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
- drop Node v12 support; minimum version requirement now is v14.18 and above ([c8049e8](https://github.com/codsen/codsen/commit/c8049e82a5844d3f72587740f1cc74e3c9020d22))
|
|
6
|
+
## 3.0.0 (2022-12-01)
|
|
11
7
|
|
|
12
8
|
### BREAKING CHANGES
|
|
13
9
|
|
|
14
10
|
- Minimum supported Node version is v14.18; we're dropping v12 support
|
|
15
11
|
|
|
16
|
-
|
|
12
|
+
## 2.1.0 (2022-08-12)
|
|
17
13
|
|
|
18
14
|
### Features
|
|
19
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "all-named-html-entities",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "List of all named HTML entities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"all",
|
|
@@ -34,22 +34,22 @@
|
|
|
34
34
|
},
|
|
35
35
|
"types": "types/index.d.ts",
|
|
36
36
|
"scripts": {
|
|
37
|
-
"build": "node '../../ops/scripts/esbuild.js' &&
|
|
37
|
+
"build": "node '../../ops/scripts/esbuild.js' && npm run dts",
|
|
38
38
|
"cjs-off": "exit 0",
|
|
39
39
|
"cjs-on": "exit 0",
|
|
40
|
-
"dev": "DEV=true node '../../ops/scripts/esbuild.js' &&
|
|
41
|
-
"devtest": "c8
|
|
42
|
-
"dts": "rollup -c &&
|
|
40
|
+
"dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts",
|
|
41
|
+
"devtest": "c8 npm run unit && npm run examples && npm run lint",
|
|
42
|
+
"dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --loglevel 'silent'",
|
|
43
43
|
"examples": "node '../../ops/scripts/run-examples.js'",
|
|
44
|
-
"lect": "node '../../ops/lect/lect.js' &&
|
|
45
|
-
"letspublish": "
|
|
44
|
+
"lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write",
|
|
45
|
+
"letspublish": "npm publish || :",
|
|
46
46
|
"lint": "eslint . --ext .js --ext .ts --fix",
|
|
47
47
|
"perf": "node perf/check.js",
|
|
48
|
-
"
|
|
48
|
+
"prep": "echo 'ready'",
|
|
49
49
|
"prettier": "prettier",
|
|
50
|
-
"prettier:format": "prettier --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern",
|
|
51
|
-
"pretest": "
|
|
52
|
-
"test": "
|
|
50
|
+
"prettier:format": "npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --loglevel 'silent'",
|
|
51
|
+
"pretest": "npm run lect && npm run build",
|
|
52
|
+
"test": "npm run devtest",
|
|
53
53
|
"unit": "uvu test"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
package/types/index.d.ts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
| number
|
|
4
|
-
| boolean
|
|
5
|
-
| null
|
|
6
|
-
| JsonObject
|
|
7
|
-
| JsonArray;
|
|
8
|
-
declare type JsonObject = {
|
|
1
|
+
type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
|
|
2
|
+
type JsonObject = {
|
|
9
3
|
[Key in string]?: JsonValue;
|
|
10
4
|
};
|
|
11
|
-
|
|
5
|
+
type JsonArray = JsonValue[];
|
|
12
6
|
declare const version: string;
|
|
13
7
|
declare const allNamedEntities: JsonObject;
|
|
14
8
|
declare const brokenNamedEntities: JsonObject;
|