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

func-cache

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

func-cache - npm Package Compare versions

Comparing version 2.0.75 to 2.0.76

2

dist/tools/fs.d.ts

@@ -1,4 +0,4 @@

export declare function fSCacher(tmpPath: string): {
export default function fSCacher(tmpPath: string): {
initialCache: any;
onDataUpdate: (ndata: any) => Promise<void>;
};

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

export * from "./fs";
export * from "./redis";
export * from "./upstash";
export { default as fSCacher } from "./fs";
export { default as redisCacher } from "./redis";
export { default as upsatashCacher } from "./upstash";
import redis from 'redis';
export declare function redisCacher(tmpPath: string, options: {
export default function redisCacher(tmpPath: string, options: {
client: redis.RedisClientType;
}): Partial<FCOptions>;
import redis from '@upstash/redis';
export declare function upstashCacher(tmpPath: string, options: {
export default function upstashCacher(tmpPath: string, options: {
client: redis.Redis;
}): Partial<FCOptions>;
{
"name": "func-cache",
"version": "2.0.75",
"version": "2.0.76",
"license": "MIT",

@@ -73,26 +73,9 @@ "main": "dist/index.js",

"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"import": "./src/index.ts",
"require": "./dist/func-cache.cjs.production.min.cjs"
},
"./src/tools/fs": {
"types": "./dist/tools/fs.d.ts",
"import": "./src/tools/fs",
"require": "./src/tools/fs"
},
"./src/tools/redis": {
"types": "./dist/tools/redis.d.ts",
"import": "./src/tools/redis",
"require": "./src/tools/redis"
},
"./src/tools/upstash": {
"types": "./dist/tools/upstash.d.ts",
"import": "./src/tools/upstash",
"require": "./src/tools/upstash"
},
"./tools": {
"types": "./dist/tools",
"import": "./src/tools",
"require": "./src/tools"
}
"./fs": "./src/tools/fs.ts",
"./redis": "./src/tools/redis.ts",
"./upstash": "./src/tools/upstash.ts"
}
}

@@ -5,3 +5,3 @@ import fs from "fs/promises";

export function fSCacher(tmpPath: string) {
export default function fSCacher(tmpPath: string) {

@@ -8,0 +8,0 @@ return {

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

export * from "./fs";
export * from "./redis";
export * from "./upstash";
export { default as fSCacher } from "./fs";
export { default as redisCacher } from "./redis";
export { default as upsatashCacher } from "./upstash";
import redis from 'redis';
export function redisCacher(tmpPath: string, options: { client: redis.RedisClientType }): Partial<FCOptions> {
export default function redisCacher(tmpPath: string, options: { client: redis.RedisClientType }): Partial<FCOptions> {
const red = options.client;

@@ -6,0 +6,0 @@ return {

import redis from '@upstash/redis';
export function upstashCacher(tmpPath: string, options: { client: redis.Redis }): Partial<FCOptions> {
export default function upstashCacher(tmpPath: string, options: { client: redis.Redis }): Partial<FCOptions> {
const red = options.client;

@@ -6,0 +6,0 @@ return {

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