Socket
Socket
Sign inDemoInstall

gitlab-auth

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-auth - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

LICENSE

7

build/src/GitlabAuth.js

@@ -24,3 +24,3 @@ "use strict";

const cleanup = (uri) => {
window.history.replaceState({}, window.document.title, (uri) ? uri : window.location.href.replace(/\?.*/, ""));
window.history.replaceState({}, window.document.title, uri ? uri : window.location.href.replace(/\?.*/, ""));
};

@@ -43,6 +43,3 @@ // Gitlab Auth context with gitlab api setup

return (react_1.default.createElement(react_1.default.Fragment, null,
react_1.default.createElement(GitlabAuthContext_1.GitlabAuthContext.Provider, { value: gitlabApi },
react_1.default.createElement(react_1.default.Fragment, null,
react_1.default.createElement("a", { href: process.env.PUBLIC_URL + "/logout", onClick: () => auth.signOut(), title: "cancel sign-in" }, "Log Me Out!"),
props.children))));
react_1.default.createElement(GitlabAuthContext_1.GitlabAuthContext.Provider, { value: gitlabApi }, props.children)));
};

@@ -49,0 +46,0 @@ const GitlabAuth = (_a) => {

export * from './GitlabAuth';
export * from './GitlabAuthContext';
export * from './useGitlab';
export { useAuth } from "oidc-react";
export { Gitlab } from "@gitbeaker/browser";

@@ -13,7 +13,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Gitlab = void 0;
exports.Gitlab = exports.useAuth = void 0;
__exportStar(require("./GitlabAuth"), exports);
__exportStar(require("./GitlabAuthContext"), exports);
__exportStar(require("./useGitlab"), exports);
var oidc_react_1 = require("oidc-react");
Object.defineProperty(exports, "useAuth", { enumerable: true, get: function () { return oidc_react_1.useAuth; } });
var browser_1 = require("@gitbeaker/browser");
Object.defineProperty(exports, "Gitlab", { enumerable: true, get: function () { return browser_1.Gitlab; } });
{
"name": "gitlab-auth",
"version": "0.1.6",
"version": "0.1.7",
"description": "GitLab authorized API application Context",

@@ -5,0 +5,0 @@ "main": "build/src/index.js",

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