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

dslink

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dslink - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

1

js/node.d.ts

@@ -10,1 +10,2 @@ export { HttpClientLink } from "./src/nodejs/client-link";

export { DsError } from "./src/common/interfaces";
export { Logger, logger } from "./src/utils/logger";

@@ -22,2 +22,5 @@ "use strict";

exports.DsError = interfaces_1.DsError;
var logger_1 = require("./src/utils/logger");
exports.Logger = logger_1.Logger;
exports.logger = logger_1.logger;
//# sourceMappingURL=node.js.map

@@ -19,1 +19,6 @@ import { BaseLocalNode } from "../responder/base-local-node";

}
export declare class RootMockNode extends MockNode {
constructor(data?: {
[key: string]: any;
});
}

@@ -6,2 +6,3 @@ "use strict";

const MockAction_1 = require("./MockAction");
const node_state_1 = require("../responder/node_state");
class MockNode extends base_local_node_1.BaseLocalNode {

@@ -71,2 +72,12 @@ constructor() {

exports.MockNode = MockNode;
class RootMockNode extends MockNode {
constructor(data) {
super('/', new node_state_1.NodeProvider());
this.provider.setRoot(this);
if (data) {
this.load(data);
}
}
}
exports.RootMockNode = RootMockNode;
class AddChildAction extends action_node_1.ActionNode {

@@ -73,0 +84,0 @@ onInvoke(params, parentNode) {

2

package.json
{
"name": "dslink",
"license": "Apache-2.0",
"version": "2.0.2",
"version": "2.0.3",
"main": "js/node.js",

@@ -6,0 +6,0 @@ "repository": {

@@ -11,1 +11,2 @@ export {HttpClientLink} from "./src/nodejs/client-link";

export {DsError} from "./src/common/interfaces";
export {Logger, logger} from "./src/utils/logger";
import {BaseLocalNode} from "../responder/base-local-node";
import {ActionNode} from "../responder/node/action-node";
import {MockActionNode} from "./MockAction";
import {NodeProvider} from "../responder/node_state";

@@ -75,2 +76,12 @@ export class MockNode extends BaseLocalNode {

export class RootMockNode extends MockNode {
constructor(data?: {[key: string]: any}) {
super('/', new NodeProvider());
this.provider.setRoot(this);
if (data) {
this.load(data);
}
}
}
class AddChildAction extends ActionNode {

@@ -77,0 +88,0 @@ onInvoke(params: {[key: string]: any}, parentNode: MockNode) {

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