Skip to content

Commit

Permalink
remove unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Feb 17, 2023
1 parent f643c2e commit 3ba6e46
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 0 additions & 2 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
export { copy, readerFromStreamReader } from 'https://deno.land/[email protected]/streams/mod.ts'
export { process } from 'https://deno.land/[email protected]/node/process.ts'
export { assert } from 'https://deno.land/[email protected]/testing/asserts.ts'
export { translateJsonCompilerOutput } from 'https://esm.sh/v106/[email protected]/es2022/translate.js'
export type {
Alloc,
Expand Down
14 changes: 7 additions & 7 deletions examples/erc20/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ const input: Input = {
language: 'Solidity',
sources: {
'MyToken.sol': {
content: MyToken
content: MyToken,
},
'ERC20.sol': {
content: ERC20
}
content: ERC20,
},
},
settings: {
outputSelection: {
'*': {
'*': ['*']
}
}
}
'*': ['*'],
},
},
},
}

const result = JSON.parse(solc.compile(JSON.stringify(input)))
Expand Down
4 changes: 2 additions & 2 deletions mod_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ describe('solc/wrapper.ts', () => {
await download('./soljson_test.js', '0.8.18')
solc = wrapper(require('./soljson_test.js'))
})
it('returns JS interface', async () => {
it('returns JS interface', () => {
expect(solc.compile).toBeDefined()
expect(solc.version()).toBe('0.8.18+commit.87f61d96.Emscripten.clang')
expect(solc.license()).toContain('Most of the code is licensed under GPLv3 (see below), the license for individual')
})
it('compiles a Solidity file', async () => {
it('compiles a Solidity file', () => {
const input: Input = {
language: 'Solidity',
sources: {
Expand Down

0 comments on commit 3ba6e46

Please sign in to comment.