Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PATH
constant_resolver (>= 0.3)
parallel
parser
prism (>= 0.25.0)
prism (>= 1.4.0)
sorbet-runtime (>= 0.5.9914)
zeitwerk (>= 2.6.1)

Expand Down Expand Up @@ -106,7 +106,7 @@ GEM
pp (0.6.2)
prettyprint
prettyprint (0.2.0)
prism (0.27.0)
prism (1.6.0)
psych (5.2.6)
date
stringio
Expand Down Expand Up @@ -136,9 +136,11 @@ GEM
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.2.1)
rbi (0.1.12)
prism (>= 0.18.0, < 0.28)
sorbet-runtime (>= 0.5.9204)
rbi (0.3.7)
prism (~> 1.0)
rbs (>= 3.4.4)
rbs (3.9.5)
logger
rdoc (6.14.0)
erb
psych (>= 4.0.0)
Expand Down Expand Up @@ -186,11 +188,12 @@ GEM
thor (>= 0.19.2)
spring (4.0.0)
stringio (3.1.7)
tapioca (0.13.3)
tapioca (0.16.11)
benchmark
bundler (>= 2.2.25)
netrc (>= 0.11.0)
parallel (>= 1.21.0)
rbi (>= 0.1.4, < 0.2)
rbi (~> 0.2)
sorbet-static-and-runtime (>= 0.5.11087)
spoom (>= 1.2.0)
thor (>= 1.2.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/packwerk/parsers/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def valid_error?(error)
end
end

class TolerateInvalidUtf8Builder < Parser::Builders::Default
class TolerateInvalidUtf8Builder < Prism::Translation::Parser::Builder
extend T::Sig

sig { params(token: T.untyped).returns(T.untyped) }
Expand Down
2 changes: 1 addition & 1 deletion packwerk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Gem::Specification.new do |spec|
# For Ruby parsing
spec.add_dependency("ast")
spec.add_dependency("parser")
spec.add_dependency("prism", ">= 0.25.0")
spec.add_dependency("prism", ">= 1.4.0")

# For ERB parsing
spec.add_dependency("better_html")
Expand Down
Loading