[Pkg-javascript-devel] Bug#1071016: node-temp: missing "let" before crypto trips up nodejs 20
Jérémy Lal
kapouer at melix.org
Mon May 13 01:06:05 BST 2024
Package: node-temp
Version: 0.9.4+~0.9.1-1
Severity: important
Hi,
this is needed to avoid failures when using nodejs 20.13.0
--- node-temp-0.9.4+~0.9.1.orig/lib/temp.js
+++ node-temp-0.9.4+~0.9.1/lib/temp.js
@@ -1,7 +1,7 @@
let fs = require('fs');
let path = require('path');
let cnst = require('constants');
-crypto = require('crypto');
+let crypto = require('crypto');
let os = require('os');
let rimraf = require('rimraf');
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.7.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages node-temp depends on:
ii node-mkdirp 1.0.4+~1.0.2-4
ii node-rimraf 3.0.2-2
node-temp recommends no packages.
node-temp suggests no packages.
-- no debconf information
More information about the Pkg-javascript-devel
mailing list