Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@balena/sbvr-types

Package Overview
Dependencies
Maintainers
1
Versions
222
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 3.5.0-date-time-range-eeb01c0a7d62748a2272cc72df1b336b0599b34f to 3.5.0-web-resource-2-011d2c67d8f9b8e3d42a4830b242ae3e8898e7a8-1

.github/workflows/flowzone.yml

39

CHANGELOG.md

@@ -8,6 +8,41 @@ # Change Log

# v3.5.0
## (2022-04-11)
## (2022-11-18)
* Add 'Date Time Range' type [Pagan Gazzard]
* Create WebResource [Ramiro González Maciel]
# v3.4.14
## (2022-11-17)
* Update dependency mocha to 10.1.0 [Renovate Bot]
# v3.4.13
## (2022-11-17)
* Update dependency lint-staged to 13.0.3 [Renovate Bot]
# v3.4.12
## (2022-11-17)
* Update dependency husky to 8.0.2 [Renovate Bot]
# v3.4.11
## (2022-11-17)
* Dev: Add lint-fix npm script [Josh Bowling]
# v3.4.10
## (2022-11-17)
* Dev: Move type deps to dev [Josh Bowling]
# v3.4.9
## (2022-11-17)
* Add .npmrc [Josh Bowling]
# v3.4.8
## (2022-10-14)
* Switch from balenaCI to flowzone [Pagan Gazzard]
# v3.4.7

@@ -14,0 +49,0 @@ ## (2022-04-08)

4

out/index.js

@@ -9,3 +9,2 @@ "use strict";

const DateTime = require("./types/date-time");
const DateTimeRange = require("./types/date-time-range");
const File = require("./types/file");

@@ -23,2 +22,3 @@ const ForeignKey = require("./types/foreign-key");

const Time = require("./types/time");
const WebResource = require("./types/web-resource");
module.exports = {

@@ -31,3 +31,2 @@ 'Big Integer': BigInteger,

'Date Time': DateTime,
'Date Time Range': DateTimeRange,
Date,

@@ -46,3 +45,4 @@ File,

Time,
WebResource,
};
//# sourceMappingURL=index.js.map

@@ -5,3 +5,3 @@ export interface DatabaseTypeFn {

}
export declare type DatabaseType = string | DatabaseTypeFn;
export type DatabaseType = string | DatabaseTypeFn;
export interface SbvrType {

@@ -41,3 +41,3 @@ types: {

};
text: (length?: number | undefined) => {
text: (length?: number) => {
(value: any, required: true): Promise<string>;

@@ -44,0 +44,0 @@ (value: undefined | null, required: false): Promise<null>;

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

try {
return new Buffer(value, 'hex');
return Buffer.from(value, 'hex');
}

@@ -30,0 +30,0 @@ catch (e) {

{
"name": "@balena/sbvr-types",
"version": "3.5.0-date-time-range-eeb01c0a7d62748a2272cc72df1b336b0599b34f",
"version": "3.5.0-web-resource-2-011d2c67d8f9b8e3d42a4830b242ae3e8898e7a8-1",
"description": "SBVR type definitions.",

@@ -8,4 +8,6 @@ "main": "out",

"lint": "balena-lint -e js -e ts src test && npx tsc --noEmit --project tsconfig.js.json",
"lint-fix": "balena-lint --fix -e js -e ts src test",
"pretest": "npm run prepare",
"test": "mocha",
"test-web-resource": "mocha -g WebResource",
"posttest": "npm run lint",

@@ -19,6 +21,3 @@ "prepublish": "require-npm4-to-publish",

"license": "BSD",
"dependencies": {
"@types/bcrypt": "^5.0.0",
"@types/sha.js": "^2.4.0"
},
"dependencies": {},
"optionalDependencies": {

@@ -31,2 +30,3 @@ "bcrypt": "^5.0.1",

"@balena/lint": "^6.2.0",
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.3.0",

@@ -36,3 +36,4 @@ "@types/chai-as-promised": "^7.1.5",

"@types/lodash": "^4.14.181",
"@types/mocha": "^9.1.0",
"@types/mocha": "^10.0.0",
"@types/sha.js": "^2.4.0",
"bluebird": "^3.7.2",

@@ -42,9 +43,9 @@ "chai": "^4.3.6",

"chai-datetime": "^1.8.0",
"husky": "^4.3.8",
"lint-staged": "^12.3.7",
"husky": "^8.0.0",
"lint-staged": "^13.0.0",
"lodash": "^4.17.21",
"mocha": "^9.2.2",
"mocha": "^10.0.0",
"require-npm4-to-publish": "^1.0.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},

@@ -71,4 +72,4 @@ "husky": {

"versionist": {
"publishedAt": "2022-04-11T12:16:20.266Z"
"publishedAt": "2022-11-18T01:41:42.670Z"
}
}

@@ -10,3 +10,2 @@ import type { SbvrType } from './type-utils';

import * as DateTime from './types/date-time';
import * as DateTimeRange from './types/date-time-range';
import * as File from './types/file';

@@ -24,2 +23,3 @@ import * as ForeignKey from './types/foreign-key';

import * as Time from './types/time';
import * as WebResource from './types/web-resource';

@@ -33,3 +33,2 @@ export = {

'Date Time': DateTime,
'Date Time Range': DateTimeRange,
Date,

@@ -48,2 +47,3 @@ File,

Time,
WebResource,
} as {

@@ -50,0 +50,0 @@ Hashed: SbvrType & {

@@ -29,3 +29,3 @@ import * as TypeUtils from '../type-utils';

try {
return new Buffer(value, 'hex');
return Buffer.from(value, 'hex');
} catch (e: any) {

@@ -32,0 +32,0 @@ throw new Error(`could not be converted to binary: ${e.message}`);

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc