You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@rolldown/pluginutils

Package Overview
Dependencies
Maintainers
3
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rolldown/pluginutils - npm Package Compare versions

Comparing version
1.0.0-beta.26
to
1.0.0-beta.27
+0
-9
dist/index.d.cts
//#region src/composable-filters.d.ts
type StringOrRegExp = string | RegExp;
// Inline this type to avoid import it from `rolldown`.
// The only downside is we need to keep it in sync with `rolldown` manually,
// it is alright since it is pretty stable now.
type PluginModuleType = "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | (string & {});

@@ -69,8 +66,2 @@ type FilterExpressionKind = FilterExpression["kind"];

declare function code(pattern: StringOrRegExp): Code;
/*
* There are three kinds of conditions are supported:
* 1. `boolean`: if the value is `true`, the key must exist and be truthy. if the value is `false`, the key must not exist or be falsy.
* 2. `string`: the key must exist and be equal to the value.
* 3. `RegExp`: the key must exist and match the value.
*/
declare function query(key: string, pattern: StringOrRegExp | boolean): Query;

@@ -77,0 +68,0 @@ declare function include(expr: FilterExpression): Include;

//#region src/composable-filters.d.ts
type StringOrRegExp = string | RegExp;
// Inline this type to avoid import it from `rolldown`.
// The only downside is we need to keep it in sync with `rolldown` manually,
// it is alright since it is pretty stable now.
type PluginModuleType = "js" | "jsx" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | (string & {});

@@ -69,8 +66,2 @@ type FilterExpressionKind = FilterExpression["kind"];

declare function code(pattern: StringOrRegExp): Code;
/*
* There are three kinds of conditions are supported:
* 1. `boolean`: if the value is `true`, the key must exist and be truthy. if the value is `false`, the key must not exist or be falsy.
* 2. `string`: the key must exist and be equal to the value.
* 3. `RegExp`: the key must exist and match the value.
*/
declare function query(key: string, pattern: StringOrRegExp | boolean): Query;

@@ -77,0 +68,0 @@ declare function include(expr: FilterExpression): Include;

+1
-1
{
"name": "@rolldown/pluginutils",
"version": "1.0.0-beta.26",
"version": "1.0.0-beta.27",
"license": "MIT",

@@ -5,0 +5,0 @@ "type": "module",