Skip to content

chore(deps): update all patch dependencies #11

chore(deps): update all patch dependencies

chore(deps): update all patch dependencies #11

Triggered via pull request August 10, 2024 15:08
Status Failure
Total duration 2m 54s
Artifacts

test-windows.yml

on: pull_request
Matrix: e2e-windows
Matrix: ut-windows
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
tests/config.test.ts > Should compose create Rsbuild config correctly > Merge Rsbuild config: packages/core/tests/config.test.ts#L188
Error: Snapshot `Should compose create Rsbuild config correctly > Merge Rsbuild config 1` mismatched - Expected + Received @@ -2,10 +2,11 @@ { "config": { "dev": { "progressBar": false, }, + "mode": "none", "output": { "distPath": { "js": "./", }, "filename": { @@ -76,10 +77,11 @@ { "config": { "dev": { "progressBar": false, }, + "mode": "none", "output": { "distPath": { "js": "./", }, "filename": { @@ -148,10 +150,11 @@ { "config": { "dev": { "progressBar": false, }, + "mode": "none", "output": { "distPath": { "js": "./", }, "filename": { ❯ tests/config.test.ts:188:35
ut-windows (18.x)
Process completed with exit code 1.
cases/alias/index.test.ts > source.alias: e2e/cases/alias/index.test.ts#L12
Error: Snapshot `source.alias 1` mismatched - Expected + Received - " + "var __webpack_modules__ = ({ + \"./src/index.ts\": (function () { + ;// CONCATENATED MODULE: ./src/a.ts const a = 'hello world'; ;// CONCATENATED MODULE: ./src/index.ts console.info(a); - " + + }), + + }); + /************************************************************************/ + // The module cache + var __webpack_module_cache__ = {}; + + // The require function + function __webpack_require__(moduleId) { + + // Check if module is in cache + var cachedModule = __webpack_module_cache__[moduleId]; + if (cachedModule !== undefined) { + if (cachedModule.error !== undefined) throw cachedModule.error; + return cachedModule.exports; + } + // Create a new module (and put it into the cache) + var module = (__webpack_module_cache__[moduleId] = { + id: moduleId, + exports: {} + }); + // Execute the module function + try { + + var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ }; + __webpack_require__.i.forEach(function(handler) { handler(execOptions); }); + module = execOptions.module; + if (!execOptions.factory) { + console.error(\"undefined factory\", moduleId) + } + execOptions.factory.call(module.exports, module, module.exports, execOptions.require); + + } catch (e) { + module.error = e; + throw e; + } + // Return the exports of the module + return module.exports; + + } + + // expose the module cache + __webpack_require__.c = __webpack_module_cache__; + + // expose the module execution interceptor + __webpack_require__.i = []; + + /************************************************************************/ + // webpack/runtime/get mini-css chunk filename + (() => { + // This function allow to reference chunks + __webpack_require__.miniCssF = function (chunkId) { + // return url for filenames not based on template + + // return url for filenames based on template + return \"\" + chunkId + \".css\"; + }; + + })(); + // webpack/runtime/hot_module_replacement + (() => { + var currentModuleData = {}; + var installedModules = __webpack_require__.c; + + // module and require creation + var currentChildModule; + var currentParents = []; + + // status + var registeredStatusHandlers = []; + var currentStatus = \"idle\"; + + // while downloading + var blockingPromises = 0; + var blockingPromisesWaiting = []; + + // The update info + var currentUpdateApplyHandlers; + var queuedInvalidatedModules; + + __webpack_require__.hmrD = currentModuleData; + __webpack_require__.i.push(function (options) { + var module = options.module; + var require = createRequire(options.require, options.id); + module.hot = createModuleHotObject(options.id, module); + module.parents = currentParents; + module.children = []; + currentParents = []; + options.require = require; + }); + + __webpack_require__.hmrC = {}; + __webpack_require__.hmrI = {}; + + function createRequire(require, moduleId) { + var me = installedModules[moduleId]; + if (!me) return require; + var fn = function (request) { + if (me.hot.active) { + if (installedModules[request]) { + var parents = installedModules[request].parents; + if (parents.indexOf(moduleId) === -1) { + parents.push(moduleId); + } + } else { + currentParents = [moduleId]; + currentChildModule = request; + } + if (me.children.indexOf(request) === -1) { + me.children.push(request); + } + } else { + console.warn( + \"[HMR] unexpected require(\" + + request + + \") from disposed module \" + + moduleId + ); + currentParents = []; + } + return require(request); + }; + var createPropertyDescriptor = function (name) { + return { + configurable: true, + enumerable: true, + get: function () { + return require[name]; + }, + set: function (value) { + require[name] = value; + } + }; + }; + for (var name in require) { + if (Object.prototype.hasOwnProperty.call(require, name) && name !== \"e\") { + Ob
cases/auto-external/index.test.ts > auto external default should works: e2e/cases/auto-external/index.test.ts#L13
AssertionError: expected '"use strict";\nvar __webpack_modules_…' to contain 'var external_react_namespaceObject = …' - Expected + Received - var external_react_namespaceObject = require("react"); + "use strict"; + var __webpack_modules__ = ({ + "../__fixtures__/src/index.ts": (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + __webpack_require__.d(__webpack_exports__, { + foo: function() { return foo; } + }); + /* harmony import */var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"); + /* harmony import */var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + + const foo = ()=>{ + return (react__WEBPACK_IMPORTED_MODULE_0___default().version); + }; + + + }), + "react": (function (module) { + module.exports = require("react"); + + }), + + }); + /************************************************************************/ + // The module cache + var __webpack_module_cache__ = {}; + + // The require function + function __webpack_require__(moduleId) { + + // Check if module is in cache + var cachedModule = __webpack_module_cache__[moduleId]; + if (cachedModule !== undefined) { + if (cachedModule.error !== undefined) throw cachedModule.error; + return cachedModule.exports; + } + // Create a new module (and put it into the cache) + var module = (__webpack_module_cache__[moduleId] = { + id: moduleId, + exports: {} + }); + // Execute the module function + try { + + var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ }; + __webpack_require__.i.forEach(function(handler) { handler(execOptions); }); + module = execOptions.module; + if (!execOptions.factory) { + console.error("undefined factory", moduleId) + } + execOptions.factory.call(module.exports, module, module.exports, execOptions.require); + + } catch (e) { + module.error = e; + throw e; + } + // Return the exports of the module + return module.exports; + + } + + // expose the module cache + __webpack_require__.c = __webpack_module_cache__; + + // expose the module execution interceptor + __webpack_require__.i = []; + + /************************************************************************/ + // webpack/runtime/compat_get_default_export + (() => { + // getDefaultExport function for compatibility with non-harmony modules + __webpack_require__.n = function (module) { + var getter = module && module.__esModule ? + function () { return module['default']; } : + function () { return module; }; + __webpack_require__.d(getter, { a: getter }); + return getter; + }; + + + + + })(); + // webpack/runtime/define_property_getters + (() => { + __webpack_require__.d = function(exports, definition) { + for(var key in definition) { + if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { + Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); + } + } + }; + })(); + // webpack/runtime/get mini-css chunk filename + (() => { + // This function allow to reference chunks + __webpack_require__.miniCssF = function (chunkId) { + // return url for filenames not based on template + + // return url for filenames based on template + return "" + chunkId + ".css"; + }; + + })(); + // webpack/runtime/has_own_property + (() => { + __webpack_require__.o = function (obj, prop) { + return Object.prototype.hasOwnProperty.call(obj, prop); + }; + + })(); + // webpack/runtime/hot_module_replacement + (() => { + var currentModuleData = {}; + var installedModules = __webpack_require__.c; + + // module and require creation + var currentChildModule; + var currentParents = []; + + // status + var registeredStatusHandlers = []; + var currentStatus = "idle"; + + // while downloading + var blockingPromises = 0; + var blockingPromisesWaiting = []; + + // The update info + var currentUpdateApplyHandlers; + var queuedInvalidatedModul
cases/auto-external/index.test.ts > auto external sub path should works: e2e/cases/auto-external/index.test.ts#L29
AssertionError: expected '"use strict";\nvar __webpack_modules_…' to contain 'var external_react_namespaceObject = …' - Expected + Received - var external_react_namespaceObject = require("react"); + "use strict"; + var __webpack_modules__ = ({ + "./src/index.ts": (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + __webpack_require__.d(__webpack_exports__, { + foo: function() { return foo; } + }); + /* harmony import */var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"); + /* harmony import */var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + /* harmony import */var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react/jsx-runtime"); + /* harmony import */var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__); + + + const foo = ()=>{ + return [ + (react__WEBPACK_IMPORTED_MODULE_0___default().version), + (react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default().jsx) + ]; + }; + + + }), + "react": (function (module) { + module.exports = require("react"); + + }), + "react/jsx-runtime": (function (module) { + module.exports = require("react/jsx-runtime"); + + }), + + }); + /************************************************************************/ + // The module cache + var __webpack_module_cache__ = {}; + + // The require function + function __webpack_require__(moduleId) { + + // Check if module is in cache + var cachedModule = __webpack_module_cache__[moduleId]; + if (cachedModule !== undefined) { + if (cachedModule.error !== undefined) throw cachedModule.error; + return cachedModule.exports; + } + // Create a new module (and put it into the cache) + var module = (__webpack_module_cache__[moduleId] = { + id: moduleId, + exports: {} + }); + // Execute the module function + try { + + var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ }; + __webpack_require__.i.forEach(function(handler) { handler(execOptions); }); + module = execOptions.module; + if (!execOptions.factory) { + console.error("undefined factory", moduleId) + } + execOptions.factory.call(module.exports, module, module.exports, execOptions.require); + + } catch (e) { + module.error = e; + throw e; + } + // Return the exports of the module + return module.exports; + + } + + // expose the module cache + __webpack_require__.c = __webpack_module_cache__; + + // expose the module execution interceptor + __webpack_require__.i = []; + + /************************************************************************/ + // webpack/runtime/compat_get_default_export + (() => { + // getDefaultExport function for compatibility with non-harmony modules + __webpack_require__.n = function (module) { + var getter = module && module.__esModule ? + function () { return module['default']; } : + function () { return module; }; + __webpack_require__.d(getter, { a: getter }); + return getter; + }; + + + + + })(); + // webpack/runtime/define_property_getters + (() => { + __webpack_require__.d = function(exports, definition) { + for(var key in definition) { + if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { + Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); + } + } + }; + })(); + // webpack/runtime/get mini-css chunk filename + (() => { + // This function allow to reference chunks + __webpack_require__.miniCssF = function (chunkId) { + // return url for filenames not based on template + + // return url for filenames based on template + return "" + chunkId + ".css"; + }; + + })(); + // webpack/runtime/has_own_property + (() => { + __webpack_require__.o = function (obj, prop) { + return Object.prototype.hasOwnProperty.call(obj, prop); + }; + + })(); + // webp
cases/auto-external/index.test.ts > auto external false should works: e2e/cases/auto-external/index.test.ts#L41
AssertionError: the given combination of arguments (undefined and string) is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a string ❯ cases/auto-external/index.test.ts:41:27
cases/auto-external/index.test.ts > externals should overrides auto external: e2e/cases/auto-external/index.test.ts#L58
AssertionError: expected '"use strict";\nvar __webpack_modules_…' to contain 'var external_react1_namespaceObject =…' - Expected + Received - var external_react1_namespaceObject = require("react1"); + "use strict"; + var __webpack_modules__ = ({ + "../__fixtures__/src/index.ts": (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + __webpack_require__.d(__webpack_exports__, { + foo: function() { return foo; } + }); + /* harmony import */var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"); + /* harmony import */var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + + const foo = ()=>{ + return (react__WEBPACK_IMPORTED_MODULE_0___default().version); + }; + + + }), + "react": (function (module) { + module.exports = require("react1"); + + }), + + }); + /************************************************************************/ + // The module cache + var __webpack_module_cache__ = {}; + + // The require function + function __webpack_require__(moduleId) { + + // Check if module is in cache + var cachedModule = __webpack_module_cache__[moduleId]; + if (cachedModule !== undefined) { + if (cachedModule.error !== undefined) throw cachedModule.error; + return cachedModule.exports; + } + // Create a new module (and put it into the cache) + var module = (__webpack_module_cache__[moduleId] = { + id: moduleId, + exports: {} + }); + // Execute the module function + try { + + var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ }; + __webpack_require__.i.forEach(function(handler) { handler(execOptions); }); + module = execOptions.module; + if (!execOptions.factory) { + console.error("undefined factory", moduleId) + } + execOptions.factory.call(module.exports, module, module.exports, execOptions.require); + + } catch (e) { + module.error = e; + throw e; + } + // Return the exports of the module + return module.exports; + + } + + // expose the module cache + __webpack_require__.c = __webpack_module_cache__; + + // expose the module execution interceptor + __webpack_require__.i = []; + + /************************************************************************/ + // webpack/runtime/compat_get_default_export + (() => { + // getDefaultExport function for compatibility with non-harmony modules + __webpack_require__.n = function (module) { + var getter = module && module.__esModule ? + function () { return module['default']; } : + function () { return module; }; + __webpack_require__.d(getter, { a: getter }); + return getter; + }; + + + + + })(); + // webpack/runtime/define_property_getters + (() => { + __webpack_require__.d = function(exports, definition) { + for(var key in definition) { + if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { + Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); + } + } + }; + })(); + // webpack/runtime/get mini-css chunk filename + (() => { + // This function allow to reference chunks + __webpack_require__.miniCssF = function (chunkId) { + // return url for filenames not based on template + + // return url for filenames based on template + return "" + chunkId + ".css"; + }; + + })(); + // webpack/runtime/has_own_property + (() => { + __webpack_require__.o = function (obj, prop) { + return Object.prototype.hasOwnProperty.call(obj, prop); + }; + + })(); + // webpack/runtime/hot_module_replacement + (() => { + var currentModuleData = {}; + var installedModules = __webpack_require__.c; + + // module and require creation + var currentChildModule; + var currentParents = []; + + // status + var registeredStatusHandlers = []; + var currentStatus = "idle"; + + // while downloading + var blockingPromises = 0; + var blockingPromisesWaiting = []; + + // The update info + var currentUpdateApplyHandlers; + var queuedInvalidatedMo
cases/bundle-false/index.test.ts > basic: e2e/cases/bundle-false/index.test.ts#L9
Error: Snapshot `basic 1` mismatched - Expected + Received [ - "./dist/esm/index.js", - "./dist/esm/sum.js", - "./dist/esm/utils/numbers.js", - "./dist/esm/utils/strings.js", + "<ROOT>/e2e/cases/bundle-false/basic/dist/esm/a/rslib/rslib/e2e/cases/bundle-false/basic/src/index.js", + "<ROOT>/e2e/cases/bundle-false/basic/dist/esm/a/rslib/rslib/e2e/cases/bundle-false/basic/src/sum.js", + "<ROOT>/e2e/cases/bundle-false/basic/dist/esm/a/rslib/rslib/e2e/cases/bundle-false/basic/src/utils/numbers.js", + "<ROOT>/e2e/cases/bundle-false/basic/dist/esm/a/rslib/rslib/e2e/cases/bundle-false/basic/src/utils/strings.js", ] ❯ cases/bundle-false/index.test.ts:9:21
cases/bundle-false/index.test.ts > single file: e2e/cases/bundle-false/index.test.ts#L31
Error: Snapshot `single file 1` mismatched - Expected + Received [ - "./dist/esm/index.js", + "<ROOT>/e2e/cases/bundle-false/single-file/dist/esm/index.js", ] ❯ cases/bundle-false/index.test.ts:31:21
cases/dts/index.test.ts > dts when bundle: false > basic: e2e/cases/dts/index.test.ts#L10
Error: Snapshot `dts when bundle: false > basic 1` mismatched - Expected + Received [ - "./dist/esm/index.d.ts", - "./dist/esm/sum.d.ts", - "./dist/esm/utils/numbers.d.ts", - "./dist/esm/utils/strings.d.ts", + "<ROOT>/e2e/cases/dts/bundle-false/basic/dist/esm/index.d.ts", + "<ROOT>/e2e/cases/dts/bundle-false/basic/dist/esm/sum.d.ts", + "<ROOT>/e2e/cases/dts/bundle-false/basic/dist/esm/utils/numbers.d.ts", + "<ROOT>/e2e/cases/dts/bundle-false/basic/dist/esm/utils/strings.d.ts", ] ❯ cases/dts/index.test.ts:10:23
cases/dts/index.test.ts > dts when bundle: false > distPath: e2e/cases/dts/index.test.ts#L32
Error: Snapshot `dts when bundle: false > distPath 1` mismatched - Expected + Received [ - "./dist/custom/index.d.ts", - "./dist/custom/sum.d.ts", - "./dist/custom/utils/numbers.d.ts", - "./dist/custom/utils/strings.d.ts", + "<ROOT>/e2e/cases/dts/bundle-false/dist-path/dist/custom/index.d.ts", + "<ROOT>/e2e/cases/dts/bundle-false/dist-path/dist/custom/sum.d.ts", + "<ROOT>/e2e/cases/dts/bundle-false/dist-path/dist/custom/utils/numbers.d.ts", + "<ROOT>/e2e/cases/dts/bundle-false/dist-path/dist/custom/utils/strings.d.ts", ] ❯ cases/dts/index.test.ts:32:23
cases/dts/index.test.ts > dts when bundle: false > autoExtension: true: e2e/cases/dts/index.test.ts#L53
Error: Snapshot `dts when bundle: false > autoExtension: true 1` mismatched - Expected + Received [ - "./dist/cjs/index.d.cts", + "<ROOT>/e2e/cases/dts/bundle-false/auto-extension/dist/cjs/index.d.ts", - "./dist/cjs/sum.d.cts", + "<ROOT>/e2e/cases/dts/bundle-false/auto-extension/dist/cjs/sum.d.ts", - "./dist/cjs/utils/numbers.d.cts", + "<ROOT>/e2e/cases/dts/bundle-false/auto-extension/dist/cjs/utils/numbers.d.ts", - "./dist/cjs/utils/strings.d.cts", + "<ROOT>/e2e/cases/dts/bundle-false/auto-extension/dist/cjs/utils/strings.d.ts", ] ❯ cases/dts/index.test.ts:53:23
ut-windows (18.x)
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
e2e-windows (18.x)
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']