From: BELOUARGA Mohamed Date: Wed, 31 May 2023 18:48:19 +0000 (+0200) Subject: meta: lib: oe: npm_registry: Add more safe caracters X-Git-Tag: 2022-04.12-kirkstone~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3c1638077d4acbd61e7770c8e1d299ea33df638;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git meta: lib: oe: npm_registry: Add more safe caracters NPM registry cache should support caracaters like '(' and ')' Explanation: NPM packages can contains these caracters like : @(._.)/execute Signed-off-by: BELOUARGA Mohamed Signed-off-by: Alexandre Belloni (cherry picked from commit 6110d9e24e43e286781afd1b3634a4ad1a2050d0) Signed-off-by: Steve Sakoman --- diff --git a/meta/lib/oe/npm_registry.py b/meta/lib/oe/npm_registry.py index 96c0affb457..3f70e4f5c80 100644 --- a/meta/lib/oe/npm_registry.py +++ b/meta/lib/oe/npm_registry.py @@ -5,7 +5,7 @@ import subprocess _ALWAYS_SAFE = frozenset('ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' '0123456789' - '_.-~') + '_.-~()') MISSING_OK = object()