1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

Add LICENSE

This commit is contained in:
Ryan Dahl 2018-05-28 21:50:44 -04:00
parent 833137be37
commit 7762b55432
28 changed files with 76 additions and 0 deletions

20
LICENSE.txt Normal file
View 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
View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
declare module "deno" { declare module "deno" {
type MessageCallback = (msg: Uint8Array) => void; type MessageCallback = (msg: Uint8Array) => void;
function sub(channel: string, cb: MessageCallback): void; function sub(channel: string, cb: MessageCallback): void;

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { typedArrayToArrayBuffer } from "./util"; import { typedArrayToArrayBuffer } from "./util";
import { _global } from "./globals"; import { _global } from "./globals";
import { main as pb } from "./msg.pb"; import { main as pb } from "./msg.pb";

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
// For testing // For testing

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { assert, log, createResolvable, Resolvable } from "./util"; import { assert, log, createResolvable, Resolvable } from "./util";
import * as util from "./util"; import * as util from "./util";
import * as dispatch from "./dispatch"; import * as dispatch from "./dispatch";

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import * as timer from "./timers"; import * as timer from "./timers";
// If you use the eval function indirectly, by invoking it via a reference // If you use the eval function indirectly, by invoking it via a reference

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -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. // This allows us to have async/await in our code. It must be loaded first.
import "babel-polyfill"; import "babel-polyfill";

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
syntax = "proto3"; syntax = "proto3";
package main; package main;

2
os.go
View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

2
os.ts
View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { ModuleInfo } from "./types"; import { ModuleInfo } from "./types";
import { sendMsg } from "./dispatch"; import { sendMsg } from "./dispatch";
import { main as pb } from "./msg.pb"; import { main as pb } from "./msg.pb";

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
// Glossary // Glossary
// outputCode = generated javascript code // outputCode = generated javascript code
// sourceCode = typescript code (or input javascript code) // sourceCode = typescript code (or input javascript code)

View file

@ -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 // This test is executed as part of integration_test.go
// But it can also be run manually: // But it can also be run manually:
// ./deno tests.ts // ./deno tests.ts

2
text-encoding.d.ts vendored
View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
// Type definitions for text-encoding // Type definitions for text-encoding
// Project: https://github.com/inexorabletash/text-encoding // Project: https://github.com/inexorabletash/text-encoding
// Definitions by: MIZUNE Pine <https://github.com/pine613> // Definitions by: MIZUNE Pine <https://github.com/pine613>

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { main as pb } from "./msg.pb"; import { main as pb } from "./msg.pb";
import * as dispatch from "./dispatch"; import * as dispatch from "./dispatch";
import { assert } from "./util"; import { assert } from "./util";

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
export type TypedArray = Uint8Array | Float32Array | Int32Array; export type TypedArray = Uint8Array | Float32Array | Int32Array;
export interface ModuleInfo { export interface ModuleInfo {

2
url.js
View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ * http://creativecommons.org/publicdomain/zero/1.0/
* Forked from https://github.com/github/url-polyfill * Forked from https://github.com/github/url-polyfill

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main package main
import ( import (

View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { debug } from "./main"; import { debug } from "./main";
import { TypedArray } from "./types"; import { TypedArray } from "./types";

View file

@ -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 { SourceMapConsumer, MappedPosition } from "source-map";
import * as base64 from "base64-js"; import * as base64 from "base64-js";

2
v8worker2.d.ts vendored
View file

@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
declare namespace V8Worker2 { declare namespace V8Worker2 {
function print(...args: any[]): void; function print(...args: any[]): void;
type RecvCallback = (ab: ArrayBuffer) => void; type RecvCallback = (ab: ArrayBuffer) => void;