New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@balena/sbvr-types

Package Overview
Dependencies
Maintainers
4
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/sbvr-types - npm Package Compare versions

Comparing version

to
3.1.1-update-deps-394b8c4d10ef16da163e05734ffb65a84717e204

7

CHANGELOG.md

@@ -7,4 +7,9 @@ # Change Log

# v3.1.1
## (2020-11-25)
* Update dependencies [Pagan Gazzard]
# v3.1.0
## (2020-06-18)
## (2020-06-17)

@@ -11,0 +16,0 @@ * Update dependencies [Pagan Gazzard]

3

out/types/boolean.js

@@ -14,3 +14,4 @@ "use strict";

};
exports.fetchProcessing = (data) => data === 1;
const fetchProcessing = (data) => data === 1;
exports.fetchProcessing = fetchProcessing;
exports.validate = TypeUtils.validate.checkRequired((originalValue) => {

@@ -17,0 +18,0 @@ const value = Number(originalValue);

@@ -40,3 +40,3 @@ "use strict";

};
exports.fetchProcessing = (data) => {
const fetchProcessing = (data) => {
return {

@@ -49,2 +49,3 @@ r: (data >> 16) & 0xff,

};
exports.fetchProcessing = fetchProcessing;
exports.validate = TypeUtils.validate.checkRequired((value) => {

@@ -51,0 +52,0 @@ let processedValue;

@@ -13,3 +13,3 @@ "use strict";

};
exports.fetchProcessing = (data) => {
const fetchProcessing = (data) => {
if (data != null) {

@@ -20,3 +20,4 @@ return new Date(data);

};
exports.fetchProcessing = fetchProcessing;
exports.validate = TypeUtils.validate.date;
//# sourceMappingURL=date-time.js.map

@@ -13,3 +13,3 @@ "use strict";

};
exports.fetchProcessing = (data) => {
const fetchProcessing = (data) => {
if (data != null) {

@@ -20,3 +20,4 @@ return new Date(data);

};
exports.fetchProcessing = fetchProcessing;
exports.validate = TypeUtils.validate.date;
//# sourceMappingURL=date.js.map

@@ -13,3 +13,4 @@ "use strict";

};
exports.fetchProcessing = (data) => JSON.parse(data);
const fetchProcessing = (data) => JSON.parse(data);
exports.fetchProcessing = fetchProcessing;
exports.validate = TypeUtils.validate.checkRequired((value) => {

@@ -16,0 +17,0 @@ try {

@@ -37,5 +37,6 @@ "use strict";

});
exports.compare = async (value, result) => {
const compare = async (value, result) => {
return sha256(value) === result;
};
exports.compare = compare;
//# sourceMappingURL=sha.js.map

@@ -13,3 +13,3 @@ "use strict";

};
exports.fetchProcessing = (data) => {
const fetchProcessing = (data) => {
if (data != null) {

@@ -20,3 +20,4 @@ return new Date('Thu, 01 Jan 1970 ' + data);

};
exports.validate = async (value, required) => {
exports.fetchProcessing = fetchProcessing;
const validate = async (value, required) => {
const date = await TypeUtils.validate.date(value, required);

@@ -28,2 +29,3 @@ if (date == null) {

};
exports.validate = validate;
//# sourceMappingURL=time.js.map
{
"name": "@balena/sbvr-types",
"version": "3.1.0",
"version": "3.1.1-update-deps-394b8c4d10ef16da163e05734ffb65a84717e204",
"description": "SBVR type definitions.",

@@ -27,15 +27,15 @@ "main": "out",

"devDependencies": {
"@balena/lint": "^5.1.0",
"@types/lodash": "^4.14.155",
"@balena/lint": "^5.3.0",
"@types/lodash": "^4.14.165",
"bluebird": "^3.7.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-datetime": "^1.6.0",
"chai-datetime": "^1.7.0",
"coffeescript": "^2.5.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"lodash": "^4.17.15",
"mocha": "^6.2.3",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"lodash": "^4.17.20",
"mocha": "^8.2.1",
"require-npm4-to-publish": "^1.0.0",
"typescript": "^3.9.5"
"typescript": "^4.1.2"
},

@@ -54,3 +54,9 @@ "husky": {

]
},
"mocha": {
"reporter": "spec",
"recursive": true,
"require": "coffeescript/register",
"_": "test/**/*.coffee"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet