Skip to content

Commit c9dcea4

Browse files
build(deps-dev): bump typescript from 5.5.4 to 5.9.3 (#1559)
* build(deps-dev): bump typescript from 5.5.4 to 5.9.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.9.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.5.4...v5.9.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 5.9.3 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix buffer creation from Uint32Array --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Changyong Gong <shawn.gong@hotmail.com>
1 parent 52875a0 commit c9dcea4

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
"style-loader": "^3.3.1",
367367
"ts-loader": "^9.4.1",
368368
"tslint": "^6.1.3",
369-
"typescript": "^5.3.2",
369+
"typescript": "^5.9.3",
370370
"webpack": "^5.105.0",
371371
"webpack-cli": "^6.0.1"
372372
},

src/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ export function isInsiders() {
8282
export function getNonce() {
8383
let array = new Uint32Array(16);
8484
array = crypto.getRandomValues(array);
85-
const buffer = Buffer.from(array);
85+
const buffer = Buffer.from(array.buffer);
8686
return buffer.toString('base64');
8787
}

0 commit comments

Comments
 (0)