Skip to content

Commit 7606353

Browse files
committed
Update snapshots
1 parent db334f6 commit 7606353

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/examples/packages/webpack-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"terser-webpack-plugin": "^5.3.9",
7979
"ts-node": "^10.9.1",
8080
"typescript": "~5.3.3",
81-
"webpack": "^5.88.0",
81+
"webpack": "^5.94.0",
8282
"webpack-cli": "^5.1.4"
8383
},
8484
"engines": {

packages/snaps-cli/src/commands/build/implementation.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ describe('build', () => {
129129

130130
const output = await fs.readFile('/snap/output.js', 'utf8');
131131
expect(output).toMatchInlineSnapshot(
132-
`"(()=>{var r={67:r=>{r.exports.onRpcRequest=({request:r})=>{console.log("Hello, world!");const{method:e,id:o}=r;return e+o}}},e={};var o=function o(t){var s=e[t];if(void 0!==s)return s.exports;var n=e[t]={exports:{}};return r[t](n,n.exports,o),n.exports}(67);module.exports=o})();"`,
132+
`"(()=>{var r={157:r=>{r.exports.onRpcRequest=({request:r})=>{console.log("Hello, world!");const{method:e,id:o}=r;return e+o}}},e={};var o=function o(t){var s=e[t];if(void 0!==s)return s.exports;var n=e[t]={exports:{}};return r[t](n,n.exports,o),n.exports}(157);module.exports=o})();"`,
133133
);
134134
});
135135

@@ -165,7 +165,7 @@ describe('build', () => {
165165
expect(output).toMatchInlineSnapshot(`
166166
"(() => {
167167
var __webpack_modules__ = {
168-
67: module => {
168+
157: module => {
169169
module.exports.onRpcRequest = ({
170170
request
171171
}) => {
@@ -190,7 +190,7 @@ describe('build', () => {
190190
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
191191
return module.exports;
192192
}
193-
var __webpack_exports__ = __webpack_require__(67);
193+
var __webpack_exports__ = __webpack_require__(157);
194194
module.exports = __webpack_exports__;
195195
})();"
196196
`);

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6728,7 +6728,7 @@ __metadata:
67286728
terser-webpack-plugin: "npm:^5.3.9"
67296729
ts-node: "npm:^10.9.1"
67306730
typescript: "npm:~5.3.3"
6731-
webpack: "npm:^5.88.0"
6731+
webpack: "npm:^5.94.0"
67326732
webpack-cli: "npm:^5.1.4"
67336733
languageName: unknown
67346734
linkType: soft

0 commit comments

Comments
 (0)