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

pvtsutils

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pvtsutils - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

build/index.es.js

@@ -20,3 +20,3 @@ /**

static toView(data, type) {
if (typeof Buffer !== "undefined" && Buffer.isBuffer(data)) {
if (typeof Buffer !== "undefined" && typeof Buffer.isBuffer === "function" && Buffer.isBuffer(data)) {
return new type(data.buffer, data.byteOffset, data.byteLength);

@@ -23,0 +23,0 @@ }

@@ -26,3 +26,3 @@ /**

static toView(data, type) {
if (typeof Buffer !== "undefined" && Buffer.isBuffer(data)) {
if (typeof Buffer !== "undefined" && typeof Buffer.isBuffer === "function" && Buffer.isBuffer(data)) {
return new type(data.buffer, data.byteOffset, data.byteLength);

@@ -29,0 +29,0 @@ }

{
"name": "pvtsutils",
"version": "1.2.1",
"version": "1.2.2",
"description": "pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.",

@@ -66,10 +66,10 @@ "main": "build/index.js",

"coveralls": "^3.1.1",
"mocha": "^9.1.2",
"mocha": "^9.2.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.57.0",
"rollup-plugin-typescript2": "^0.30.0",
"ts-node": "^10.2.1",
"rollup": "^2.67.3",
"rollup-plugin-typescript2": "^0.31.2",
"ts-node": "^10.5.0",
"tslint": "^6.1.3",
"typescript": "^4.4.3"
"typescript": "^4.5.5"
},

@@ -76,0 +76,0 @@ "nyc": {

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