New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@swc/html

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/html - npm Package Compare versions

Comparing version 0.0.20 to 0.0.24

42

binding.d.ts

@@ -7,33 +7,25 @@ /* tslint:disable */

export interface Diagnostic {
level: string;
message: string;
span: any;
level: string
message: string
span: any
}
export interface TransformOutput {
code: string;
errors?: Array<Diagnostic>;
code: string
errors?: Array<Diagnostic>
}
export interface Attribute {
namespace?: string;
prefix?: string;
name: string;
value?: string;
namespace?: string
prefix?: string
name: string
value?: string
}
export interface Element {
tagName: string;
namespace: string;
attributes: Array<Attribute>;
isSelfClosing: boolean;
tagName: string
namespace: string
attributes: Array<Attribute>
isSelfClosing: boolean
}
export function minify(
code: Buffer,
opts: Buffer,
signal?: AbortSignal | undefined | null
): Promise<TransformOutput>;
export function minifyFragment(
code: Buffer,
opts: Buffer,
signal?: AbortSignal | undefined | null
): Promise<TransformOutput>;
export function minifySync(code: Buffer, opts: Buffer): TransformOutput;
export function minifyFragmentSync(code: Buffer, opts: Buffer): TransformOutput;
export function minify(code: Buffer, opts: Buffer, signal?: AbortSignal | undefined | null): Promise<TransformOutput>
export function minifyFragment(code: Buffer, opts: Buffer, signal?: AbortSignal | undefined | null): Promise<TransformOutput>
export function minifySync(code: Buffer, opts: Buffer): TransformOutput
export function minifyFragmentSync(code: Buffer, opts: Buffer): TransformOutput
{
"name": "@swc/html",
"version": "0.0.20",
"packageManager": "yarn@3.2.3",
"version": "0.0.24",
"description": "Super-fast alternative for posthtml",

@@ -29,3 +30,2 @@ "homepage": "https://swc.rs",

"x86_64-unknown-linux-musl",
"x86_64-unknown-freebsd",
"i686-pc-windows-msvc",

@@ -57,17 +57,20 @@ "aarch64-unknown-linux-gnu",

},
"devDependencies": {
"@napi-rs/cli": "^2.16.1",
"typescript": "^5.1.6"
},
"optionalDependencies": {
"@swc/html-win32-x64-msvc": "0.0.20",
"@swc/html-darwin-x64": "0.0.20",
"@swc/html-linux-x64-gnu": "0.0.20",
"@swc/html-linux-x64-musl": "0.0.20",
"@swc/html-freebsd-x64": "0.0.20",
"@swc/html-win32-ia32-msvc": "0.0.20",
"@swc/html-linux-arm64-gnu": "0.0.20",
"@swc/html-linux-arm-gnueabihf": "0.0.20",
"@swc/html-darwin-arm64": "0.0.20",
"@swc/html-android-arm64": "0.0.20",
"@swc/html-linux-arm64-musl": "0.0.20",
"@swc/html-win32-arm64-msvc": "0.0.20",
"@swc/html-android-arm-eabi": "0.0.20"
"@swc/html-win32-x64-msvc": "0.0.24",
"@swc/html-darwin-x64": "0.0.24",
"@swc/html-linux-x64-gnu": "0.0.24",
"@swc/html-linux-x64-musl": "0.0.24",
"@swc/html-win32-ia32-msvc": "0.0.24",
"@swc/html-linux-arm64-gnu": "0.0.24",
"@swc/html-linux-arm-gnueabihf": "0.0.24",
"@swc/html-darwin-arm64": "0.0.24",
"@swc/html-android-arm64": "0.0.24",
"@swc/html-linux-arm64-musl": "0.0.24",
"@swc/html-win32-arm64-msvc": "0.0.24",
"@swc/html-android-arm-eabi": "0.0.24"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc