Socket
Socket
Sign inDemoInstall

node-opcua-buffer-utils

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-buffer-utils - npm Package Compare versions

Comparing version 2.28.0 to 2.29.0

4

dist/buffer_utils.js

@@ -16,5 +16,3 @@ "use strict";

// tslint:disable-next-line:ban-types
exports.createFastUninitializedBuffer = Buffer.allocUnsafe ? Buffer.allocUnsafe : (size) => {
return new Buffer(size);
};
exports.createFastUninitializedBuffer = Buffer.allocUnsafe;
/**

@@ -21,0 +19,0 @@ * @method makeBuffer

{
"name": "node-opcua-buffer-utils",
"version": "2.28.0",
"version": "2.29.0",
"description": "pure nodejs OPCUA SDK - module -buffer-utils",

@@ -9,3 +9,3 @@ "main": "./dist/index.js",

"build": "tsc -b",
"test": "mocha test",
"test": "mocha",
"clean": "node -e \"require('rimraf').sync('dist');\"",

@@ -17,6 +17,6 @@ "lint": "tslint source/**/*.ts"

"dependencies": {
"node-opcua-assert": "2.22.0"
"node-opcua-assert": "2.29.0"
},
"devDependencies": {
"node-opcua-benchmarker": "2.28.0"
"node-opcua-benchmarker": "2.29.0"
},

@@ -36,3 +36,3 @@ "repository": {

"homepage": "http://node-opcua.github.io/",
"gitHead": "f16a0e3b3b34938326650adc261883e94a253faf"
"gitHead": "33989ea29477b4bd20f8708189258d9448848996"
}

@@ -15,5 +15,6 @@ /***

export const createFastUninitializedBuffer: Function =
Buffer.allocUnsafe ? Buffer.allocUnsafe : (size: number) => {
Buffer.allocUnsafe
/* ? Buffer.allocUnsafe : (size: number) => {
return new Buffer(size);
};
}*/;

@@ -20,0 +21,0 @@ /**

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