importmap-rails 1.1.0 → 1.1.1

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: af8555e15d3527fb4cfa9fe96e9b23c62b19ad49071ea52d7791340ba8667266
4
- data.tar.gz: 5ad2c59b8d549a5afd05505c5d957343db6eeb09947d21b69e96f0e483c5f0dc
3
+ metadata.gz: c556b347ccc13c5ba397acdde373ee8b705cec57b267cd0fbcbf920b7e8b6f6e
4
+ data.tar.gz: 475f9c49a29536cef24f67cf70dbd1a1611a20c292bba384418448274c477650
5
5
  SHA512:
6
- metadata.gz: c743d9f4de29b6cda4b32fa866d3e8b30cfde1f68c1122fb0a29e4fa0fc33108e40a3d5deb4ebd7389268d952de78011df6367c5ed301bc621b7547ad8c19304
7
- data.tar.gz: e640cf67cdc9fffc259619baede7a3b2c9f6d37c94bebb251d55a2b572500e045e3e16596ab7f5bd08e3915210ed96440c907ae644e21a3425c1f2ca385b658f
6
+ metadata.gz: d12e8298a133d3362469bf9886d4bfe1d119b734b8f7a0766049e28c28e9a239d72ca53353ba58e03f4c32fdc7a0f1a60604829231588b829a31aa33b3ca4318
7
+ data.tar.gz: 22e6b50bcf18c1bc4979d1160fad4fb88483ae19268ae9cd9f41c30d144437f5dbc9bf0588419106edd2747f9b8ccad886a27dfd556881327626eac4569e4c21
data/README.md CHANGED
@@ -299,6 +299,12 @@ In Firefox. when opening the browser console, the asm.js module lexer build will
299
299
 
300
300
  Under certain circumstances, like running system tests using chromedriver under CI (which may be resource constrained and trigger errors in certain cases), you may want to explicitly turn off including the shim. You can do this by calling the bulk tag helper with `javascript_importmap_tags("application", shim: false)`. Thus you can pass in something like `shim: !ENV["CI"]`. If you want, and are sure you're not doing any full-page caching, you can also connect this directive to a user agent check (using a gem like `useragent`) to check whether the browser is chrome/edge 89+. But you really shouldn't have to, as the shim is designed to gracefully work with natively compatible drivers.
301
301
 
302
+ ## Checking for outdated or vulnerable packages
303
+
304
+ Importmap for Rails provides two commands to check your pinned packages:
305
+ - `./bin/importmap outdated` checks the NPM registry for new versions
306
+ - `./bin/importmap audit` checks the NPM registry for known security issues
307
+
302
308
  ## License
303
309
 
304
310
  Importmap for Rails is released under the [MIT License](https://opensource.org/licenses/MIT).