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

unplugin-isolated-decl

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-isolated-decl - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

10

dist/core/options.d.ts
import type { TranspileOptions } from 'typescript';
import type { FilterPattern } from '@rollup/pluginutils';
export type Options = (({
export type Options = {
include?: FilterPattern;
exclude?: FilterPattern;
enforce?: (('pre') | ('post') | (undefined));
}) & ((({transformer?: (('oxc') | ('swc'))}) | ({
enforce?: 'pre' | 'post' | undefined;
} & ({transformer?: 'oxc' | 'swc'} | {
transformer: 'typescript';
transformOptions?: TranspileOptions;
}))));
type Overwrite<T, U> = ((Pick<T, Exclude<keyof T, keyof U>>) & (U));
});
type Overwrite<T, U> = Pick<T, Exclude<keyof T, keyof U>> & U;
export type OptionsResolved = Overwrite<Required<Options>, Pick<Options, 'enforce'>>;
export declare function resolveOptions(options: Options): OptionsResolved;
export {};
import { type UnpluginInstance } from 'unplugin';
import { type Options } from './core/options';
export type { Options };
export declare const IsolatedDecl: UnpluginInstance<((Options) | (undefined)), false>;
export declare const IsolatedDecl: UnpluginInstance<Options | undefined, false>;
{
"name": "unplugin-isolated-decl",
"version": "0.4.0",
"version": "0.4.1",
"description": "A blazing-fast tool for generating isolated declarations, powered by Oxc.",

@@ -84,4 +84,4 @@ "type": "module",

"@rollup/pluginutils": "^5.1.0",
"oxc-transform": "^0.15.1",
"unplugin": "^1.10.1"
"oxc-transform": "^0.16.3",
"unplugin": "^1.11.0"
},

@@ -94,10 +94,10 @@ "devDependencies": {

"bumpp": "^9.4.1",
"esbuild": "^0.21.5",
"eslint": "^9.5.0",
"esbuild": "^0.23.0",
"eslint": "^9.6.0",
"fast-glob": "^3.3.2",
"prettier": "^3.3.2",
"rollup": "^4.18.0",
"tsdown": "^0.2.2",
"tsx": "^4.15.8",
"typescript": "^5.5.2",
"tsdown": "^0.2.3",
"tsx": "^4.16.0",
"typescript": "^5.5.3",
"vite": "^5.3.2",

@@ -104,0 +104,0 @@ "vitest": "^1.6.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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