Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/devtools-api

Package Overview
Dependencies
Maintainers
4
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/devtools-api - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

12

lib/cjs/time.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.now = void 0;
exports.now = exports.isPerformanceSupported = void 0;
let supported;
let perf;
function isSupported() {
function isPerformanceSupported() {
var _a;
if (supported !== undefined) {

@@ -14,2 +15,6 @@ return supported;

}
else if (typeof global !== 'undefined' && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
supported = true;
perf = global.perf_hooks.performance;
}
else {

@@ -20,5 +25,6 @@ supported = false;

}
exports.isPerformanceSupported = isPerformanceSupported;
function now() {
return isSupported() ? perf.now() : Date.now();
return isPerformanceSupported() ? perf.now() : Date.now();
}
exports.now = now;

@@ -0,1 +1,2 @@

export declare function isPerformanceSupported(): boolean;
export declare function now(): number;
let supported;
let perf;
function isSupported() {
export function isPerformanceSupported() {
var _a;
if (supported !== undefined) {

@@ -11,2 +12,6 @@ return supported;

}
else if (typeof global !== 'undefined' && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
supported = true;
perf = global.perf_hooks.performance;
}
else {

@@ -18,3 +23,3 @@ supported = false;

export function now() {
return isSupported() ? perf.now() : Date.now();
return isPerformanceSupported() ? perf.now() : Date.now();
}
{
"name": "@vue/devtools-api",
"version": "6.1.0",
"version": "6.1.1",
"description": "Interact with the Vue devtools from the page",

@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc