@swc/html 0.0.17 → 0.0.20

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.
Files changed (2) hide show
  1. package/index.ts +3 -3
  2. package/package.json +14 -14
package/index.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as binding from "./binding";
2
2
 
3
- type MinifierType = "js-module" | "js-script" | "json" | "css" | "html";
3
+ export type MinifierType = "js-module" | "js-script" | "json" | "css" | "html";
4
4
 
5
- type Options = {
5
+ export type Options = {
6
6
  filename?: string;
7
7
  iframeSrcdoc?: boolean;
8
8
  scriptingEnabled?: boolean;
@@ -35,7 +35,7 @@ type Options = {
35
35
  quotes?: boolean;
36
36
  };
37
37
 
38
- type FragmentOptions = Options & {
38
+ export type FragmentOptions = Options & {
39
39
  mode?: "no-quirks" | "limited-quirks" | "quirks";
40
40
  context_element?: binding.Element;
41
41
  form_element?: binding.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/html",
3
- "version": "0.0.17",
3
+ "version": "0.0.20",
4
4
  "description": "Super-fast alternative for posthtml",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -54,18 +54,18 @@
54
54
  "version": "napi version -p scripts/npm"
55
55
  },
56
56
  "optionalDependencies": {
57
- "@swc/html-win32-x64-msvc": "0.0.17",
58
- "@swc/html-darwin-x64": "0.0.17",
59
- "@swc/html-linux-x64-gnu": "0.0.17",
60
- "@swc/html-linux-x64-musl": "0.0.17",
61
- "@swc/html-freebsd-x64": "0.0.17",
62
- "@swc/html-win32-ia32-msvc": "0.0.17",
63
- "@swc/html-linux-arm64-gnu": "0.0.17",
64
- "@swc/html-linux-arm-gnueabihf": "0.0.17",
65
- "@swc/html-darwin-arm64": "0.0.17",
66
- "@swc/html-android-arm64": "0.0.17",
67
- "@swc/html-linux-arm64-musl": "0.0.17",
68
- "@swc/html-win32-arm64-msvc": "0.0.17",
69
- "@swc/html-android-arm-eabi": "0.0.17"
57
+ "@swc/html-win32-x64-msvc": "0.0.20",
58
+ "@swc/html-darwin-x64": "0.0.20",
59
+ "@swc/html-linux-x64-gnu": "0.0.20",
60
+ "@swc/html-linux-x64-musl": "0.0.20",
61
+ "@swc/html-freebsd-x64": "0.0.20",
62
+ "@swc/html-win32-ia32-msvc": "0.0.20",
63
+ "@swc/html-linux-arm64-gnu": "0.0.20",
64
+ "@swc/html-linux-arm-gnueabihf": "0.0.20",
65
+ "@swc/html-darwin-arm64": "0.0.20",
66
+ "@swc/html-android-arm64": "0.0.20",
67
+ "@swc/html-linux-arm64-musl": "0.0.20",
68
+ "@swc/html-win32-arm64-msvc": "0.0.20",
69
+ "@swc/html-android-arm-eabi": "0.0.20"
70
70
  }
71
71
  }