angular-websocket
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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 = []; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
493
0
51258
204