1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
denoland-deno/cli/dts
Steven Guerrero adc2f08c17
feat: Add configurable permissions for Workers (#8215)
This commit adds new option to "Worker" Web API that allows to 
configure permissions.

New "Worker.deno.permissions" option can be used to define limited
permissions to the worker thread by either:
- inherit set of parent thread permissions
- use limited subset of parent thread permissions
- revoke all permissions (full sandbox)

In order to achieve this functionality "CliModuleLoader"
was modified to accept "initial permissions", which are used
for top module loading (ie. uses parent thread permission set
to load top level module of a worker).
2021-01-06 21:31:16 +01:00
..
lib.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.deno.ns.d.ts docs: fix doc to remove annotation about removed function Deno.dir (#8732) 2020-12-12 13:16:52 +01:00
lib.deno.shared_globals.d.ts feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
lib.deno.unstable.d.ts BREAKING(unstable): remove CreateHttpClientOptions.caFile (#8928) 2021-01-04 16:55:20 +01:00
lib.deno.window.d.ts build: migrate to dlint (#8176) 2020-11-03 16:19:29 +01:00
lib.deno.worker.d.ts build: migrate to dlint (#8176) 2020-11-03 16:19:29 +01:00
lib.dom.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.dom.iterable.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es5.d.ts upgrade TypeScript to 4.1.3 (#8785) 2020-12-16 11:46:32 -05:00
lib.es6.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2015.collection.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2015.core.d.ts feat: update to TypeScript 4.0 (#6514) 2020-08-24 19:43:54 -04:00
lib.es2015.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2015.generator.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2015.iterable.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es2015.promise.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es2015.proxy.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es2015.reflect.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2015.symbol.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2015.symbol.wellknown.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es2016.array.include.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2016.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2016.full.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2017.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2017.full.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2017.intl.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2017.object.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2017.sharedmemory.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es2017.string.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2017.typedarrays.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2018.asyncgenerator.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2018.asynciterable.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2018.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2018.full.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2018.intl.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2018.promise.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2018.regexp.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2019.array.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2019.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2019.full.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2019.object.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2019.string.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2019.symbol.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2020.bigint.d.ts feat: update to TypeScript 4.0 (#6514) 2020-08-24 19:43:54 -04:00
lib.es2020.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es2020.full.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2020.intl.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es2020.promise.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2020.sharedmemory.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.es2020.string.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.es2020.symbol.wellknown.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.esnext.d.ts feat(cli): add types for WeakRef/FinalizationRegistry (#8056) 2020-10-21 21:57:01 +11:00
lib.esnext.full.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.esnext.intl.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.esnext.promise.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.esnext.string.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.esnext.weakref.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.scripthost.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.webworker.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
lib.webworker.importscripts.d.ts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lib.webworker.iterable.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00
README.md chore: fixed various misspellings and other typos (#8691) 2020-12-11 06:45:45 +11:00
typescript.d.ts feat(cli): update to TypeScript 4.1 (#7573) 2020-11-24 09:31:10 +11:00

How to upgrade TypeScript.

The files in this directory are mostly from the TypeScript repository. We currently (unfortunately) have a rather manual process for upgrading TypeScript. It works like this currently:

  1. Checkout typescript repo in a separate directory.
  2. Copy typescript.js into Deno repo.
  3. Copy d.ts files into dts directory.

So that might look something like this:

git clone https://github.com/microsoft/TypeScript.git
cd typescript
git checkout v3.9.7
rsync lib/typescript.js ~/src/deno/cli/tsc/00_typescript.js
rsync --exclude=protocol.d.ts --exclude=tsserverlibrary.d.ts --exclude=typescriptServices.d.ts lib/*.d.ts ~/src/deno/cli/dts/