New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@clerk/clerk-react

Package Overview
Dependencies
Maintainers
9
Versions
2686
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerk/clerk-react - npm Package Compare versions

Comparing version 2.10.1 to 2.10.2-staging.0

1

dist/components/SignInWithMetamaskButton.d.ts

@@ -0,1 +1,2 @@

/// <reference types="react" />
import { SignInWithMetamaskButtonProps } from '../types';

@@ -2,0 +3,0 @@ export declare const SignInWithMetamaskButton: {

@@ -0,1 +1,2 @@

/// <reference types="react" />
import { SignOutButtonProps, WithClerkProp } from '../types';

@@ -2,0 +3,0 @@ export declare const SignOutButton: {

@@ -0,1 +1,2 @@

/// <reference types="react" />
import { UserButtonProps, UserProfileProps } from '@clerk/types';

@@ -2,0 +3,0 @@ export declare const SignIn: {

2

dist/info.d.ts
/** DO NOT EDIT: This file is automatically generated by ../scripts/info.js */
export declare const LIB_VERSION = "2.10.1";
export declare const LIB_VERSION = "2.10.2-staging.0";
export declare const LIB_NAME = "@clerk/clerk-react";
//# sourceMappingURL=info.d.ts.map

@@ -5,4 +5,4 @@ "use strict";

/** DO NOT EDIT: This file is automatically generated by ../scripts/info.js */
exports.LIB_VERSION = '2.10.1';
exports.LIB_VERSION = '2.10.2-staging.0';
exports.LIB_NAME = '@clerk/clerk-react';
//# sourceMappingURL=info.js.map

@@ -8,2 +8,7 @@ "use strict";

const MISSING_BODY_ERROR = 'Clerk: Missing <body> element.';
function isStaging(frontendApi) {
return (frontendApi.endsWith('.lclstage.dev') ||
frontendApi.endsWith('.stgstage.dev') ||
frontendApi.endsWith('.clerkstage.dev'));
}
function extractTag(packageJsonVersion) {

@@ -16,5 +21,7 @@ return packageJsonVersion.match(/-(.*)\./);

}
const majorVersion = parseInt(info_1.LIB_VERSION.split('.')[0], 10);
const majorVersion = isStaging(frontendApi)
? 'staging'
: parseInt(info_1.LIB_VERSION.split('.')[0], 10);
const tag = extractTag(info_1.LIB_VERSION);
const sourceVersion = tag === null ? majorVersion : tag[0] === 'staging' ? 'staging' : 'next';
const sourceVersion = tag === null ? majorVersion : 'next';
return `https://${frontendApi}/npm/@clerk/clerk-js@${sourceVersion}/dist/clerk.browser.js`;

@@ -21,0 +28,0 @@ }

{
"name": "@clerk/clerk-react",
"version": "2.10.1",
"version": "2.10.2-staging.0",
"license": "MIT",

@@ -36,3 +36,3 @@ "description": "Clerk.dev React library",

"dependencies": {
"@clerk/types": "1.24.1",
"@clerk/types": "1.24.2-staging.0",
"tslib": "^2.3.1"

@@ -39,0 +39,0 @@ },

/** DO NOT EDIT: This file is automatically generated by ../scripts/info.js */
export const LIB_VERSION = '2.10.1';
export const LIB_VERSION = '2.10.2-staging.0';
export const LIB_NAME = '@clerk/clerk-react';

@@ -14,2 +14,10 @@ import { LIB_VERSION } from '../info';

function isStaging(frontendApi: string): boolean {
return (
frontendApi.endsWith('.lclstage.dev') ||
frontendApi.endsWith('.stgstage.dev') ||
frontendApi.endsWith('.clerkstage.dev')
);
}
function extractTag(packageJsonVersion: string) {

@@ -27,6 +35,8 @@ return packageJsonVersion.match(/-(.*)\./);

const majorVersion = parseInt(LIB_VERSION.split('.')[0], 10);
const majorVersion = isStaging(frontendApi)
? 'staging'
: parseInt(LIB_VERSION.split('.')[0], 10);
const tag = extractTag(LIB_VERSION);
const sourceVersion =
tag === null ? majorVersion : tag[0] === 'staging' ? 'staging' : 'next';
const sourceVersion = tag === null ? majorVersion : 'next';

@@ -33,0 +43,0 @@ return `https://${frontendApi}/npm/@clerk/clerk-js@${sourceVersion}/dist/clerk.browser.js`;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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