@astrojs/telemetry
Advanced tools
Comparing version 3.1.0 to 3.2.0-beta.0
@@ -37,4 +37,3 @@ import fs from "node:fs"; | ||
get store() { | ||
if (this._store) | ||
return this._store; | ||
if (this._store) return this._store; | ||
this.ensureDir(); | ||
@@ -41,0 +40,0 @@ if (fs.existsSync(this.file)) { |
@@ -76,4 +76,3 @@ import { randomBytes } from "node:crypto"; | ||
isValidNotice() { | ||
if (!this.notifyDate) | ||
return false; | ||
if (!this.notifyDate) return false; | ||
const current = Number(this.notifyDate); | ||
@@ -80,0 +79,0 @@ const valid = new Date(VALID_TELEMETRY_NOTICE_DATE).valueOf(); |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/** | ||
@@ -3,0 +2,0 @@ * Astro Telemetry -- System Info |
import os from "node:os"; | ||
import { isCI, name as ciName } from "ci-info"; | ||
import { name as ciName, isCI } from "ci-info"; | ||
import isDocker from "is-docker"; | ||
@@ -4,0 +4,0 @@ import isWSL from "is-wsl"; |
{ | ||
"name": "@astrojs/telemetry", | ||
"version": "3.1.0", | ||
"version": "3.2.0-beta.0", | ||
"type": "module", | ||
@@ -10,3 +10,3 @@ "types": "./dist/index.d.ts", | ||
"type": "git", | ||
"url": "https://github.com/withastro/astro.git", | ||
"url": "git+https://github.com/withastro/astro.git", | ||
"directory": "packages/telemetry" | ||
@@ -27,8 +27,8 @@ }, | ||
"dependencies": { | ||
"ci-info": "^4.0.0", | ||
"debug": "^4.3.4", | ||
"ci-info": "^4.1.0", | ||
"debug": "^4.3.7", | ||
"dlv": "^1.1.3", | ||
"dset": "^3.1.3", | ||
"dset": "^3.1.4", | ||
"is-docker": "^3.0.0", | ||
"is-wsl": "^3.0.0", | ||
"is-wsl": "^3.1.0", | ||
"which-pm-runs": "^1.1.0" | ||
@@ -38,3 +38,3 @@ }, | ||
"@types/debug": "^4.1.12", | ||
"@types/dlv": "^1.1.4", | ||
"@types/dlv": "^1.1.5", | ||
"@types/node": "^18.17.8", | ||
@@ -45,3 +45,3 @@ "@types/which-pm-runs": "^1.0.2", | ||
"engines": { | ||
"node": "^18.17.1 || ^20.3.0 || >=21.0.0" | ||
"node": "^18.17.1 || ^20.3.0 || >=22.0.0" | ||
}, | ||
@@ -48,0 +48,0 @@ "publishConfig": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
20382
480
1
Updatedci-info@^4.1.0
Updateddebug@^4.3.7
Updateddset@^3.1.4
Updatedis-wsl@^3.1.0