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

@astrojs/telemetry

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/telemetry - npm Package Compare versions

Comparing version 3.0.4 to 3.1.0

4

dist/config.js

@@ -1,3 +0,1 @@

import dget from "dlv";
import { dset } from "dset";
import fs from "node:fs";

@@ -7,2 +5,4 @@ import os from "node:os";

import process from "node:process";
import dget from "dlv";
import { dset } from "dset";
function getConfigDir(name) {

@@ -9,0 +9,0 @@ const homedir = os.homedir();

@@ -0,4 +1,4 @@

import { randomBytes } from "node:crypto";
import { isCI } from "ci-info";
import debug from "debug";
import { randomBytes } from "node:crypto";
import * as KEY from "./config-keys.js";

@@ -5,0 +5,0 @@ import { GlobalConfig } from "./config.js";

@@ -32,3 +32,3 @@ import { execSync } from "node:child_process";

const cwd = process.cwd();
const isCwdGeneric = (cwd.match(/[\/|\\]/g) || []).length === 1;
const isCwdGeneric = (cwd.match(/[/|\\]/g) || []).length === 1;
if (isCI || isCwdGeneric) {

@@ -35,0 +35,0 @@ return {

@@ -1,5 +0,5 @@

import { name as ciName, isCI } from "ci-info";
import os from "node:os";
import { isCI, name as ciName } from "ci-info";
import isDocker from "is-docker";
import isWSL from "is-wsl";
import os from "node:os";
let meta;

@@ -6,0 +6,0 @@ function getSystemInfo(versions) {

{
"name": "@astrojs/telemetry",
"version": "3.0.4",
"version": "3.1.0",
"type": "module",

@@ -26,6 +26,6 @@ "types": "./dist/index.d.ts",

"dependencies": {
"ci-info": "^3.8.0",
"ci-info": "^4.0.0",
"debug": "^4.3.4",
"dlv": "^1.1.3",
"dset": "^3.1.2",
"dset": "^3.1.3",
"is-docker": "^3.0.0",

@@ -36,12 +36,10 @@ "is-wsl": "^3.0.0",

"devDependencies": {
"@types/debug": "^4.1.8",
"@types/dlv": "^1.1.2",
"@types/debug": "^4.1.12",
"@types/dlv": "^1.1.4",
"@types/node": "^18.17.8",
"@types/which-pm-runs": "^1.0.0",
"chai": "^4.3.7",
"mocha": "^10.2.0",
"@types/which-pm-runs": "^1.0.2",
"astro-scripts": "0.0.14"
},
"engines": {
"node": ">=18.14.1"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
},

@@ -55,4 +53,4 @@ "publishConfig": {

"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000 test/"
"test": "astro-scripts test \"test/**/*.test.js\""
}
}

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