@battis/typescript-tricks 0.7.5 → 0.7.6
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 +7 -0
- package/dist/JSONValue.d.ts +3 -5
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.7.6](https://github.com/battis/typescript-config/compare/typescript-tricks/0.7.5...typescript-tricks/0.7.6) (2026-01-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* include null as possible JSONPrimitive ([6f2aa04](https://github.com/battis/typescript-config/commit/6f2aa043a1b201f54d975a81bdc256c5feeb6989))
|
|
11
|
+
|
|
5
12
|
## [0.7.5](https://github.com/battis/typescript-config/compare/typescript-tricks/0.7.4...typescript-tricks/0.7.5) (2025-11-11)
|
|
6
13
|
|
|
7
14
|
|
package/dist/JSONValue.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
export type
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
export type JSONPrimitive = string | number | boolean | null;
|
|
2
|
+
export type JSONArray = Array<JSONValue>;
|
|
4
3
|
export interface JSONObject {
|
|
5
4
|
[k: string]: JSONValue;
|
|
6
5
|
}
|
|
7
|
-
export
|
|
8
|
-
}
|
|
6
|
+
export type JSONValue = JSONPrimitive | JSONArray | JSONObject;
|
|
9
7
|
export default JSONValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@battis/typescript-tricks",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "A handful of useful types and operators",
|
|
5
5
|
"homepage": "https://github.com/battis/typescript-config/tree/main/packages/typescript-tricks#readme",
|
|
6
6
|
"repository": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"types": "./dist/index.d.ts",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@tsconfig/recommended": "^1.0.
|
|
20
|
-
"commit-and-tag-version": "^12.6.
|
|
19
|
+
"@tsconfig/recommended": "^1.0.13",
|
|
20
|
+
"commit-and-tag-version": "^12.6.1",
|
|
21
21
|
"del-cli": "^6.0.0",
|
|
22
22
|
"npm-run-all": "^4.1.5",
|
|
23
23
|
"typescript": "^5.9.3"
|
|
@@ -31,9 +31,6 @@
|
|
|
31
31
|
"build:compile": "tsc",
|
|
32
32
|
"release": "run-s release:*",
|
|
33
33
|
"release:build": "run-s build",
|
|
34
|
-
"release:commit": "commit-and-tag-version"
|
|
35
|
-
"release:main": "git push --follow-tags; git checkout main; git merge dev; git push",
|
|
36
|
-
"release:publish": "pnpm publish --access public",
|
|
37
|
-
"release:dev": "git checkout dev"
|
|
34
|
+
"release:commit": "commit-and-tag-version"
|
|
38
35
|
}
|
|
39
36
|
}
|