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

@clerk/shared

Package Overview
Dependencies
Maintainers
8
Versions
2037
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerk/shared - npm Package Compare versions

Comparing version 2.20.13-canary.v20250122160323 to 2.20.13-canary.v20250122170609

dist/chunk-6CFYMXV7.mjs

3

dist/index.d.ts

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

export { createDeferredPromise, fastDeepMergeAndKeep, fastDeepMergeAndReplace, handleValueOrFn, isDevelopmentEnvironment, isProductionEnvironment, isStaging, isTestEnvironment, logErrorInDevMode, noop, runWithExponentialBackOff } from './utils/index.js';
export { createDeferredPromise, fastDeepMergeAndKeep, fastDeepMergeAndReplace, isDevelopmentEnvironment, isProductionEnvironment, isStaging, isTestEnvironment, logErrorInDevMode, noop, runWithExponentialBackOff } from './utils/index.js';
export { h as handleValueOrFn } from './handleValueOrFn-D2uLOn6s.js';
export { apiUrlFromPublishableKey } from './apiUrlFromPublishableKey.js';

@@ -3,0 +4,0 @@ export { inBrowser, isBrowserOnline, isValidBrowser, isValidBrowserOnline, userAgentIsRobot } from './browser.js';

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

// src/versionSelector.ts
var versionSelector = (clerkJSVersion, packageVersion = "5.48.0-canary.v20250122160323") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.48.0-canary.v20250122170609") => {
if (clerkJSVersion) {

@@ -1216,3 +1216,3 @@ return clerkJSVersion;

if (prereleaseTag === "snapshot") {
return "5.48.0-canary.v20250122160323";
return "5.48.0-canary.v20250122170609";
}

@@ -1219,0 +1219,0 @@ return prereleaseTag;

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

// src/versionSelector.ts
var versionSelector = (clerkJSVersion, packageVersion = "5.48.0-canary.v20250122160323") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.48.0-canary.v20250122170609") => {
if (clerkJSVersion) {

@@ -285,3 +285,3 @@ return clerkJSVersion;

if (prereleaseTag === "snapshot") {
return "5.48.0-canary.v20250122160323";
return "5.48.0-canary.v20250122170609";
}

@@ -288,0 +288,0 @@ return prereleaseTag;

@@ -0,1 +1,3 @@

export { h as handleValueOrFn } from '../handleValueOrFn-D2uLOn6s.js';
type Callback = (val?: any) => void;

@@ -34,6 +36,2 @@ /**

type VOrFnReturnsV<T> = T | undefined | ((v: URL) => T);
declare function handleValueOrFn<T>(value: VOrFnReturnsV<T>, url: URL): T | undefined;
declare function handleValueOrFn<T>(value: VOrFnReturnsV<T>, url: URL, defaultValue: T): T;
/**

@@ -47,2 +45,2 @@ * Merges 2 objects without creating new object references

export { createDeferredPromise, fastDeepMergeAndKeep, fastDeepMergeAndReplace, handleValueOrFn, isDevelopmentEnvironment, isProductionEnvironment, isStaging, isTestEnvironment, logErrorInDevMode, noop, runWithExponentialBackOff };
export { createDeferredPromise, fastDeepMergeAndKeep, fastDeepMergeAndReplace, isDevelopmentEnvironment, isProductionEnvironment, isStaging, isTestEnvironment, logErrorInDevMode, noop, runWithExponentialBackOff };

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

module.exports = __toCommonJS(versionSelector_exports);
var versionSelector = (clerkJSVersion, packageVersion = "5.48.0-canary.v20250122160323") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.48.0-canary.v20250122170609") => {
if (clerkJSVersion) {

@@ -35,3 +35,3 @@ return clerkJSVersion;

if (prereleaseTag === "snapshot") {
return "5.48.0-canary.v20250122160323";
return "5.48.0-canary.v20250122170609";
}

@@ -38,0 +38,0 @@ return prereleaseTag;

{
"name": "@clerk/shared",
"version": "2.20.13-canary.v20250122160323",
"version": "2.20.13-canary.v20250122170609",
"description": "Internal package utils used by the Clerk SDKs",

@@ -5,0 +5,0 @@ "repository": {

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