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

can-fixture-socket

Package Overview
Dependencies
Maintainers
9
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-fixture-socket - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

1

can-fixture-socket.js

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

"use strict";
var fixtureSocket = require('./src/index');

@@ -2,0 +3,0 @@ var fixtureStore = require('./src/store');

11

package.json
{
"name": "can-fixture-socket",
"version": "2.0.0",
"version": "2.0.1",
"description": "Simulate socket connections",

@@ -52,2 +52,4 @@ "homepage": "https://github.com/canjs/can-fixture-socket",

"devDependencies": {
"@feathersjs/feathers": "^3.3.1",
"@feathersjs/socketio-client": "^1.2.1",
"can-set-legacy": "<2.0.0",

@@ -58,14 +60,11 @@ "detect-cyclic-packages": "^1.1.0",

"es6-promise-polyfill": "^1.2.0",
"feathers": "^2.0.2",
"feathers-hooks": "^2.0.1",
"feathers-socketio": "^1.4.1",
"generator-donejs": "^1.0.5",
"jshint": "^2.9.1",
"object-assign": "^4.1.0",
"socket.io-client": "^1.5.0",
"socket.io-client": "^2.2.0",
"steal": "^1.5.6",
"steal-qunit": "^1.0.1",
"steal-tools": "^1.1.2",
"testee": "^0.8.0"
"testee": "^0.9.0"
}
}
# can-fixture-socket
[![Join the chat at https://gitter.im/canjs/canjs](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/canjs/canjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/canjs/can-fixture-socket/blob/master/LICENSE.md)
[![Join our Slack](https://img.shields.io/badge/slack-join%20chat-611f69.svg)](https://www.bitovi.com/community/slack?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Join our Discourse](https://img.shields.io/discourse/https/forums.bitovi.com/posts.svg)](https://forums.bitovi.com/?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/canjs/can-fixture-socket/blob/master/LICENSE.md)
[![npm version](https://badge.fury.io/js/can-fixture-socket.svg)](https://www.npmjs.com/package/can-fixture-socket)

@@ -13,3 +14,3 @@ [![Travis build status](https://travis-ci.org/canjs/can-fixture-socket.svg?branch=master)](https://travis-ci.org/canjs/can-fixture-socket)

Read the [API docs on CanJS.com](https://canjs.com/doc/can-fixture-socket.html).
Read the [can-fixture-socket API docs on CanJS.com](https://canjs.com/doc/can-fixture-socket.html).

@@ -27,2 +28,1 @@ ## Changelog

[MIT](https://github.com/canjs/can-fixture-socket/blob/master/LICENSE.md)

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

"use strict";
/*

@@ -2,0 +3,0 @@ * FEATHERS protocol.

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

"use strict";
/*

@@ -203,3 +204,8 @@ * Summary: `io(url)` creates an instance of `io.Manager` for the given url and stores it in cache of managers `io.managers`.

function pub(pubsub, event, dataArgs){
debug(' >>> pub ' + event);
debug(' >>> pub ' + event, dataArgs);
// Feathers does not emit the event and path like `messages::find` anymore
// The `path` or `serviceName` is now the first argument after the `event`
if (dataArgs && typeof dataArgs[0] === 'string' && pubsub[dataArgs[0] + '::' + event]) {
event = dataArgs.shift() + '::' + event;
}
var subscribers = pubsub[event] || [];

@@ -206,0 +212,0 @@ subscribers.forEach(function(subscriber){

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

"use strict";
var extractResponse = require('can-fixture/core').extractResponse;

@@ -2,0 +3,0 @@

@@ -7,5 +7,4 @@ var QUnit = require('steal-qunit');

var io = require('socket.io-client');
var feathers = require('feathers/client');
var feathersSocketio = require('feathers-socketio/client');
var hooks = require('feathers-hooks');
var feathers = require('@feathersjs/feathers');
var feathersSocketio = require('@feathersjs/socketio-client');

@@ -300,3 +299,2 @@ // Polyfills for Travis:

var app = feathers()
.configure(hooks())
.configure(feathersSocketio(socket));

@@ -303,0 +301,0 @@

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