@atlaspack/transformer-svg 2.14.22 → 2.14.24
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 +16 -0
- package/lib/{dependencies.d.ts → types/dependencies.d.ts} +1 -1
- package/lib/{inline.d.ts → types/inline.d.ts} +1 -1
- package/package.json +7 -6
- package/src/dependencies.ts +1 -1
- package/src/inline.ts +5 -1
- /package/lib/{SVGTransformer.d.ts → types/SVGTransformer.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaspack/transformer-svg
|
|
2
2
|
|
|
3
|
+
## 2.14.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`ad26146`](https://github.com/atlassian-labs/atlaspack/commit/ad26146f13b4c1cc65d4a0f9c67060b90ef14ff3), [`f1b48e7`](https://github.com/atlassian-labs/atlaspack/commit/f1b48e7a04e005cef0f36a3e692087a9ecdb6f7a), [`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45)]:
|
|
8
|
+
- @atlaspack/rust@3.6.0
|
|
9
|
+
- @atlaspack/plugin@2.14.24
|
|
10
|
+
|
|
11
|
+
## 2.14.23
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
|
|
16
|
+
- @atlaspack/rust@3.5.0
|
|
17
|
+
- @atlaspack/plugin@2.14.23
|
|
18
|
+
|
|
3
19
|
## 2.14.22
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { AST, MutableAsset } from '@atlaspack/types';
|
|
1
|
+
import type { AST, MutableAsset } from '@atlaspack/types-internal';
|
|
2
2
|
export declare function parseFuncIRI(value: string): [string, string] | null | undefined;
|
|
3
3
|
export default function collectDependencies(asset: MutableAsset, ast: AST): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { AST, MutableAsset, TransformerResult } from '@atlaspack/types';
|
|
1
|
+
import type { AST, MutableAsset, TransformerResult } from '@atlaspack/types-internal';
|
|
2
2
|
export default function extractInlineAssets(asset: MutableAsset, ast: AST): Array<TransformerResult>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/transformer-svg",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.24",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
},
|
|
12
12
|
"main": "./lib/SVGTransformer.js",
|
|
13
13
|
"source": "./src/SVGTransformer.ts",
|
|
14
|
-
"types": "./lib/SVGTransformer.d.ts",
|
|
14
|
+
"types": "./lib/types/SVGTransformer.d.ts",
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">= 16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@atlaspack/diagnostic": "2.14.2",
|
|
20
|
-
"@atlaspack/plugin": "2.14.
|
|
21
|
-
"@atlaspack/rust": "3.
|
|
20
|
+
"@atlaspack/plugin": "2.14.24",
|
|
21
|
+
"@atlaspack/rust": "3.6.0",
|
|
22
22
|
"nullthrows": "^1.1.1",
|
|
23
23
|
"posthtml": "^0.16.5",
|
|
24
24
|
"posthtml-parser": "^0.10.1",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"type": "commonjs",
|
|
29
29
|
"scripts": {
|
|
30
|
-
"check-ts": "tsc --emitDeclarationOnly --rootDir src"
|
|
30
|
+
"check-ts": "tsc --emitDeclarationOnly --rootDir src",
|
|
31
|
+
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
31
32
|
}
|
|
32
|
-
}
|
|
33
|
+
}
|
package/src/dependencies.ts
CHANGED
package/src/inline.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
AST,
|
|
3
|
+
MutableAsset,
|
|
4
|
+
TransformerResult,
|
|
5
|
+
} from '@atlaspack/types-internal';
|
|
2
6
|
import {hashString} from '@atlaspack/rust';
|
|
3
7
|
// @ts-expect-error TS2724
|
|
4
8
|
import type {PostHTMLNode} from 'posthtml';
|
|
File without changes
|