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

@layerzerolabs/hardhat-collect-outcomes

Package Overview
Dependencies
Maintainers
8
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@layerzerolabs/hardhat-collect-outcomes - npm Package Compare versions

Comparing version 2.3.7 to 2.3.8

6

CHANGELOG.md
# @layerzerolabs/hardhat-collect-outcomes
## 2.3.8
### Patch Changes
- e0f5d04: deploy contracts to Ebi mainnet
## 2.3.7

@@ -4,0 +10,0 @@

14

dist/src/index.js

@@ -30,3 +30,3 @@ "use strict";

target: (0, utils_1.abspath)(setting.target, config.paths.root),
patterns: setting.patterns ?? [],
patterns: setting.patterns,
skip: setting.skip,

@@ -40,3 +40,3 @@ noCopy: setting.noCopy ?? false,

target: (0, utils_1.abspath)(setting.target, config.paths.root),
patterns: setting.patterns ?? [],
patterns: setting.patterns,
noCopy: setting.noCopy ?? false,

@@ -49,3 +49,3 @@ };

target: (0, utils_1.abspath)(setting.target, config.paths.root),
patterns: setting.patterns ?? [],
patterns: setting.patterns,
};

@@ -67,2 +67,3 @@ }

(0, config_1.subtask)(task_names_1.TASK_COMPILE_SOLIDITY_COMPILE_JOBS, 'copying artifacts').setAction(async (taskArgs, { config, network }, runSuper) => {
/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
const compileSolOutput = await runSuper(taskArgs);

@@ -83,3 +84,3 @@ if (config.paths.collects.artifacts === undefined) {

const patterns = config.paths.collects.artifacts.patterns.map((p) => `${artifactsRoot}/${p}`);
const target = config.paths.collects.artifacts.target;
const { target } = config.paths.collects.artifacts;
for (const pattern of patterns) {

@@ -92,4 +93,6 @@ const files = await (0, glob_1.glob)(pattern);

return compileSolOutput;
/* eslint-enable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
});
(0, config_1.subtask)(hardhat_deploy_1.TASK_DEPLOY_RUN_DEPLOY, 'deploy run only').setAction(async (taskArgs, { config }, runSuper) => {
/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
const deployOutput = await runSuper(taskArgs);

@@ -104,3 +107,3 @@ if (config.paths.collects.deployments === undefined) {

const patterns = config.paths.collects.deployments.patterns.map((p) => `${deploymentsRoot}/${p}`);
const target = config.paths.collects.deployments.target;
const { target } = config.paths.collects.deployments;
for (const pattern of patterns) {

@@ -113,3 +116,4 @@ const files = await (0, glob_1.glob)(pattern);

return deployOutput;
/* eslint-enable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
});
//# sourceMappingURL=index.js.map

@@ -27,6 +27,6 @@ "use strict";

exports.sanitizePath = exports.copyFilesInRelativePath = exports.globFiles = exports.abspath = void 0;
const path = __importStar(require("path"));
const fs = __importStar(require("node:fs"));
const path = __importStar(require("node:path"));
const util = __importStar(require("node:util"));
const minimatch_1 = require("minimatch");
const fs = require('node:fs');
const util = require('node:util');
function abspath(p, root) {

@@ -45,3 +45,3 @@ if (path.isAbsolute(p)) {

}
return retval;
return Promise.resolve(retval);
}

@@ -48,0 +48,0 @@ exports.globFiles = globFiles;

{
"name": "@layerzerolabs/hardhat-collect-outcomes",
"version": "2.3.7",
"version": "2.3.8",
"description": "hardhat plugin to collect files from smart contracts",

@@ -36,3 +36,3 @@ "keywords": [

"@ethersproject/providers": "^5.7.0",
"@layerzerolabs/typescript-config-next": "^2.3.7",
"@layerzerolabs/typescript-config-next": "^2.3.8",
"@nomiclabs/hardhat-ethers": "^2.2.3",

@@ -39,0 +39,0 @@ "@typechain/ethers-v5": "^10.2.1",

@@ -7,3 +7,2 @@ // This import is needed to let the TypeScript compiler know that it should include your type

import { extendConfig, subtask, task } from 'hardhat/config'
import { HardhatConfig } from 'hardhat/types'
import { TASK_DEPLOY_RUN_DEPLOY } from 'hardhat-deploy'

@@ -33,3 +32,3 @@

target: abspath(setting.target, config.paths.root),
patterns: setting.patterns ?? [],
patterns: setting.patterns,
skip: setting.skip,

@@ -44,3 +43,3 @@ noCopy: setting.noCopy ?? false,

target: abspath(setting.target, config.paths.root),
patterns: setting.patterns ?? [],
patterns: setting.patterns,
noCopy: setting.noCopy ?? false,

@@ -54,3 +53,3 @@ }

target: abspath(setting.target, config.paths.root),
patterns: setting.patterns ?? [],
patterns: setting.patterns,
}

@@ -60,3 +59,3 @@ }

type StoreType = {
interface StoreType {
noCopyArtifacts: boolean

@@ -82,2 +81,3 @@ noCopyDeployments: boolean

async (taskArgs, { config, network }, runSuper) => {
/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
const compileSolOutput = await runSuper(taskArgs)

@@ -99,4 +99,4 @@ if (config.paths.collects.artifacts === undefined) {

const artifactsRoot = sanitizePath(config.paths.artifacts)
const patterns = config.paths.collects.artifacts!.patterns.map((p) => `${artifactsRoot}/${p}`)
const target = config.paths.collects.artifacts!.target
const patterns = config.paths.collects.artifacts.patterns.map((p) => `${artifactsRoot}/${p}`)
const { target } = config.paths.collects.artifacts
for (const pattern of patterns) {

@@ -112,2 +112,3 @@ const files = await glob(pattern)

return compileSolOutput
/* eslint-enable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
}

@@ -117,2 +118,3 @@ )

subtask(TASK_DEPLOY_RUN_DEPLOY, 'deploy run only').setAction(async (taskArgs, { config }, runSuper) => {
/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
const deployOutput = await runSuper(taskArgs)

@@ -127,5 +129,5 @@ if (config.paths.collects.deployments === undefined) {

const deploymentsRoot = (config as HardhatConfig).paths.deployments
const patterns = config.paths.collects.deployments!.patterns.map((p) => `${deploymentsRoot}/${p}`)
const target = config.paths.collects.deployments!.target
const deploymentsRoot = config.paths.deployments
const patterns = config.paths.collects.deployments.patterns.map((p) => `${deploymentsRoot}/${p}`)
const { target } = config.paths.collects.deployments
for (const pattern of patterns) {

@@ -141,2 +143,3 @@ const files = await glob(pattern)

return deployOutput
/* eslint-enable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-return */
})

@@ -1,8 +0,7 @@

import * as path from 'path'
import * as fs from 'node:fs'
import * as path from 'node:path'
import * as util from 'node:util'
import { minimatch } from 'minimatch'
const fs = require('node:fs')
const util = require('node:util')
export function abspath(p: string, root: string): string {

@@ -21,3 +20,3 @@ if (path.isAbsolute(p)) {

}
return retval
return Promise.resolve(retval)
}

@@ -24,0 +23,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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