Comparing version 3.1.7 to 3.1.8
@@ -144,7 +144,5 @@ "use strict"; | ||
} | ||
if (timings) timings.scope1 = Date.now(); | ||
if (options.compress) toplevel.figure_out_scope(options.mangle); | ||
if (timings) timings.compress = Date.now(); | ||
if (options.compress) toplevel = new Compressor(options.compress).compress(toplevel); | ||
if (timings) timings.scope2 = Date.now(); | ||
if (timings) timings.scope = Date.now(); | ||
if (options.mangle) toplevel.figure_out_scope(options.mangle); | ||
@@ -207,5 +205,5 @@ if (timings) timings.mangle = Date.now(); | ||
result.timings = { | ||
parse: 1e-3 * (timings.scope1 - timings.parse), | ||
scope: 1e-3 * (timings.compress - timings.scope1 + timings.mangle - timings.scope2), | ||
compress: 1e-3 * (timings.scope2 - timings.compress), | ||
parse: 1e-3 * (timings.compress - timings.parse), | ||
compress: 1e-3 * (timings.scope - timings.compress), | ||
scope: 1e-3 * (timings.mangle - timings.scope), | ||
mangle: 1e-3 * (timings.properties - timings.mangle), | ||
@@ -212,0 +210,0 @@ properties: 1e-3 * (timings.output - timings.properties), |
@@ -7,3 +7,3 @@ { | ||
"license": "BSD-2-Clause", | ||
"version": "3.1.7", | ||
"version": "3.1.8", | ||
"engines": { | ||
@@ -10,0 +10,0 @@ "node": ">=0.8.0" |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
710983