File tree Expand file tree Collapse file tree 6 files changed +1689
-3055
lines changed
instrumentation-javascript Expand file tree Collapse file tree 6 files changed +1689
-3055
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @syntest/analysis-javascript" ,
3
- "version" : " 0.1.0-beta.21 " ,
3
+ "version" : " 0.1.0-beta.22 " ,
4
4
"description" : " SynTest CFG JavaScript is a library for generating control flow graphs for the JavaScript language" ,
5
5
"keywords" : [
6
6
" syntest" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @syntest/instrumentation-javascript" ,
3
- "version" : " 0.1.0-beta.20 " ,
3
+ "version" : " 0.1.0-beta.21 " ,
4
4
"description" : " SynTest Instrumentation JavaScript is a library for instrumenting JavaScript code" ,
5
5
"keywords" : [
6
6
" syntest" ,
46
46
"test:watch" : " mocha --config ../../.mocharc.json --watch"
47
47
},
48
48
"dependencies" : {
49
- "@syntest/analysis-javascript" : " ^0.1.0-beta.21" ,
50
49
"@babel/core" : " 7.20.12" ,
51
50
"@babel/traverse" : " 7.20.12" ,
52
51
"@istanbuljs/schema" : " ^0.1.3" ,
52
+ "@syntest/analysis-javascript" : " ^0.1.0-beta.22" ,
53
53
"@syntest/ast-visitor-javascript" : " *" ,
54
54
"@syntest/storage" : " *" ,
55
55
"istanbul-lib-coverage" : " ^3.2.0"
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ type RenamedImport = {
45
45
46
46
type Require = {
47
47
left : string ;
48
- leftVars : string ;
49
48
right : string ;
50
49
} ;
51
50
@@ -238,12 +237,11 @@ export class ContextBuilder {
238
237
239
238
const require : Require = {
240
239
left : "" ,
241
- leftVars : "" ,
242
240
right : `require("${ _path } ")` ,
243
241
} ;
244
242
245
243
if ( import_ . renamed ) {
246
- require . leftVars = require . left = import_ . default
244
+ require . left = import_ . default
247
245
? import_ . renamedTo
248
246
: `{${ import_ . name } : ${ import_ . renamedTo } }` ;
249
247
} else {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @syntest/search-javascript" ,
3
- "version" : " 0.1.0-beta.15 " ,
3
+ "version" : " 0.1.0-beta.16 " ,
4
4
"description" : " SynTest JavaScript is a tool for automatically generating test cases for the JavaScript language" ,
5
5
"keywords" : [
6
6
" syntest" ,
You can’t perform that action at this time.
0 commit comments