@atlaspack/profiler
Advanced tools
Comparing version 2.12.1-dev.3567 to 2.13.1-canary.3630
{ | ||
"name": "@atlaspack/profiler", | ||
"version": "2.12.1-dev.3567+c06f4487e", | ||
"version": "2.13.1-canary.3630+10a6f37ef", | ||
"description": "Blazing fast, zero configuration web application bundler", | ||
@@ -23,8 +23,8 @@ "license": "(MIT OR Apache-2.0)", | ||
"dependencies": { | ||
"@atlaspack/diagnostic": "2.12.1-dev.3567+c06f4487e", | ||
"@atlaspack/events": "2.12.1-dev.3567+c06f4487e", | ||
"@atlaspack/types-internal": "2.12.1-dev.3567+c06f4487e", | ||
"@atlaspack/diagnostic": "2.13.1-canary.3630+10a6f37ef", | ||
"@atlaspack/events": "2.13.1-canary.3630+10a6f37ef", | ||
"@atlaspack/types-internal": "2.13.1-canary.3630+10a6f37ef", | ||
"chrome-trace-event": "^1.0.2" | ||
}, | ||
"gitHead": "c06f4487ebddc632957147c8b585a97e149062a1" | ||
"gitHead": "10a6f37ef063d0227ebb26310383e899dbd9b1e6" | ||
} |
@@ -0,1 +1,2 @@ | ||
// @flow | ||
import {tracer, PluginTracer} from '../src/Tracer'; | ||
@@ -25,2 +26,3 @@ import sinon from 'sinon'; | ||
const measurement = tracer.createMeasurement('test'); | ||
if (!measurement) return assert.fail(); | ||
measurement.end(); | ||
@@ -41,2 +43,3 @@ sinon.assert.calledWith( | ||
}); | ||
if (!measurement) return assert.fail(); | ||
measurement.end(); | ||
@@ -56,2 +59,3 @@ sinon.assert.calledWith( | ||
const measurement = tracer.createMeasurement('test'); | ||
if (!measurement) return assert.fail(); | ||
measurement.end(); | ||
@@ -69,2 +73,3 @@ measurement.end(); | ||
const measurement = pluginTracer.createMeasurement('test', 'customCat'); | ||
if (!measurement) return assert.fail(); | ||
measurement.end(); | ||
@@ -71,0 +76,0 @@ sinon.assert.calledWith( |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
35189
20
860