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

@node-minify/crass

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-minify/crass - npm Package Compare versions

Comparing version 8.0.2-beta.0 to 8.0.3-beta.0

./dist/index.js

8

dist/index.js

@@ -17,2 +17,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -27,4 +31,4 @@ mod

const contentMinified = import_crass.default.parse(content).optimize().toString();
if (settings && !settings.content) {
import_utils.utils.writeFile({ file: settings.output, content: contentMinified, index });
if (settings && !settings.content && settings.output) {
settings.output && import_utils.utils.writeFile({ file: settings.output, content: contentMinified, index });
}

@@ -31,0 +35,0 @@ if (callback) {

{
"name": "@node-minify/crass",
"version": "8.0.2-beta.0",
"version": "8.0.3-beta.0",
"description": "crass plugin for @node-minify",

@@ -15,3 +15,3 @@ "keywords": [

"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},

@@ -45,13 +45,13 @@ "directories": {

"clean": "pnpm dlx rimraf dist",
"build": "npm run clean && tsup src/index.ts --format cjs,esm --dts --clean --sourcemap",
"prepublishOnly": "npm run build"
"build": "pnpm clean && tsup src/index.ts --format cjs,esm --dts --clean --sourcemap",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@node-minify/utils": "8.0.2-beta.0",
"@node-minify/utils": "8.0.3-beta.0",
"crass": "0.12.3"
},
"devDependencies": {
"@node-minify/types": "8.0.2-beta.0"
"@node-minify/types": "8.0.3-beta.0"
},
"gitHead": "bd2fe186257749fcb9bf7a9ff1ce61fb922c4ade"
"gitHead": "f79e146eed24ca117756cf029eb5005631f12892"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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