├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── add-to-project.yml │ ├── mocha-reporter-config.json │ ├── release.yml │ ├── semantic.yml │ └── test.yml ├── .gitignore ├── .releaserc.json ├── .yarn └── releases │ └── yarn-4.10.3.cjs ├── .yarnrc.yml ├── LICENSE ├── README.md ├── docs └── migration-2.md ├── index.d.ts ├── main ├── index.d.ts └── index.js ├── package.json ├── renderer ├── index.d.ts └── index.js ├── src ├── common │ ├── get-electron-binding.ts │ ├── ipc-messages.ts │ ├── module-names.ts │ ├── type-utils.ts │ └── types.d.ts ├── internal-ambient.d.ts ├── main │ ├── index.ts │ ├── objects-registry.ts │ └── server.ts └── renderer │ ├── callbacks-registry.ts │ ├── index.ts │ └── remote.ts ├── test ├── all.ts ├── events-helpers.ts ├── fixtures │ ├── call.js │ ├── circular.js │ ├── class.js │ ├── error-properties.js │ ├── exception.js │ ├── export-function-with-properties.js │ ├── function-with-args.js │ ├── function-with-missing-properties.js │ ├── function-with-properties.js │ ├── function.js │ ├── id.js │ ├── no-prototype.js │ ├── preload-remote-function.js │ ├── print_name.js │ ├── promise.js │ ├── property.js │ ├── rejected-promise.js │ ├── remote-event-handler.html │ ├── remote-object-set.js │ ├── remote-static.js │ ├── render-view-deleted.html │ ├── send-on-exit.html │ ├── to-string-non-function.js │ └── unhandled-rejection.js ├── index.js └── window-helpers.ts ├── tsconfig.json └── yarn.lock /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/add-to-project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.github/workflows/add-to-project.yml -------------------------------------------------------------------------------- /.github/workflows/mocha-reporter-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.github/workflows/mocha-reporter-config.json -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/semantic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.github/workflows/semantic.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.gitignore -------------------------------------------------------------------------------- /.releaserc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.releaserc.json -------------------------------------------------------------------------------- /.yarn/releases/yarn-4.10.3.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.yarn/releases/yarn-4.10.3.cjs -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/README.md -------------------------------------------------------------------------------- /docs/migration-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/docs/migration-2.md -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/index.d.ts -------------------------------------------------------------------------------- /main/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from '../dist/src/main'; 2 | -------------------------------------------------------------------------------- /main/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../dist/src/main') 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/package.json -------------------------------------------------------------------------------- /renderer/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from '../dist/src/renderer'; 2 | -------------------------------------------------------------------------------- /renderer/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../dist/src/renderer') 2 | -------------------------------------------------------------------------------- /src/common/get-electron-binding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/common/get-electron-binding.ts -------------------------------------------------------------------------------- /src/common/ipc-messages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/common/ipc-messages.ts -------------------------------------------------------------------------------- /src/common/module-names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/common/module-names.ts -------------------------------------------------------------------------------- /src/common/type-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/common/type-utils.ts -------------------------------------------------------------------------------- /src/common/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/common/types.d.ts -------------------------------------------------------------------------------- /src/internal-ambient.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/internal-ambient.d.ts -------------------------------------------------------------------------------- /src/main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/main/index.ts -------------------------------------------------------------------------------- /src/main/objects-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/main/objects-registry.ts -------------------------------------------------------------------------------- /src/main/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/main/server.ts -------------------------------------------------------------------------------- /src/renderer/callbacks-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/renderer/callbacks-registry.ts -------------------------------------------------------------------------------- /src/renderer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/renderer/index.ts -------------------------------------------------------------------------------- /src/renderer/remote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/src/renderer/remote.ts -------------------------------------------------------------------------------- /test/all.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/all.ts -------------------------------------------------------------------------------- /test/events-helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/events-helpers.ts -------------------------------------------------------------------------------- /test/fixtures/call.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/call.js -------------------------------------------------------------------------------- /test/fixtures/circular.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/circular.js -------------------------------------------------------------------------------- /test/fixtures/class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/class.js -------------------------------------------------------------------------------- /test/fixtures/error-properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/error-properties.js -------------------------------------------------------------------------------- /test/fixtures/exception.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/exception.js -------------------------------------------------------------------------------- /test/fixtures/export-function-with-properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/export-function-with-properties.js -------------------------------------------------------------------------------- /test/fixtures/function-with-args.js: -------------------------------------------------------------------------------- 1 | module.exports = function (cb) { 2 | return cb.length 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/function-with-missing-properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/function-with-missing-properties.js -------------------------------------------------------------------------------- /test/fixtures/function-with-properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/function-with-properties.js -------------------------------------------------------------------------------- /test/fixtures/function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/function.js -------------------------------------------------------------------------------- /test/fixtures/id.js: -------------------------------------------------------------------------------- 1 | exports.id = 1127 2 | -------------------------------------------------------------------------------- /test/fixtures/no-prototype.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/no-prototype.js -------------------------------------------------------------------------------- /test/fixtures/preload-remote-function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/preload-remote-function.js -------------------------------------------------------------------------------- /test/fixtures/print_name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/print_name.js -------------------------------------------------------------------------------- /test/fixtures/promise.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/promise.js -------------------------------------------------------------------------------- /test/fixtures/property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/property.js -------------------------------------------------------------------------------- /test/fixtures/rejected-promise.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/rejected-promise.js -------------------------------------------------------------------------------- /test/fixtures/remote-event-handler.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/remote-event-handler.html -------------------------------------------------------------------------------- /test/fixtures/remote-object-set.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/remote-object-set.js -------------------------------------------------------------------------------- /test/fixtures/remote-static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/remote-static.js -------------------------------------------------------------------------------- /test/fixtures/render-view-deleted.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/render-view-deleted.html -------------------------------------------------------------------------------- /test/fixtures/send-on-exit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/send-on-exit.html -------------------------------------------------------------------------------- /test/fixtures/to-string-non-function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/to-string-non-function.js -------------------------------------------------------------------------------- /test/fixtures/unhandled-rejection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/fixtures/unhandled-rejection.js -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/index.js -------------------------------------------------------------------------------- /test/window-helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/test/window-helpers.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/electron/remote/HEAD/yarn.lock --------------------------------------------------------------------------------