Skip to content

Commit

Permalink
Chore: lock the version of cheerio (#6966)
Browse files Browse the repository at this point in the history
* chore: lock the version of cheerio

* chore: update registry
  • Loading branch information
ClarkXia authored Aug 13, 2024
1 parent 825afd2 commit 55e7259
Show file tree
Hide file tree
Showing 9 changed files with 137 additions and 19 deletions.
4 changes: 2 additions & 2 deletions packages/icejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ice.js",
"version": "2.6.9",
"version": "2.6.10",
"description": "command line interface and builtin plugin for icejs",
"author": "[email protected]",
"homepage": "",
Expand Down Expand Up @@ -32,7 +32,7 @@
"build-plugin-ice-mpa": "2.1.2",
"build-plugin-ice-request": "2.0.1",
"build-plugin-ice-router": "2.1.3",
"build-plugin-ice-ssr": "3.1.4",
"build-plugin-ice-ssr": "3.1.5",
"build-plugin-ice-store": "2.0.11",
"build-plugin-react-app": "2.2.4",
"build-plugin-pwa": "1.1.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/plugin-ice-ssr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.1.5

- [fix] lock cheerio version.

## 3.1.4

- [fix] not get the route component when the request url has locale prefix
Expand Down
8 changes: 4 additions & 4 deletions packages/plugin-ice-ssr/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "build-plugin-ice-ssr",
"version": "3.1.4",
"version": "3.1.5",
"description": "ssr plugin",
"author": "[email protected]",
"homepage": "",
Expand All @@ -23,12 +23,12 @@
"test": "echo \"Error: run tests from root\" && exit 1"
},
"dependencies": {
"@builder/app-helpers": "^2.5.2",
"@builder/app-helpers": "^2.5.4",
"@builder/webpack-config": "^2.1.1",
"@loadable/babel-plugin": "^5.13.2",
"@loadable/webpack-plugin": "^5.14.0",
"chalk": "^4.0.0",
"cheerio": "^1.0.0-rc.3",
"cheerio": "1.0.0-rc.12",
"deepmerge": "^4.2.2",
"fs-extra": "^8.1.0",
"html-minifier": "^4.0.0",
Expand All @@ -42,4 +42,4 @@
"@types/connect": "^3.4.35",
"@types/webpack-node-externals": "^2.5.3"
}
}
}
6 changes: 5 additions & 1 deletion packages/plugin-icestark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.5.6

- [fix] lock cheerio version.

## 2.5.5

- [fix] check router status by userConfig.
Expand Down Expand Up @@ -82,4 +86,4 @@

## 2.0.5

- [feat] inject bootstrap lifecyle
- [feat] inject bootstrap lifecyle
10 changes: 5 additions & 5 deletions packages/plugin-icestark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "build-plugin-icestark",
"version": "2.5.5",
"version": "2.5.6",
"description": "Easy use `icestark` in icejs.",
"author": "[email protected]",
"homepage": "",
Expand All @@ -18,13 +18,13 @@
"dependencies": {
"@babel/core": "^7.15.5",
"@babel/types": "^7.11.5",
"@builder/app-helpers": "^2.4.2",
"@builder/app-helpers": "^2.5.4",
"@ice/stark": "^2.0.0",
"@ice/stark-app": "^1.2.0",
"cheerio": "^1.0.0-rc.10",
"cheerio": "1.0.0-rc.12",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"vite-plugin-index-html": "^2.0.0"
"vite-plugin-index-html": "^2.0.2"
},
"devDependencies": {
"@types/glob": "^7.1.1",
Expand All @@ -43,4 +43,4 @@
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
}
}
}
6 changes: 5 additions & 1 deletion packages/vite-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 2.1.6

- [fix] lock cheerio version.

## 2.1.5

- [fix] do not remove origin css when config `cssChunkNames`.
Expand Down Expand Up @@ -81,4 +85,4 @@

## 1.0.1

- [fix] transform additionalData for pre-processor
- [fix] transform additionalData for pre-processor
8 changes: 4 additions & 4 deletions packages/vite-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder/vite-service",
"version": "2.1.5",
"version": "2.1.6",
"description": "vite implementation",
"author": "[email protected]",
"homepage": "",
Expand All @@ -27,7 +27,7 @@
"@vitejs/plugin-legacy": "^1.5.0",
"@vitejs/plugin-react": "^1.0.7",
"chalk": "^2.4.1",
"cheerio": "^1.0.0-rc.10",
"cheerio": "1.0.0-rc.12",
"connect-history-api-fallback": "^1.6.0",
"deepmerge": "^4.2.2",
"fast-glob": "^3.2.5",
Expand All @@ -37,7 +37,7 @@
"npmlog": "^4.1.2",
"rollup-plugin-visualizer": "^5.5.2",
"vite": "^2.4.2",
"vite-plugin-eslint-report": "^1.0.0",
"vite-plugin-eslint-report": "^1.0.1",
"vite-plugin-ts-types": "^1.0.0",
"webpack-dev-mock": "^2.0.0"
},
Expand All @@ -46,4 +46,4 @@
"@types/lodash": "^4.14.147",
"build-scripts": "^1.2.1"
}
}
}
2 changes: 1 addition & 1 deletion scripts/getPackageInfos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function checkBuildSuccess(directory: string, mainFile: string): boolean {

function checkVersionExists(pkg: string, version: string, distTag: string): Promise<boolean> {
const tag = distTag || 'latest';
return getNpmInfo(pkg).then((data) => {
return getNpmInfo(pkg, 'https://registry.npmmirror.com/').then((data) => {
if (!data['dist-tags'] || (!data['dist-tags'][tag] && !data['dist-tags'].latest)) {
console.error(`${pkg} 没有 ${tag} 和 latest 版本号`, data);
return Promise.reject(new Error('Error: 没有版本号信息'));
Expand Down
108 changes: 107 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4299,7 +4299,32 @@ cheerio-select@^1.5.0:
domhandler "^4.2.0"
domutils "^2.7.0"

cheerio@^1.0.0-rc.10, cheerio@^1.0.0-rc.3:
cheerio-select@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/cheerio-select/-/cheerio-select-2.1.0.tgz#4d8673286b8126ca2a8e42740d5e3c4884ae21b4"
integrity sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==
dependencies:
boolbase "^1.0.0"
css-select "^5.1.0"
css-what "^6.1.0"
domelementtype "^2.3.0"
domhandler "^5.0.3"
domutils "^3.0.1"

[email protected]:
version "1.0.0-rc.12"
resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.12.tgz#788bf7466506b1c6bf5fae51d24a2c4d62e47683"
integrity sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==
dependencies:
cheerio-select "^2.1.0"
dom-serializer "^2.0.0"
domhandler "^5.0.3"
domutils "^3.0.1"
htmlparser2 "^8.0.1"
parse5 "^7.0.0"
parse5-htmlparser2-tree-adapter "^7.0.0"

cheerio@^1.0.0-rc.3:
version "1.0.0-rc.10"
resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.10.tgz#2ba3dcdfcc26e7956fc1f440e61d51c643379f3e"
integrity sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw==
Expand Down Expand Up @@ -4953,6 +4978,17 @@ css-select@^4.1.3:
domutils "^2.8.0"
nth-check "^2.0.1"

css-select@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6"
integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==
dependencies:
boolbase "^1.0.0"
css-what "^6.1.0"
domhandler "^5.0.2"
domutils "^3.0.1"
nth-check "^2.0.1"

[email protected]:
version "1.0.0-alpha.37"
resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.37.tgz#98bebd62c4c1d9f960ec340cf9f7522e30709a22"
Expand All @@ -4979,6 +5015,11 @@ css-what@^5.0.1, css-what@^5.1.0:
resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.1.0.tgz#3f7b707aadf633baf62c2ceb8579b545bb40f7fe"
integrity sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw==

css-what@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4"
integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==

cssdb@^4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/cssdb/-/cssdb-4.4.0.tgz#3bf2f2a68c10f5c6a08abd92378331ee803cddb0"
Expand Down Expand Up @@ -5383,6 +5424,15 @@ dom-serializer@^1.0.1, dom-serializer@^1.3.2:
domhandler "^4.2.0"
entities "^2.0.0"

dom-serializer@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-2.0.0.tgz#e41b802e1eedf9f6cae183ce5e622d789d7d8e53"
integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==
dependencies:
domelementtype "^2.3.0"
domhandler "^5.0.2"
entities "^4.2.0"

domelementtype@1, domelementtype@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"
Expand All @@ -5393,6 +5443,11 @@ domelementtype@^2.0.1, domelementtype@^2.2.0:
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.2.0.tgz#9a0b6c2782ed6a1c7323d42267183df9bd8b1d57"
integrity sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==

domelementtype@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d"
integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==

domexception@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90"
Expand Down Expand Up @@ -5421,6 +5476,13 @@ domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.0:
dependencies:
domelementtype "^2.2.0"

domhandler@^5.0.2, domhandler@^5.0.3:
version "5.0.3"
resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31"
integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==
dependencies:
domelementtype "^2.3.0"

domutils@^1.5.1, domutils@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
Expand All @@ -5438,6 +5500,15 @@ domutils@^2.5.2, domutils@^2.7.0, domutils@^2.8.0:
domelementtype "^2.2.0"
domhandler "^4.2.0"

domutils@^3.0.1:
version "3.1.0"
resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.1.0.tgz#c47f551278d3dc4b0b1ab8cbb42d751a6f0d824e"
integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==
dependencies:
dom-serializer "^2.0.0"
domelementtype "^2.3.0"
domhandler "^5.0.3"

dot-case@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751"
Expand Down Expand Up @@ -5612,6 +5683,11 @@ entities@^2.0.0:
resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==

entities@^4.2.0, entities@^4.4.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48"
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==

errno@^0.1.1, errno@^0.1.3:
version "0.1.8"
resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f"
Expand Down Expand Up @@ -7393,6 +7469,16 @@ htmlparser2@^6.1.0:
domutils "^2.5.2"
entities "^2.0.0"

htmlparser2@^8.0.1:
version "8.0.2"
resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-8.0.2.tgz#f002151705b383e62433b5cf466f5b716edaec21"
integrity sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==
dependencies:
domelementtype "^2.3.0"
domhandler "^5.0.3"
domutils "^3.0.1"
entities "^4.4.0"

[email protected], http-errors@^1.6.3:
version "1.8.1"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.8.1.tgz#7c3f28577cbc8a207388455dbd62295ed07bd68c"
Expand Down Expand Up @@ -10690,6 +10776,14 @@ parse5-htmlparser2-tree-adapter@^6.0.1:
dependencies:
parse5 "^6.0.1"

parse5-htmlparser2-tree-adapter@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz#23c2cc233bcf09bb7beba8b8a69d46b08c62c2f1"
integrity sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==
dependencies:
domhandler "^5.0.2"
parse5 "^7.0.0"

[email protected]:
version "5.1.0"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2"
Expand All @@ -10700,6 +10794,13 @@ [email protected], parse5@^6.0.1:
resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b"
integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==

parse5@^7.0.0:
version "7.1.2"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32"
integrity sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==
dependencies:
entities "^4.4.0"

parseurl@^1.3.3, parseurl@~1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
Expand Down Expand Up @@ -11408,6 +11509,11 @@ postcss-plugin-rpx2vw@^0.0.2:
dependencies:
postcss "^7.0.17"

postcss-prefix-selector@^1.15.0:
version "1.16.1"
resolved "https://registry.yarnpkg.com/postcss-prefix-selector/-/postcss-prefix-selector-1.16.1.tgz#87a77523838b79c0e8aec29f173234b2987cdc04"
integrity sha512-Umxu+FvKMwlY6TyDzGFoSUnzW+NOfMBLyC1tAkIjgX+Z/qGspJeRjVC903D7mx7TuBpJlwti2ibXtWuA7fKMeQ==

postcss-preset-env@^6.7.0:
version "6.7.0"
resolved "https://registry.yarnpkg.com/postcss-preset-env/-/postcss-preset-env-6.7.0.tgz#c34ddacf8f902383b35ad1e030f178f4cdf118a5"
Expand Down

0 comments on commit 55e7259

Please sign in to comment.