Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

size-limit

Package Overview
Dependencies
Maintainers
1
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

size-limit - npm Package Compare versions

Comparing version 11.1.4 to 11.1.5

5

get-config.js
import bytes from 'bytes-iec'
import { globby } from 'globby'
import { lilconfig } from 'lilconfig'

@@ -7,2 +6,3 @@ import { createRequire } from 'node:module'

import { fileURLToPath, pathToFileURL } from 'node:url'
import { glob } from 'tinyglobby'

@@ -158,3 +158,4 @@ import { SizeLimitError } from './size-limit-error.js'

if (check.path) {
processed.files = await globby(check.path, { cwd: config.cwd })
let patterns = Array.isArray(check.path) ? check.path : [check.path]
processed.files = await glob(patterns, { cwd: config.cwd })
} else if (!check.entry) {

@@ -161,0 +162,0 @@ if (pkg.packageJson.main) {

2

index.d.ts

@@ -77,3 +77,3 @@ /**

* It could be a path `"index.js"`, a
* {@link https://github.com/sindresorhus/globby#globbing-patterns pattern}
* {@link https://github.com/SuperchupuDev/tinyglobby pattern}
* `"dist/app-*.js"` or an array

@@ -80,0 +80,0 @@ * `["index.js", "dist/app-*.js", "!dist/app-exclude.js"]`.

{
"name": "size-limit",
"version": "11.1.4",
"version": "11.1.5",
"description": "CLI tool for Size Limit",

@@ -29,8 +29,8 @@ "type": "module",

"chokidar": "^3.6.0",
"globby": "^14.0.1",
"jiti": "^1.21.0",
"lilconfig": "^3.1.1",
"jiti": "^1.21.6",
"lilconfig": "^3.1.2",
"nanospinner": "^1.1.0",
"picocolors": "^1.0.1"
"picocolors": "^1.1.0",
"tinyglobby": "^0.2.6"
}
}

@@ -49,3 +49,3 @@ import chokidar from 'chokidar'

let help = createHelp(process)
let config, args
let args, config

@@ -52,0 +52,0 @@ try {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc