@slashgear/gdpr-cookie-scanner 3.5.0 → 3.5.1

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @slashgear/gdpr-cookie-scanner
2
2
 
3
+ ## 3.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2893782: fix: copy scripts/ directory into Docker build stage
8
+
9
+ The `pnpm build` script now runs `tsc && node scripts/copy-data.mjs` to copy
10
+ the vendored Open Cookie Database into `dist/data/`. The Dockerfile only copied
11
+ `src/` and `tsconfig.json`, so the build stage was missing `scripts/`, causing
12
+ the Docker image build to fail with `Cannot find module '/app/scripts/copy-data.mjs'`.
13
+
3
14
  ## 3.5.0
4
15
 
5
16
  ### Minor Changes
package/Dockerfile CHANGED
@@ -8,6 +8,7 @@ COPY package.json pnpm-lock.yaml ./
8
8
  RUN pnpm install --frozen-lockfile
9
9
 
10
10
  COPY tsconfig.json ./
11
+ COPY scripts ./scripts
11
12
  COPY src ./src
12
13
  RUN pnpm build
13
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slashgear/gdpr-cookie-scanner",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "CLI tool to scan websites for GDPR cookie consent compliance",
5
5
  "keywords": [
6
6
  "compliance",