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.17.2 to 0.17.3

8

lib/Build.js

@@ -113,7 +113,7 @@ import path from 'path';

/**
* @typedef {Result & { id: string; path: string }} Chunk
* @typedef {Result & { id: string; path: string; filePath: string }} Chunk
*/
/**
* @typedef {Result & { id: string; path: string }} File
* @typedef {Result & { id: string; path: string; filePath: string }} File
*/

@@ -1012,3 +1012,3 @@

* @param {string|Buffer} [buffer] File contents.
* @returns {Promise<Chunk>} The output file reference.
* @returns {Promise<File>} The output file reference.
*/

@@ -1075,2 +1075,3 @@ async emitFile(source, buffer) {

path: path.relative(virtualOutDir, outputFile),
filePath: outputFile,
};

@@ -1150,2 +1151,3 @@ this.files.set(source, chunkResult);

path: path.relative(virtualOutDir, resolvedOutputFile),
filePath: resolvedOutputFile,
};

@@ -1152,0 +1154,0 @@ this.chunks.set(options.path, chunkResult);

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

@@ -27,3 +27,3 @@ "main": "lib/index.js",

"dependencies": {
"@chialab/estransform": "^0.17.0",
"@chialab/estransform": "^0.17.2",
"@chialab/node-resolve": "^0.17.0"

@@ -30,0 +30,0 @@ },

@@ -82,6 +82,6 @@ /// <reference types="node" />

/**
* @typedef {Result & { id: string; path: string }} Chunk
* @typedef {Result & { id: string; path: string; filePath: string }} Chunk
*/
/**
* @typedef {Result & { id: string; path: string }} File
* @typedef {Result & { id: string; path: string; filePath: string }} File
*/

@@ -208,3 +208,8 @@ /**

splitting?: boolean | undefined;
preserveSymlinks?: boolean | undefined;
preserveSymlinks?: boolean | undefined; /**
* Manager instance.
* @type {import('./BuildManager.js').BuildManager}
* @readonly
* @private
*/
outfile?: string | undefined;

@@ -217,2 +222,8 @@ metafile?: boolean | undefined;

} | undefined;
/**
* Build chunks.
* @type {Map<string, Chunk>}
* @readonly
* @private
*/
resolveExtensions?: string[] | undefined;

@@ -266,6 +277,6 @@ mainFields?: string[] | undefined;

/**
* @typedef {Result & { id: string; path: string }} Chunk
* @typedef {Result & { id: string; path: string; filePath: string }} Chunk
*/
/**
* @typedef {Result & { id: string; path: string }} File
* @typedef {Result & { id: string; path: string; filePath: string }} File
*/

@@ -350,3 +361,8 @@ /**

splitting?: boolean | undefined;
preserveSymlinks?: boolean | undefined;
preserveSymlinks?: boolean | undefined; /**
* Manager instance.
* @type {import('./BuildManager.js').BuildManager}
* @readonly
* @private
*/
outfile?: string | undefined;

@@ -359,2 +375,8 @@ metafile?: boolean | undefined;

} | undefined;
/**
* Build chunks.
* @type {Map<string, Chunk>}
* @readonly
* @private
*/
resolveExtensions?: string[] | undefined;

@@ -408,6 +430,6 @@ mainFields?: string[] | undefined;

/**
* @typedef {Result & { id: string; path: string }} Chunk
* @typedef {Result & { id: string; path: string; filePath: string }} Chunk
*/
/**
* @typedef {Result & { id: string; path: string }} File
* @typedef {Result & { id: string; path: string; filePath: string }} File
*/

@@ -709,5 +731,5 @@ /**

* @param {string|Buffer} [buffer] File contents.
* @returns {Promise<Chunk>} The output file reference.
* @returns {Promise<File>} The output file reference.
*/
emitFile(source: string, buffer?: string | Buffer | undefined): Promise<Chunk>;
emitFile(source: string, buffer?: string | Buffer | undefined): Promise<File>;
/**

@@ -769,2 +791,3 @@ * Programmatically emit a chunk reference.

path: string;
filePath: string;
};

@@ -774,2 +797,3 @@ export type File = Result & {

path: string;
filePath: string;
};

@@ -776,0 +800,0 @@ export type OnLoadRule = {

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