diff options
author | BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com> | 2023-05-31 20:48:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-13 22:10:32 +0100 |
commit | 40e08f21efd2c8e97a8b571debe7c0a420bee097 (patch) | |
tree | ecda4e1d6895d3200eb6a7987f30c46ee38d9420 /meta | |
parent | 9048ceef995ce0937ce81093d78cd8cca650884a (diff) | |
download | poky-40e08f21efd2c8e97a8b571debe7c0a420bee097.tar.gz |
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
(From OE-Core rev: 6110d9e24e43e286781afd1b3634a4ad1a2050d0)
Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/npm_registry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/npm_registry.py b/meta/lib/oe/npm_registry.py index db581e280e..d97ced7cda 100644 --- a/meta/lib/oe/npm_registry.py +++ b/meta/lib/oe/npm_registry.py | |||
@@ -11,7 +11,7 @@ import subprocess | |||
11 | _ALWAYS_SAFE = frozenset('ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 11 | _ALWAYS_SAFE = frozenset('ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
12 | 'abcdefghijklmnopqrstuvwxyz' | 12 | 'abcdefghijklmnopqrstuvwxyz' |
13 | '0123456789' | 13 | '0123456789' |
14 | '_.-~') | 14 | '_.-~()') |
15 | 15 | ||
16 | MISSING_OK = object() | 16 | MISSING_OK = object() |
17 | 17 | ||