Socket
Socket
Sign inDemoInstall

@syncot/util

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncot/util - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

5

lib/misc.js

@@ -1,2 +0,2 @@

import { randomFillSync } from 'crypto';
import { randomInteger } from './random';
export function noop() {

@@ -18,3 +18,4 @@ // Do nothing.

const randomIdBuffer = Buffer.allocUnsafeSlow(12);
randomFillSync(randomIdBuffer, 4);
randomIdBuffer.writeUInt32BE(randomInteger(0, 0x100000000), 4);
randomIdBuffer.writeUInt32BE(randomInteger(0, 0x100000000), 8);
let randomIdCounter = randomIdBuffer.readUIntBE(9, 3);

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

4

package.json
{
"name": "@syncot/util",
"version": "0.0.8",
"version": "0.0.9",
"description": "A collection of utilities required by other @syncot modules.",

@@ -34,3 +34,3 @@ "keywords": [

},
"gitHead": "888dd1570ed3023173b3b5bbafad0f29271b246f"
"gitHead": "59f7016cbffea18fc14049e00fd4351c08748887"
}
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