@duckduckgo/autoconsent 4.4.0 → 5.0.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,3 +1,35 @@
1
+ # v5.0.1 (Tue Jul 18 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fix burpee rule matching and add new rule [#211](https://github.com/duckduckgo/autoconsent/pull/211) ([@sammacbeth](https://github.com/sammacbeth))
6
+ - Add July crawl data [#199](https://github.com/duckduckgo/autoconsent/pull/199) ([@sammacbeth](https://github.com/sammacbeth))
7
+ - Build with ESBuild [#204](https://github.com/duckduckgo/autoconsent/pull/204) ([@sammacbeth](https://github.com/sammacbeth))
8
+
9
+ #### Authors: 1
10
+
11
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
12
+
13
+ ---
14
+
15
+ # v5.0.0 (Thu Jul 13 2023)
16
+
17
+ #### 💥 Breaking Change
18
+
19
+ - Bump typescript from 4.9.5 to 5.1.6 [#196](https://github.com/duckduckgo/autoconsent/pull/196) ([@dependabot[bot]](https://github.com/dependabot[bot]))
20
+
21
+ #### 🚀 Enhancement
22
+
23
+ - Cancel prehide rules if the pop-up takes too long to appear [#205](https://github.com/duckduckgo/autoconsent/pull/205) ([@muodov](https://github.com/muodov))
24
+ - Bump @playwright/test from 1.33.0 to 1.35.1 [#191](https://github.com/duckduckgo/autoconsent/pull/191) ([@dependabot[bot]](https://github.com/dependabot[bot]))
25
+
26
+ #### Authors: 2
27
+
28
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
29
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
30
+
31
+ ---
32
+
1
33
  # v4.4.0 (Tue Jul 11 2023)
2
34
 
3
35
  #### 🚀 Enhancement
package/build.sh ADDED
@@ -0,0 +1,28 @@
1
+ #!/bin/bash
2
+ set -ex
3
+
4
+ ESBUILD="node_modules/.bin/esbuild --bundle"
5
+
6
+ $ESBUILD --format=iife --target=chrome90 --minify playwright/content.ts --outfile=dist/autoconsent.playwright.js
7
+ $ESBUILD --format=esm lib/web.ts --outfile=dist/autoconsent.esm.js
8
+ $ESBUILD --format=cjs --platform=node lib/web.ts --outfile=dist/autoconsent.cjs.js
9
+
10
+ # Extension
11
+ $ESBUILD addon/background.ts --outfile=dist/addon-mv3/background.bundle.js
12
+ $ESBUILD addon/content.ts --outfile=dist/addon-mv3/content.bundle.js
13
+ $ESBUILD addon/popup.ts --outfile=dist/addon-mv3/popup.bundle.js
14
+ $ESBUILD addon/devtools/panel.ts --outfile=dist/addon-mv3/devtools/panel.js
15
+
16
+ ## Copy extension files into place
17
+ mkdir -p dist/addon-firefox
18
+ cp dist/addon-mv3/background.bundle.js dist/addon-firefox/background.bundle.js
19
+ cp dist/addon-mv3/content.bundle.js dist/addon-firefox/content.bundle.js
20
+ cp -r addon/icons dist/addon-mv3/
21
+ cp -r addon/icons dist/addon-firefox/
22
+ cp rules/rules.json dist/addon-mv3/
23
+ cp rules/rules.json dist/addon-firefox/
24
+ cp addon/popup.html dist/addon-mv3/
25
+ cp -r addon/devtools dist/addon-mv3/
26
+ cp addon/manifest.mv3.json dist/addon-mv3/manifest.json
27
+ cp addon/manifest.firefox.json dist/addon-firefox/manifest.json
28
+ cp node_modules/bulma/css/bulma.min.css dist/addon-mv3/devtools/