@prosopo/types-env 2.10.16 → 2.10.18

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,25 +1,7 @@
1
1
 
2
- > @prosopo/types-env@2.10.16 build:cjs
2
+ > @prosopo/types-env@2.10.18 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
- ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
6
-
7
- package.json:16:3:
8
- 16 │ "types": "./dist/index.d.ts"
9
- ╵ ~~~~~~~
10
-
11
- The "import" condition comes earlier and will be used for all "import" statements:
12
-
13
- package.json:14:3:
14
- 14 │ "import": "./dist/index.js",
15
- ╵ ~~~~~~~~
16
-
17
- The "require" condition comes earlier and will be used for all "require" calls:
18
-
19
- package.json:15:3:
20
- 15 │ "require": "./dist/cjs/index.cjs",
21
- ╵ ~~~~~~~~~
22
-
23
5
  ViteCommonJSConfig: .
24
6
  {
25
7
  tsConfigPaths: [
@@ -53,14 +35,16 @@ ViteCommonJSConfig: .
53
35
  '@prosopo/keyring'
54
36
  ]
55
37
  }
56
- vite v6.4.1 building SSR bundle for production...
38
+ The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
39
+ vite v8.1.5 building ssr environment for production...
57
40
  Bundle build started
58
- transforming...
59
- Build end
60
- ✓ 4 modules transformed.
41
+ 
42
+ 5 modules transformed.
61
43
  rendering chunks...
62
- dist/cjs/env.cjs 0.01 kB
63
- dist/cjs/provider.cjs 0.01 kB
64
- dist/cjs/ipinfo.cjs 0.01 kB
65
- dist/cjs/index.cjs 0.09 kB
66
- ✓ built in 111ms
44
+ computing gzip size...
45
+ dist/cjs/index.cjs 0.00 kB │ gzip: 0.02 kB
46
+ dist/cjs/env.cjs 0.00 kB │ gzip: 0.02 kB
47
+ dist/cjs/ipinfo.cjs 0.00 kB │ gzip: 0.02 kB
48
+ dist/cjs/provider.cjs 0.00 kB gzip: 0.02 kB
49
+
50
+ ✓ built in 80ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/types-env@2.10.16 build:tsc
2
+ > @prosopo/types-env@2.10.18 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 9:05:39 AM - Projects in this build:
5
+ 12:36:40 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../util/tsconfig.json
8
8
  * ../logger/tsconfig.json
@@ -18,33 +18,33 @@
18
18
  * ../keyring/tsconfig.json
19
19
  * tsconfig.json
20
20
 
21
- 9:05:39 AM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
21
+ 12:36:40 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/index.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
22
22
 
23
- 9:05:39 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
23
+ 12:36:40 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
24
24
 
25
- 9:05:39 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
25
+ 12:36:40 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
26
26
 
27
- 9:05:39 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
27
+ 12:36:40 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
28
28
 
29
- 9:05:39 AM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
29
+ 12:36:40 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
30
30
 
31
- 9:05:39 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/procaptcha/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
31
+ 12:36:40 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/provider/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
32
32
 
33
- 9:05:39 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/utils/batches.ts' is older than output '../common/tsconfig.tsbuildinfo'
33
+ 12:36:40 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
34
34
 
35
- 9:05:39 AM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/apiRoutes.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
35
+ 12:36:40 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/tests/apiRoute.unit.test.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
36
36
 
37
- 9:05:39 AM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
37
+ 12:36:40 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
38
38
 
39
- 9:05:39 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
39
+ 12:36:40 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
40
40
 
41
- 9:05:39 AM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/ruleRecord.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
41
+ 12:36:40 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/transformRule.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
42
42
 
43
- 9:05:39 AM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/bannedDomain.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
43
+ 12:36:40 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/bannedDomain.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
44
44
 
45
- 9:05:39 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/keyring/keyring.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
45
+ 12:36:40 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/keyring/keyring.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
46
46
 
47
- 9:05:39 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
47
+ 12:36:40 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
48
48
 
49
- 9:05:39 AM - Building project '/home/runner/work/captcha/captcha/packages/types-env/tsconfig.json'...
49
+ 12:36:40 PM - Building project '/home/runner/work/captcha/captcha/packages/types-env/tsconfig.json'...
50
50
 
@@ -1,29 +1,11 @@
1
1
 
2
- > @prosopo/types-env@2.10.16 build
2
+ > @prosopo/types-env@2.10.18 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/types-env@2.10.16 build:cross-env
6
+ > @prosopo/types-env@2.10.18 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
- ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
10
-
11
- package.json:16:3:
12
- 16 │ "types": "./dist/index.d.ts"
13
- ╵ ~~~~~~~
14
-
15
- The "import" condition comes earlier and will be used for all "import" statements:
16
-
17
- package.json:14:3:
18
- 14 │ "import": "./dist/index.js",
19
- ╵ ~~~~~~~~
20
-
21
- The "require" condition comes earlier and will be used for all "require" calls:
22
-
23
- package.json:15:3:
24
- 15 │ "require": "./dist/cjs/index.cjs",
25
- ╵ ~~~~~~~~~
26
-
27
9
  ViteEsmConfig: .
28
10
  {
29
11
  tsConfigPaths: [
@@ -57,14 +39,17 @@ ViteEsmConfig: .
57
39
  '@prosopo/keyring'
58
40
  ]
59
41
  }
60
- vite v6.4.1 building SSR bundle for production...
42
+ The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
43
+ vite v8.1.5 building ssr environment for production...
61
44
  Bundle build started
62
- transforming...
63
- Build end
64
- ✓ 4 modules transformed.
45
+ 
46
+ 5 modules transformed.
65
47
  rendering chunks...
66
- dist/env.js 0.00 kB
67
- dist/provider.js 0.00 kB
68
- dist/ipinfo.js 0.00 kB
69
- dist/index.js 0.07 kB
70
- ✓ built in 99ms
48
+ computing gzip size...
49
+ dist/env.js 0.01 kB │ gzip: 0.03 kB
50
+ dist/ipinfo.js 0.01 kB │ gzip: 0.03 kB
51
+ dist/provider.js 0.01 kB │ gzip: 0.03 kB
52
+ dist/_virtual/_rolldown/runtime.js 0.04 kB gzip: 0.06 kB
53
+ dist/index.js 0.05 kB │ gzip: 0.07 kB
54
+
55
+ ✓ built in 59ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @prosopo/types-env
2
2
 
3
+ ## 2.10.18
4
+ ### Patch Changes
5
+
6
+ - @prosopo/types-database@4.11.18
7
+
8
+ ## 2.10.17
9
+ ### Patch Changes
10
+
11
+ - e14fce6: chore(deps): bump vite to 6.4.3 and mongoose to 8.24.1, and adjust types for the mongoose 8.24 Document/ObjectId changes
12
+ - Updated dependencies [103318c]
13
+ - Updated dependencies [270a8d8]
14
+ - Updated dependencies [e14fce6]
15
+ - @prosopo/types@4.10.0
16
+ - @prosopo/types-database@4.11.17
17
+ - @prosopo/keyring@2.9.61
18
+ - @prosopo/logger@2.0.4
19
+
3
20
  ## 2.10.16
4
21
  ### Patch Changes
5
22
 
@@ -0,0 +1,3 @@
1
+ import "node:module";
2
+ //#endregion
3
+ export {};
package/dist/cjs/env.cjs CHANGED
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +0,0 @@
1
- "use strict";
2
- require("./env.cjs");
3
- require("./provider.cjs");
4
- require("./ipinfo.cjs");
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
package/dist/env.js CHANGED
@@ -1 +1 @@
1
-
1
+ export {};
package/dist/index.js CHANGED
@@ -1,3 +1,2 @@
1
- import "./env.js";
2
- import "./provider.js";
3
- import "./ipinfo.js";
1
+ import "./_virtual/_rolldown/runtime.js";
2
+ export {};
package/dist/ipinfo.js CHANGED
@@ -1 +1 @@
1
-
1
+ export {};
package/dist/provider.js CHANGED
@@ -1 +1 @@
1
-
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/types-env",
3
- "version": "2.10.16",
3
+ "version": "2.10.18",
4
4
  "description": "Types for prosopo environment",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,23 +36,23 @@
36
36
  },
37
37
  "homepage": "https://github.com/prosopo/captcha#readme",
38
38
  "dependencies": {
39
- "@prosopo/logger": "2.0.3",
40
- "@prosopo/keyring": "2.9.60",
41
- "@prosopo/types": "4.9.12",
42
- "@prosopo/types-database": "4.11.16"
39
+ "@prosopo/logger": "2.0.4",
40
+ "@prosopo/keyring": "2.9.61",
41
+ "@prosopo/types": "4.10.0",
42
+ "@prosopo/types-database": "4.11.18"
43
43
  },
44
44
  "devDependencies": {
45
- "@prosopo/config": "3.3.4",
45
+ "@prosopo/config": "3.3.5",
46
46
  "@types/node": "22.10.2",
47
- "@vitest/coverage-v8": "3.2.4",
47
+ "@vitest/coverage-v8": "4.1.10",
48
48
  "concurrently": "9.0.1",
49
49
  "del-cli": "6.0.0",
50
50
  "npm-run-all": "4.1.5",
51
51
  "tslib": "2.7.0",
52
52
  "tsx": "4.20.3",
53
53
  "typescript": "5.6.2",
54
- "vite": "6.4.1",
55
- "vitest": "3.2.6"
54
+ "vite": "8.1.5",
55
+ "vitest": "4.1.10"
56
56
  },
57
57
  "sideEffects": false
58
58
  }