From ef8e184ade0c37ecbe490763638abe84f267dafe Mon Sep 17 00:00:00 2001 From: v1rtl Date: Wed, 13 Jul 2022 16:00:31 +0300 Subject: [PATCH] bump deps --- deps.ts | 8 ++++---- egg.json | 2 +- types.ts | 8 ++++---- utils.ts | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/deps.ts b/deps.ts index d80d6d6..f4d265e 100644 --- a/deps.ts +++ b/deps.ts @@ -1,4 +1,4 @@ -export { createRequire } from 'https://deno.land/std@0.122.0/node/module.ts' -export { existsSync } from 'https://deno.land/std@0.122.0/node/fs.ts' -export { readerFromStreamReader, copy } from 'https://deno.land/std@0.122.0/streams/conversion.ts' -export { process } from 'https://deno.land/std@0.122.0/node/process.ts' +export { createRequire } from 'https://deno.land/std@0.148.0/node/module.ts' +export { existsSync } from 'https://deno.land/std@0.148.0/node/fs.ts' +export { readerFromStreamReader, copy } from 'https://deno.land/std@0.148.0/streams/conversion.ts' +export { process } from 'https://deno.land/std@0.148.0/node/process.ts' diff --git a/egg.json b/egg.json index 6bb9a04..0bb158e 100644 --- a/egg.json +++ b/egg.json @@ -4,7 +4,7 @@ "entry": "./mod.ts", "description": "💎 Solidity v0.8.7 bindings for Deno", "homepage": "https://github.com/deno-libs/solc", - "version": "1.0.3", + "version": "1.0.5", "releaseType": null, "unstable": false, "unlisted": false, diff --git a/types.ts b/types.ts index fcb4d1e..353c91b 100644 --- a/types.ts +++ b/types.ts @@ -44,7 +44,7 @@ export type Contract = { } export type CompilationError = { - component: string + component: 'general' | string errorCode: string formattedMessage: string message: string @@ -101,7 +101,7 @@ export type ContractEVM = { bytecode: { functionDebugData: FunctionDebugData generatedSources: GeneratedSources - linkReferences: Record + linkReferences: Record[] object: string opcodes: string sourceMap: string @@ -110,7 +110,7 @@ export type ContractEVM = { functionDebugData: FunctionDebugData generatedSources: GeneratedSources immutableReferences: Record - linkReferences: Record + linkReferences: Record[] } gasEstimates: GasEstimates legacyAssembly: { @@ -158,7 +158,7 @@ export type Output = { error?: CompilationError errors: CompilationError[] contracts: Record> - sourceList?: Record + sourceList?: string[] sources: Record } diff --git a/utils.ts b/utils.ts index 0b8cd92..af6105b 100644 --- a/utils.ts +++ b/utils.ts @@ -1,4 +1,4 @@ -import * as _assert from 'https://deno.land/x/std@0.122.0/node/assert.ts' +import * as _assert from 'https://deno.land/x/std@0.148.0/node/assert.ts' export const assert = (actual: unknown, message: string) => _assert.strict(actual, message)