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
1
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.4.16-build-buffer-from-e671336ee310572b02253ba75d45b15d2c7acc76-1

5

CHANGELOG.md

@@ -7,2 +7,7 @@ # Change Log

# v3.4.16
## (2022-11-25)
* Switch from `new Buffer` to `Buffer.from` to avoid deprecation warnings [Pagan Gazzard]
# v3.4.15

@@ -9,0 +14,0 @@ ## (2022-11-18)

2

out/types/file.js

@@ -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.4.15",
"version": "3.4.16-build-buffer-from-e671336ee310572b02253ba75d45b15d2c7acc76-1",
"description": "SBVR type definitions.",

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

"versionist": {
"publishedAt": "2022-11-18T01:46:07.427Z"
"publishedAt": "2022-11-25T16:20:17.429Z"
}
}

@@ -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