js: update deps & generated bundle

This commit is contained in:
王劲鹏 2020-06-03 11:51:52 +08:00 committed by osborn
parent 0ec0074ed5
commit 46b789c2d1
3 changed files with 30 additions and 20 deletions

View File

@ -10,17 +10,17 @@
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@rollup/plugin-json": "^4.0.2",
"doric": "file:../doric-js", "doric": "file:../doric-js",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"rollup": "^1.29.0", "rollup": "^2.12.1",
"tslib": "^1.10.0", "tslib": "^2.0.0",
"typescript": "^3.7.4" "typescript": "^3.9.3"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-buble": "^0.21.0", "@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^11.0.1", "@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-image": "^2.0.4", "@rollup/plugin-image": "^2.0.5",
"@rollup/plugin-node-resolve": "^7.0.0" "@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^8.0.0"
} }
} }

View File

@ -59,8 +59,18 @@ var doric = (function (exports) {
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
function createCommonjsModule(fn, module) { function createCommonjsModule(fn, basedir, module) {
return module = { exports: {} }, fn(module, module.exports), module.exports; return module = {
path: basedir,
exports: {},
require: function (path, base) {
return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
}
}, fn(module, module.exports), module.exports;
}
function commonjsRequire () {
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
} }
/*! ***************************************************************************** /*! *****************************************************************************

View File

@ -22,22 +22,22 @@
}, },
"homepage": "https://github.com/doric-pub/doric#readme", "homepage": "https://github.com/doric-pub/doric#readme",
"dependencies": { "dependencies": {
"@types/ws": "^6.0.4", "@types/ws": "^7.2.4",
"core-js": "^3.6.4", "core-js": "^3.6.5",
"dts-bundle": "^0.7.3", "dts-bundle": "^0.7.3",
"proxy-polyfill": "^0.3.0", "proxy-polyfill": "^0.3.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"rollup": "^1.29.0", "rollup": "^2.12.1",
"tslib": "^1.10.0", "tslib": "^2.0.0",
"typescript": "^3.9.2", "typescript": "^3.9.3",
"ws": "^7.2.1" "ws": "^7.3.0"
}, },
"publishConfig": { "publishConfig": {
"registry": "https://registry.npmjs.org" "registry": "https://registry.npmjs.org"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-node-resolve": "^7.0.0", "@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-buble": "^0.21.0", "@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^11.0.1" "@rollup/plugin-commonjs": "^12.0.0"
} }
} }