@fgv/ts-extras 5.0.2 → 5.1.0-0
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/dist/index.browser.js +6 -2
- package/dist/index.js +5 -1
- package/dist/packlets/ai-assist/apiClient.js +484 -0
- package/dist/packlets/ai-assist/converters.js +121 -0
- package/dist/packlets/ai-assist/index.js +10 -0
- package/dist/packlets/ai-assist/model.js +90 -0
- package/dist/packlets/ai-assist/registry.js +145 -0
- package/dist/packlets/ai-assist/toolFormats.js +160 -0
- package/dist/packlets/crypto-utils/constants.js +48 -0
- package/dist/packlets/crypto-utils/converters.js +155 -0
- package/dist/packlets/crypto-utils/directEncryptionProvider.js +86 -0
- package/dist/packlets/crypto-utils/encryptedFile.js +161 -0
- package/dist/packlets/crypto-utils/index.browser.js +41 -0
- package/dist/packlets/crypto-utils/index.js +41 -0
- package/dist/packlets/crypto-utils/keystore/converters.js +84 -0
- package/dist/packlets/crypto-utils/keystore/index.js +31 -0
- package/dist/packlets/crypto-utils/keystore/keyStore.js +758 -0
- package/dist/packlets/crypto-utils/keystore/model.js +64 -0
- package/dist/packlets/crypto-utils/model.js +39 -0
- package/dist/packlets/crypto-utils/nodeCryptoProvider.js +159 -0
- package/dist/packlets/experimental/formatter.js +1 -1
- package/dist/packlets/mustache/index.js +23 -0
- package/dist/packlets/mustache/interfaces.js +25 -0
- package/dist/packlets/mustache/mustacheTemplate.js +242 -0
- package/dist/packlets/record-jar/recordJarHelpers.js +1 -1
- package/dist/packlets/yaml/converters.js +46 -0
- package/dist/packlets/yaml/index.js +23 -0
- package/dist/packlets/zip-file-tree/index.js +1 -0
- package/dist/packlets/zip-file-tree/zipFileTreeAccessors.js +43 -2
- package/dist/packlets/zip-file-tree/zipFileTreeWriter.js +40 -0
- package/dist/ts-extras.d.ts +1990 -112
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/index.browser.d.ts +3 -1
- package/lib/index.browser.js +6 -1
- package/lib/index.d.ts +5 -1
- package/lib/index.js +9 -1
- package/lib/packlets/ai-assist/apiClient.d.ts +60 -0
- package/lib/packlets/ai-assist/apiClient.js +488 -0
- package/lib/packlets/ai-assist/converters.d.ts +55 -0
- package/lib/packlets/ai-assist/converters.js +124 -0
- package/lib/packlets/ai-assist/index.d.ts +10 -0
- package/lib/packlets/ai-assist/index.js +33 -0
- package/lib/packlets/ai-assist/model.d.ts +222 -0
- package/lib/packlets/ai-assist/model.js +95 -0
- package/lib/packlets/ai-assist/registry.d.ts +25 -0
- package/lib/packlets/ai-assist/registry.js +150 -0
- package/lib/packlets/ai-assist/toolFormats.d.ts +44 -0
- package/lib/packlets/ai-assist/toolFormats.js +166 -0
- package/lib/packlets/crypto-utils/constants.d.ts +26 -0
- package/lib/packlets/crypto-utils/constants.js +51 -0
- package/lib/packlets/crypto-utils/converters.d.ts +58 -0
- package/lib/packlets/crypto-utils/converters.js +192 -0
- package/lib/packlets/crypto-utils/directEncryptionProvider.d.ts +69 -0
- package/lib/packlets/crypto-utils/directEncryptionProvider.js +90 -0
- package/lib/packlets/crypto-utils/encryptedFile.d.ts +88 -0
- package/lib/packlets/crypto-utils/encryptedFile.js +201 -0
- package/lib/packlets/crypto-utils/index.browser.d.ts +14 -0
- package/lib/packlets/crypto-utils/index.browser.js +91 -0
- package/lib/packlets/crypto-utils/index.d.ts +15 -0
- package/lib/packlets/crypto-utils/index.js +88 -0
- package/lib/packlets/crypto-utils/keystore/converters.d.ts +29 -0
- package/lib/packlets/crypto-utils/keystore/converters.js +87 -0
- package/lib/packlets/crypto-utils/keystore/index.d.ts +9 -0
- package/lib/packlets/crypto-utils/keystore/index.js +71 -0
- package/lib/packlets/crypto-utils/keystore/keyStore.d.ts +239 -0
- package/lib/packlets/crypto-utils/keystore/keyStore.js +795 -0
- package/lib/packlets/crypto-utils/keystore/model.d.ts +245 -0
- package/lib/packlets/crypto-utils/keystore/model.js +68 -0
- package/lib/packlets/crypto-utils/model.d.ts +236 -0
- package/lib/packlets/crypto-utils/model.js +76 -0
- package/lib/packlets/crypto-utils/nodeCryptoProvider.d.ts +62 -0
- package/lib/packlets/crypto-utils/nodeCryptoProvider.js +196 -0
- package/lib/packlets/experimental/formatter.d.ts +1 -1
- package/lib/packlets/experimental/formatter.js +1 -1
- package/lib/packlets/mustache/index.d.ts +3 -0
- package/lib/packlets/mustache/index.js +27 -0
- package/lib/packlets/mustache/interfaces.d.ts +97 -0
- package/lib/packlets/mustache/interfaces.js +26 -0
- package/lib/packlets/mustache/mustacheTemplate.d.ts +76 -0
- package/lib/packlets/mustache/mustacheTemplate.js +249 -0
- package/lib/packlets/record-jar/recordJarHelpers.js +1 -1
- package/lib/packlets/yaml/converters.d.ts +9 -0
- package/lib/packlets/yaml/converters.js +82 -0
- package/lib/packlets/yaml/index.d.ts +2 -0
- package/lib/packlets/yaml/index.js +39 -0
- package/lib/packlets/zip-file-tree/index.d.ts +1 -0
- package/lib/packlets/zip-file-tree/index.js +15 -0
- package/lib/packlets/zip-file-tree/zipFileTreeAccessors.d.ts +31 -2
- package/lib/packlets/zip-file-tree/zipFileTreeAccessors.js +42 -1
- package/lib/packlets/zip-file-tree/zipFileTreeWriter.d.ts +27 -0
- package/lib/packlets/zip-file-tree/zipFileTreeWriter.js +43 -0
- package/package.json +37 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fgv/ts-extras",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0-0",
|
|
4
4
|
"description": "Assorted Typescript Utilities",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "dist/ts-extras.d.ts",
|
|
@@ -16,6 +16,21 @@
|
|
|
16
16
|
},
|
|
17
17
|
"types": "./dist/ts-extras.d.ts"
|
|
18
18
|
},
|
|
19
|
+
"./crypto": {
|
|
20
|
+
"node": {
|
|
21
|
+
"import": "./lib/packlets/crypto/index.js",
|
|
22
|
+
"require": "./lib/packlets/crypto/index.js"
|
|
23
|
+
},
|
|
24
|
+
"default": {
|
|
25
|
+
"import": "./lib/packlets/crypto/index.browser.js",
|
|
26
|
+
"require": "./lib/packlets/crypto/index.browser.js"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"./crypto/keystore": {
|
|
30
|
+
"import": "./lib/packlets/crypto/keystore/index.js",
|
|
31
|
+
"require": "./lib/packlets/crypto/keystore/index.js",
|
|
32
|
+
"types": "./dist/ts-extras.d.ts"
|
|
33
|
+
},
|
|
19
34
|
"./hash": {
|
|
20
35
|
"node": {
|
|
21
36
|
"import": "./lib/packlets/hash/index.node.js",
|
|
@@ -40,47 +55,51 @@
|
|
|
40
55
|
"homepage": "https://github.com/ErikFortune/fgv/tree/main/libraries/ts-extras#ts-utils",
|
|
41
56
|
"devDependencies": {
|
|
42
57
|
"@jest/expect-utils": "^29.7.0",
|
|
43
|
-
"@microsoft/api-documenter": "^7.
|
|
44
|
-
"@microsoft/api-extractor": "^7.
|
|
58
|
+
"@microsoft/api-documenter": "^7.28.2",
|
|
59
|
+
"@microsoft/api-extractor": "^7.55.2",
|
|
45
60
|
"@types/jest": "^29.5.14",
|
|
46
61
|
"@types/luxon": "^3.7.1",
|
|
47
62
|
"@types/mustache": "^4.2.5",
|
|
48
63
|
"@types/node": "^20.14.9",
|
|
49
64
|
"@types/papaparse": "^5.3.14",
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
51
|
-
"@typescript-eslint/parser": "^8.
|
|
52
|
-
"eslint": "^9.39.
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^8.52.0",
|
|
66
|
+
"@typescript-eslint/parser": "^8.52.0",
|
|
67
|
+
"eslint": "^9.39.2",
|
|
53
68
|
"eslint-plugin-import": "^2.32.0",
|
|
54
69
|
"eslint-plugin-node": "^11.1.0",
|
|
55
70
|
"eslint-plugin-promise": "^7.2.1",
|
|
56
71
|
"jest": "^29.7.0",
|
|
57
72
|
"jest-extended": "^4.0.2",
|
|
58
73
|
"jest-matcher-utils": "^29.7.0",
|
|
59
|
-
"rimraf": "^6.1.
|
|
60
|
-
"ts-jest": "^29.4.
|
|
74
|
+
"rimraf": "^6.1.2",
|
|
75
|
+
"ts-jest": "^29.4.6",
|
|
61
76
|
"ts-node": "^10.9.2",
|
|
62
77
|
"typescript": "5.9.3",
|
|
63
78
|
"eslint-plugin-n": "^17.23.1",
|
|
64
79
|
"jest-snapshot": "~29.7.0",
|
|
65
|
-
"@rushstack/heft": "1.
|
|
66
|
-
"@rushstack/heft-node-rig": "2.11.
|
|
67
|
-
"@rushstack/eslint-config": "4.
|
|
80
|
+
"@rushstack/heft": "1.2.6",
|
|
81
|
+
"@rushstack/heft-node-rig": "2.11.26",
|
|
82
|
+
"@rushstack/eslint-config": "4.6.4",
|
|
68
83
|
"@types/heft-jest": "1.0.6",
|
|
69
|
-
"@rushstack/heft-jest-plugin": "1.
|
|
70
|
-
"eslint-plugin-tsdoc": "~0.
|
|
84
|
+
"@rushstack/heft-jest-plugin": "1.2.6",
|
|
85
|
+
"eslint-plugin-tsdoc": "~0.5.2",
|
|
86
|
+
"@types/js-yaml": "~4.0.9",
|
|
87
|
+
"typedoc": "~0.28.16",
|
|
88
|
+
"typedoc-plugin-markdown": "~4.9.0",
|
|
89
|
+
"@fgv/ts-utils-jest": "5.1.0-0",
|
|
71
90
|
"@fgv/heft-dual-rig": "0.1.0",
|
|
72
|
-
"@fgv/ts-utils": "5.0
|
|
73
|
-
"@fgv/ts-utils-jest": "5.0.2"
|
|
91
|
+
"@fgv/ts-utils": "5.1.0-0"
|
|
74
92
|
},
|
|
75
93
|
"dependencies": {
|
|
76
94
|
"luxon": "^3.7.2",
|
|
77
95
|
"mustache": "^4.2.0",
|
|
78
96
|
"papaparse": "^5.4.1",
|
|
79
97
|
"fflate": "~0.8.2",
|
|
80
|
-
"
|
|
98
|
+
"js-yaml": "~4.1.1",
|
|
99
|
+
"@fgv/ts-json-base": "5.1.0-0"
|
|
81
100
|
},
|
|
82
101
|
"peerDependencies": {
|
|
83
|
-
"@fgv/ts-utils": "5.0
|
|
102
|
+
"@fgv/ts-utils": "5.1.0-0"
|
|
84
103
|
},
|
|
85
104
|
"repository": {
|
|
86
105
|
"type": "git",
|
|
@@ -90,7 +109,7 @@
|
|
|
90
109
|
"build": "heft build --clean",
|
|
91
110
|
"clean": "heft clean",
|
|
92
111
|
"test": "heft test --clean",
|
|
93
|
-
"build-docs": "
|
|
112
|
+
"build-docs": "typedoc --options ./config/typedoc.json",
|
|
94
113
|
"build-all": "rushx build; rushx build-docs",
|
|
95
114
|
"test-handles": "jest --runInBand --detectOpenHandles",
|
|
96
115
|
"clean-jest": "jest --clear-cache",
|