forked from daren.hsu/line_push
update
This commit is contained in:
+18
@@ -1,3 +1,21 @@
|
||||
<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>
|
||||
## [4.1.2](https://github.com/vuejs/vue-style-loader/compare/v4.1.1...v4.1.2) (2018-08-13)
|
||||
|
||||
|
||||
+3
@@ -36,6 +36,8 @@ module.exports.pitch = function (remainingRequest) {
|
||||
'',
|
||||
'// load the styles',
|
||||
'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]
|
||||
"if(typeof content === 'string') content = [[module.id, content, '']];",
|
||||
'if(content.locals) module.exports = content.locals;'
|
||||
@@ -66,6 +68,7 @@ module.exports.pitch = function (remainingRequest) {
|
||||
' if(!content.locals) {',
|
||||
' module.hot.accept(' + request + ', function() {',
|
||||
' var newContent = require(' + request + ');',
|
||||
' if(newContent.__esModule) newContent = newContent.default;',
|
||||
" if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];",
|
||||
' update(newContent);',
|
||||
' });',
|
||||
|
||||
+3
-3
@@ -2,13 +2,13 @@
|
||||
"_args": [
|
||||
[
|
||||
"hash-sum@1.0.2",
|
||||
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
|
||||
"/home/node/nuxt"
|
||||
]
|
||||
],
|
||||
"_from": "hash-sum@1.0.2",
|
||||
"_id": "hash-sum@1.0.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=",
|
||||
"_integrity": "sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA==",
|
||||
"_location": "/vue-style-loader/hash-sum",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
@@ -26,7 +26,7 @@
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz",
|
||||
"_spec": "1.0.2",
|
||||
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
|
||||
"_where": "/home/node/nuxt",
|
||||
"authors": [
|
||||
"Nicolas Bevacqua <nicolasbevacqua@gmail.com>"
|
||||
],
|
||||
|
||||
+13
-12
@@ -1,32 +1,33 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"vue-style-loader@4.1.2",
|
||||
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
|
||||
"vue-style-loader@4.1.3",
|
||||
"/home/node/nuxt"
|
||||
]
|
||||
],
|
||||
"_from": "vue-style-loader@4.1.2",
|
||||
"_id": "vue-style-loader@4.1.2",
|
||||
"_from": "vue-style-loader@4.1.3",
|
||||
"_id": "vue-style-loader@4.1.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-0ip8ge6Gzz/Bk0iHovU9XAUQaFt/G2B61bnWa2tCcqqdgfHs1lF9xXorFbE55Gmy92okFT+8bfmySuUOu13vxQ==",
|
||||
"_integrity": "sha512-sFuh0xfbtpRlKfm39ss/ikqs9AbKCoXZBpHeVZ8Tx650o0k0q/YCM7FRvigtxpACezfq6af+a7JeqVTWvncqDg==",
|
||||
"_location": "/vue-style-loader",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "vue-style-loader@4.1.2",
|
||||
"raw": "vue-style-loader@4.1.3",
|
||||
"name": "vue-style-loader",
|
||||
"escapedName": "vue-style-loader",
|
||||
"rawSpec": "4.1.2",
|
||||
"rawSpec": "4.1.3",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "4.1.2"
|
||||
"fetchSpec": "4.1.3"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@nuxt/webpack",
|
||||
"/vue-loader"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz",
|
||||
"_spec": "4.1.2",
|
||||
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
|
||||
"_resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.3.tgz",
|
||||
"_spec": "4.1.3",
|
||||
"_where": "/home/node/nuxt",
|
||||
"author": {
|
||||
"name": "Evan You"
|
||||
},
|
||||
@@ -56,5 +57,5 @@
|
||||
"prepublishOnly": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s",
|
||||
"test": "jest"
|
||||
},
|
||||
"version": "4.1.2"
|
||||
"version": "4.1.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user