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

angular-websocket

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-websocket - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

dist/angular-websocket.js

@@ -36,3 +36,3 @@ (function (global, factory) {

if ((typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) === 'object' && typeof require === 'function') {
if (typeof window === 'undefined') {
try {

@@ -416,2 +416,2 @@

module.exports = exports['default'];
});
});
{
"name": "angular-websocket",
"version": "2.0.0",
"version": "2.0.1",
"main": "./dist/angular-websocket.js",

@@ -5,0 +5,0 @@ "description": "An Angular WebSocket service for connecting client applications to servers.",

@@ -37,6 +37,4 @@ <p align="center">

<section ng-controller="SomeController">
<ul>
<li ng-repeat="data in MyData.collection track by $index">
{{ data }}
</li>
<ul ng-repeat="data in MyData.collection track by $index" >
<li> {{ data }} </li>
</ul>

@@ -51,3 +49,3 @@ </section>

// Open a WebSocket connection
var dataStream = $websocket('wss://website.com/data');
var dataStream = $websocket('ws://website.com/data');

@@ -54,0 +52,0 @@ var collection = [];

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