disarm 0.18.0-aarch64-linux → 0.19.0-aarch64-linux
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 +4 -4
- data/NOTICE +1 -0
- data/lib/disarm/3.3/disarm.so +0 -0
- data/lib/disarm/3.4/disarm.so +0 -0
- data/lib/disarm/4.0/disarm.so +0 -0
- data/lib/disarm/version.rb +1 -1
- data/lib/disarm.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96d46c601be9b39803a023d808c01f64e03a0c9dee8bcd2c3309e3bbb881e948
|
|
4
|
+
data.tar.gz: 5d6ef358fcd1f027ec4d5d36846d9bd5e586cb037348fa6cf1f3b984da583a62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef36eb0b173472f7d80f0e3cb358647d599a8dc75a8e4fab69f81ddcad6094884a3619cec26264dae336bfed9ed81bd62822b369fc7d217de4fbc18813faff55
|
|
7
|
+
data.tar.gz: 6d6705d599e3d60d47802534c2d65757380bddb63f136659aaced9309a07ce49d80cc81d4fd9bf80416fa0be71b51266d5ae9193427b966ebdf5d49614723251
|
data/NOTICE
CHANGED
|
@@ -38,6 +38,7 @@ Unicode data
|
|
|
38
38
|
Python's unicodedata module
|
|
39
39
|
Unicode Security Mechanisms (UTS #39): confusables.txt (vendored as
|
|
40
40
|
data/confusables.txt)
|
|
41
|
+
The Ideographic Variation Database (IVD): IVD_Sequences.txt
|
|
41
42
|
Unicode CLDR emoji annotations: common/annotations/en.xml and
|
|
42
43
|
common/annotationsDerived/en.xml (vendored as data/cldr/en.xml and
|
|
43
44
|
data/cldr/en_derived.xml)
|
data/lib/disarm/3.3/disarm.so
CHANGED
|
Binary file
|
data/lib/disarm/3.4/disarm.so
CHANGED
|
Binary file
|
data/lib/disarm/4.0/disarm.so
CHANGED
|
Binary file
|
data/lib/disarm/version.rb
CHANGED
data/lib/disarm.rb
CHANGED
|
@@ -633,6 +633,14 @@ module Disarm
|
|
|
633
633
|
end
|
|
634
634
|
end
|
|
635
635
|
|
|
636
|
+
# The level a finding of this kind carries, by the name a report holds: "error" or
|
|
637
|
+
# "warning", which are SARIF's names. `smuggled` is the one "error", because it fires
|
|
638
|
+
# only on a run that decodes to readable text. Raises Disarm::InvalidArgument on a
|
|
639
|
+
# name that is no kind.
|
|
640
|
+
def anomaly_severity(kind)
|
|
641
|
+
translate_errors { _anomaly_severity(kind.to_s) }
|
|
642
|
+
end
|
|
643
|
+
|
|
636
644
|
# Full anomaly analysis: a hash with `:anomalous`, `:kinds` (in first-appearance
|
|
637
645
|
# order), `:findings` (each `{ kind:, token:, start:, end:, detail:, reason: }`,
|
|
638
646
|
# with byte offsets), and `:reason` (the first finding's reason, or nil).
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: disarm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.0
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Quinn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|