File tree Expand file tree Collapse file tree
javascript/ql/test/library-tests/PackageExports Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ module . exports . foo = function ( ) { } ;
Original file line number Diff line number Diff line change 1+ {
2+ "main" : " dist/does-not-exist.js"
3+ }
Original file line number Diff line number Diff line change 1+ export function exported ( ) { }
2+
3+ function notExported ( ) { }
Original file line number Diff line number Diff line change 1+ {
2+ "main" : " main.js"
3+ }
Original file line number Diff line number Diff line change 11getTopmostPackageJSON
2+ | absent_main/package.json:1:1:3:1 | {\\n " ... t.js"\\n} |
3+ | esmodules/package.json:1:1:3:1 | {\\n " ... n.js"\\n} |
24| lib1/package.json:1:1:3:1 | {\\n " ... n.js"\\n} |
35getAValueExportedBy
6+ | absent_main/package.json:1:1:3:1 | {\\n " ... t.js"\\n} | absent_main/index.js:1:1:1:0 | this |
7+ | absent_main/package.json:1:1:3:1 | {\\n " ... t.js"\\n} | absent_main/index.js:1:1:1:14 | module.exports |
8+ | absent_main/package.json:1:1:3:1 | {\\n " ... t.js"\\n} | absent_main/index.js:1:1:1:18 | module.exports.foo |
9+ | absent_main/package.json:1:1:3:1 | {\\n " ... t.js"\\n} | absent_main/index.js:1:22:1:21 | this |
10+ | absent_main/package.json:1:1:3:1 | {\\n " ... t.js"\\n} | absent_main/index.js:1:22:1:34 | function() {} |
11+ | esmodules/package.json:1:1:3:1 | {\\n " ... n.js"\\n} | esmodules/main.js:1:8:1:29 | functio ... ed() {} |
412| lib1/package.json:1:1:3:1 | {\\n " ... n.js"\\n} | lib1/foo.js:1:1:1:0 | this |
513| lib1/package.json:1:1:3:1 | {\\n " ... n.js"\\n} | lib1/foo.js:1:1:1:53 | module. ... in() {} |
614| lib1/package.json:1:1:3:1 | {\\n " ... n.js"\\n} | lib1/foo.js:1:18:1:53 | functio ... in() {} |
You can’t perform that action at this time.
0 commit comments