@balena/sbvr-types
Advanced tools
Comparing version 3.2.0 to 3.3.0-current-time-3ca9bbf73049d1e67b15bdd6580ea93c38b7b7cf
@@ -7,2 +7,7 @@ # Change Log | ||
# v3.3.0 | ||
## (2021-02-05) | ||
* Add a `Current Time` name that can be used to refer to the current time [Pagan Gazzard] | ||
# v3.2.0 | ||
@@ -9,0 +14,0 @@ ## (2021-01-29) |
@@ -10,2 +10,5 @@ export declare const types: { | ||
export declare const fetchProcessing: (data: any) => any; | ||
export declare const nativeNames: { | ||
'Current Time': string[]; | ||
}; | ||
export declare const validate: { | ||
@@ -12,0 +15,0 @@ (value: any, required: true): Promise<Date>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validate = exports.fetchProcessing = exports.types = void 0; | ||
exports.validate = exports.nativeNames = exports.fetchProcessing = exports.types = void 0; | ||
const TypeUtils = require("../type-utils"); | ||
@@ -20,3 +20,6 @@ exports.types = { | ||
exports.fetchProcessing = fetchProcessing; | ||
exports.nativeNames = { | ||
'Current Time': ['Now'], | ||
}; | ||
exports.validate = TypeUtils.validate.date; | ||
//# sourceMappingURL=date-time.js.map |
{ | ||
"name": "@balena/sbvr-types", | ||
"version": "3.2.0", | ||
"version": "3.3.0-current-time-3ca9bbf73049d1e67b15bdd6580ea93c38b7b7cf", | ||
"description": "SBVR type definitions.", | ||
@@ -27,15 +27,15 @@ "main": "out", | ||
"devDependencies": { | ||
"@balena/lint": "^5.3.0", | ||
"@types/lodash": "^4.14.165", | ||
"@balena/lint": "^5.4.0", | ||
"@types/lodash": "^4.14.168", | ||
"bluebird": "^3.7.2", | ||
"chai": "^4.2.0", | ||
"chai": "^4.3.0", | ||
"chai-as-promised": "^7.1.1", | ||
"chai-datetime": "^1.7.0", | ||
"coffeescript": "^2.5.1", | ||
"husky": "^4.3.5", | ||
"lint-staged": "^10.5.3", | ||
"husky": "^4.3.8", | ||
"lint-staged": "^10.5.4", | ||
"lodash": "^4.17.20", | ||
"mocha": "^8.2.1", | ||
"require-npm4-to-publish": "^1.0.0", | ||
"typescript": "^4.1.2" | ||
"typescript": "^4.1.3" | ||
}, | ||
@@ -42,0 +42,0 @@ "husky": { |
@@ -19,2 +19,6 @@ import * as TypeUtils from '../type-utils'; | ||
export const nativeNames = { | ||
'Current Time': ['Now'], | ||
}; | ||
export const validate = TypeUtils.validate.date; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
100436
1636
2