mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
Add LICENSE
This commit is contained in:
parent
833137be37
commit
7762b55432
28 changed files with 76 additions and 0 deletions
20
LICENSE.txt
Normal file
20
LICENSE.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
All rights reserved. MIT License.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
2
deno.d.ts
vendored
2
deno.d.ts
vendored
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
declare module "deno" {
|
||||
type MessageCallback = (msg: Uint8Array) => void;
|
||||
function sub(channel: string, cb: MessageCallback): void;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
import { typedArrayToArrayBuffer } from "./util";
|
||||
import { _global } from "./globals";
|
||||
import { main as pb } from "./msg.pb";
|
||||
|
|
2
echo.go
2
echo.go
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
// For testing
|
||||
|
|
2
fetch.go
2
fetch.go
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
2
fetch.ts
2
fetch.ts
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
import { assert, log, createResolvable, Resolvable } from "./util";
|
||||
import * as util from "./util";
|
||||
import * as dispatch from "./dispatch";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
import * as timer from "./timers";
|
||||
|
||||
// If you use the eval function indirectly, by invoking it via a reference
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
2
main.go
2
main.go
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
2
main.ts
2
main.ts
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// This allows us to have async/await in our code. It must be loaded first.
|
||||
import "babel-polyfill";
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
syntax = "proto3";
|
||||
package main;
|
||||
|
||||
|
|
2
os.go
2
os.go
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
2
os.ts
2
os.ts
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
import { ModuleInfo } from "./types";
|
||||
import { sendMsg } from "./dispatch";
|
||||
import { main as pb } from "./msg.pb";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Glossary
|
||||
// outputCode = generated javascript code
|
||||
// sourceCode = typescript code (or input javascript code)
|
||||
|
|
2
tests.ts
2
tests.ts
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// This test is executed as part of integration_test.go
|
||||
// But it can also be run manually:
|
||||
// ./deno tests.ts
|
||||
|
|
2
text-encoding.d.ts
vendored
2
text-encoding.d.ts
vendored
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Type definitions for text-encoding
|
||||
// Project: https://github.com/inexorabletash/text-encoding
|
||||
// Definitions by: MIZUNE Pine <https://github.com/pine613>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
import { main as pb } from "./msg.pb";
|
||||
import * as dispatch from "./dispatch";
|
||||
import { assert } from "./util";
|
||||
|
|
2
types.ts
2
types.ts
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
export type TypedArray = Uint8Array | Float32Array | Int32Array;
|
||||
|
||||
export interface ModuleInfo {
|
||||
|
|
2
url.js
2
url.js
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
/* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/
|
||||
* Forked from https://github.com/github/url-polyfill
|
||||
|
|
2
util.go
2
util.go
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
2
util.ts
2
util.ts
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
import { debug } from "./main";
|
||||
import { TypedArray } from "./types";
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright 2014 Evan Wallace
|
||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
// Originated from source-map-support but has been heavily modified for deno.
|
||||
import { SourceMapConsumer, MappedPosition } from "source-map";
|
||||
import * as base64 from "base64-js";
|
||||
|
||||
|
|
2
v8worker2.d.ts
vendored
2
v8worker2.d.ts
vendored
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||
// All rights reserved. MIT License.
|
||||
declare namespace V8Worker2 {
|
||||
function print(...args: any[]): void;
|
||||
type RecvCallback = (ab: ArrayBuffer) => void;
|
||||
|
|
Loading…
Reference in a new issue