New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

esbuild-plugin-scriptable

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-plugin-scriptable - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

dist/cjs/index.d.cts

18

package.json
{
"name": "esbuild-plugin-scriptable",
"description": "An ESBuild plugin for developing Scriptable iOS app scripts with TypeScript, manifest support and auto-deployment",
"version": "0.5.5",
"version": "0.5.6",
"keywords": [

@@ -17,5 +17,5 @@ "scriptable",

"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"engines": {

@@ -32,3 +32,3 @@ "node": ">=14"

"micromatch": "^4.0.8",
"@scriptables/manifest": "0.7.4"
"@scriptables/manifest": "0.7.5"
},

@@ -55,8 +55,8 @@ "devDependencies": {

".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"./*": {
"require": "./dist/*.cjs",
"import": "./dist/*.js"
"require": "./dist/cjs/*.js",
"import": "./dist/esm/*.js"
}

@@ -63,0 +63,0 @@ },

@@ -141,3 +141,8 @@ import type {ScriptableManifest} from '@scriptables/manifest';

const output = result.metafile.outputs[file];
const sourceFile = output.entryPoint;
if (!sourceFile) {
throw new Error(`No entry point found for ${file}`);
}
// Get file content

@@ -156,3 +161,3 @@ let content: string;

// Try to read the manifest
// Try to read the manifest using entryPoint
let targetFileName = basename(file);

@@ -162,11 +167,2 @@ let manifest: ScriptableManifest | null = null;

try {
const inputs = Object.entries(output.inputs);
if (!inputs.length) {
throw new Error(`No input files found for ${file}`);
}
const sourceFile = inputs[0][0];
if (!sourceFile) {
throw new Error(`Invalid source file for ${file}`);
}
manifest = await tryReadManifest(sourceFile, manifestExtensions);

@@ -173,0 +169,0 @@

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