ruby-zoom 5.4.1 → 5.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 312b87da6ce1330093d2675de39323809e5b0e635685142f97347da5716baeac
4
- data.tar.gz: b0f161bee57690bc9634ea6bd91d667e3fff099912602ef1e46348e9a0a6f5eb
3
+ metadata.gz: 2ac7af1f970c89aa885f5028e071fd5332c399b1f33513bc2a5fc1e5d57c5d90
4
+ data.tar.gz: 1bfaf50b94f3547b77ff6c6a75702a0efb87db9e1ae0f1a3fb57699b022dda8c
5
5
  SHA512:
6
- metadata.gz: c1618716661ada595846efa279c740449a8e3792952c63467a08e31249182a80a4ccd3eb767b398d67f216ad5b097ef4cd448ad02c54d4dcf5a7070214e1dfc1
7
- data.tar.gz: c7c46c40ac4dc2db5d832a2cbd149dd2c8a5833547628cc3ae3a4f91d7c7ee8db20fe80b61c25221a0c99db762cc8b893b1c13d5df39d0853b5fd59b0d225d4a
6
+ metadata.gz: 5ec53087e54277f2c428d18222cdf3dd751aac54a78100122de5363256858274844aea226fd27f9c22e9614653417585964462990d5ea70cb0fd442091dc3319
7
+ data.tar.gz: 853058a1c13268acccc1a18cec4d186ca0456b09b3d47d6a33b96810e8bacf3625993a4e1c3950ebd259625832e01d12394ab3ed42c1099ef5cf2351c672a419
@@ -5,13 +5,14 @@ class Zoom::SecurityProfile::UnsafeJs < Zoom::SecurityProfile
5
5
  super(n, t, f, b, a)
6
6
  @exts = ["js", "jsx", "vue"]
7
7
  @regex = [
8
- "\\.",
8
+ "\\.?",
9
9
  "(",
10
10
  [
11
11
  "(append|eval|html)\\(",
12
- "innerHTML"
12
+ "innerHTML\\s*="
13
13
  ].join("|"),
14
- ")"
14
+ ")",
15
+ "\\s*($|([\"'][^\"']+[\"']\\s*\\+\\s*)?[^\"'; )]+)"
15
16
  ].join
16
17
  end
17
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-zoom
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.1
4
+ version: 5.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-08 00:00:00.000000000 Z
11
+ date: 2019-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 3.0.3
236
+ rubygems_version: 3.0.4
237
237
  signing_key:
238
238
  specification_version: 4
239
239
  summary: Quickly open CLI search results in your favorite editor!