@lee-zg/melange 1.2.3 → 1.2.5

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.
@@ -1,4 +1,5 @@
1
- export { SpeechRecognizerImpl, SpeechSynthesizerImpl, createSpeechRecognizer, createSpeechSynthesizer, isSpeechRecognitionSupported, isSpeechSynthesisSupported, listen, speak } from '../chunk-3RM45M64.js';
1
+ export { AWSSynthesisAdapter, AlibabaAdapter, AlibabaSynthesisAdapter, AudioUtils, AzureAdapter, AzureSynthesisAdapter, BaiduAdapter, BaiduSynthesisAdapter, FINGERPRINT_GENERATOR, FINGERPRINT_VERSION, FingerprintGeneratorImpl, GenericAdapter, GenericSynthesisAdapter, GoogleAdapter, GoogleSynthesisAdapter, RecognitionStatus, SpeechRecognizerImpl, SpeechSynthesizerImpl, SynthesisAudioUtils, SynthesisStatus, TencentAdapter, TencentSynthesisAdapter, XunfeiAdapter, XunfeiSynthesisAdapter, bucketDeviceMemory, bucketHardwareConcurrency, bucketNumber, createFingerprintGenerator, createSpeechRecognizer, createSpeechSynthesizer, defaultFingerprintCollectors, fnv1a64, getFingerprint, hashString, isFingerprintSupported, isSpeechRecognitionSupported, isSpeechSynthesisSupported, listen, listenWithTimeout, normalizeUserAgent, registerFingerprintPlugin, serializeComponents, sha256, speak, speakWithCloud, stableStringify } from '../chunk-R3BPDZ3R.js';
2
+ import '../chunk-ILNGTDQ4.js';
2
3
  import '../chunk-7QVYU63E.js';
3
4
  //# sourceMappingURL=index.js.map
4
5
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,138 +1,143 @@
1
- {
2
- "name": "@lee-zg/melange",
3
- "version": "1.2.3",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "description": "一个现代化的 JavaScript/TypeScript 个人工具库,支持函数式编程、面向对象模式和全面的类型支持",
8
- "type": "module",
9
- "main": "./dist/index.cjs",
10
- "module": "./dist/index.js",
11
- "types": "./dist/index.d.ts",
12
- "exports": {
13
- ".": {
14
- "import": {
15
- "types": "./dist/index.d.ts",
16
- "default": "./dist/index.js"
17
- },
18
- "require": {
19
- "types": "./dist/index.d.cts",
20
- "default": "./dist/index.cjs"
21
- }
22
- },
23
- "./fp": {
24
- "import": {
25
- "types": "./dist/fp/index.d.ts",
26
- "default": "./dist/fp/index.js"
27
- },
28
- "require": {
29
- "types": "./dist/fp/index.d.cts",
30
- "default": "./dist/fp/index.cjs"
31
- }
32
- },
33
- "./utils": {
34
- "import": {
35
- "types": "./dist/utils/index.d.ts",
36
- "default": "./dist/utils/index.js"
37
- },
38
- "require": {
39
- "types": "./dist/utils/index.d.cts",
40
- "default": "./dist/utils/index.cjs"
41
- }
42
- },
43
- "./core": {
44
- "import": {
45
- "types": "./dist/core/index.d.ts",
46
- "default": "./dist/core/index.js"
47
- },
48
- "require": {
49
- "types": "./dist/core/index.d.cts",
50
- "default": "./dist/core/index.cjs"
51
- }
52
- },
53
- "./plugins": {
54
- "import": {
55
- "types": "./dist/plugins/index.d.ts",
56
- "default": "./dist/plugins/index.js"
57
- },
58
- "require": {
59
- "types": "./dist/plugins/index.d.cts",
60
- "default": "./dist/plugins/index.cjs"
61
- }
62
- }
63
- },
64
- "files": [
65
- "dist/**/*.js",
66
- "dist/**/*.cjs",
67
- "dist/**/*.d.ts",
68
- "dist/**/*.d.cts",
69
- "README.md",
70
- "LICENSE"
71
- ],
72
- "scripts": {
73
- "build": "tsup",
74
- "dev": "tsup --watch",
75
- "test": "vitest",
76
- "test:run": "vitest run",
77
- "test:coverage": "vitest run --coverage",
78
- "lint": "eslint src --ext .ts,.js",
79
- "lint:fix": "eslint src --ext .ts,.js --fix",
80
- "format": "prettier --write \"src/**/*.{ts,js}\"",
81
- "typecheck": "tsc --noEmit",
82
- "prepublishOnly": "npm run build",
83
- "clean": "rimraf dist",
84
- "docs": "vitepress dev docs",
85
- "docs:build": "vitepress build docs",
86
- "docs:preview": "vitepress preview docs",
87
- "docs:deploy": "npm run docs:build && echo 'Documentation built. Push to main branch to deploy.'",
88
- "release:patch": "npm version patch && git push origin main --tags",
89
- "release:minor": "npm version minor && git push origin main --tags",
90
- "release:major": "npm version major && git push origin main --tags"
91
- },
92
- "keywords": [
93
- "utility",
94
- "typescript",
95
- "functional",
96
- "oop",
97
- "library",
98
- "helpers",
99
- "decorators",
100
- "fp",
101
- "speech",
102
- "tts",
103
- "stt",
104
- "speech-synthesis",
105
- "speech-recognition",
106
- "web-speech-api"
107
- ],
108
- "author": "lee-zg",
109
- "license": "MIT",
110
- "repository": {
111
- "type": "git",
112
- "url": "https://github.com/Lee-zg/melange.git"
113
- },
114
- "bugs": {
115
- "url": "https://github.com/Lee-zg/melange/issues"
116
- },
117
- "homepage": "https://lee-zg.github.io/melange/",
118
- "devDependencies": {
119
- "@types/node": "^20.10.0",
120
- "@typescript-eslint/eslint-plugin": "^6.13.0",
121
- "@typescript-eslint/parser": "^6.13.0",
122
- "@vitest/coverage-v8": "^1.0.0",
123
- "eslint": "^8.55.0",
124
- "eslint-config-prettier": "^9.1.0",
125
- "eslint-plugin-prettier": "^5.0.1",
126
- "prettier": "^3.1.0",
127
- "rimraf": "^5.0.5",
128
- "tsup": "^8.0.1",
129
- "typedoc": "^0.25.4",
130
- "typescript": "^5.3.2",
131
- "vitepress": "^1.6.4",
132
- "vitest": "^1.0.0"
133
- },
134
- "engines": {
135
- "node": ">=18.0.0"
136
- },
137
- "sideEffects": false
138
- }
1
+ {
2
+ "name": "@lee-zg/melange",
3
+ "version": "1.2.5",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "一个现代化的 JavaScript/TypeScript 个人工具库,支持函数式编程、面向对象模式和全面的类型支持",
8
+ "type": "module",
9
+ "main": "./dist/index.cjs",
10
+ "module": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": {
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ },
18
+ "require": {
19
+ "types": "./dist/index.d.cts",
20
+ "default": "./dist/index.cjs"
21
+ }
22
+ },
23
+ "./fp": {
24
+ "import": {
25
+ "types": "./dist/fp/index.d.ts",
26
+ "default": "./dist/fp/index.js"
27
+ },
28
+ "require": {
29
+ "types": "./dist/fp/index.d.cts",
30
+ "default": "./dist/fp/index.cjs"
31
+ }
32
+ },
33
+ "./utils": {
34
+ "import": {
35
+ "types": "./dist/utils/index.d.ts",
36
+ "default": "./dist/utils/index.js"
37
+ },
38
+ "require": {
39
+ "types": "./dist/utils/index.d.cts",
40
+ "default": "./dist/utils/index.cjs"
41
+ }
42
+ },
43
+ "./core": {
44
+ "import": {
45
+ "types": "./dist/core/index.d.ts",
46
+ "default": "./dist/core/index.js"
47
+ },
48
+ "require": {
49
+ "types": "./dist/core/index.d.cts",
50
+ "default": "./dist/core/index.cjs"
51
+ }
52
+ },
53
+ "./plugins": {
54
+ "import": {
55
+ "types": "./dist/plugins/index.d.ts",
56
+ "default": "./dist/plugins/index.js"
57
+ },
58
+ "require": {
59
+ "types": "./dist/plugins/index.d.cts",
60
+ "default": "./dist/plugins/index.cjs"
61
+ }
62
+ }
63
+ },
64
+ "files": [
65
+ "dist/**/*.js",
66
+ "dist/**/*.cjs",
67
+ "dist/**/*.d.ts",
68
+ "dist/**/*.d.cts",
69
+ "README.md",
70
+ "LICENSE"
71
+ ],
72
+ "scripts": {
73
+ "build": "tsup",
74
+ "dev": "tsup --watch",
75
+ "test": "vitest",
76
+ "test:run": "vitest run",
77
+ "test:coverage": "vitest run --coverage",
78
+ "test:exports": "node scripts/smoke-exports.mjs",
79
+ "lint": "eslint src --ext .ts,.js",
80
+ "lint:fix": "eslint src --ext .ts,.js --fix",
81
+ "format": "prettier --write \"src/**/*.{ts,js}\"",
82
+ "typecheck": "tsc --noEmit",
83
+ "check:version": "node scripts/check-version.mjs",
84
+ "check:coverage": "node scripts/check-coverage.mjs",
85
+ "pack:dry-run": "npm pack --dry-run",
86
+ "ci": "npm run check:version && npm run lint && npm run typecheck && npm run test:coverage && npm run check:coverage && npm run build && npm run test:exports && npm run docs:build && npm run pack:dry-run",
87
+ "prepublishOnly": "npm run build",
88
+ "clean": "rimraf dist",
89
+ "docs": "vitepress dev docs",
90
+ "docs:build": "vitepress build docs",
91
+ "docs:preview": "vitepress preview docs",
92
+ "docs:deploy": "npm run docs:build && echo 'Documentation built. Push to main branch to deploy.'",
93
+ "release:patch": "npm version patch && git push origin main --tags",
94
+ "release:minor": "npm version minor && git push origin main --tags",
95
+ "release:major": "npm version major && git push origin main --tags"
96
+ },
97
+ "keywords": [
98
+ "utility",
99
+ "typescript",
100
+ "functional",
101
+ "oop",
102
+ "library",
103
+ "helpers",
104
+ "decorators",
105
+ "fp",
106
+ "speech",
107
+ "tts",
108
+ "stt",
109
+ "speech-synthesis",
110
+ "speech-recognition",
111
+ "web-speech-api"
112
+ ],
113
+ "author": "lee-zg",
114
+ "license": "MIT",
115
+ "repository": {
116
+ "type": "git",
117
+ "url": "git+https://github.com/Lee-zg/melange.git"
118
+ },
119
+ "bugs": {
120
+ "url": "https://github.com/Lee-zg/melange/issues"
121
+ },
122
+ "homepage": "https://lee-zg.github.io/melange/",
123
+ "devDependencies": {
124
+ "@types/node": "^20.10.0",
125
+ "@typescript-eslint/eslint-plugin": "^6.13.0",
126
+ "@typescript-eslint/parser": "^6.13.0",
127
+ "@vitest/coverage-v8": "^1.0.0",
128
+ "eslint": "^8.55.0",
129
+ "eslint-config-prettier": "^9.1.0",
130
+ "eslint-plugin-prettier": "^5.0.1",
131
+ "prettier": "^3.1.0",
132
+ "rimraf": "^5.0.5",
133
+ "tsup": "^8.0.1",
134
+ "typedoc": "^0.25.4",
135
+ "typescript": "^5.3.2",
136
+ "vitepress": "^1.6.4",
137
+ "vitest": "^1.0.0"
138
+ },
139
+ "engines": {
140
+ "node": ">=18.0.0"
141
+ },
142
+ "sideEffects": false
143
+ }