Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

size-limit

Package Overview
Dependencies
35
Maintainers
1
Versions
174
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.2 to 10.0.3

11

load-plugins.js

@@ -1,4 +0,1 @@

import { createRequire } from 'node:module'
const require = createRequire(import.meta.url)
function toArray(obj) {

@@ -29,9 +26,3 @@ return typeof obj === 'object' ? Object.keys(obj) : []

.filter(i => i.startsWith('@size-limit/') || i.startsWith('size-limit-'))
.map(i =>
import(
require.resolve(i, {
paths: [process.cwd()]
})
).then(module => module.default)
)
.map(i => import(i).then(module => module.default))
).then(arr => arr.flat())

@@ -38,0 +29,0 @@

4

package.json
{
"name": "size-limit",
"version": "10.0.2",
"version": "10.0.3",
"description": "CLI tool for Size Limit",

@@ -28,3 +28,3 @@ "type": "module",

"chokidar": "^3.5.3",
"globby": "^13.2.2",
"globby": "^14.0.0",
"lilconfig": "^2.1.0",

@@ -31,0 +31,0 @@ "nanospinner": "^1.1.0",

@@ -13,4 +13,2 @@ const MESSAGES = {

`or *@size-limit/${mod2}* plugin`,
brotliUnsupported: () =>
'Update your Node.js to version >= v11.7.0 to use Brotli',
bundleDirNotEmpty: dir =>

@@ -17,0 +15,0 @@ `The directory *${dir}* is not empty. ` +

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc