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

unexpected

Package Overview
Dependencies
Maintainers
3
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected - npm Package Compare versions

Comparing version 10.32.0 to 10.32.1

4

lib/types.js

@@ -771,2 +771,6 @@ var utils = require('./utils');

preamble = matchSource[1];
if (preamble === 'function ()' && name) {
// fn.bind() doesn't seem to include the name in the .toString() output:
preamble = 'function ' + name + '()';
}
body = matchSource[2];

@@ -773,0 +777,0 @@ var matchBodyAndIndent = body.match(/^(\s*\{)([\s\S]*?)([ ]*)\}\s*$/);

2

package.json
{
"name": "unexpected",
"version": "10.32.0",
"version": "10.32.1",
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

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