Skip to content

Commit

Permalink
chore(deps): Update importmap and include deps downloaded to vendor/j…
Browse files Browse the repository at this point in the history
…avascript so that cdn issues don't break site (#880)
  • Loading branch information
ericenns authored Jan 3, 2025
1 parent bb6fc4b commit e8c1315
Show file tree
Hide file tree
Showing 11 changed files with 10,080 additions and 24 deletions.
38 changes: 23 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ GEM
base64 (0.2.0)
bcrypt (3.1.20)
benchmark (0.4.0)
bigdecimal (3.1.8)
bigdecimal (3.1.9)
bindex (0.8.1)
bootsnap (1.18.4)
msgpack (~> 1.2)
Expand Down Expand Up @@ -180,7 +180,7 @@ GEM
drb (2.2.1)
erb-formatter (0.7.3)
syntax_tree (~> 6.0)
erubi (1.13.0)
erubi (1.13.1)
et-orbi (1.2.11)
tzinfo
faker (3.4.2)
Expand Down Expand Up @@ -291,12 +291,12 @@ GEM
rails-i18n
rainbow (>= 2.2.2, < 4.0)
terminal-table (>= 1.5.1)
importmap-rails (2.0.1)
importmap-rails (2.1.0)
actionpack (>= 6.0.0)
activesupport (>= 6.0.0)
railties (>= 6.0.0)
io-console (0.8.0)
irb (1.14.2)
irb (1.14.3)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
jbuilder (2.12.0)
Expand All @@ -316,11 +316,11 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
local_time (3.0.2)
logger (1.6.3)
logger (1.6.4)
logidze (1.3.0)
activerecord (>= 6.0)
railties (>= 6.0)
loofah (2.23.1)
loofah (2.24.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
lookbook (2.3.2)
Expand All @@ -344,6 +344,7 @@ GEM
matrix (0.4.2)
method_source (1.1.0)
mini_mime (1.1.5)
mini_portile2 (2.8.8)
minitest (5.24.1)
msgpack (1.7.2)
multi_json (1.15.0)
Expand All @@ -365,17 +366,24 @@ GEM
net-smtp (0.5.0)
net-protocol
nio4r (2.7.4)
nokogiri (1.17.2-aarch64-linux)
nokogiri (1.18.1)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.17.2-arm-linux)
nokogiri (1.18.1-aarch64-linux-gnu)
racc (~> 1.4)
nokogiri (1.17.2-arm64-darwin)
nokogiri (1.18.1-aarch64-linux-musl)
racc (~> 1.4)
nokogiri (1.17.2-x86-linux)
nokogiri (1.18.1-arm-linux-gnu)
racc (~> 1.4)
nokogiri (1.17.2-x86_64-darwin)
nokogiri (1.18.1-arm-linux-musl)
racc (~> 1.4)
nokogiri (1.17.2-x86_64-linux)
nokogiri (1.18.1-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.1-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.18.1-x86_64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.1-x86_64-linux-musl)
racc (~> 1.4)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
Expand Down Expand Up @@ -414,7 +422,7 @@ GEM
pg (1.5.7)
polyglot (0.3.5)
prettier_print (1.2.1)
psych (5.2.1)
psych (5.2.2)
date
stringio
public_activity (3.0.1)
Expand All @@ -434,7 +442,7 @@ GEM
rack (>= 3.0.0, < 4)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0)
rack-test (2.2.0)
rack (>= 1.3)
rackup (2.2.1)
rack (>= 3)
Expand Down Expand Up @@ -479,7 +487,7 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rdoc (6.9.1)
rdoc (6.10.0)
psych (>= 4.0.0)
redcarpet (3.6.0)
regexp_parser (2.9.2)
Expand Down
18 changes: 9 additions & 9 deletions config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
pin '@hotwired/stimulus', to: 'stimulus.min.js', preload: true
pin '@hotwired/stimulus-loading', to: 'stimulus-loading.js', preload: true
pin 'flowbite', to: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/flowbite.turbo.min.js'
pin '@popperjs/core', to: 'https://ga.jspm.io/npm:@popperjs/[email protected]/dist/esm/index.js'
pin '@sindresorhus/slugify', to: 'https://ga.jspm.io/npm:@sindresorhus/[email protected]/index.js'
pin '@sindresorhus/transliterate', to: 'https://ga.jspm.io/npm:@sindresorhus/[email protected]/index.js'
pin 'escape-string-regexp', to: 'https://ga.jspm.io/npm:[email protected]/index.js'
pin 'lodash', to: 'https://ga.jspm.io/npm:[email protected]/lodash.js'
pin '@rails/activestorage', to: 'https://ga.jspm.io/npm:@rails/[email protected]/app/assets/javascripts/activestorage.esm.js'
pin '@popperjs/core', to: '@popperjs--core.js' # @2.11.7
pin '@sindresorhus/slugify', to: '@sindresorhus--slugify.js' # @2.2.1
pin '@sindresorhus/transliterate', to: '@sindresorhus--transliterate.js' # @1.6.0
pin 'escape-string-regexp' # @5.0.0
pin '@rails/activestorage', to: '@rails--activestorage.js' # @7.2.201
pin_all_from 'app/javascript/controllers', under: 'controllers'
pin 'xlsx', to: 'https://ga.jspm.io/npm:xlsx@0.18.5/xlsx.mjs'
pin 'validator', to: 'https://ga.jspm.io/npm:validator@13.11.0/index.js'
pin 'xlsx' # @0.18.5
pin 'validator' # @13.12.0
pin_all_from 'app/javascript/utilities', under: 'utilities'
pin 'sortablejs', to: 'https://ga.jspm.io/npm:sortablejs@1.15.2/modular/sortable.esm.js'
pin 'sortablejs' # @1.15.2
pin 'local-time' # @3.0.2
pin 'lodash' # @4.17.21
3 changes: 3 additions & 0 deletions vendor/javascript/@popperjs--core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor/javascript/@rails--activestorage.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions vendor/javascript/@sindresorhus--slugify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor/javascript/@sindresorhus--transliterate.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions vendor/javascript/escape-string-regexp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// [email protected] downloaded from https://ga.jspm.io/npm:[email protected]/index.js

function escapeStringRegexp(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}export default escapeStringRegexp;

Loading

0 comments on commit e8c1315

Please sign in to comment.