@soos-io/api-client
Advanced tools
Comparing version 0.1.10-pre.1 to 0.1.10-pre.2
@@ -7,2 +7,5 @@ /// <reference types="node" /> | ||
}; | ||
Files: { | ||
SarifOutput: string; | ||
}; | ||
Urls: { | ||
@@ -14,2 +17,5 @@ API: { | ||
}; | ||
Status: { | ||
DelayTime: number; | ||
}; | ||
}; |
@@ -9,2 +9,5 @@ "use strict"; | ||
}, | ||
Files: { | ||
SarifOutput: "results.sarif", | ||
}, | ||
Urls: { | ||
@@ -16,2 +19,5 @@ API: { | ||
}, | ||
Status: { | ||
DelayTime: 5000, | ||
}, | ||
}; |
@@ -6,1 +6,2 @@ export * from "./api"; | ||
export * from "./enums"; | ||
export * from "./services"; |
@@ -9,1 +9,2 @@ "use strict"; | ||
tslib_1.__exportStar(require("./enums"), exports); | ||
tslib_1.__exportStar(require("./services"), exports); |
@@ -12,4 +12,6 @@ "use strict"; | ||
fromCamelToTitleCase: (str) => { | ||
const [firstCharacter, ...rest] = str.replace(/([A-Z]+)*([A-Z][a-z])/g, "$1 $2").trim(); | ||
return `${firstCharacter.toLocaleUpperCase()}${rest.join("")}`; | ||
const words = str.split(/(?<=[a-z])(?=[A-Z])/g).map((word) => { | ||
return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); | ||
}); | ||
return words.join(" "); | ||
}, | ||
@@ -16,0 +18,0 @@ areEqual: (a, b, options) => { |
{ | ||
"name": "@soos-io/api-client", | ||
"version": "0.1.10-pre.1", | ||
"version": "0.1.10-pre.2", | ||
"description": "This is the SOOS API Client for registered clients leveraging the various integrations to the SOOS platform.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
52778
38
1131
3