Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clerk/shared

Package Overview
Dependencies
Maintainers
8
Versions
1726
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.8.0-canary.v248142a to 2.8.0-canary.v4a9f6d8

dist/chunk-2WXUW627.mjs

1

dist/index.d.ts

@@ -26,2 +26,3 @@ export { apiUrlFromPublishableKey } from './apiUrlFromPublishableKey.js';

export { DEV_BROWSER_JWT_KEY, extractDevBrowserJWTFromURL, setDevBrowserJWTInURL } from './devBrowser.js';
export { fastDeepMergeAndKeep, fastDeepMergeAndReplace } from './fastDeepMerge.js';
import '@clerk/types';

@@ -28,0 +29,0 @@

@@ -63,2 +63,4 @@ "use strict";

extractDevBrowserJWTFromURL: () => extractDevBrowserJWTFromURL,
fastDeepMergeAndKeep: () => fastDeepMergeAndKeep,
fastDeepMergeAndReplace: () => fastDeepMergeAndReplace,
filterProps: () => filterProps,

@@ -1123,3 +1125,3 @@ formatRelative: () => formatRelative,

// src/versionSelector.ts
var versionSelector = (clerkJSVersion, packageVersion = "5.22.0-canary.v248142a") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.22.0-canary.v4a9f6d8") => {
if (clerkJSVersion) {

@@ -1131,3 +1133,3 @@ return clerkJSVersion;

if (prereleaseTag === "snapshot") {
return "5.22.0-canary.v248142a";
return "5.22.0-canary.v4a9f6d8";
}

@@ -1552,2 +1554,34 @@ return prereleaseTag;

};
// src/fastDeepMerge.ts
var fastDeepMergeAndReplace = (source, target) => {
if (!source || !target) {
return;
}
for (const key in source) {
if (Object.prototype.hasOwnProperty.call(source, key) && source[key] !== null && typeof source[key] === `object`) {
if (target[key] === void 0) {
target[key] = new (Object.getPrototypeOf(source[key])).constructor();
}
fastDeepMergeAndReplace(source[key], target[key]);
} else if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
};
var fastDeepMergeAndKeep = (source, target) => {
if (!source || !target) {
return;
}
for (const key in source) {
if (Object.prototype.hasOwnProperty.call(source, key) && source[key] !== null && typeof source[key] === `object`) {
if (target[key] === void 0) {
target[key] = new (Object.getPrototypeOf(source[key])).constructor();
}
fastDeepMergeAndKeep(source[key], target[key]);
} else if (Object.prototype.hasOwnProperty.call(source, key) && target[key] === void 0) {
target[key] = source[key];
}
}
};
// Annotate the CommonJS export names for ESM import in node:

@@ -1595,2 +1629,4 @@ 0 && (module.exports = {

extractDevBrowserJWTFromURL,
fastDeepMergeAndKeep,
fastDeepMergeAndReplace,
filterProps,

@@ -1597,0 +1633,0 @@ formatRelative,

4

dist/loadClerkJsScript.js

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

// src/versionSelector.ts
var versionSelector = (clerkJSVersion, packageVersion = "5.22.0-canary.v248142a") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.22.0-canary.v4a9f6d8") => {
if (clerkJSVersion) {

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

if (prereleaseTag === "snapshot") {
return "5.22.0-canary.v248142a";
return "5.22.0-canary.v4a9f6d8";
}

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

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

module.exports = __toCommonJS(versionSelector_exports);
var versionSelector = (clerkJSVersion, packageVersion = "5.22.0-canary.v248142a") => {
var versionSelector = (clerkJSVersion, packageVersion = "5.22.0-canary.v4a9f6d8") => {
if (clerkJSVersion) {

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

if (prereleaseTag === "snapshot") {
return "5.22.0-canary.v248142a";
return "5.22.0-canary.v4a9f6d8";
}

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

{
"name": "@clerk/shared",
"version": "2.8.0-canary.v248142a",
"version": "2.8.0-canary.v4a9f6d8",
"description": "Internal package utils used by the Clerk SDKs",

@@ -95,3 +95,3 @@ "repository": {

"dependencies": {
"@clerk/types": "4.21.0-canary.v248142a",
"@clerk/types": "4.21.0-canary.v4a9f6d8",
"glob-to-regexp": "0.4.1",

@@ -98,0 +98,0 @@ "js-cookie": "3.0.5",

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