Skip to content

Commit

Permalink
Pull request #601: AG-24589 Update scriptlets to v1.9.62
Browse files Browse the repository at this point in the history
Merge in ADGUARD-FILTERS/tsurlfilter from feature/AG-24589 to master

Squashed commit of the following:

commit 86cfec9
Author: Vladimir Zhelvis <[email protected]>
Date:   Fri Aug 4 13:18:25 2023 +0300

    update scriptlets to 1.9.62

commit 6694d42
Author: Vladimir Zhelvis <[email protected]>
Date:   Fri Aug 4 11:00:39 2023 +0300

    update scriptlets
  • Loading branch information
zhelvis committed Aug 4, 2023
1 parent 7de315b commit 30ded45
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 20 deletions.
6 changes: 6 additions & 0 deletions packages/tsurlfilter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- TODO: manually add compare links for version to the end of the file -->
<!-- e.g. [1.0.77]: https://github.com/AdguardTeam/tsurlfilter/compare/tsurlfilter-v1.0.76...tsurlfilter-v1.0.77 -->

## [2.1.6] - 2023-08-04

### Changed
- Updated `@adguard/scriptlets` to `v1.9.62`.
- Esm module now imports external dependencies instead of bundling.


## [2.1.5] - 2023-07-21

Expand Down
4 changes: 2 additions & 2 deletions packages/tsurlfilter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adguard/tsurlfilter",
"version": "2.1.5",
"version": "2.1.6",
"description": "This is a TypeScript library that implements AdGuard's content blocking rules",
"main": "dist/es/index.js",
"module": "dist/es/index.js",
Expand Down Expand Up @@ -85,7 +85,7 @@
]
},
"dependencies": {
"@adguard/scriptlets": "^1.9.57",
"@adguard/scriptlets": "^1.9.62",
"commander": "9.4.1",
"ip6addr": "0.2.3",
"is-cidr": "4.0.2",
Expand Down
27 changes: 16 additions & 11 deletions packages/tsurlfilter/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ const commonConfig = {
],
};

const commonExternal = [
'@adguard/scriptlets',
'is-ip',
'punycode/',
'tldts',
'is-cidr',
'netmask',
'ip6addr',
'zod',
'commander',
];

const esmConfig = {
input: [
'src/index.ts',
Expand All @@ -60,6 +72,7 @@ const esmConfig = {
sourcemap: false,
},
],
external: commonExternal,
...commonConfig,
};

Expand All @@ -77,6 +90,7 @@ const esmDeclarativeConverterConfig = {
sourcemap: false,
},
],
external: commonExternal,
...commonConfig,
};

Expand Down Expand Up @@ -115,19 +129,10 @@ const cliConfig = {
},
],
external: [
'@adguard/scriptlets',
'is-ip',
'punycode/',
'tldts',
'is-cidr',
'netmask',
'ip6addr',
'zod',
'path',
'commander',
'fs',
'path',
...commonExternal,
],

plugins: [
// Allow json resolution
json(),
Expand Down
8 changes: 4 additions & 4 deletions packages/tsurlfilter/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


"@adguard/scriptlets@^1.9.57":
version "1.9.57"
resolved "https://registry.yarnpkg.com/@adguard/scriptlets/-/scriptlets-1.9.57.tgz#186d611f4ee9315f01588c15a7d2ed11b2e8036e"
integrity sha512-CvQmszEnEjgrK68JOJ+cLRf3IFoN8tmF6e7yzJpEnSJvyopZH1e10R8bT8FjE+WtBeUyjrVs8jVMuGGa7RRfGg==
"@adguard/scriptlets@^1.9.62":
version "1.9.62"
resolved "https://registry.yarnpkg.com/@adguard/scriptlets/-/scriptlets-1.9.62.tgz#f60b83bb928c160f59153989c9491504e510498b"
integrity sha512-uWSlfMnAJUmIVsChl7KrECBXDJotSfq/N94iNLtfwnJI7br9Q5Gl65iuH89rh0Fs62OwexKlj3cnrzHL4TEFyw==
dependencies:
"@babel/runtime" "^7.20.13"
js-yaml "^3.13.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/tswebextension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- TODO: manually add compare links for version to the end of the file -->
<!-- e.g. [0.1.2]: https://github.com/AdguardTeam/tsurlfilter/compare/tswebextension-v0.1.1...tswebextension-v0.1.2 -->

## [0.3.8] - 2023-08-04

### Changed
- Updated `@adguard/tsurlfilter` to `v2.1.6`.
- Updated `@adguard/scriptlets` to `v1.9.62`.


## [0.3.7] - 2023-07-21

Expand Down
6 changes: 3 additions & 3 deletions packages/tswebextension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adguard/tswebextension",
"version": "0.3.7",
"version": "0.3.8",
"description": "This is a TypeScript library that implements AdGuard's extension API",
"main": "dist/index.js",
"typings": "dist/types/lib/mv2/background/index.d.ts",
Expand Down Expand Up @@ -83,8 +83,8 @@
"dependencies": {
"@adguard/assistant": "^4.3.70",
"@adguard/extended-css": "^2.0.52",
"@adguard/scriptlets": "^1.9.57",
"@adguard/tsurlfilter": "^2.1.5",
"@adguard/scriptlets": "^1.9.62",
"@adguard/tsurlfilter": "^2.1.6",
"bowser": "2.11.0",
"commander": "11.0.0",
"fs-extra": "11.1.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/tswebextension/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ const backgroundMv3Config = {
'deepmerge',
'tldts',
'webextension-polyfill',
'util',
'assert',
'stream',
],
plugins: [
...commonPlugins,
Expand Down

0 comments on commit 30ded45

Please sign in to comment.