@prosopo/detector 3.0.3 → 3.3.13
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 +230 -0
- package/dist/cjs/index.cjs +3941 -0
- package/dist/index.d.ts +3 -18
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2522 -15
- package/dist/index.js.map +1 -0
- package/package.json +13 -16
- package/vite.cjs.config.ts +1 -0
- package/vite.esm.config.ts +5 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/detector",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.13",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "
|
|
8
|
-
"npm": "10.
|
|
7
|
+
"node": ">=v20.0.0",
|
|
8
|
+
"npm": ">=10.6.0"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
@@ -16,30 +16,27 @@
|
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"clean": "del-cli --verbose dist tsconfig.tsbuildinfo",
|
|
19
|
-
"build": "
|
|
19
|
+
"build": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.esm.config.ts --mode $NODE_ENV",
|
|
20
20
|
"build:tsc": "tsc --build --verbose",
|
|
21
|
-
"build:cjs": "
|
|
22
|
-
"typecheck": "
|
|
21
|
+
"build:cjs": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV",
|
|
22
|
+
"typecheck": "tsc --project tsconfig.types.json"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@
|
|
25
|
+
"@types/node": "22.10.2",
|
|
26
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
26
27
|
"concurrently": "9.0.1",
|
|
27
28
|
"del-cli": "6.0.0",
|
|
28
29
|
"npm-run-all": "4.1.5",
|
|
29
30
|
"tslib": "2.7.0",
|
|
30
31
|
"tsx": "4.20.3",
|
|
31
32
|
"typescript": "5.6.2",
|
|
32
|
-
"vite": "6.
|
|
33
|
-
"vitest": "3.
|
|
33
|
+
"vite": "6.4.1",
|
|
34
|
+
"vitest": "3.2.4"
|
|
34
35
|
},
|
|
35
36
|
"type": "module",
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"express": "4.21.2",
|
|
41
|
-
"openpgp": "5.11.3",
|
|
42
|
-
"webpack-dev-server": "5.2.2",
|
|
43
|
-
"@prosopo/config": "3.1.3"
|
|
38
|
+
"@prosopo/config": "3.1.21",
|
|
39
|
+
"@prosopo/types": "3.5.11",
|
|
40
|
+
"dotenv": "16.4.5"
|
|
44
41
|
}
|
|
45
42
|
}
|
package/vite.cjs.config.ts
CHANGED
package/vite.esm.config.ts
CHANGED
|
@@ -16,5 +16,9 @@ import path from "node:path";
|
|
|
16
16
|
import { ViteEsmConfig } from "@prosopo/config";
|
|
17
17
|
|
|
18
18
|
export default function () {
|
|
19
|
-
return ViteEsmConfig(
|
|
19
|
+
return ViteEsmConfig(
|
|
20
|
+
path.basename("."),
|
|
21
|
+
path.resolve("./tsconfig.json"),
|
|
22
|
+
"src/index.js",
|
|
23
|
+
);
|
|
20
24
|
}
|