Comparing version 0.0.11 to 0.0.12
@@ -10,4 +10,8 @@ import binding = require("./binding"); | ||
export function minifySync(content: Buffer, options: any) { | ||
return binding.minifySync(content, toBuffer(options)); | ||
} | ||
function toBuffer(t: any): Buffer { | ||
return Buffer.from(JSON.stringify(t)); | ||
} |
{ | ||
"name": "@swc/css", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Super-fast alternative for postcss", | ||
"homepage": "https://swc.rs", | ||
"main": "./index.js", | ||
"main": "./lib/index.js", | ||
"author": "강동윤 <kdy1997.dev@gmail.com>", | ||
@@ -57,16 +57,16 @@ "license": "Apache-2.0", | ||
"optionalDependencies": { | ||
"@swc/css-win32-x64-msvc": "0.0.11", | ||
"@swc/css-darwin-x64": "0.0.11", | ||
"@swc/css-linux-x64-gnu": "0.0.11", | ||
"@swc/css-linux-x64-musl": "0.0.11", | ||
"@swc/css-freebsd-x64": "0.0.11", | ||
"@swc/css-win32-ia32-msvc": "0.0.11", | ||
"@swc/css-linux-arm64-gnu": "0.0.11", | ||
"@swc/css-linux-arm-gnueabihf": "0.0.11", | ||
"@swc/css-darwin-arm64": "0.0.11", | ||
"@swc/css-android-arm64": "0.0.11", | ||
"@swc/css-linux-arm64-musl": "0.0.11", | ||
"@swc/css-win32-arm64-msvc": "0.0.11", | ||
"@swc/css-android-arm-eabi": "0.0.11" | ||
"@swc/css-win32-x64-msvc": "0.0.12", | ||
"@swc/css-darwin-x64": "0.0.12", | ||
"@swc/css-linux-x64-gnu": "0.0.12", | ||
"@swc/css-linux-x64-musl": "0.0.12", | ||
"@swc/css-freebsd-x64": "0.0.12", | ||
"@swc/css-win32-ia32-msvc": "0.0.12", | ||
"@swc/css-linux-arm64-gnu": "0.0.12", | ||
"@swc/css-linux-arm-gnueabihf": "0.0.12", | ||
"@swc/css-darwin-arm64": "0.0.12", | ||
"@swc/css-android-arm64": "0.0.12", | ||
"@swc/css-linux-arm64-musl": "0.0.12", | ||
"@swc/css-win32-arm64-msvc": "0.0.12", | ||
"@swc/css-android-arm-eabi": "0.0.12" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9880
4
263