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

mini-css-extract-plugin

Package Overview
Dependencies
Maintainers
5
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-css-extract-plugin - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

2

dist/hmr/hotModuleReplacement.js

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

// It is not http or https
if (!/^https?:/i.test(url)) {
if (!/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(url)) {
return false;

@@ -190,0 +190,0 @@ }

@@ -14,9 +14,15 @@ {

}
]
],
"description": "Specifies a custom public path for the external resources like images, files, etc inside CSS.",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#publicpath"
},
"emit": {
"type": "boolean"
"type": "boolean",
"description": "If true, emits a file (writes a file to the filesystem). If false, the plugin will extract the CSS but will not emit the file",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#emit"
},
"esModule": {
"type": "boolean"
"type": "boolean",
"description": "Generates JS modules that use the ES modules syntax.",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#esmodule"
},

@@ -23,0 +29,0 @@ "layer": {

@@ -14,3 +14,5 @@ {

}
]
],
"description": "This option determines the name of each output CSS file.",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#filename"
},

@@ -25,13 +27,19 @@ "chunkFilename": {

}
]
],
"description": "This option determines the name of non-entry chunk files.",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#chunkfilename"
},
"experimentalUseImportModule": {
"type": "boolean",
"description": "Enable the experimental importModule approach instead of using child compilers. This uses less memory and is faster.",
"type": "boolean"
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#experimentaluseimportmodule"
},
"ignoreOrder": {
"type": "boolean"
"type": "boolean",
"description": "Remove Order Warnings.",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#ignoreorder"
},
"insert": {
"description": "Inserts `<link>` at the given position (https://github.com/webpack-contrib/mini-css-extract-plugin#insert).",
"description": "Inserts `<link>` at the given position.",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#insert",
"anyOf": [

@@ -47,3 +55,4 @@ {

"attributes": {
"description": "Adds custom attributes to tag (https://github.com/webpack-contrib/mini-css-extract-plugin#attributes).",
"description": "Adds custom attributes to tag.",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#attributes",
"type": "object"

@@ -59,5 +68,7 @@ },

}
]
],
"description": "This option allows loading asynchronous chunks with a custom link type",
"link": "https://github.com/webpack-contrib/mini-css-extract-plugin#linktype"
}
}
}
{
"name": "mini-css-extract-plugin",
"version": "2.1.0",
"version": "2.2.0",
"description": "extracts CSS into separate files",

@@ -45,3 +45,3 @@ "license": "MIT",

"dependencies": {
"schema-utils": "^3.0.0"
"schema-utils": "^3.1.0"
},

@@ -51,5 +51,5 @@ "devDependencies": {

"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@babel/preset-env": "^7.14.9",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",

@@ -63,11 +63,11 @@ "babel-eslint": "^10.1.0",

"del-cli": "^4.0.0",
"es-check": "5.2.3",
"eslint": "^7.29.0",
"es-check": "^6.0.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.23.4",
"file-loader": "^6.2.0",
"husky": "^6.0.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"jsdom": "^16.5.1",
"lint-staged": "^11.0.0",
"jsdom": "^16.7.0",
"lint-staged": "^11.1.1",
"memfs": "^3.0.2",

@@ -77,3 +77,3 @@ "npm-run-all": "^4.1.5",

"standard-version": "^9.3.0",
"webpack": "^5.41.1",
"webpack": "^5.48.0",
"webpack-cli": "^4.7.2",

@@ -80,0 +80,0 @@ "webpack-dev-server": "^3.11.2"

@@ -21,3 +21,3 @@ <div align="center">

It builds on top of a new webpack v4 feature (module types) and requires webpack 4 to work.
It builds on top of a new webpack v5 feature and requires webpack 5 to work.

@@ -24,0 +24,0 @@ Compared to the extract-text-webpack-plugin:

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