@prosopo/datasets-fs 3.0.162 → 3.0.163

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.
@@ -31,7 +31,7 @@ dist/cjs/index.cjs 0.15 kB │ gzip: 0.14 kB
31
31
  dist/cjs/_virtual/_rolldown/runtime.cjs 1.00 kB │ gzip: 0.50 kB
32
32
  dist/cjs/cli/cli.cjs 1.78 kB │ gzip: 0.83 kB
33
33
 
34
- ✓ built in 55ms
34
+ ✓ built in 75ms
35
35
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat/data.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/cjs/tests/data/flat/data.json
36
36
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v1.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/cjs/tests/data/flat_resized/captchas_v1.json
37
37
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v2.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/cjs/tests/data/flat_resized/captchas_v2.json
@@ -31,7 +31,7 @@ dist/esm/_virtual/_rolldown/runtime.js 0.04 kB │ gzip: 0.06 kB
31
31
  dist/esm/index.js 0.09 kB │ gzip: 0.09 kB
32
32
  dist/esm/cli/cli.js 1.56 kB │ gzip: 0.76 kB
33
33
 
34
- ✓ built in 58ms
34
+ ✓ built in 74ms
35
35
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat/data.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/esm/tests/data/flat/data.json
36
36
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v1.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/esm/tests/data/flat_resized/captchas_v1.json
37
37
  [copy-plugin] copying /home/runner/work/captcha/captcha/packages/datasets-fs/src/tests/data/flat_resized/captchas_v2.json to /home/runner/work/captcha/captcha/packages/datasets-fs/dist/esm/tests/data/flat_resized/captchas_v2.json
@@ -1,5 +1,5 @@
1
1
  $ tsc --build --verbose
2
- 10:55:45 AM - Projects in this build:
2
+ 4:56:18 PM - Projects in this build:
3
3
  * ../../dev/config/tsconfig.json
4
4
  * ../util/tsconfig.json
5
5
  * ../locale/tsconfig.json
@@ -9,21 +9,21 @@ $ tsc --build --verbose
9
9
  * ../logger/tsconfig.json
10
10
  * tsconfig.json
11
11
 
12
- 10:55:45 AM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/vite/modifyExportsFiles.test.ts' is older than output '../../dev/config/dist/tsc/tsconfig.tsbuildinfo'
12
+ 4:56:18 PM - 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/dist/tsc/tsconfig.tsbuildinfo'
13
13
 
14
- 10:55:45 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/dist/tsc/tsconfig.tsbuildinfo'
14
+ 4:56:18 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/dist/tsc/tsconfig.tsbuildinfo'
15
15
 
16
- 10:55:45 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/dist/tsc/tsconfig.tsbuildinfo'
16
+ 4:56:18 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/dist/tsc/tsconfig.tsbuildinfo'
17
17
 
18
- 10:55:45 AM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/dist/tsc/tsconfig.tsbuildinfo'
18
+ 4:56:18 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/dist/tsc/tsconfig.tsbuildinfo'
19
19
 
20
- 10:55:45 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/dist/tsc/tsconfig.tsbuildinfo'
20
+ 4:56:18 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/dist/tsc/tsconfig.tsbuildinfo'
21
21
 
22
- 10:55:45 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/errorSites.unit.test.ts' is older than output '../common/dist/tsc/tsconfig.tsbuildinfo'
22
+ 4:56:18 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/errorSites.unit.test.ts' is older than output '../common/dist/tsc/tsconfig.tsbuildinfo'
23
23
 
24
- 10:55:45 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/dist/tsc/tsconfig.tsbuildinfo'
24
+ 4:56:18 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/dist/tsc/tsconfig.tsbuildinfo'
25
25
 
26
- 10:55:45 AM - Project 'tsconfig.json' is out of date because output file 'dist/tsc/tsconfig.tsbuildinfo' does not exist
26
+ 4:56:18 PM - Project 'tsconfig.json' is out of date because output file 'dist/tsc/tsconfig.tsbuildinfo' does not exist
27
27
 
28
- 10:55:45 AM - Building project '/home/runner/work/captcha/captcha/packages/datasets-fs/tsconfig.json'...
28
+ 4:56:18 PM - Building project '/home/runner/work/captcha/captcha/packages/datasets-fs/tsconfig.json'...
29
29
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @prosopo/datasets-fs
2
2
 
3
+ ## 3.0.163
4
+ ### Patch Changes
5
+
6
+ - 223ec85: Self-hosting no longer needs a Rust toolchain. The guide used `pnpm run build:all`, which also compiles the provider's Rust addons and fails without `cargo`, even though the provider runs from the prebuilt image and nothing built on the host uses those addons. The new `pnpm run build:self-hosted` builds only what the env script and the widget need. `build:all` is unchanged.
7
+
8
+ `docker-compose.self-hosted.yml` now sets `platform: linux/amd64` on the provider and Caddy, because those images are only published for amd64; the guide says ARM hosts run them under emulation. Its default Caddy image moves from 2.5.9 to 2.5.12: `docker/provider.Caddyfile` uses `crawler_list`, which 2.5.9 does not have, so Caddy would not start.
9
+
10
+ The `@prosopo/datasets-fs` `cli` script pointed at `dist/esm/cli.js`, which the build never writes. It now runs `dist/tsc/cli.js`, the file `build:tsc` writes, and the guide and the package README build and run the CLI that way.
11
+
12
+ Other corrections in the guide: the detector example runs `bundle` (`detector-botd` has no `build` script), and the expected startup log line is `bundle pool loaded {"count":0}`.
13
+ - Updated dependencies [b80b627]
14
+ - Updated dependencies [007f43c]
15
+ - @prosopo/types@5.25.0
16
+ - @prosopo/common@3.3.2
17
+
3
18
  ## 3.0.162
4
19
  ### Patch Changes
5
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/datasets-fs",
3
- "version": "3.0.162",
3
+ "version": "3.0.163",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
@@ -21,7 +21,7 @@
21
21
  "@noble/hashes": "2.4.0",
22
22
  "@prosopo/common": "3.3.2",
23
23
  "@prosopo/logger": "2.1.8",
24
- "@prosopo/types": "5.24.0",
24
+ "@prosopo/types": "5.25.0",
25
25
  "@prosopo/util": "3.5.0",
26
26
  "@prosopo/util-crypto": "13.6.4",
27
27
  "bcrypt": "6.0.0",