vue-style-loader
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -0,1 +1,19 @@ | ||
<a name="4.1.3"></a> | ||
## [4.1.3](https://github.com/vuejs/vue-style-loader/compare/v4.0.1...v4.1.3) (2021-03-03) | ||
### Bug Fixes | ||
* also support passed ES modules from `css-loader` in addition to CommonJS format ([#47](https://github.com/vuejs/vue-style-loader/issues/47)) ([8b584bd](https://github.com/vuejs/vue-style-loader/commit/8b584bd)) | ||
* es module interop in HMR code ([8bc2fe3](https://github.com/vuejs/vue-style-loader/commit/8bc2fe3)) | ||
* fix addStyleShadow when same style object is inserted multiple times ([12846a6](https://github.com/vuejs/vue-style-loader/commit/12846a6)) | ||
* fix inconsistent hashes between Windows and POSIX systems ([#28](https://github.com/vuejs/vue-style-loader/issues/28)) ([cf8b6e8](https://github.com/vuejs/vue-style-loader/commit/cf8b6e8)) | ||
### Features | ||
* support vue-loader 15 ([0c7ee9d](https://github.com/vuejs/vue-style-loader/commit/0c7ee9d)) | ||
<a name="4.1.2"></a> | ||
@@ -2,0 +20,0 @@ ## [4.1.2](https://github.com/vuejs/vue-style-loader/compare/v4.1.1...v4.1.2) (2018-08-13) |
@@ -39,2 +39,4 @@ /* | ||
'var content = require(' + request + ');', | ||
// get default export if list is an ES Module (CSS Loader v4+) | ||
"if(content.__esModule) content = content.default;", | ||
// content list format is [id, css, media, sourceMap] | ||
@@ -70,2 +72,3 @@ "if(typeof content === 'string') content = [[module.id, content, '']];", | ||
' var newContent = require(' + request + ');', | ||
' if(newContent.__esModule) newContent = newContent.default;', | ||
" if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];", | ||
@@ -72,0 +75,0 @@ ' update(newContent);', |
{ | ||
"name": "vue-style-loader", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"author": "Evan You", | ||
@@ -5,0 +5,0 @@ "description": "Vue.js style loader module for webpack", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
536
27391
14
1