Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@boardroom/protocol-info

Package Overview
Dependencies
Maintainers
6
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boardroom/protocol-info - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

dist/index.js

7

index.d.ts

@@ -1,5 +0,4 @@

import { Protocol } from "./types";
declare module "boardroomInfo" {
export = Protocol;
declare module "@boardroom/protocol-info" {
function protocolInfo(): void;
export = protocolInfo;
}
{
"name": "@boardroom/protocol-info",
"version": "2.1.2",
"version": "2.1.3",
"description": "Project information which will be served to display on the Boardroom Governance Portal.",
"main": "dist/index.ts",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": "https://github.com/boardroom-inc/protocol-Info.git",

@@ -21,3 +22,3 @@ "author": "sudheer <sudheer.105@gmail.com>",

"scripts": {
"build": "ts-node ./scripts/build.ts",
"build": "ts-node ./scripts/build.ts && tsc -d",
"prepare": "yarn build",

@@ -24,0 +25,0 @@ "validate": "yarn build && ts-node ./scripts/validate.ts"

@@ -11,7 +11,10 @@ import fs from "fs";

mkdirp.sync("./dist");
fs.copyFileSync("./index.d.ts", "./dist/index.d.ts");
fs.copyFileSync("./types.ts", "./dist/types.ts");
fs.writeFileSync(
"./dist/index.ts",
`export default [${protocolInfo.toString()}];`
`
import { Protocol } from "../types";
export default [${protocolInfo.toString()}] as Protocol[];
`
);

@@ -5,3 +5,3 @@ {

"module": "commonjs",
"outDir": "dist",
"outDir": ".",
"strict": true,

@@ -14,3 +14,5 @@ "noImplicitAny": true,

"resolveJsonModule": true
}
},
"include": ["./dist"],
"exclude": ["./node_modules"]
}
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