Socket
Socket
Sign inDemoInstall

esbuild-plugin-ts-references

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

6

index.js

@@ -53,3 +53,7 @@ const fs = require('fs');

setup(build) {
const refPackages = build.initialOptions.entryPoints.reduce(
// Pull out entry points, which can either be specified as an array or an object with custom output paths
// https://esbuild.github.io/api/#entry-points
const entryPointOptions = build.initialOptions.entryPoints;
const entryPoints = Array.isArray(entryPointOptions) ? entryPointOptions : Object.values(entryPointOptions);
const refPackages = entryPoints.reduce(
(acc, entrypoint) => {

@@ -56,0 +60,0 @@ return Object.assign(acc, resolveRefPackages(entrypoint));

2

package.json
{
"name": "esbuild-plugin-ts-references",
"version": "0.0.2",
"version": "0.0.3",
"description": "esbuild plugin for typescript references",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc