Skip to content

Commit

Permalink
Bump to v0.14.35
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Dec 16, 2024
1 parent 5c5c9a6 commit b920b37
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 25 deletions.
4 changes: 1 addition & 3 deletions .dep-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@socketregistry/hyrious__bun.lockb": "1.0.6",
"@socketregistry/yocto-spinner": "^1.0.2",
"@socketsecurity/config": "^2.1.3",
"@socketsecurity/registry": "^1.0.51",
"@socketsecurity/registry": "^1.0.52",
"@socketsecurity/sdk": "^1.3.0",
"blessed": "^0.1.81",
"blessed-contrib": "^4.11.0",
Expand All @@ -19,7 +19,6 @@
"npm-package-arg": "^12.0.1",
"pony-cause": "^2.1.11",
"semver": "^7.6.3",
"signal-exit": "^4.1.0",
"synp": "^1.9.14",
"tinyglobby": "^0.2.10",
"which": "^5.0.0",
Expand Down Expand Up @@ -59,7 +58,6 @@
"ignore": "^6.0.2",
"micromatch": "^4.0.8",
"pony-cause": "^2.1.11",
"signal-exit": "^4.1.0",
"tinyglobby": "^0.2.10",
"which": "^5.0.0",
"yargs-parser": "^21.1.1",
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socket",
"version": "0.14.34",
"version": "0.14.35",
"description": "CLI tool for Socket.dev",
"homepage": "http://github.com/SocketDev/socket-cli",
"license": "MIT",
Expand Down Expand Up @@ -61,7 +61,7 @@
"@socketregistry/hyrious__bun.lockb": "1.0.6",
"@socketregistry/yocto-spinner": "^1.0.2",
"@socketsecurity/config": "^2.1.3",
"@socketsecurity/registry": "^1.0.51",
"@socketsecurity/registry": "^1.0.52",
"@socketsecurity/sdk": "^1.3.0",
"blessed": "^0.1.81",
"blessed-contrib": "^4.11.0",
Expand All @@ -75,7 +75,6 @@
"npm-package-arg": "^12.0.1",
"pony-cause": "^2.1.11",
"semver": "^7.6.3",
"signal-exit": "^4.1.0",
"synp": "^1.9.14",
"tinyglobby": "^0.2.10",
"which": "^5.0.0",
Expand Down
14 changes: 0 additions & 14 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { realpathSync } from 'node:fs'
import path from 'node:path'

import { onExit } from 'signal-exit'

import { envAsBoolean } from '@socketsecurity/registry/lib/env'
import registryConstants from '@socketsecurity/registry/lib/constants'

Expand Down Expand Up @@ -45,14 +43,6 @@ const LAZY_DIST_TYPE = () =>

const lazyDistPath = () => path.join(rootDistPath, constants.DIST_TYPE)

const abortController = new AbortController()
const { signal: abortSignal } = abortController

// Detect ^C, i.e. Ctrl + C.
onExit(() => {
abortController.abort()
})

const constants = <
{
readonly API_V0_URL: 'https://api.socket.dev/v0'
Expand All @@ -61,8 +51,6 @@ const constants = <
readonly NPM_REGISTRY_URL: 'https://registry.npmjs.org'
readonly SOCKET_CLI_ISSUES_URL: 'https://github.com/SocketDev/socket-cli/issues'
readonly UPDATE_SOCKET_OVERRIDES_IN_PACKAGE_LOCK_FILE: 'UPDATE_SOCKET_OVERRIDES_IN_PACKAGE_LOCK_FILE'
readonly abortController: typeof abortController
readonly abortSignal: typeof abortSignal
readonly cdxgenBinPath: string
readonly distPath: string
readonly nmBinPath: string
Expand All @@ -82,8 +70,6 @@ const constants = <
NPM_REGISTRY_URL,
SOCKET_CLI_ISSUES_URL,
UPDATE_SOCKET_OVERRIDES_IN_PACKAGE_LOCK_FILE,
abortController,
abortSignal,
cdxgenBinPath,
distPath: undefined,
nmBinPath,
Expand Down

0 comments on commit b920b37

Please sign in to comment.