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

righto

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

righto - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

12

index.js

@@ -24,3 +24,10 @@ var abbott = require('abbott');

function getCallLine(stack){
return stack.split('\n')[3].match(/at (.*)/)[1];
var index = 0,
lines = stack.split('\n');
while(lines[++index] && lines[index].match(/righto\/index\.js/)){}
var match = lines[index] && lines[index].match(/at (.*)/);
return match ? match[1] : ' - No trace - ';
}

@@ -62,3 +69,4 @@

){
console.warn('Possible unsupported take/ignore syntax detected:\n' + getCallLine(this._stack));
console.warn('\u001b[33mPossible unsupported take/ignore syntax detected:\u001b[39m\n' + getCallLine(this._stack));
}

@@ -65,0 +73,0 @@

2

package.json
{
"name": "righto",
"version": "2.0.0",
"version": "2.0.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "directories": {

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