bibliothecary 13.0.0 → 13.0.1

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: 9b8a1d72ed1c6410170cd105bd8fbac80589da11434227f6803c89d5903a6985
4
- data.tar.gz: ee6c6623a6a53ae65ccc5009091fea4640188f37d89baf1a871a39fceecba988
3
+ metadata.gz: b41280265bf9f99394621a32e95fc736518aa4cb517042bed3f3fb14de11141e
4
+ data.tar.gz: 5abfea8b948e94d88e2b1a0ef48309b4783b63b9d8e1e2920ebee3af590fb42c
5
5
  SHA512:
6
- metadata.gz: 43df91da96ccbd93aa7a9b69e0f6a111a1962b4515bb211488cedb26b148f0cb5c76c0e0ff29758ee23eeaa4015aa4d73d468625e85a3cb7f1e9b12a0b6370f9
7
- data.tar.gz: 9826ee8c30e798b2d83decc6d25ec4dd673f24371a9992e60cf18bcef9eded7f7d492fc9b96caac3e378f0bec02a049d5ae4e66d0c9562587f1db70300c5b2aa
6
+ metadata.gz: 36207ae0ca54c2e132a651ebf656c0fef5d9e9a0954053a115c8f829ecebda97ccd295b7a11dacb53acd290cb621016b3f7d3c98b9f0ba47c6e7d41a34196b1c
7
+ data.tar.gz: e7f22290925ceec3db16011048991c5ef8c1a86e70673d9d1c720f2d41c246eb13802d637170e25f163beca8f32435a11e08297d67473647918943981a2306f3
data/CHANGELOG.md CHANGED
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Removed
15
15
 
16
+ ## [13.0.1] - 2025-07-03
17
+
18
+ ### Changed
19
+
20
+ - Handle windows-style newlines in v1 yarn lockfiles.
21
+
16
22
  ## [13.0.0] - 2025-06-17
17
23
 
18
24
  ### Removed
@@ -274,7 +274,7 @@ module Bibliothecary
274
274
  def self.parse_maven_tree_items_with_depths(file_contents)
275
275
  file_contents
276
276
  .gsub(ANSI_MATCHER, "")
277
- .gsub(/\r\n?/, "\n")
277
+ .encode(universal_newline: true)
278
278
  # capture two groups; one is the ASCII art telling us the tree depth,
279
279
  # and two is the actual dependency
280
280
  .scan(/^\[INFO\]\s((?:[-+|\\]|\s)*)((?:[\w\.-]+:)+[\w\.\-${}]+)/)
@@ -197,6 +197,7 @@ module Bibliothecary
197
197
  # }, ...]
198
198
  def self.parse_v1_yarn_lock(contents, source = nil)
199
199
  contents
200
+ .encode(universal_newline: true)
200
201
  .gsub(/^#.*/, "")
201
202
  .strip
202
203
  .split("\n\n")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bibliothecary
4
- VERSION = "13.0.0"
4
+ VERSION = "13.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibliothecary
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.0.0
4
+ version: 13.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-06-17 00:00:00.000000000 Z
10
+ date: 2025-07-03 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: commander
@@ -136,7 +135,6 @@ dependencies:
136
135
  - - ">="
137
136
  - !ruby/object:Gem::Version
138
137
  version: '0'
139
- description:
140
138
  email:
141
139
  - andrewnez@gmail.com
142
140
  executables:
@@ -210,7 +208,6 @@ licenses:
210
208
  - AGPL-3.0
211
209
  metadata:
212
210
  rubygems_mfa_required: 'true'
213
- post_install_message:
214
211
  rdoc_options: []
215
212
  require_paths:
216
213
  - lib
@@ -225,8 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
222
  - !ruby/object:Gem::Version
226
223
  version: '0'
227
224
  requirements: []
228
- rubygems_version: 3.4.19
229
- signing_key:
225
+ rubygems_version: 3.6.3
230
226
  specification_version: 4
231
227
  summary: Find and parse manifests
232
228
  test_files: []