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

rookout

Package Overview
Dependencies
Maintainers
1
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rookout - npm Package Compare versions

Comparing version 0.1.36 to 0.1.37

4

augs/Aug.js

@@ -69,3 +69,3 @@ "use strict";

this.lastExecuted = now;
this.lastExecuted = Date.now();

@@ -77,2 +77,4 @@ this.action.execute(this.augId, frame, stack, extracted, this.output, new _UserWarnings2.default(this.output, this.augId));

this.setError(new _RookError2.default(e, message));
} finally {
this.lastExecuted = Date.now();
}

@@ -79,0 +81,0 @@ }

@@ -158,6 +158,6 @@ 'use strict';

try {
for (var _iterator3 = labels.split(';')[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
for (var _iterator3 = labels.split(',')[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
var label = _step3.value;
var kv = label.split('=');
var kv = label.split(':');
if (kv.length === 2) {

@@ -164,0 +164,0 @@ var key = kv[0];

{
"name": "rookout",
"commit": "26271583e770cbc3710f25392747d84befce2d93",
"version": "0.1.36",
"commit": "94f94bc1cd6574867df4951f729444ea3b1cefec",
"version": "0.1.37",
"description": "Rook is a package for on the fly debugging and data extraction for applications in production",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -37,2 +37,4 @@ "use strict";

var path = require("path");
var InspectorFrameNamespace = function (_Namespace) {

@@ -231,7 +233,11 @@ _inherits(InspectorFrameNamespace, _Namespace);

}
var script = this.inspector.getScript(this.frame.location.scriptId);
var script = this.inspector.getScript(this.frame.location.scriptId);
var rawFilename = null;
if (null !== script) {
rawFilename = script.filename;
} else {
if (this.frame.url !== undefined) {
rawFilename = path.basename(this.frame.url);
}
}

@@ -247,12 +253,9 @@

if (null !== script && null !== script.mapConsumer) {
var originalPosition = script.getOriginalPosition(this.rawPosition.line, this.rawPosition.column);
if (originalPosition.line === null) {
originalPosition.source = this.rawPosition.filename;
originalPosition.line = this.rawPosition.line;
originalPosition.column = this.rawPosition.column;
originalPosition.name = this.rawPosition.function;
}
if (null != originalPosition) {
// In case of bad mapping we skip the resolve.
if (originalPosition.line === null) {
originalPosition = this.rawPosition;
}
if (null != originalPosition) {
this.position = {

@@ -272,2 +275,6 @@ filename: originalPosition.source,

if (this.position.function === '') {
this.position.function = 'anonymous';
}
return this.position;

@@ -274,0 +281,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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