You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@keyv/mongo

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keyv/mongo - npm Package Compare versions

Comparing version

to
3.0.2

2

dist/index.d.ts

@@ -45,2 +45,2 @@ import EventEmitter from 'events';

export { KeyvMongo, KeyvMongo as default };
export { KeyvMongo, type KeyvMongoOptions, KeyvMongo as default };

@@ -9,3 +9,3 @@ // src/index.ts

} from "mongodb";
var keyvMongoKeys = /* @__PURE__ */ new Set(["url", "collection", "namespace", "serialize", "deserialize", "uri", "useGridFS", "dialect"]);
var keyvMongoKeys = /* @__PURE__ */ new Set(["url", "collection", "namespace", "serialize", "deserialize", "uri", "useGridFS", "dialect", "db"]);
var KeyvMongo = class extends EventEmitter {

@@ -269,6 +269,6 @@ ttlSupport = false;

};
var src_default = KeyvMongo;
var index_default = KeyvMongo;
export {
KeyvMongo,
src_default as default
index_default as default
};
{
"name": "@keyv/mongo",
"version": "3.0.1",
"description": "MongoDB storage adapter for Keyv",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage"
},
"xo": {
"rules": {
"import/no-named-as-default": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-event-target": "off",
"unicorn/no-array-reduce": "off",
"unicorn/prefer-object-from-entries": "off",
"unicorn/prefer-node-protocol": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"import/extensions": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-floating-promises": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-empty-function": "off"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaredwray/keyv.git"
},
"keywords": [
"mongo",
"mongodb",
"keyv",
"storage",
"adapter",
"key",
"value",
"store",
"cache",
"ttl"
],
"author": "Jared Wray <me@jaredwray.com> (https://jaredwray.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaredwray/keyv/issues"
},
"homepage": "https://github.com/jaredwray/keyv",
"dependencies": {
"mongodb": "^6.8.0"
},
"devDependencies": {
"@keyv/test-suite": "*",
"keyv": "^5.0.0",
"tsd": "^0.31.1",
"xo": "^0.59.3"
},
"tsd": {
"directory": "test"
},
"files": [
"dist",
"LICENSE"
]
}
"name": "@keyv/mongo",
"version": "3.0.2",
"description": "MongoDB storage adapter for Keyv",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"xo": {
"rules": {
"import/no-named-as-default": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-event-target": "off",
"unicorn/no-array-reduce": "off",
"unicorn/prefer-object-from-entries": "off",
"unicorn/prefer-node-protocol": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"import/extensions": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-floating-promises": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-empty-function": "off"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaredwray/keyv.git"
},
"keywords": [
"mongo",
"mongodb",
"keyv",
"storage",
"adapter",
"key",
"value",
"store",
"cache",
"ttl"
],
"author": "Jared Wray <me@jaredwray.com> (https://jaredwray.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaredwray/keyv/issues"
},
"homepage": "https://github.com/jaredwray/keyv",
"dependencies": {
"mongodb": "^6.8.0"
},
"devDependencies": {
"keyv": "^5.0.0",
"rimraf": "^6.0.1",
"tsd": "^0.31.1",
"xo": "^0.59.3",
"@keyv/test-suite": "^2.0.7"
},
"tsd": {
"directory": "test"
},
"files": [
"dist",
"LICENSE"
],
"scripts": {
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rimraf ./node_modules ./coverage ./dist"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet