Skip to content

Commit

Permalink
add readme, updates
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 13, 2019
1 parent 7574572 commit d5de70a
Show file tree
Hide file tree
Showing 18 changed files with 801 additions and 36 deletions.
751 changes: 751 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# jspm 2 core libraries

This package contains the core libraries used in jspm 2.

Currently this is only the `nodelibs/` folder implementing the optimized browser versions of the Node.js builtins.

Updates and PRs to this repo to implement the latest Node.js APIs are welcome.

### LICENSE

Apache 2.0
21 changes: 12 additions & 9 deletions jspm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resolve": {
"@jspm/core": "npm:@jspm/core@1.0.2",
"@jspm/core": "npm:@jspm/core@1.0.3",
"node-assert": "npm:assert@1.4.1",
"node-buffer": "npm:buffer@5.2.1",
"node-console": "npm:console-browserify@1.1.0",
Expand All @@ -24,12 +24,12 @@
"node-vm": "npm:vm-browserify@1.1.0",
"node-zlib": "npm:browserify-zlib@0.2.0",
"readable-stream": "npm:readable-stream@2.3.6",
"rollup": "npm:rollup@1.8.0",
"rollup": "npm:rollup@1.10.0",
"rollup-plugin-jspm": "github:@jspm/rollup-plugin-jspm@master"
},
"dependencies": {
"github:@jspm/rollup-plugin-jspm@master": {
"source": "https://github.com/jspm/rollup-plugin-jspm/archive/aa5804e0ce6cb5f36089d1f9dad65057684ffbe1.tar.gz",
"source": "https://github.com/jspm/rollup-plugin-jspm/archive/9851e098150f530a2b69068215160373e5e86ef4.tar.gz",
"resolve": {
"@jspm/core": "npm:@jspm/core@1.0.2",
"@babel/core": "npm:@babel/core@7.4.0",
Expand Down Expand Up @@ -144,14 +144,17 @@
"npm:@jspm/core@1.0.2": {
"source": "https://registry.npmjs.org/@jspm/core/-/core-1.0.2.tgz#sha512-s6j6Sh1tqTPv9Mqp75IuR+aMIxJ89J6Zpi5U2V/AEcPatVA10haAliX6yXPl/81zL/lBN2sV44JTfETcEIyTUg=="
},
"npm:@jspm/core@1.0.3": {
"source": "https://registry.npmjs.org/@jspm/core/-/core-1.0.3.tgz#sha512-8gC/FGvWkG/WtKXYnvhDeJCtokCj45runoJ/q+c1NYhVsf1kSaTEsPN1LfuwQzVnFXnepc1BW903W4tkyJZWww=="
},
"npm:@jspm/resolve@0.3.0": {
"source": "git+ssh://git@github.com/jspm/jspm-resolve#d66b0f56f5d9af86ffaa6024d15884afbf6a6b54"
},
"npm:@types/estree@0.0.39": {
"source": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw=="
},
"npm:@types/node@11.12.1": {
"source": "https://registry.npmjs.org/@types/node/-/node-11.12.1.tgz#sha512-sKDlqv6COJrR7ar0+GqqhrXQDzQlMcqMnF2iEU6m9hLo8kxozoAGUazwPyELHlRVmjsbvlnGXjnzyptSXVmceA=="
"npm:@types/node@11.13.4": {
"source": "https://registry.npmjs.org/@types/node/-/node-11.13.4.tgz#sha512-+rabAZZ3Yn7tF/XPGHupKIL5EcAbrLxnTr/hgQICxbeuAfWtT0UZSfULE+ndusckBItcv4o6ZeOJplQikVcLvQ=="
},
"npm:acorn@6.1.1": {
"source": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz#sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA=="
Expand Down Expand Up @@ -580,12 +583,12 @@
"hash-base": "npm:hash-base@3.0.4"
}
},
"npm:rollup@1.8.0": {
"source": "https://registry.npmjs.org/rollup/-/rollup-1.8.0.tgz#sha512-dKxL6ihUZ9YrVySKf/LBz5joW2sqwWkiuki34279Ppr2cL+O6Za6Ujovk+rtTX0AFCIsH1rs6y8LYKdZZ/7C5A==",
"npm:rollup@1.10.0": {
"source": "https://registry.npmjs.org/rollup/-/rollup-1.10.0.tgz#sha512-U9t/JaKtO0+X0pSmLVKMrAZEixrbVzITf193TiEhfoVKCnd7pDimIFo94IxUCgbn6+v5VmduHkubx2VV1s0Ftw==",
"resolve": {
"@types/estree": "npm:@types/estree@0.0.39",
"@types/node": "npm:@types/node@11.12.1",
"acorn": "npm:acorn@6.1.1"
"acorn": "npm:acorn@6.1.1",
"@types/node": "npm:@types/node@11.13.4"
}
},
"npm:safe-buffer@5.1.2": {
Expand Down
2 changes: 1 addition & 1 deletion nodelibs/assert.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { a as dew } from './chunk-2b1f9012.js';
import { a as dew } from './chunk-d6577e34.js';
import _process from './process.js';

var exports$1 = {},
Expand Down
4 changes: 2 additions & 2 deletions nodelibs/chunk-14980483.js → nodelibs/chunk-70571ed9.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _process from './process.js';
import _buffer from './buffer.js';
import { a as dew } from './chunk-2db5f7d7.js';
import { a as dew$1, b as exports$3 } from './chunk-ed65735f.js';
import { a as dew } from './chunk-bdb48c3e.js';
import { a as dew$1, b as exports$3 } from './chunk-931ab749.js';
import _events from './events.js';

var exports$1 = {},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions nodelibs/console.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import './chunk-2b1f9012.js';
import './chunk-d6577e34.js';
import './process.js';
import _assert from './assert.js';
import './chunk-2db5f7d7.js';
import './chunk-bdb48c3e.js';
import _util from './util.js';

var exports$1 = {},
Expand Down
6 changes: 3 additions & 3 deletions nodelibs/crypto.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import _process from './process.js';
import _buffer from './buffer.js';
import { a as dew$1 } from './chunk-2db5f7d7.js';
import { a as dew, b as exports$3 } from './chunk-ed65735f.js';
import { a as dew$1 } from './chunk-bdb48c3e.js';
import { a as dew, b as exports$3 } from './chunk-931ab749.js';
import './events.js';
import { d as _crypto } from './chunk-14980483.js';
import { d as _crypto } from './chunk-70571ed9.js';
import _stream from './stream.js';
import _vm from './vm.js';

Expand Down
6 changes: 3 additions & 3 deletions nodelibs/http.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import _process from './process.js';
import _buffer from './buffer.js';
import { a as dew } from './chunk-2db5f7d7.js';
import './chunk-ed65735f.js';
import { a as dew } from './chunk-bdb48c3e.js';
import './chunk-931ab749.js';
import './events.js';
import { a as dew$e } from './chunk-14980483.js';
import { a as dew$e } from './chunk-70571ed9.js';
import './querystring.js';
import _url from './url.js';

Expand Down
6 changes: 3 additions & 3 deletions nodelibs/https.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import './process.js';
import './buffer.js';
import './chunk-2db5f7d7.js';
import './chunk-ed65735f.js';
import './chunk-bdb48c3e.js';
import './chunk-931ab749.js';
import './events.js';
import './chunk-14980483.js';
import './chunk-70571ed9.js';
import './querystring.js';
import _url from './url.js';
import _http from './http.js';
Expand Down
6 changes: 3 additions & 3 deletions nodelibs/stream.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import './process.js';
import './buffer.js';
import { a as dew } from './chunk-2db5f7d7.js';
import './chunk-ed65735f.js';
import { a as dew } from './chunk-bdb48c3e.js';
import './chunk-931ab749.js';
import _events from './events.js';
import { a as dew$e, b as dew$9, c as dew$a } from './chunk-14980483.js';
import { a as dew$e, b as dew$9, c as dew$a } from './chunk-70571ed9.js';

var exports$1 = {},
_dewExec = false;
Expand Down
2 changes: 1 addition & 1 deletion nodelibs/string_decoder.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import './buffer.js';
export { c as StringDecoder, b as default } from './chunk-ed65735f.js';
export { c as StringDecoder, b as default } from './chunk-931ab749.js';
4 changes: 2 additions & 2 deletions nodelibs/sys.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import './chunk-2b1f9012.js';
import './chunk-d6577e34.js';
import './process.js';
import './chunk-2db5f7d7.js';
import './chunk-bdb48c3e.js';
export { _extend, callbackify, debuglog, deprecate, format, inherits, inspect, isArray, isBoolean, isBuffer, isDate, isError, isFunction, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isRegExp, isString, isSymbol, isUndefined, log, promisify } from './util.js';
4 changes: 2 additions & 2 deletions nodelibs/util.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { a as dew } from './chunk-2b1f9012.js';
import { a as dew } from './chunk-d6577e34.js';
import _process from './process.js';
import { a as dew$1 } from './chunk-2db5f7d7.js';
import { a as dew$1 } from './chunk-bdb48c3e.js';

var exports$1 = {},
_dewExec = false;
Expand Down
8 changes: 4 additions & 4 deletions nodelibs/zlib.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import './chunk-2b1f9012.js';
import './chunk-d6577e34.js';
import _process from './process.js';
import _assert from './assert.js';
import _buffer from './buffer.js';
import './chunk-2db5f7d7.js';
import './chunk-bdb48c3e.js';
import _util from './util.js';
import './chunk-ed65735f.js';
import './chunk-931ab749.js';
import './events.js';
import './chunk-14980483.js';
import './chunk-70571ed9.js';
import _stream from './stream.js';

var exports$1 = {},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.3",
"description": "jspm core libraries",
"author": "Guy Bedford",
"license": "MIT",
"license": "Apache 2.0",
"files": [
"resolve.js",
"nodelibs/*.js"
Expand Down

0 comments on commit d5de70a

Please sign in to comment.