@atlaspack/transformer-xml 2.14.23 → 2.14.25

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,21 @@
1
1
  # @atlaspack/transformer-xml
2
2
 
3
+ ## 2.14.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/types-internal@2.19.1
9
+ - @atlaspack/plugin@2.14.25
10
+
11
+ ## 2.14.24
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45)]:
16
+ - @atlaspack/types-internal@2.19.0
17
+ - @atlaspack/plugin@2.14.24
18
+
3
19
  ## 2.14.23
4
20
 
5
21
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import type { MutableAsset, TransformerResult } from '@atlaspack/types';
1
+ import type { MutableAsset, TransformerResult } from '@atlaspack/types-internal';
2
2
  import { urlHandler } from './utils';
3
3
  export declare function link(element: Element, asset: MutableAsset): void;
4
4
  export declare const icon: typeof urlHandler;
@@ -1,4 +1,4 @@
1
- import type { MutableAsset, TransformerResult } from '@atlaspack/types';
1
+ import type { MutableAsset, TransformerResult } from '@atlaspack/types-internal';
2
2
  import { urlHandler } from './utils';
3
3
  export declare const link: typeof urlHandler;
4
4
  export declare const url: typeof urlHandler;
@@ -1,2 +1,2 @@
1
- import type { MutableAsset } from '@atlaspack/types';
1
+ import type { MutableAsset } from '@atlaspack/types-internal';
2
2
  export declare function urlHandler(element: Element, asset: MutableAsset): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-xml",
3
- "version": "2.14.23",
3
+ "version": "2.14.25",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,16 +11,18 @@
11
11
  },
12
12
  "main": "./lib/XMLTransformer.js",
13
13
  "source": "./src/XMLTransformer.ts",
14
- "types": "./lib/XMLTransformer.d.ts",
14
+ "types": "./lib/types/XMLTransformer.d.ts",
15
15
  "engines": {
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/plugin": "2.14.23",
19
+ "@atlaspack/types-internal": "2.19.1",
20
+ "@atlaspack/plugin": "2.14.25",
20
21
  "@xmldom/xmldom": "^0.7.9"
21
22
  },
22
23
  "type": "commonjs",
23
24
  "scripts": {
24
- "check-ts": "tsc --emitDeclarationOnly --rootDir src"
25
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
26
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
25
27
  }
26
- }
28
+ }
package/src/atom.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type {MutableAsset, TransformerResult} from '@atlaspack/types';
1
+ import type {MutableAsset, TransformerResult} from '@atlaspack/types-internal';
2
2
  import {XMLSerializer} from '@xmldom/xmldom';
3
3
  import {urlHandler} from './utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import type {MutableAsset} from '@atlaspack/types';
1
+ import type {MutableAsset} from '@atlaspack/types-internal';
2
2
  import {DOMParser, XMLSerializer} from '@xmldom/xmldom';
3
3
 
4
4
  // Flow doesn't define ProcessingInstruction by default.
package/src/rss.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type {MutableAsset, TransformerResult} from '@atlaspack/types';
1
+ import type {MutableAsset, TransformerResult} from '@atlaspack/types-internal';
2
2
  import {urlHandler} from './utils';
3
3
 
4
4
  // Handlers for elements defined by the RSS spec.
package/src/utils.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type {MutableAsset} from '@atlaspack/types';
1
+ import type {MutableAsset} from '@atlaspack/types-internal';
2
2
 
3
3
  export function urlHandler(element: Element, asset: MutableAsset) {
4
4
  // @ts-expect-error TS18047