Huge News!Announcing our $40M Series B led by Abstract Ventures.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 1.1.0 to 1.2.0

2

package.json
{
"name": "esbuild-sass-plugin",
"version": "1.1.0",
"version": "1.2.0",
"description": "esbuild plugin for sass/scss files supporting both css loader and css result import (lit-element)",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -130,10 +130,10 @@ import {Loader, OnLoadArgs, OnLoadResult, OnResolveArgs, Plugin} from "esbuild";

if (cached) {
let {filename, mtimeMs, result} = cached;
let {filename, type} = cached;
let stats = statSync(filename);
if (stats.mtimeMs <= mtimeMs) {
if (stats.mtimeMs <= cached.mtimeMs) {
return cached.result;
}
cached.result = await transform(filename, cached.type);
cached.mtimeMs = mtimeMs;
return result;
cached.result = await transform(filename, type);
cached.mtimeMs = stats.mtimeMs;
return cached.result;
}

@@ -140,0 +140,0 @@ let filename = resolve(args);

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