@socketsecurity/lib 5.0.2 → 5.1.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 CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [5.1.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.1.0) - 2025-12-17
9
+
10
+ ### Added
11
+
12
+ - **types**: Added `ALPM` and `VSCODE` to `PURL_Type` enum
13
+ - `ALPM`: Arch Linux Package Manager ecosystem
14
+ - `VSCODE`: Visual Studio Code extensions ecosystem
15
+
8
16
  ## [5.0.2](https://github.com/SocketDev/socket-lib/releases/tag/v5.0.2) - 2025-12-15
9
17
 
10
18
  ### Changed
package/dist/types.d.ts CHANGED
@@ -17,6 +17,7 @@ declare enum Interop {
17
17
  export type InteropString = `${Interop}`;
18
18
  // Based on SocketPURL_Type from socket-sdk-js
19
19
  export declare enum PURL_Type {
20
+ ALPM = "alpm",
20
21
  APK = "apk",
21
22
  BITBUCKET = "bitbucket",
22
23
  COCOAPODS = "cocoapods",
@@ -46,7 +47,8 @@ export declare enum PURL_Type {
46
47
  RPM = "rpm",
47
48
  SWID = "swid",
48
49
  SWIFT = "swift",
49
- VCS = "vcs"
50
+ VCS = "vcs",
51
+ VSCODE = "vscode"
50
52
  }
51
53
  export type PURLString = `${PURL_Type}`;
52
54
  // Alias for backward compatibility and semantic clarity
package/dist/types.js CHANGED
@@ -23,6 +23,7 @@ __export(types_exports, {
23
23
  });
24
24
  module.exports = __toCommonJS(types_exports);
25
25
  var PURL_Type = /* @__PURE__ */ ((PURL_Type2) => {
26
+ PURL_Type2["ALPM"] = "alpm";
26
27
  PURL_Type2["APK"] = "apk";
27
28
  PURL_Type2["BITBUCKET"] = "bitbucket";
28
29
  PURL_Type2["COCOAPODS"] = "cocoapods";
@@ -53,6 +54,7 @@ var PURL_Type = /* @__PURE__ */ ((PURL_Type2) => {
53
54
  PURL_Type2["SWID"] = "swid";
54
55
  PURL_Type2["SWIFT"] = "swift";
55
56
  PURL_Type2["VCS"] = "vcs";
57
+ PURL_Type2["VSCODE"] = "vscode";
56
58
  return PURL_Type2;
57
59
  })(PURL_Type || {});
58
60
  // Annotate the CommonJS export names for ESM import in node:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/lib",
3
- "version": "5.0.2",
3
+ "version": "5.1.0",
4
4
  "packageManager": "pnpm@10.26.0",
5
5
  "license": "MIT",
6
6
  "description": "Core utilities and infrastructure for Socket.dev security tools",