Skip to content

Commit ac3f434

Browse files
authored
fix: upgrade postcss-modules (vitejs#6248)
1 parent 5a111ce commit ac3f434

File tree

4 files changed

+28
-114
lines changed

4 files changed

+28
-114
lines changed

packages/vite/LICENSE.md

+1-79
Original file line numberDiff line numberDiff line change
@@ -633,36 +633,6 @@ Repository: git://github.com/juliangruber/balanced-match.git
633633
634634
---------------------------------------
635635

636-
## big.js
637-
License: MIT
638-
By: Michael Mclaughlin
639-
Repository: https://github.com/MikeMcl/big.js.git
640-
641-
> The MIT Licence (Expat).
642-
>
643-
> Copyright (c) 2018 Michael Mclaughlin
644-
>
645-
> Permission is hereby granted, free of charge, to any person obtaining
646-
> a copy of this software and associated documentation files (the
647-
> 'Software'), to deal in the Software without restriction, including
648-
> without limitation the rights to use, copy, modify, merge, publish,
649-
> distribute, sublicense, and/or sell copies of the Software, and to
650-
> permit persons to whom the Software is furnished to do so, subject to
651-
> the following conditions:
652-
>
653-
> The above copyright notice and this permission notice shall be
654-
> included in all copies or substantial portions of the Software.
655-
>
656-
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
657-
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
658-
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
659-
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
660-
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
661-
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
662-
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
663-
664-
---------------------------------------
665-
666636
## binary-extensions
667637
License: MIT
668638
By: Sindre Sorhus
@@ -1278,23 +1248,6 @@ Repository: jonathanong/ee-first
12781248
12791249
---------------------------------------
12801250

1281-
## emojis-list
1282-
License: MIT
1283-
By: Kiko Beats
1284-
Repository: git+https://github.com/kikobeats/emojis-list.git
1285-
1286-
> The MIT License (MIT)
1287-
>
1288-
> Copyright © 2015 Kiko Beats
1289-
>
1290-
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1291-
>
1292-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1293-
>
1294-
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1295-
1296-
---------------------------------------
1297-
12981251
## encodeurl
12991252
License: MIT
13001253
By: Douglas Christopher Wilson
@@ -2319,37 +2272,6 @@ Repository: git+https://github.com/isaacs/isexe.git
23192272
23202273
---------------------------------------
23212274

2322-
## json5
2323-
License: MIT
2324-
By: Aseem Kishore, Max Nanasy, Andrew Eisenberg, Jordan Tucker
2325-
Repository: git+https://github.com/json5/json5.git
2326-
2327-
> MIT License
2328-
>
2329-
> Copyright (c) 2012-2018 Aseem Kishore, and [others].
2330-
>
2331-
> Permission is hereby granted, free of charge, to any person obtaining a copy
2332-
> of this software and associated documentation files (the "Software"), to deal
2333-
> in the Software without restriction, including without limitation the rights
2334-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2335-
> copies of the Software, and to permit persons to whom the Software is
2336-
> furnished to do so, subject to the following conditions:
2337-
>
2338-
> The above copyright notice and this permission notice shall be included in all
2339-
> copies or substantial portions of the Software.
2340-
>
2341-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2342-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2343-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2344-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2345-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2346-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2347-
> SOFTWARE.
2348-
>
2349-
> [others]: https://github.com/json5/json5/contributors
2350-
2351-
---------------------------------------
2352-
23532275
## launch-editor
23542276
License: MIT
23552277
By: Evan You
@@ -3585,7 +3507,7 @@ Repository: https://github.com/css-modules/postcss-modules.git
35853507

35863508
> The MIT License (MIT)
35873509
>
3588-
> Copyright 2015-2016 Alexander Madyankin <[email protected]>
3510+
> Copyright 2015-present Alexander Madyankin <[email protected]>
35893511
>
35903512
> Permission is hereby granted, free of charge, to any person obtaining a copy of
35913513
> this software and associated documentation files (the "Software"), to deal in

packages/vite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"picocolors": "^1.0.0",
104104
"postcss-import": "^14.0.2",
105105
"postcss-load-config": "^3.1.0",
106-
"postcss-modules": "^4.2.2",
106+
"postcss-modules": "^4.3.0",
107107
"resolve.exports": "^1.1.0",
108108
"rollup-plugin-license": "^2.6.0",
109109
"selfsigned": "^1.10.11",

packages/vite/rollup.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ const createNodeConfig = (isProduction) => {
118118
entries: {
119119
'@vue/compiler-dom': require.resolve(
120120
'@vue/compiler-dom/dist/compiler-dom.cjs.js'
121-
),
122-
'big.js': require.resolve('big.js/big.js')
121+
)
123122
}
124123
}),
125124
nodeResolve({ preferBuiltins: true }),

pnpm-lock.yaml

+25-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)