Socket
Socket
Sign inDemoInstall

esbuild-register

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-register - npm Package Compare versions

Comparing version 3.1.2 to 3.2.0

14

dist/node.d.ts

@@ -11,5 +11,15 @@ import { TransformOptions } from 'esbuild';

declare type EXTENSIONS = keyof typeof FILE_LOADERS;
declare function register(esbuildOptions?: TransformOptions & {
interface RegisterOptions extends TransformOptions {
extensions?: EXTENSIONS[];
}): {
/**
* Auto-ignore node_modules. Independent of any matcher.
* @default true
*/
hookIgnoreNodeModules?: boolean;
/**
* A matcher function, will be called with path to a file. Should return truthy if the file should be hooked, falsy otherwise.
*/
hookMatcher?(fileName: string): boolean;
}
declare function register(esbuildOptions?: RegisterOptions): {
unregister(): void;

@@ -16,0 +26,0 @@ };

2

package.json
{
"name": "esbuild-register",
"description": "Transpile JSX, TypeScript and esnext features on the fly with esbuild",
"version": "3.1.2",
"version": "3.2.0",
"main": "register.js",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

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