zyd-server-build2 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -79,7 +79,7 @@ const version = require('./package.json').version
79
79
  return
80
80
  }
81
81
  makeDir(_dst)
82
- build({ src: _src, dst: _dst, ignoreDir, ignoreFile, copyright, noBuildFile, noBuildDir, confused: ignore(noBuildDir, _src) ? 0 : 1 })
82
+ await build({ src: _src, dst: _dst, ignoreDir, ignoreFile, copyright, noBuildFile, noBuildDir, confused: ignore(noBuildDir, _src) ? 0 : 1 })
83
83
  }
84
84
  })
85
85
  }
@@ -221,8 +221,8 @@ module.exports = async ({
221
221
  process.nextTick(() => {
222
222
  console.log("")
223
223
  console.log(`number of files: \x1B[36m${count[0]}\x1B[0m`)
224
- console.log(`confusion number: \x1B[36m${count[1]}\x1B[0m`)
225
- console.log(`size: \x1B[36m${bytesToSize(count[2])}\x1B[0m`)
224
+ console.log(`Number of Obfuscated Files: \x1B[36m${count[1]}\x1B[0m`)
225
+ console.log(`Collection Size: \x1B[36m${bytesToSize(count[2])}\x1B[0m`)
226
226
  console.log(`time consuming: \x1B[36m${formatDuration(new Date() - timer[0])}\x1B[0m`)
227
227
  // console.log("\x1B[1m\x1B[32mbuild success √\x1B[0m\x1B[0m")
228
228
  console.log(`\x1B[1m\x1B[32m
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zyd-server-build2",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "基于terser的js混淆build库,通过babel支持es6+",
5
5
  "main": "index.js",
6
6
  "scripts": {