New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tamagui/timer

Package Overview
Dependencies
Maintainers
1
Versions
953
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/timer - npm Package Compare versions

Comparing version 1.121.12 to 1.122.0

5

dist/cjs/index.js

@@ -41,5 +41,3 @@ var __defProp = Object.defineProperty;

function time(strings, ...vars) {
const elapsed = performance.now() - start;
start = performance.now();
const tag = templateToString(strings, ...vars);
const elapsed = performance.now() - start, tag = templateToString(strings, ...vars);
if (typesOfRuns.add(tag), runs++, timings[tag] ??= 0, timings[tag] += elapsed, !quiet) {

@@ -51,2 +49,3 @@ let result = "";

}
start = performance.now();
}

@@ -53,0 +52,0 @@ let start = performance.now();

@@ -43,5 +43,3 @@ "use strict";

vars[_key - 1] = arguments[_key];
var _timings, _tag, elapsed = performance.now() - start;
start = performance.now();
var tag = templateToString(strings, ...vars);
var _timings, _tag, elapsed = performance.now() - start, tag = templateToString(strings, ...vars);
typesOfRuns.add(tag), runs++;

@@ -55,2 +53,3 @@ var _;

}
start = performance.now();
}

@@ -57,0 +56,0 @@ var start = performance.now();

@@ -22,5 +22,3 @@ function timer() {

function time(strings, ...vars) {
const elapsed = performance.now() - start;
start = performance.now();
const tag = templateToString(strings, ...vars);
const elapsed = performance.now() - start, tag = templateToString(strings, ...vars);
if (typesOfRuns.add(tag), runs++, timings[tag] ??= 0, timings[tag] += elapsed, !quiet) {

@@ -32,2 +30,3 @@ let result = "";

}
start = performance.now();
}

@@ -34,0 +33,0 @@ let start = performance.now();

@@ -23,5 +23,3 @@ function timer() {

vars[_key - 1] = arguments[_key];
var _timings, _tag, elapsed = performance.now() - start;
start = performance.now();
var tag = templateToString(strings, ...vars);
var _timings, _tag, elapsed = performance.now() - start, tag = templateToString(strings, ...vars);
typesOfRuns.add(tag), runs++;

@@ -35,2 +33,3 @@ var _;

}
start = performance.now();
}

@@ -37,0 +36,0 @@ var start = performance.now();

4

package.json
{
"name": "@tamagui/timer",
"version": "1.121.12",
"version": "1.122.0",
"types": "./types/index.d.ts",

@@ -21,3 +21,3 @@ "main": "dist/cjs",

"devDependencies": {
"@tamagui/build": "1.121.12"
"@tamagui/build": "1.122.0"
},

@@ -24,0 +24,0 @@ "exports": {

@@ -33,3 +33,2 @@ // let it be called as a template string tag function

const elapsed = performance.now() - start
start = performance.now()
const tag = templateToString(strings, ...vars)

@@ -47,2 +46,3 @@ typesOfRuns.add(tag)

}
start = performance.now()
}

@@ -49,0 +49,0 @@

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

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