full site update
This commit is contained in:
3
node_modules/@astrojs/telemetry/dist/config.d.ts
generated
vendored
3
node_modules/@astrojs/telemetry/dist/config.d.ts
generated
vendored
@@ -1,4 +1,4 @@
|
||||
export interface ConfigOptions {
|
||||
interface ConfigOptions {
|
||||
name: string;
|
||||
}
|
||||
export declare class GlobalConfig {
|
||||
@@ -17,3 +17,4 @@ export declare class GlobalConfig {
|
||||
has(key: string): boolean;
|
||||
set(key: string, value: any): void;
|
||||
}
|
||||
export {};
|
||||
|
3
node_modules/@astrojs/telemetry/dist/config.js
generated
vendored
3
node_modules/@astrojs/telemetry/dist/config.js
generated
vendored
@@ -34,8 +34,7 @@ class GlobalConfig {
|
||||
file;
|
||||
_store;
|
||||
get store() {
|
||||
if (this._store)
|
||||
return this._store;
|
||||
if (this._store) return this._store;
|
||||
this.ensureDir();
|
||||
if (fs.existsSync(this.file)) {
|
||||
try {
|
||||
|
3
node_modules/@astrojs/telemetry/dist/index.js
generated
vendored
3
node_modules/@astrojs/telemetry/dist/index.js
generated
vendored
@@ -73,8 +73,7 @@ class AstroTelemetry {
|
||||
return this.config.clear();
|
||||
}
|
||||
isValidNotice() {
|
||||
if (!this.notifyDate)
|
||||
return false;
|
||||
if (!this.notifyDate) return false;
|
||||
const current = Number(this.notifyDate);
|
||||
const valid = new Date(VALID_TELEMETRY_NOTICE_DATE).valueOf();
|
||||
return current > valid;
|
||||
|
1
node_modules/@astrojs/telemetry/dist/system-info.d.ts
generated
vendored
1
node_modules/@astrojs/telemetry/dist/system-info.d.ts
generated
vendored
@@ -1,4 +1,3 @@
|
||||
/// <reference types="node" resolution-mode="require"/>
|
||||
/**
|
||||
* Astro Telemetry -- System Info
|
||||
*
|
||||
|
2
node_modules/@astrojs/telemetry/dist/system-info.js
generated
vendored
2
node_modules/@astrojs/telemetry/dist/system-info.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
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";
|
||||
import isWSL from "is-wsl";
|
||||
let meta;
|
||||
|
16
node_modules/@astrojs/telemetry/package.json
generated
vendored
16
node_modules/@astrojs/telemetry/package.json
generated
vendored
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "@astrojs/telemetry",
|
||||
"version": "3.1.0",
|
||||
"version": "3.3.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/withastro/astro.git",
|
||||
"url": "git+https://github.com/withastro/astro.git",
|
||||
"directory": "packages/telemetry"
|
||||
},
|
||||
"bugs": "https://github.com/withastro/astro/issues",
|
||||
@@ -23,23 +23,23 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"ci-info": "^4.0.0",
|
||||
"debug": "^4.3.4",
|
||||
"ci-info": "^4.2.0",
|
||||
"debug": "^4.4.0",
|
||||
"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"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/debug": "^4.1.12",
|
||||
"@types/dlv": "^1.1.4",
|
||||
"@types/dlv": "^1.1.5",
|
||||
"@types/node": "^18.17.8",
|
||||
"@types/which-pm-runs": "^1.0.2",
|
||||
"astro-scripts": "0.0.14"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
||||
"node": "18.20.8 || ^20.3.0 || >=22.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"provenance": true
|
||||
|
Reference in New Issue
Block a user