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

@balena/sbvr-types

Package Overview
Dependencies
Maintainers
3
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 7.0.0-build-fisehara-return-iso-date-string-9b447bca7ab02cfa2749db1e999df81cdf198100-1 to 7.0.1-build-renovate-major--balenaabstract-sql-compiler-37684ebb1692f97780dd27056b9cfe299c456b3c-1

7

CHANGELOG.md

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

# v7.0.1
## (2024-03-04)
* Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
# v7.0.0
## (2024-02-26)
## (2024-03-04)

@@ -11,0 +16,0 @@ * Return `ISODateString` instead of `date` [fisehara]

6

out/types/date-time.js

@@ -17,6 +17,6 @@ "use strict";

}
if (data instanceof Date) {
return data.toISOString();
if (!(data instanceof Date)) {
data = new Date(data);
}
return new Date(data).toISOString();
return data.toISOString();
};

@@ -23,0 +23,0 @@ exports.fetchProcessing = fetchProcessing;

@@ -17,6 +17,6 @@ "use strict";

}
if (data instanceof Date) {
return data.toISOString();
if (!(data instanceof Date)) {
data = new Date(data);
}
return new Date(data).toISOString();
return data.toISOString();
};

@@ -23,0 +23,0 @@ exports.fetchProcessing = fetchProcessing;

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

if (data != null) {
return new Date('Thu, 01 Jan 1970 ' + data);
return new Date('Thu, 01 Jan 1970 ' + data).toISOString();
}

@@ -18,0 +18,0 @@ return data;

{
"name": "@balena/sbvr-types",
"version": "7.0.0-build-fisehara-return-iso-date-string-9b447bca7ab02cfa2749db1e999df81cdf198100-1",
"version": "7.0.1-build-renovate-major--balenaabstract-sql-compiler-37684ebb1692f97780dd27056b9cfe299c456b3c-1",
"description": "SBVR type definitions.",

@@ -24,3 +24,3 @@ "main": "out",

"devDependencies": {
"@balena/abstract-sql-compiler": "^8.3.12",
"@balena/abstract-sql-compiler": "^9.0.0",
"@balena/lint": "^6.2.1",

@@ -59,4 +59,4 @@ "@types/bcrypt": "^5.0.0",

"versionist": {
"publishedAt": "2024-02-26T17:47:00.078Z"
"publishedAt": "2024-03-04T17:47:59.396Z"
}
}

@@ -16,6 +16,6 @@ import * as TypeUtils from '../type-utils';

}
if (data instanceof Date) {
return data.toISOString();
if (!(data instanceof Date)) {
data = new Date(data);
}
return new Date(data).toISOString();
return data.toISOString();
};

@@ -22,0 +22,0 @@

@@ -16,6 +16,6 @@ import * as TypeUtils from '../type-utils';

}
if (data instanceof Date) {
return data.toISOString();
if (!(data instanceof Date)) {
data = new Date(data);
}
return new Date(data).toISOString();
return data.toISOString();
};

@@ -22,0 +22,0 @@

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

// We append the date of the epoch so that we can parse this as a valid date.
return new Date('Thu, 01 Jan 1970 ' + data);
return new Date('Thu, 01 Jan 1970 ' + data).toISOString();
}

@@ -18,0 +18,0 @@ return data;

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