dependabot-npm_and_yarn 0.106.40 → 0.106.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f8bb086851023c74d079b9a9832a84ae452ce9c2f59a19fa9712ecf4574cfbf
|
|
4
|
+
data.tar.gz: 4243484c2601bf5b82eea4c2c37b7aa41221429dca9bd3cb0fb44b6d9561b4a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6a788619229c847e8bcaf947a591bb220d00ff10f4428ddfb075697d61bf0543696cbf1d7adf8eae30f63da021a747c8d95be82a650dfa3850df49371366720
|
|
7
|
+
data.tar.gz: 48de74fdc1ef7dedd58b049b69fd06ed5301df5f531c6d23b6a0df6a47759fec961de57853614b81965de1fcdf5f88a132abf7254931e2850616ddeb1f545a6c
|
|
@@ -482,10 +482,15 @@ module Dependabot
|
|
|
482
482
|
end
|
|
483
483
|
|
|
484
484
|
def sanitized_package_json_content(content)
|
|
485
|
-
|
|
485
|
+
updated_content =
|
|
486
|
+
content.
|
|
486
487
|
gsub(/\{\{.*?\}\}/, "something"). # {{ name }} syntax not allowed
|
|
487
488
|
gsub(/(?<!\\)\\ /, " "). # escaped whitespace not allowed
|
|
488
489
|
gsub(%r{^\s*//.*}, " ") # comments are not allowed
|
|
490
|
+
|
|
491
|
+
json = JSON.parse(updated_content)
|
|
492
|
+
json["name"] = json["name"].delete(" ")
|
|
493
|
+
json.to_json
|
|
489
494
|
end
|
|
490
495
|
|
|
491
496
|
def yarn_locks
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-npm_and_yarn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.106.
|
|
4
|
+
version: 0.106.41
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.106.
|
|
19
|
+
version: 0.106.41
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.106.
|
|
26
|
+
version: 0.106.41
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: byebug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|