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

jsesc

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsesc - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

6

jsesc.js

@@ -43,3 +43,5 @@ 'use strict';

const isArray = Array.isArray;
const isBuffer = Buffer.isBuffer;
const isBuffer = (value) => {
return typeof Buffer === 'function' && Buffer.isBuffer(value);
};
const isObject = (value) => {

@@ -315,4 +317,4 @@ // This is a very simple check, but it’s good enough for what we need.

jsesc.version = '3.0.1';
jsesc.version = '3.0.2';
module.exports = jsesc;
{
"name": "jsesc",
"version": "3.0.1",
"version": "3.0.2",
"description": "Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.",

@@ -5,0 +5,0 @@ "homepage": "https://mths.be/jsesc",

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