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

@chialab/esbuild-rna

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chialab/esbuild-rna - npm Package Compare versions

Comparing version 0.16.3 to 0.16.4

6

lib/Build.js

@@ -286,3 +286,2 @@ import path from 'path';

const rnaResult = /** @type {Result} */ (buildResult);
rnaResult.dependencies = this.getDependencies();
this.chunks.forEach((result) => assignToResult(rnaResult, result));

@@ -307,2 +306,3 @@ this.files.forEach((result) => assignToResult(rnaResult, result));

}
rnaResult.dependencies = this.getDependencies();
});

@@ -964,6 +964,6 @@ }

const map = this.dependencies;
map[importer] = [
map[importer] = [...new Set([
...(map[importer] || []),
...dependencies,
];
])];

@@ -970,0 +970,0 @@ return map;

{
"name": "@chialab/esbuild-rna",
"type": "module",
"version": "0.16.3",
"version": "0.16.4",
"description": "A framework for esbuild plugins with transform and emit capabilities.",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -146,12 +146,2 @@ /// <reference types="node" />

/**
* The current plugin instance.
* @type {Plugin}
*/
plugin: Plugin;
/**
* The current plugin name.
* @type {string}
*/
pluginName: string;
/**
* Manager instance.

@@ -452,2 +442,3 @@ * @type {import('./BuildManager.js').BuildManager}

* Insert dependency plugins in the build plugins list.
* @param {Plugin} plugin The current plugin.
* @param {Plugin[]} plugins A list of required plugins .

@@ -457,3 +448,3 @@ * @param {'before'|'after'} [mode] Where insert the missing plugin.

*/
setupPlugin(plugins: Plugin[], mode?: "before" | "after" | undefined): Promise<string[]>;
setupPlugin(plugin: Plugin, plugins: Plugin[], mode?: "before" | "after" | undefined): Promise<string[]>;
/**

@@ -460,0 +451,0 @@ * Add dependencies to the build.

/**
* @typedef {import('./Build').Build & { pluginName: string }} PluginBuild
*/
/**
* Enrich the esbuild build with a transformation pipeline and emit methods.
* @param {import('esbuild').Plugin} pluginInstance The esbuild plugin instance.
* @param {import('esbuild').PluginBuild} pluginBuild The esbuild build.
*/
export function useRna(pluginInstance: import('esbuild').Plugin, pluginBuild: import('esbuild').PluginBuild): import("./Build.js").Build;
export function useRna(pluginBuild: import('esbuild').PluginBuild): import("./Build.js").Build;
/**

@@ -16,4 +12,1 @@ * @returns {import('esbuild').Plugin}

export * from "./helpers.js";
export type PluginBuild = import('./Build').Build & {
pluginName: string;
};
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