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

@latticexyz/abi-ts

Package Overview
Dependencies
Maintainers
3
Versions
1190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@latticexyz/abi-ts - npm Package Compare versions

Comparing version 2.2.18-90aac1d4acce19ac592d47a090732dd11c1c3e7a to 2.2.18-9fa07c8489f1fbf167d0db01cd9aaa645a29c8e2

dist/bin/abi-ts.cjs

19

dist/bin/abi-ts.js
#!/usr/bin/env node
import{a as r}from"../chunk-2LMRZYSL.js";import e from"yargs";import{hideBin as i}from"yargs/helpers";import o from"chalk";r.command="$0";e(i(process.argv)).scriptName("abi-ts").command(r).strict().fail(a=>{console.error(o.red(a)),a.includes("Missing required argument")&&console.log(o.yellow(`Run 'pnpm abi-ts ${process.argv[2]} --help' for a list of available and required arguments.`)),process.exit(1)}).alias({h:"help"}).argv;
import {
command
} from "../chunk-GU6G2RXN.js";
// src/bin/abi-ts.ts
import yargs from "yargs";
import { hideBin } from "yargs/helpers";
import chalk from "chalk";
command.command = "$0";
yargs(hideBin(process.argv)).scriptName("abi-ts").command(command).strict().fail((msg) => {
console.error(chalk.red(msg));
if (msg.includes("Missing required argument")) {
console.log(
chalk.yellow(`Run 'pnpm abi-ts ${process.argv[2]} --help' for a list of available and required arguments.`)
);
}
process.exit(1);
}).alias({ h: "help" }).argv;
//# sourceMappingURL=abi-ts.js.map

@@ -1,2 +0,7 @@

import{a as o}from"../chunk-2LMRZYSL.js";export{o as command};
import {
command
} from "../chunk-GU6G2RXN.js";
export {
command
};
//# sourceMappingURL=internal.js.map

15

package.json
{
"name": "@latticexyz/abi-ts",
"version": "2.2.18-90aac1d4acce19ac592d47a090732dd11c1c3e7a",
"version": "2.2.18-9fa07c8489f1fbf167d0db01cd9aaa645a29c8e2",
"description": "Create TypeScript type declaration files (`.d.ts`) for your ABI JSON files.",

@@ -13,3 +13,12 @@ "repository": {

"exports": {
"./internal": "./dist/exports/internal.js"
"./internal": {
"import": {
"import": "./dist/exports/internal.js",
"types": "./dist/exports/internal.d.ts"
},
"require": {
"require": "./dist/exports/internal.cjs",
"types": "./dist/exports/internal.d.cts"
}
}
},

@@ -47,5 +56,5 @@ "typesVersions": {

"dev": "tsup --watch",
"test": "vitest typecheck --run --passWithNoTests && vitest --run --passWithNoTests",
"test": "vitest --run",
"test:ci": "pnpm run test"
}
}

Sorry, the diff of this file is not supported yet

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