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

esbuild-sass-plugin

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-sass-plugin - npm Package Compare versions

Comparing version 2.9.0 to 2.10.0

2

lib/index.d.ts

@@ -16,3 +16,3 @@ import { OnLoadResult } from 'esbuild';

nonce?: string;
prefer?: "sass" | "style" | "main";
prefer?: 'sass' | 'style' | 'main';
};

@@ -19,0 +19,0 @@ export default sassPlugin;

@@ -71,3 +71,3 @@ "use strict";

let { contents, pluginData } = out;
if (type === "css") {
if (type === 'css') {
let name = (0, utils_1.posixRelative)(path);

@@ -77,3 +77,3 @@ cssChunks[name] = contents;

}
else if (type === "style") {
else if (type === 'style') {
contents = (0, utils_1.makeModule)(String(contents), 'style', nonce);

@@ -80,0 +80,0 @@ }

@@ -98,7 +98,7 @@ "use strict";

column: opts.span.start.column,
lineText: opts.span.text,
lineText: opts.span.text
},
detail: {
deprecation: opts.deprecation,
stack: opts.stack,
stack: opts.stack
}

@@ -105,0 +105,0 @@ };

@@ -7,3 +7,3 @@ "use strict";

const cwd = process.cwd();
exports.posixRelative = require("path").sep === '/'
exports.posixRelative = require('path').sep === '/'
? (path) => `css-chunk:${(0, path_1.relative)(cwd, path)}`

@@ -10,0 +10,0 @@ : (path) => `css-chunk:${(0, path_1.relative)(cwd, path).replace(/\\/g, '/')}`;

{
"name": "esbuild-sass-plugin",
"version": "2.9.0",
"version": "2.10.0",
"description": "esbuild plugin for sass/scss files supporting both css loader and css result import (lit-element)",

@@ -44,3 +44,3 @@ "main": "lib/index.js",

"resolve": "^1.22.2",
"sass": "^1.62.0"
"sass": "^1.63.0"
},

@@ -50,3 +50,3 @@ "devDependencies": {

"@types/resolve": "^1.20.2",
"esbuild": "^0.17.17",
"esbuild": "^0.18.0",
"mocha-toolkit": "^1.0.7",

@@ -61,4 +61,4 @@ "postcss": "^8.4.23",

"peerDependencies": {
"esbuild": "^0.17.17"
"esbuild": "^0.18.0"
}
}

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