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

@uniformdev/redirect

Package Overview
Dependencies
Maintainers
10
Versions
468
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniformdev/redirect - npm Package Compare versions

Comparing version 19.21.0 to 19.22.0

7

./dist/index.js

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

const { projectId } = this.options;
const key = `${projectId}${(options == null ? void 0 : options.reverse) ? "r" : "f"}`;
const key = projectId;
const cachePromise = (options == null ? void 0 : options.bypassDataCache) ? void 0 : (_a = this.options.dataCache) == null ? void 0 : _a.get(key);

@@ -618,3 +618,2 @@ if (cachePromise) {

});
this.resetRedirectTrieDataCache();
return result.id;

@@ -641,5 +640,5 @@ };

if (options.dataCache && options.dataCache.options.prePopulate) {
if (!options.dataCache.get(`${options.projectId}f`)) {
if (!options.dataCache.get(options.projectId)) {
options.dataCache.set(
`${options.projectId}f`,
options.projectId,
this.getRedirectTrie(),

@@ -646,0 +645,0 @@ () => this.getRedirectTrie({ bypassDataCache: true })

@@ -236,3 +236,3 @@ import "./chunk-FFYIGW52.mjs";

const { projectId } = this.options;
const key = `${projectId}${(options == null ? void 0 : options.reverse) ? "r" : "f"}`;
const key = projectId;
const cachePromise = (options == null ? void 0 : options.bypassDataCache) ? void 0 : (_a = this.options.dataCache) == null ? void 0 : _a.get(key);

@@ -292,3 +292,2 @@ if (cachePromise) {

});
this.resetRedirectTrieDataCache();
return result.id;

@@ -315,5 +314,5 @@ };

if (options.dataCache && options.dataCache.options.prePopulate) {
if (!options.dataCache.get(`${options.projectId}f`)) {
if (!options.dataCache.get(options.projectId)) {
options.dataCache.set(
`${options.projectId}f`,
options.projectId,
this.getRedirectTrie(),

@@ -320,0 +319,0 @@ () => this.getRedirectTrie({ bypassDataCache: true })

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

const { projectId } = this.options;
const key = `${projectId}${(options == null ? void 0 : options.reverse) ? "r" : "f"}`;
const key = projectId;
const cachePromise = (options == null ? void 0 : options.bypassDataCache) ? void 0 : (_a = this.options.dataCache) == null ? void 0 : _a.get(key);

@@ -618,3 +618,2 @@ if (cachePromise) {

});
this.resetRedirectTrieDataCache();
return result.id;

@@ -641,5 +640,5 @@ };

if (options.dataCache && options.dataCache.options.prePopulate) {
if (!options.dataCache.get(`${options.projectId}f`)) {
if (!options.dataCache.get(options.projectId)) {
options.dataCache.set(
`${options.projectId}f`,
options.projectId,
this.getRedirectTrie(),

@@ -646,0 +645,0 @@ () => this.getRedirectTrie({ bypassDataCache: true })

{
"name": "@uniformdev/redirect",
"version": "19.21.0",
"version": "19.22.0",
"description": "Uniform redirect client",

@@ -35,3 +35,3 @@ "license": "SEE LICENSE IN LICENSE.txt",

"dependencies": {
"@uniformdev/context": "19.21.0",
"@uniformdev/context": "19.22.0",
"p-limit": "^3.1.0",

@@ -43,3 +43,3 @@ "rfdc": "^1.3.0"

},
"gitHead": "3db4c0f1c775a5cf9677c6df294322cfbf79611e"
"gitHead": "f3b826c15f64a8abc5bd7ca08c0539bd85684cf9"
}

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