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 4.0.1-build-optimize-boolean-validate-ad5cb39db9fd1e05715f9808e5b9f63d57a1f684-1 to 4.0.1

2

out/types/boolean.js

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

const value = Number(originalValue);
if ((value !== 0 && value !== 1) || Number.isNaN(value)) {
if (value !== 0 && value !== 1) {
throw new Error(`is not a boolean: ${JSON.stringify(originalValue)} (${typeof originalValue})`);

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

{
"name": "@balena/sbvr-types",
"version": "4.0.1-build-optimize-boolean-validate-ad5cb39db9fd1e05715f9808e5b9f63d57a1f684-1",
"version": "4.0.1",
"description": "SBVR type definitions.",

@@ -57,4 +57,4 @@ "main": "out",

"versionist": {
"publishedAt": "2023-05-02T08:31:07.025Z"
"publishedAt": "2023-05-02T09:44:46.264Z"
}
}

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

const value = Number(originalValue);
if ((value !== 0 && value !== 1) || Number.isNaN(value)) {
if (value !== 0 && value !== 1) {
throw new Error(

@@ -28,0 +28,0 @@ `is not a boolean: ${JSON.stringify(

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