@atlaspack/transformer-html 2.14.21-typescript-1fd1095e8.0 → 2.14.21-typescript-e99c742e9.0

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.
@@ -0,0 +1,6 @@
1
+ import { Transformer } from '@atlaspack/plugin';
2
+ import type { AST, Transformer as TransformerOpts } from '@atlaspack/types';
3
+ export declare function parseHTML(code: string, xmlMode: boolean): AST;
4
+ export declare const transformerOpts: TransformerOpts<undefined>;
5
+ declare const _default: Transformer<undefined>;
6
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { AST, MutableAsset } from '@atlaspack/types';
2
+ export default function collectDependencies(asset: MutableAsset, ast: AST): boolean;
@@ -0,0 +1,7 @@
1
+ import type { AST, MutableAsset, TransformerResult } from '@atlaspack/types';
2
+ interface ExtractInlineAssetsResult {
3
+ hasModuleScripts: boolean;
4
+ assets: Array<TransformerResult>;
5
+ }
6
+ export default function extractInlineAssets(asset: MutableAsset, ast: AST): ExtractInlineAssetsResult;
7
+ export {};
package/package.json CHANGED
@@ -1,27 +1,28 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-html",
3
- "version": "2.14.21-typescript-1fd1095e8.0",
3
+ "version": "2.14.21-typescript-e99c742e9.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "scripts": {
9
9
  "test": "mocha",
10
- "check-ts": "tsc --noEmit"
10
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src"
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "https://github.com/atlassian-labs/atlaspack.git"
15
15
  },
16
- "main": "lib/HTMLTransformer.js",
17
- "source": "src/HTMLTransformer.ts",
16
+ "main": "./lib/HTMLTransformer.js",
17
+ "source": "./src/HTMLTransformer.ts",
18
+ "types": "./lib/HTMLTransformer.d.ts",
18
19
  "engines": {
19
20
  "node": ">= 16.0.0"
20
21
  },
21
22
  "dependencies": {
22
- "@atlaspack/diagnostic": "2.14.2-typescript-1fd1095e8.0",
23
- "@atlaspack/plugin": "2.14.21-typescript-1fd1095e8.0",
24
- "@atlaspack/rust": "3.4.2-typescript-1fd1095e8.0",
23
+ "@atlaspack/diagnostic": "2.14.2-typescript-e99c742e9.0",
24
+ "@atlaspack/plugin": "2.14.21-typescript-e99c742e9.0",
25
+ "@atlaspack/rust": "3.4.2-typescript-e99c742e9.0",
25
26
  "nullthrows": "^1.1.1",
26
27
  "posthtml": "^0.16.5",
27
28
  "posthtml-parser": "^0.10.1",
@@ -30,9 +31,8 @@
30
31
  "srcset": "4"
31
32
  },
32
33
  "devDependencies": {
33
- "@atlaspack/core": "2.19.3-typescript-1fd1095e8.0"
34
+ "@atlaspack/core": "2.19.3-typescript-e99c742e9.0"
34
35
  },
35
36
  "type": "commonjs",
36
- "types": "src/HTMLTransformer.ts",
37
- "gitHead": "1fd1095e86da1e50d6c7819c0f132ce09a2bf396"
38
- }
37
+ "gitHead": "e99c742e92175ac411d807daf2ba45d5bacebb58"
38
+ }