appbase-js
Advanced tools
Comparing version 2.0.0-alpha-03 to 2.0.0
@@ -75,4 +75,2 @@ "use strict"; | ||
var client = null; | ||
var AppbaseClient = function () { | ||
@@ -82,6 +80,2 @@ function AppbaseClient(args) { | ||
if (!client) { | ||
client = this; | ||
} | ||
if (typeof args.url !== "string" || args.url === "") { | ||
@@ -130,3 +124,3 @@ throw new Error("URL not present in options."); | ||
return client; | ||
return this; | ||
} | ||
@@ -133,0 +127,0 @@ |
{ | ||
"name": "appbase-js", | ||
"version": "2.0.0-alpha-03", | ||
"version": "2.0.0", | ||
"description": "Appbase.io streaming client lib for Javascript", | ||
@@ -32,3 +32,2 @@ "main": "lib/index.js", | ||
"json-stable-stringify": "^1.0.1", | ||
"json-stream": "^1.0.0", | ||
"stream": "^0.0.2", | ||
@@ -44,2 +43,5 @@ "url": "^0.11.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babili-webpack-plugin": "^0.1.2", | ||
"brotli-webpack-plugin": "^0.4.1", | ||
"compression-webpack-plugin": "^1.0.0", | ||
"eslint": "^4.7.1", | ||
@@ -46,0 +48,0 @@ "eslint-config-prettier": "^2.5.0", |
Sorry, the diff of this file is too big to display
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances 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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
349065
9
23
1
20
926
4
- Removedjson-stream@^1.0.0
- Removedjson-stream@1.0.0(transitive)