@superset-ui/connection
Advanced tools
Comparing version 0.10.2 to 0.10.5
@@ -1,1 +0,1 @@ | ||
import SupersetClientClass from"./SupersetClientClass";var singletonClient;function getInstance(a){if(!a)throw new Error("You must call SupersetClient.configure(...) before calling other methods");return a}var SupersetClient={configure:function b(a){return singletonClient=new SupersetClientClass(a),singletonClient},delete:function b(a){return getInstance(singletonClient).delete(a)},get:function b(a){return getInstance(singletonClient).get(a)},getInstance:getInstance,init:function b(a){return getInstance(singletonClient).init(a)},isAuthenticated:function a(){return getInstance(singletonClient).isAuthenticated()},post:function b(a){return getInstance(singletonClient).post(a)},put:function b(a){return getInstance(singletonClient).put(a)},reAuthenticate:function a(){return getInstance(singletonClient).init(/* force = */!0)},request:function b(a){return getInstance(singletonClient).get(a)},reset:function a(){singletonClient=void 0}};export default SupersetClient; | ||
import SupersetClientClass from"./SupersetClientClass";var singletonClient;function getInstance(a){if(!a)throw new Error("You must call SupersetClient.configure(...) before calling other methods");return a}var SupersetClient={configure:function b(a){return singletonClient=new SupersetClientClass(a),singletonClient},delete:function b(a){return getInstance(singletonClient).delete(a)},get:function b(a){return getInstance(singletonClient).get(a)},getInstance:getInstance,init:function b(a){return getInstance(singletonClient).init(a)},isAuthenticated:function a(){return getInstance(singletonClient).isAuthenticated()},post:function b(a){return getInstance(singletonClient).post(a)},put:function b(a){return getInstance(singletonClient).put(a)},reAuthenticate:function a(){return getInstance(singletonClient).init(/* force = */!0)},request:function b(a){return getInstance(singletonClient).request(a)},reset:function a(){singletonClient=void 0}};export default SupersetClient; |
@@ -1,1 +0,1 @@ | ||
"use strict";var _SupersetClientClass=_interopRequireDefault(require("./SupersetClientClass"));exports.__esModule=/* force = */!0,exports.default=void 0;function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}var singletonClient;function getInstance(a){if(!a)throw new Error("You must call SupersetClient.configure(...) before calling other methods");return a}var SupersetClient={configure:function b(a){return singletonClient=new _SupersetClientClass.default(a),singletonClient},delete:function b(a){return getInstance(singletonClient).delete(a)},get:function b(a){return getInstance(singletonClient).get(a)},getInstance:getInstance,init:function b(a){return getInstance(singletonClient).init(a)},isAuthenticated:function a(){return getInstance(singletonClient).isAuthenticated()},post:function b(a){return getInstance(singletonClient).post(a)},put:function b(a){return getInstance(singletonClient).put(a)},reAuthenticate:function a(){return getInstance(singletonClient).init(!0)},request:function b(a){return getInstance(singletonClient).get(a)},reset:function a(){singletonClient=void 0}},_default=SupersetClient;exports.default=_default; | ||
"use strict";var _SupersetClientClass=_interopRequireDefault(require("./SupersetClientClass"));exports.__esModule=/* force = */!0,exports.default=void 0;function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}var singletonClient;function getInstance(a){if(!a)throw new Error("You must call SupersetClient.configure(...) before calling other methods");return a}var SupersetClient={configure:function b(a){return singletonClient=new _SupersetClientClass.default(a),singletonClient},delete:function b(a){return getInstance(singletonClient).delete(a)},get:function b(a){return getInstance(singletonClient).get(a)},getInstance:getInstance,init:function b(a){return getInstance(singletonClient).init(a)},isAuthenticated:function a(){return getInstance(singletonClient).isAuthenticated()},post:function b(a){return getInstance(singletonClient).post(a)},put:function b(a){return getInstance(singletonClient).put(a)},reAuthenticate:function a(){return getInstance(singletonClient).init(!0)},request:function b(a){return getInstance(singletonClient).request(a)},reset:function a(){singletonClient=void 0}},_default=SupersetClient;exports.default=_default; |
{ | ||
"name": "@superset-ui/connection", | ||
"version": "0.10.2", | ||
"version": "0.10.5", | ||
"description": "Superset UI connection", | ||
@@ -41,3 +41,3 @@ "sideEffects": false, | ||
}, | ||
"gitHead": "a2504f7884224a63bfe5313693b77d0922ea15ce" | ||
"gitHead": "98308f10ad4f4d920f9b4ef065c4d039eab27658" | ||
} |
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
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
45967
33
242
9
3