Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swc/css

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/css - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

6

binding.d.ts

@@ -6,5 +6,11 @@ /* tslint:disable */

export interface Diagnostic {
level: string;
message: string;
span: any;
}
export interface TransformOutput {
code: string;
map?: string;
errors?: Array<Diagnostic>;
}

@@ -11,0 +17,0 @@ export function minify(

9

index.ts
import * as binding from "./binding";
type Options = {
filename?: string;
sourceMap?: boolean;
};
export async function minify(
content: Buffer,
options: any
options: Options
): Promise<binding.TransformOutput> {

@@ -10,3 +15,3 @@ return binding.minify(content, toBuffer(options ?? {}));

export function minifySync(content: Buffer, options: any) {
export function minifySync(content: Buffer, options: Options) {
return binding.minifySync(content, toBuffer(options ?? {}));

@@ -13,0 +18,0 @@ }

{
"name": "@swc/css",
"version": "0.0.16",
"version": "0.0.17",
"description": "Super-fast alternative for postcss",

@@ -57,16 +57,16 @@ "homepage": "https://swc.rs",

"optionalDependencies": {
"@swc/css-win32-x64-msvc": "0.0.16",
"@swc/css-darwin-x64": "0.0.16",
"@swc/css-linux-x64-gnu": "0.0.16",
"@swc/css-linux-x64-musl": "0.0.16",
"@swc/css-freebsd-x64": "0.0.16",
"@swc/css-win32-ia32-msvc": "0.0.16",
"@swc/css-linux-arm64-gnu": "0.0.16",
"@swc/css-linux-arm-gnueabihf": "0.0.16",
"@swc/css-darwin-arm64": "0.0.16",
"@swc/css-android-arm64": "0.0.16",
"@swc/css-linux-arm64-musl": "0.0.16",
"@swc/css-win32-arm64-msvc": "0.0.16",
"@swc/css-android-arm-eabi": "0.0.16"
"@swc/css-win32-x64-msvc": "0.0.17",
"@swc/css-darwin-x64": "0.0.17",
"@swc/css-linux-x64-gnu": "0.0.17",
"@swc/css-linux-x64-musl": "0.0.17",
"@swc/css-freebsd-x64": "0.0.17",
"@swc/css-win32-ia32-msvc": "0.0.17",
"@swc/css-linux-arm64-gnu": "0.0.17",
"@swc/css-linux-arm-gnueabihf": "0.0.17",
"@swc/css-darwin-arm64": "0.0.17",
"@swc/css-android-arm64": "0.0.17",
"@swc/css-linux-arm64-musl": "0.0.17",
"@swc/css-win32-arm64-msvc": "0.0.17",
"@swc/css-android-arm-eabi": "0.0.17"
}
}
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