File tree Expand file tree Collapse file tree 6 files changed +27
-6
lines changed Expand file tree Collapse file tree 6 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 1
1
import wrapper from './wrapper' ;
2
2
3
3
const soljson = require ( './soljson.js' ) ;
4
+ const wrapped = wrapper ( soljson ) ;
4
5
5
- export default wrapper ( soljson ) ;
6
+ const {
7
+ version,
8
+ semver,
9
+ license,
10
+ lowlevel,
11
+ features,
12
+ compile,
13
+ loadRemoteVersion,
14
+ setupMethods
15
+ } = wrapped ;
16
+
17
+ export {
18
+ version ,
19
+ semver ,
20
+ license ,
21
+ lowlevel ,
22
+ features ,
23
+ compile ,
24
+ loadRemoteVersion ,
25
+ setupMethods
26
+ } ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import * as commander from 'commander';
4
4
import * as fs from 'fs' ;
5
5
import * as os from 'os' ;
6
6
import * as path from 'path' ;
7
- import solc from './index' ;
7
+ import * as solc from './index' ;
8
8
import smtchecker from './smtchecker' ;
9
9
import smtsolver from './smtsolver' ;
10
10
Original file line number Diff line number Diff line change 1
1
import * as assert from 'assert' ;
2
2
import * as tape from 'tape' ;
3
3
import * as semver from 'semver' ;
4
- import solc from '../' ;
4
+ import * as solc from '../' ;
5
5
import linker from '../linker' ;
6
6
import { execSync } from 'child_process' ;
7
7
import wrapper from '../wrapper' ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import * as tape from 'tape';
3
3
import * as fs from 'fs' ;
4
4
import * as path from 'path' ;
5
5
import * as semver from 'semver' ;
6
- import solc from '../' ;
6
+ import * as solc from '../' ;
7
7
import smtchecker from '../smtchecker' ;
8
8
import smtsolver from '../smtsolver' ;
9
9
Original file line number Diff line number Diff line change 1
1
import * as tape from 'tape' ;
2
2
import * as semver from 'semver' ;
3
- import solc from '../' ;
3
+ import * as solc from '../' ;
4
4
import smtchecker from '../smtchecker' ;
5
5
import smtsolver from '../smtsolver' ;
6
6
Original file line number Diff line number Diff line change 3
3
import * as semver from 'semver' ;
4
4
5
5
import { version as packageVersion } from './package.json' ;
6
- import solc from './' ;
6
+ import * as solc from './' ;
7
7
8
8
const solcVersion = ( solc as any ) . version ( ) ;
9
9
You can’t perform that action at this time.
0 commit comments