Skip to content

Commit 7762b55

Browse files
committed
Add LICENSE
1 parent 833137b commit 7762b55

28 files changed

+76
-0
lines changed

LICENSE.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2018 Ryan Dahl <[email protected]>
2+
All rights reserved. MIT License.
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of
5+
this software and associated documentation files (the "Software"), to deal in
6+
the Software without restriction, including without limitation the rights to
7+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8+
of the Software, and to permit persons to whom the Software is furnished to do
9+
so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20+
SOFTWARE.

deno.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
declare module "deno" {
24
type MessageCallback = (msg: Uint8Array) => void;
35
function sub(channel: string, cb: MessageCallback): void;

deno_dir.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

deno_dir_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

dispatch.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

dispatch.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
import { typedArrayToArrayBuffer } from "./util";
24
import { _global } from "./globals";
35
import { main as pb } from "./msg.pb";

echo.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
// For testing

fetch.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

fetch.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
import { assert, log, createResolvable, Resolvable } from "./util";
24
import * as util from "./util";
35
import * as dispatch from "./dispatch";

globals.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
import * as timer from "./timers";
24

35
// If you use the eval function indirectly, by invoking it via a reference

integration_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

main.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

main.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
// This allows us to have async/await in our code. It must be loaded first.
24
import "babel-polyfill";
35

msg.proto

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
syntax = "proto3";
24
package main;
35

os.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

os.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
import { ModuleInfo } from "./types";
24
import { sendMsg } from "./dispatch";
35
import { main as pb } from "./msg.pb";

os_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

runtime.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
// Glossary
24
// outputCode = generated javascript code
35
// sourceCode = typescript code (or input javascript code)

tests.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
// This test is executed as part of integration_test.go
24
// But it can also be run manually:
35
// ./deno tests.ts

text-encoding.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
// Type definitions for text-encoding
24
// Project: https://github.com/inexorabletash/text-encoding
35
// Definitions by: MIZUNE Pine <https://github.com/pine613>

timers.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

timers.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
import { main as pb } from "./msg.pb";
24
import * as dispatch from "./dispatch";
35
import { assert } from "./util";

types.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
export type TypedArray = Uint8Array | Float32Array | Int32Array;
24

35
export interface ModuleInfo {

url.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
/* Any copyright is dedicated to the Public Domain.
24
* http://creativecommons.org/publicdomain/zero/1.0/
35
* Forked from https://github.com/github/url-polyfill

util.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
package main
24

35
import (

util.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
import { debug } from "./main";
24
import { TypedArray } from "./types";
35

v8_source_maps.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2014 Evan Wallace
2+
// Copyright 2018 Ryan Dahl <[email protected]>
3+
// All rights reserved. MIT License.
4+
// Originated from source-map-support but has been heavily modified for deno.
15
import { SourceMapConsumer, MappedPosition } from "source-map";
26
import * as base64 from "base64-js";
37

v8worker2.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2018 Ryan Dahl <[email protected]>
2+
// All rights reserved. MIT License.
13
declare namespace V8Worker2 {
24
function print(...args: any[]): void;
35
type RecvCallback = (ab: ArrayBuffer) => void;

0 commit comments

Comments
 (0)