Socket
Socket
Sign inDemoInstall

mock-echo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mock-echo - npm Package Compare versions

Comparing version 0.0.3 to 1.0.0

_config.yml

4

dist/index.js

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

Object.defineProperty(exports, "__esModule", { value: true });
var lodash_1 = require("lodash");
var _ = require("lodash");
var Channel = (function () {

@@ -123,3 +123,3 @@ function Channel() {

PresenceChannel.prototype.getBroadcastUser = function (user) {
var broadcastUser = lodash_1.default.cloneDeep(user);
var broadcastUser = _.cloneDeep(user);
delete broadcastUser['subId'];

@@ -126,0 +126,0 @@ return broadcastUser;

{
"name": "mock-echo",
"version": "0.0.3",
"version": "1.0.0",
"description": "Mock laravel Echo",

@@ -29,3 +29,3 @@ "main": "dist/index.js",

"devDependencies": {
"@types/lodash": "^4.14.93",
"@types/lodash": "^4.14.120",
"@types/node": "^6.0.60",

@@ -32,0 +32,0 @@ "typescript": "^2.6.0"

@@ -25,2 +25,5 @@ # mock-echo

```javascript
let mockEcho
beforeEach(() => {

@@ -27,0 +30,0 @@ mockEcho = new MockEcho()

@@ -1,2 +0,2 @@

import _ from 'lodash'
import * as _ from "lodash";

@@ -3,0 +3,0 @@ class Channel {

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