* Implement closure scope chain analysis in pure TypeScript This change makes use of four V8 intrinsics to avoid having to use a native module to inspect the scope chains of live Function objects. This unfortunately leads to the limitation of not allowing captures of 'this' in arrow functions, but that is something we are willing to live with for now. * Remove native module build and restore from the Makefile * CR feedback: Be a little more efficient when scanning the scope chain * Nuke everything related to custom Node versions and the native Node module * CR feedback: rename native.ts -> v8.ts, document some interfaces in v8.ts
60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "bin",
|
|
"target": "es6",
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"declaration": true,
|
|
"sourceMap": false,
|
|
"stripInternal": true,
|
|
"experimentalDecorators": true,
|
|
"pretty": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitReturns": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strictNullChecks": true
|
|
},
|
|
"files": [
|
|
"index.ts",
|
|
"config.ts",
|
|
"errors.ts",
|
|
"metadata.ts",
|
|
"resource.ts",
|
|
"version.ts",
|
|
|
|
"asset/index.ts",
|
|
"asset/asset.ts",
|
|
"asset/archive.ts",
|
|
|
|
"dynamic/index.ts",
|
|
|
|
"log/index.ts",
|
|
|
|
"runtime/index.ts",
|
|
"runtime/closure/v8.ts",
|
|
"runtime/closure/createClosure.ts",
|
|
"runtime/closure/parseFunction.ts",
|
|
"runtime/closure/serializeClosure.ts",
|
|
"runtime/closure/rewriteSuper.ts",
|
|
"runtime/config.ts",
|
|
"runtime/debuggable.ts",
|
|
"runtime/invoke.ts",
|
|
"runtime/resource.ts",
|
|
"runtime/rpc.ts",
|
|
"runtime/settings.ts",
|
|
"runtime/stack.ts",
|
|
|
|
"cmd/dynamic-provider/index.ts",
|
|
"cmd/run/index.ts",
|
|
|
|
"tests/config.spec.ts",
|
|
"tests/init.spec.ts",
|
|
"tests/util.ts",
|
|
"tests/runtime/closure.spec.ts",
|
|
"tests/runtime/props.spec.ts",
|
|
"tests/runtime/langhost/run.spec.ts"
|
|
]
|
|
}
|
|
|