Comparing version 3.1.1 to 3.1.2
@@ -5,12 +5,2 @@ "use strict"; | ||
require("core-js/modules/es6.array.map"); | ||
require("core-js/modules/web.dom.iterable"); | ||
require("core-js/modules/es6.array.iterator"); | ||
require("core-js/modules/es6.object.to-string"); | ||
require("core-js/modules/es6.string.iterator"); | ||
var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise")); | ||
@@ -17,0 +7,0 @@ |
@@ -15,4 +15,2 @@ "use strict"; | ||
require("core-js/modules/es6.regexp.replace"); | ||
/* eslint-disable */ | ||
@@ -19,0 +17,0 @@ function utf8Encode(argString) { |
@@ -13,14 +13,4 @@ "use strict"; | ||
require("core-js/modules/es6.typed.uint8-array"); | ||
require("core-js/modules/es6.regexp.split"); | ||
require("core-js/modules/es7.array.includes"); | ||
require("core-js/modules/es6.string.includes"); | ||
var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys")); | ||
require("core-js/modules/es6.array.map"); | ||
var _iterator = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/symbol/iterator")); | ||
@@ -27,0 +17,0 @@ |
@@ -16,12 +16,2 @@ "use strict"; | ||
require("core-js/modules/es6.regexp.to-string"); | ||
require("core-js/modules/es6.date.to-string"); | ||
require("core-js/modules/es6.object.to-string"); | ||
require("core-js/modules/es6.array.fill"); | ||
require("core-js/modules/es6.string.fontsize"); | ||
var _utils = require("./utils"); | ||
@@ -28,0 +18,0 @@ |
@@ -104,4 +104,2 @@ "use strict"; | ||
require("core-js/modules/es6.function.bind"); | ||
var _statisticsLog = _interopRequireDefault(require("./statisticsLog")); | ||
@@ -108,0 +106,0 @@ |
@@ -13,6 +13,2 @@ "use strict"; | ||
require("core-js/modules/es6.array.for-each"); | ||
require("core-js/modules/es6.array.filter"); | ||
var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise")); | ||
@@ -19,0 +15,0 @@ |
@@ -15,6 +15,2 @@ "use strict"; | ||
require("core-js/modules/es6.array.for-each"); | ||
require("core-js/modules/es6.function.name"); | ||
var _iterator = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/symbol/iterator")); | ||
@@ -21,0 +17,0 @@ |
@@ -13,12 +13,4 @@ "use strict"; | ||
require("core-js/modules/es6.regexp.to-string"); | ||
require("core-js/modules/es6.date.to-string"); | ||
require("core-js/modules/es6.object.to-string"); | ||
var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys")); | ||
require("core-js/modules/es6.array.for-each"); | ||
var _iterator = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/symbol/iterator")); | ||
@@ -25,0 +17,0 @@ |
@@ -9,4 +9,2 @@ "use strict"; | ||
require("core-js/modules/es6.array.for-each"); | ||
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property"); | ||
@@ -13,0 +11,0 @@ |
@@ -15,16 +15,4 @@ "use strict"; | ||
require("core-js/modules/es6.function.name"); | ||
var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify")); | ||
require("core-js/modules/web.dom.iterable"); | ||
require("core-js/modules/es6.array.iterator"); | ||
require("core-js/modules/es6.object.to-string"); | ||
require("core-js/modules/es6.string.iterator"); | ||
require("core-js/modules/es6.array.map"); | ||
var _iterator = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/symbol/iterator")); | ||
@@ -31,0 +19,0 @@ |
@@ -33,18 +33,6 @@ "use strict"; | ||
require("core-js/modules/es6.regexp.split"); | ||
require("core-js/modules/es6.regexp.match"); | ||
require("core-js/modules/es6.array.for-each"); | ||
var _stringify = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/json/stringify")); | ||
require("core-js/modules/es6.array.reduce"); | ||
require("core-js/modules/es6.array.index-of"); | ||
var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys")); | ||
require("core-js/modules/es6.array.is-array"); | ||
var _iterator = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/symbol/iterator")); | ||
@@ -51,0 +39,0 @@ |
{ | ||
"name": "qiniu-js", | ||
"jsName": "qiniu", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"private": false, | ||
@@ -60,2 +60,3 @@ "description": "Javascript SDK for Qiniu Resource (Cloud) Storage AP", | ||
"request": "^2.88.1", | ||
"terser-webpack-plugin": "4.2.3", | ||
"ts-jest": "25.5.1", | ||
@@ -65,3 +66,2 @@ "ts-loader": "^6.2.1", | ||
"typescript": "^3.9.5", | ||
"uglifyjs-webpack-plugin": "^2.2.0", | ||
"webpack": "^4.41.5", | ||
@@ -68,0 +68,0 @@ "webpack-cli": "^3.3.11", |
var webpack = require("webpack"); | ||
var UglifyJSPlugin = require("uglifyjs-webpack-plugin"); | ||
var TerserPlugin = require('terser-webpack-plugin'); | ||
var merge = require("webpack-merge"); | ||
@@ -17,12 +17,13 @@ var common = require("./webpack.common.js"); | ||
}, | ||
optimization: { | ||
minimize: true, | ||
minimizer: [ | ||
new TerserPlugin({ | ||
cache: true, | ||
parallel: true, | ||
sourceMap: true | ||
}) | ||
] | ||
}, | ||
plugins: [ | ||
new UglifyJSPlugin({ | ||
sourceMap: true, | ||
uglifyOptions:{ | ||
output: { | ||
comments: false, | ||
beautify: false | ||
} | ||
} | ||
}), | ||
new webpack.DefinePlugin({ | ||
@@ -29,0 +30,0 @@ "process.env.NODE_ENV": JSON.stringify("production") |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2129373
27593