Skip to content

Commit f233458

Browse files
bumping js-slang (source-academy#2852)
* bumping js-slang * Update tests * remove obsolete snapshots --------- Co-authored-by: NhatMinh0208 <minhkhicon2468@gmail.com>
1 parent eee9288 commit f233458

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"flexboxgrid": "^6.3.1",
5050
"flexboxgrid-helpers": "^1.1.3",
5151
"hastscript": "^9.0.0",
52-
"js-slang": "^1.0.46",
52+
"js-slang": "^1.0.48",
5353
"js-yaml": "^4.1.0",
5454
"konva": "^9.2.0",
5555
"lodash": "^4.17.21",

src/features/cseMachine/__tests__/CseMachine.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ const codeSamplesControlStash = [
184184
}
185185
create(3)[1]();
186186
`,
187-
33
187+
32
188188
],
189189
[
190190
'global environments are treated correctly',
@@ -194,7 +194,7 @@ const codeSamplesControlStash = [
194194
}
195195
math_sin(math_PI / 2);
196196
`,
197-
7
197+
6
198198
],
199199
[
200200
'Control is truncated properly',
@@ -204,7 +204,7 @@ const codeSamplesControlStash = [
204204
}
205205
fact(10);
206206
`,
207-
161,
207+
160,
208208
true
209209
]
210210
];

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8305,10 +8305,10 @@ js-sdsl@4.3.0, js-sdsl@^4.1.4:
83058305
resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.3.0.tgz#aeefe32a451f7af88425b11fdb5f58c90ae1d711"
83068306
integrity sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==
83078307

8308-
js-slang@^1.0.46:
8309-
version "1.0.46"
8310-
resolved "https://registry.yarnpkg.com/js-slang/-/js-slang-1.0.46.tgz#61b27f7a99ebe02c2f462e353d57a1593f2644ff"
8311-
integrity sha512-ogAJXNKGxbXk4y1FL/U9Jqt+SHKj9Ekn+xXffu+rs+FA07OcW0b6VElAL2z0sJr5tV88RWiC/1xJULr7aFnAiA==
8308+
js-slang@^1.0.48:
8309+
version "1.0.48"
8310+
resolved "https://registry.yarnpkg.com/js-slang/-/js-slang-1.0.48.tgz#e08a52a8472eeb18c573e7a9700865746b7bcdbe"
8311+
integrity sha512-XaGdlbzZsMbA46f+5/IUXi2vUx3hlDA8ctneWSXOY7BMPduiUUrDJzL2y27enGZbE4l1V8E1prNehO7zfS6Xuw==
83128312
dependencies:
83138313
"@babel/parser" "^7.19.4"
83148314
"@joeychenofficial/alt-ergo-modified" "^2.4.0"

0 commit comments

Comments
 (0)