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

@windicss/plugin-utils

Package Overview
Dependencies
Maintainers
2
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@windicss/plugin-utils - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

5

dist/index.d.ts

@@ -210,2 +210,6 @@ import * as windicss_types_interfaces from 'windicss/types/interfaces';

enableSucrase?: boolean;
/**
* On loading configuration error
*/
onConfigurationError?: (error: Error) => void;
}

@@ -321,2 +325,3 @@ interface ResolvedOptions {

root?: string;
onConfigurationError?: (error: Error) => void;
}

@@ -323,0 +328,0 @@ declare function loadConfiguration(options: LoadConfigurationOptions): Promise<{

10

dist/index.js

@@ -453,3 +453,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __defProp = Object.defineProperty;

config,
root = process.cwd()
root = process.cwd(),
onConfigurationError = (e) => console.error(e)
} = options;

@@ -482,3 +483,3 @@ const debugConfig = _debug4.default.call(void 0, `${name}:config`);

const _import = new Function("modulePath", "return import(modulePath)");
resolved = ((_a = await _import(_url.pathToFileURL.call(void 0, _path.resolve.call(void 0, configFilePath)))) == null ? void 0 : _a.default) || {};
resolved = ((_a = await _import(_url.pathToFileURL.call(void 0, configFilePath))) == null ? void 0 : _a.default) || {};
if (resolved.default)

@@ -493,7 +494,6 @@ resolved = resolved.default;

} catch (e) {
console.error(`[${name}] failed to load config "${configFilePath}"`);
console.error(`[${name}] ${e.toString()}`);
error = e;
configFilePath = void 0;
resolved = {};
onConfigurationError == null ? void 0 : onConfigurationError(e);
} finally {

@@ -578,3 +578,3 @@ revert();

function isDetectTarget(id) {
if (files.includes(id))
if (files.includes(id) || files.includes(id.slice(0, id.indexOf("?"))))
return true;

@@ -581,0 +581,0 @@ id = slash(id);

{
"name": "@windicss/plugin-utils",
"description": "Common utils for building integrations of Windi CSS",
"version": "0.13.1",
"version": "0.13.2",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "module": "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