Socket
Socket
Sign inDemoInstall

arc-plugin-esbuild

Package Overview
Dependencies
283
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 2.3.1

2

dist/index.d.ts

@@ -19,3 +19,3 @@ declare const plugin: {

};
watcher({ filename, event, inventory }: {
watcher({ filename }: {
filename: string;

@@ -22,0 +22,0 @@ event: 'add' | 'update' | 'remove';

@@ -29,2 +29,3 @@ 'use strict';

const logger = utils.updater('esbuild', {});
let _esbuild = undefined;
const plugin = {

@@ -111,3 +112,3 @@ deploy: {

});
inventory._esbuild = { srcDir, settings, outputs };
_esbuild = { srcDir, settings, outputs };
await Promise.all(settings.map(async (buildSetting) => {

@@ -142,7 +143,8 @@ await buildFunction(buildSetting);

},
async watcher({ filename, event, inventory }) {
if (!inventory._esbuild) {
async watcher({ filename }) {
if (!_esbuild) {
logger.status('Unable to read settings');
return;
}
const { settings, outputs } = inventory._esbuild;
const { settings, outputs } = _esbuild;
if (outputs.has(filename)) {

@@ -149,0 +151,0 @@ return;

{
"name": "arc-plugin-esbuild",
"version": "2.3.0",
"version": "2.3.1",
"description": "Use Typescript and esbuild with arc.codes!",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

Sorry, the diff of this file is not supported yet

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