@socketsecurity/lib 5.15.0 → 5.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +2 -2
- package/dist/abort.d.ts +13 -0
- package/dist/agent.d.ts +81 -0
- package/dist/ansi.d.ts +13 -0
- package/dist/archives.d.ts +31 -0
- package/dist/argv/flags.d.ts +91 -0
- package/dist/argv/parse.d.ts +31 -0
- package/dist/bin.d.ts +54 -0
- package/dist/cacache.d.ts +38 -0
- package/dist/cache-with-ttl.d.ts +7 -0
- package/dist/colors.d.ts +12 -0
- package/dist/cover/formatters.d.ts +18 -0
- package/dist/debug.d.ts +6 -0
- package/dist/dlx/binary.d.ts +84 -0
- package/dist/dlx/cache.d.ts +6 -0
- package/dist/dlx/detect.d.ts +33 -0
- package/dist/dlx/dir.d.ts +34 -0
- package/dist/dlx/manifest.d.ts +16 -0
- package/dist/dlx/package.d.ts +43 -0
- package/dist/dlx/packages.d.ts +36 -0
- package/dist/dlx/paths.d.ts +20 -0
- package/dist/dlx/paths.js +1 -1
- package/dist/effects/pulse-frames.d.ts +6 -0
- package/dist/effects/text-shimmer.d.ts +9 -0
- package/dist/effects/ultra.d.ts +6 -0
- package/dist/env/ci.d.ts +14 -0
- package/dist/env/debug.d.ts +13 -0
- package/dist/env/github.d.ts +80 -0
- package/dist/env/helpers.d.ts +45 -0
- package/dist/env/home.d.ts +13 -0
- package/dist/env/locale.d.ts +30 -0
- package/dist/env/node-auth-token.d.ts +13 -0
- package/dist/env/node-env.d.ts +13 -0
- package/dist/env/npm.d.ts +50 -0
- package/dist/env/path.d.ts +13 -0
- package/dist/env/pre-commit.d.ts +14 -0
- package/dist/env/rewire.d.ts +38 -0
- package/dist/env/shell.d.ts +13 -0
- package/dist/env/socket-cli-shadow.d.ts +43 -0
- package/dist/env/socket-cli.d.ts +116 -0
- package/dist/env/socket.d.ts +153 -0
- package/dist/env/temp-dir.d.ts +30 -0
- package/dist/env/term.d.ts +13 -0
- package/dist/env/test.d.ts +32 -0
- package/dist/env/windows.d.ts +40 -0
- package/dist/env/xdg.d.ts +30 -0
- package/dist/env.d.ts +40 -0
- package/dist/external/npm-pack.js +202 -291
- package/dist/external/tar-fs.js +27 -7
- package/dist/fs.d.ts +13 -0
- package/dist/functions.d.ts +30 -0
- package/dist/globs.d.ts +27 -0
- package/dist/http-request.d.ts +16 -0
- package/dist/json/format.d.ts +18 -0
- package/dist/memoization.d.ts +5 -0
- package/dist/packages/edit.d.ts +28 -0
- package/dist/packages/exports.d.ts +40 -0
- package/dist/packages/licenses.d.ts +59 -0
- package/dist/packages/manifest.d.ts +18 -0
- package/dist/packages/normalize.d.ts +22 -0
- package/dist/packages/operations.d.ts +51 -0
- package/dist/packages/provenance.d.ts +11 -0
- package/dist/packages/specs.d.ts +30 -0
- package/dist/packages/validation.d.ts +18 -0
- package/dist/paths/normalize.d.ts +81 -5
- package/dist/paths/normalize.js +29 -2
- package/dist/paths/rewire.js +12 -3
- package/dist/regexps.d.ts +7 -0
- package/dist/releases/github.d.ts +63 -0
- package/dist/releases/socket-btm.d.ts +31 -0
- package/dist/sea.d.ts +15 -0
- package/dist/shadow.d.ts +7 -0
- package/dist/signal-exit.d.ts +27 -0
- package/dist/sorts.d.ts +33 -0
- package/dist/spawn.d.ts +9 -0
- package/dist/stdio/mask.d.ts +26 -0
- package/dist/streams.d.ts +28 -0
- package/dist/suppress-warnings.d.ts +7 -0
- package/dist/temporary-executor.d.ts +7 -0
- package/dist/url.d.ts +59 -0
- package/dist/versions.d.ts +119 -0
- package/dist/words.d.ts +20 -0
- package/package.json +7 -57
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/lib",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"packageManager": "pnpm@
|
|
3
|
+
"version": "5.17.0",
|
|
4
|
+
"packageManager": "pnpm@11.0.0-rc.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Core utilities and infrastructure for Socket.dev security tools",
|
|
7
7
|
"keywords": [
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
],
|
|
697
697
|
"engines": {
|
|
698
698
|
"node": ">=22",
|
|
699
|
-
"pnpm": ">=
|
|
699
|
+
"pnpm": ">=11.0.0-rc.0"
|
|
700
700
|
},
|
|
701
701
|
"sideEffects": false,
|
|
702
702
|
"scripts": {
|
|
@@ -705,12 +705,13 @@
|
|
|
705
705
|
"clean": "node scripts/build/clean.mjs",
|
|
706
706
|
"cover": "node scripts/test/cover.mjs",
|
|
707
707
|
"dev": "node scripts/build/main.mjs --watch",
|
|
708
|
-
"fix": "node scripts/
|
|
708
|
+
"fix": "node scripts/fix.mjs",
|
|
709
709
|
"format": "oxfmt",
|
|
710
710
|
"format:check": "oxfmt --check",
|
|
711
711
|
"lint": "node scripts/lint.mjs",
|
|
712
712
|
"lint:oxlint": "oxlint .",
|
|
713
713
|
"lint:oxfmt": "oxfmt --check .",
|
|
714
|
+
"security": "agentshield scan && { command -v zizmor >/dev/null && zizmor .github/ || echo 'zizmor not installed — run pnpm run setup to install'; }",
|
|
714
715
|
"prepare": "husky",
|
|
715
716
|
"prepublishOnly": "pnpm run build",
|
|
716
717
|
"test": "node scripts/test/main.mjs",
|
|
@@ -722,6 +723,7 @@
|
|
|
722
723
|
"@babel/parser": "7.28.4",
|
|
723
724
|
"@babel/traverse": "7.28.4",
|
|
724
725
|
"@babel/types": "7.28.4",
|
|
726
|
+
"ecc-agentshield": "1.4.0",
|
|
725
727
|
"@dotenvx/dotenvx": "1.49.0",
|
|
726
728
|
"@inquirer/checkbox": "4.3.1",
|
|
727
729
|
"@inquirer/confirm": "5.1.16",
|
|
@@ -735,7 +737,7 @@
|
|
|
735
737
|
"@socketregistry/is-unicode-supported": "1.0.5",
|
|
736
738
|
"@socketregistry/packageurl-js": "1.4.1",
|
|
737
739
|
"@socketregistry/yocto-spinner": "1.0.25",
|
|
738
|
-
"@socketsecurity/lib-stable": "npm:@socketsecurity/lib@5.
|
|
740
|
+
"@socketsecurity/lib-stable": "npm:@socketsecurity/lib@5.16.0",
|
|
739
741
|
"@types/node": "24.9.2",
|
|
740
742
|
"@typescript/native-preview": "7.0.0-dev.20250920.1",
|
|
741
743
|
"@vitest/coverage-v8": "4.0.3",
|
|
@@ -796,57 +798,5 @@
|
|
|
796
798
|
"typescript": {
|
|
797
799
|
"optional": true
|
|
798
800
|
}
|
|
799
|
-
},
|
|
800
|
-
"pnpm": {
|
|
801
|
-
"overrides": {
|
|
802
|
-
"@inquirer/ansi": "1.0.2",
|
|
803
|
-
"@inquirer/core": "10.3.1",
|
|
804
|
-
"@inquirer/figures": "1.0.15",
|
|
805
|
-
"@npmcli/arborist": "9.1.6",
|
|
806
|
-
"@npmcli/git": "6.0.3",
|
|
807
|
-
"@npmcli/run-script": "10.0.0",
|
|
808
|
-
"@sigstore/core": "3.1.0",
|
|
809
|
-
"@sigstore/sign": "4.1.0",
|
|
810
|
-
"ansi-regex": "6.2.2",
|
|
811
|
-
"brace-expansion": "5.0.5",
|
|
812
|
-
"chownr": "3.0.0",
|
|
813
|
-
"debug": "4.4.3",
|
|
814
|
-
"execa": "5.1.1",
|
|
815
|
-
"has-flag": "5.0.1",
|
|
816
|
-
"hosted-git-info": "8.1.0",
|
|
817
|
-
"isexe": "3.1.1",
|
|
818
|
-
"lru-cache": "11.2.2",
|
|
819
|
-
"minimatch": "9.0.6",
|
|
820
|
-
"minipass": "7.1.3",
|
|
821
|
-
"minipass-fetch": "4.0.1",
|
|
822
|
-
"minipass-sized": "1.0.3",
|
|
823
|
-
"minipass@7": "7.1.3",
|
|
824
|
-
"minizlib": "3.1.0",
|
|
825
|
-
"npm-package-arg": "12.0.2",
|
|
826
|
-
"npm-pick-manifest": "10.0.0",
|
|
827
|
-
"p-map": "7.0.4",
|
|
828
|
-
"picomatch": "4.0.4",
|
|
829
|
-
"proc-log": "6.1.0",
|
|
830
|
-
"semver": "7.7.2",
|
|
831
|
-
"signal-exit": "4.1.0",
|
|
832
|
-
"spdx-expression-parse": "4.0.0",
|
|
833
|
-
"ssri": "12.0.0",
|
|
834
|
-
"string-width": "8.1.0",
|
|
835
|
-
"strip-ansi": "7.1.2",
|
|
836
|
-
"supports-color": "10.2.2",
|
|
837
|
-
"tar": "7.5.11",
|
|
838
|
-
"which": "5.0.0",
|
|
839
|
-
"wrap-ansi": "9.0.2",
|
|
840
|
-
"yoctocolors-cjs": "2.1.3"
|
|
841
|
-
},
|
|
842
|
-
"patchedDependencies": {
|
|
843
|
-
"@npmcli/run-script@10.0.0": "patches/@npmcli__run-script@10.0.0.patch",
|
|
844
|
-
"@sigstore/sign@4.1.0": "patches/@sigstore__sign@4.1.0.patch",
|
|
845
|
-
"execa@5.1.1": "patches/execa@5.1.1.patch",
|
|
846
|
-
"minipass-flush@1.0.5": "patches/minipass-flush@1.0.5.patch",
|
|
847
|
-
"minipass-pipeline@1.2.4": "patches/minipass-pipeline@1.2.4.patch",
|
|
848
|
-
"node-gyp@11.5.0": "patches/node-gyp@11.5.0.patch",
|
|
849
|
-
"minipass-sized@1.0.3": "patches/minipass-sized@1.0.3.patch"
|
|
850
|
-
}
|
|
851
801
|
}
|
|
852
802
|
}
|