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

windicss-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

windicss-webpack-plugin - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

4

dist/loaders/transform-css.js

@@ -6,3 +6,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const constants_1 = require("../constants");
const debug_1 = __importDefault(require("../debug"));
const upath_1 = require("upath");
function TransformCss(source) {

@@ -17,2 +19,4 @@ if (!this._compiler) {

}
// cache file changes to invalidate the virtual module
this.addDependency(upath_1.resolve(this.rootContext, constants_1.MODULE_ID_VIRTUAL));
// only transform css if there is an @apply

@@ -19,0 +23,0 @@ const hasWindiApply = source.indexOf('@apply') > -1;

@@ -6,3 +6,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const constants_1 = require("../constants");
const debug_1 = __importDefault(require("../debug"));
const upath_1 = require("upath");
const _ = require('lodash');

@@ -25,2 +27,4 @@ const loaderUtils = require('loader-utils');

}
// cache file changes to invalidate the virtual module
this.addDependency(upath_1.resolve(this.rootContext, constants_1.MODULE_ID_VIRTUAL));
const hasHtmlWebpackPlugin = this.loaders.filter(loader => {

@@ -27,0 +31,0 @@ // loader name as unresolved module

@@ -56,2 +56,4 @@ "use strict";

for (const content of contents) {
// add file as a dependency to invalidate hmr caches
this.addDependency(content.id);
try {

@@ -58,0 +60,0 @@ service.extractFile(content.data, content.id, service.options.transformGroups);

{
"name": "windicss-webpack-plugin",
"version": "0.5.0",
"version": "0.5.1",
"license": "MIT",

@@ -65,6 +65,13 @@ "author": {

"jest": "^26.6.3",
"less": "^4.1.1",
"less-loader": "^7",
"lint-staged": "^10.5.4",
"memfs": "^3.2.0",
"postcss-loader": "^5.2.0",
"release-it": "^14.6.1",
"sass": "^1.32.12",
"sass-loader": "^10",
"schema-utils": "^3.0.0",
"stylus": "^0.54.8",
"stylus-loader": "^3",
"ts-jest": "^26.5.0",

@@ -71,0 +78,0 @@ "typescript": "^4.1.3",

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