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;
|
||||
|
Reference in New Issue
Block a user