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

esbuild-style-plugin

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-style-plugin - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

10

dist/index.js

@@ -23,3 +23,3 @@ var __create = Object.create;

var import_fs2 = __toModule(require("fs"));
var import_resolve_file = __toModule(require("resolve-file"));
var import_resolve = __toModule(require("resolve"));
var import_postcss = __toModule(require("postcss"));

@@ -43,7 +43,7 @@ var import_postcss_modules = __toModule(require("postcss-modules"));

const stylus = await getModule("stylus");
return new Promise((resolve, reject) => {
return new Promise((resolve2, reject) => {
stylus.render(css, options, (err, css2) => {
if (err)
reject(err);
resolve(css2);
resolve2(css2);
});

@@ -125,5 +125,3 @@ });

const { namespace, resolveDir } = args;
let fullPath = (0, import_resolve_file.default)(args.path, {});
if (!fullPath)
fullPath = import_path2.default.resolve(args.resolveDir, args.path);
const fullPath = import_resolve.default.sync(args.path, { basedir: args.resolveDir });
if (namespace === LOAD_STYLE_NAMESPACE) {

@@ -130,0 +128,0 @@ return {

{
"name": "esbuild-style-plugin",
"version": "1.3.0",
"version": "1.3.1",
"description": "Another esbuild plugin for your styling with CSS,SASS,LESS,STYLUS",

@@ -32,3 +32,3 @@ "types": "./dist/index.d.ts",

"postcss-modules": "^4.2.2",
"resolve-file": "^0.3.0",
"resolve": "^1.22.0",
"temp": "^0.9.4"

@@ -41,2 +41,3 @@ },

"@types/temp": "^0.9.1",
"antd": "^4.19.3",
"autoprefixer": "^10.4.0",

@@ -43,0 +44,0 @@ "esbuild": "^0.13.15",

dist/index.mjs

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