ioredis-om 5.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1571 -0
- package/built/Command.d.ts +166 -0
- package/built/Command.js +450 -0
- package/built/DataHandler.d.ts +37 -0
- package/built/DataHandler.js +224 -0
- package/built/Pipeline.d.ts +31 -0
- package/built/Pipeline.js +342 -0
- package/built/Redis.d.ts +243 -0
- package/built/Redis.js +800 -0
- package/built/ScanStream.d.ts +23 -0
- package/built/ScanStream.js +51 -0
- package/built/Script.d.ts +11 -0
- package/built/Script.js +62 -0
- package/built/SubscriptionSet.d.ts +14 -0
- package/built/SubscriptionSet.js +41 -0
- package/built/autoPipelining.d.ts +8 -0
- package/built/autoPipelining.js +167 -0
- package/built/cluster/ClusterOptions.d.ts +172 -0
- package/built/cluster/ClusterOptions.js +22 -0
- package/built/cluster/ClusterSubscriber.d.ts +29 -0
- package/built/cluster/ClusterSubscriber.js +223 -0
- package/built/cluster/ClusterSubscriberGroup.d.ts +108 -0
- package/built/cluster/ClusterSubscriberGroup.js +373 -0
- package/built/cluster/ConnectionPool.d.ts +37 -0
- package/built/cluster/ConnectionPool.js +154 -0
- package/built/cluster/DelayQueue.d.ts +20 -0
- package/built/cluster/DelayQueue.js +53 -0
- package/built/cluster/ShardedSubscriber.d.ts +36 -0
- package/built/cluster/ShardedSubscriber.js +147 -0
- package/built/cluster/index.d.ts +163 -0
- package/built/cluster/index.js +937 -0
- package/built/cluster/util.d.ts +25 -0
- package/built/cluster/util.js +100 -0
- package/built/connectors/AbstractConnector.d.ts +12 -0
- package/built/connectors/AbstractConnector.js +26 -0
- package/built/connectors/ConnectorConstructor.d.ts +5 -0
- package/built/connectors/ConnectorConstructor.js +2 -0
- package/built/connectors/SentinelConnector/FailoverDetector.d.ts +11 -0
- package/built/connectors/SentinelConnector/FailoverDetector.js +45 -0
- package/built/connectors/SentinelConnector/SentinelIterator.d.ts +13 -0
- package/built/connectors/SentinelConnector/SentinelIterator.js +37 -0
- package/built/connectors/SentinelConnector/index.d.ts +72 -0
- package/built/connectors/SentinelConnector/index.js +305 -0
- package/built/connectors/SentinelConnector/types.d.ts +21 -0
- package/built/connectors/SentinelConnector/types.js +2 -0
- package/built/connectors/StandaloneConnector.d.ts +17 -0
- package/built/connectors/StandaloneConnector.js +69 -0
- package/built/connectors/index.d.ts +3 -0
- package/built/connectors/index.js +7 -0
- package/built/constants/TLSProfiles.d.ts +9 -0
- package/built/constants/TLSProfiles.js +149 -0
- package/built/errors/ClusterAllFailedError.d.ts +7 -0
- package/built/errors/ClusterAllFailedError.js +15 -0
- package/built/errors/MaxRetriesPerRequestError.d.ts +5 -0
- package/built/errors/MaxRetriesPerRequestError.js +14 -0
- package/built/errors/index.d.ts +2 -0
- package/built/errors/index.js +5 -0
- package/built/index.d.ts +44 -0
- package/built/index.js +62 -0
- package/built/redis/RedisOptions.d.ts +197 -0
- package/built/redis/RedisOptions.js +58 -0
- package/built/redis/event_handler.d.ts +4 -0
- package/built/redis/event_handler.js +315 -0
- package/built/tracing.d.ts +26 -0
- package/built/tracing.js +96 -0
- package/built/transaction.d.ts +13 -0
- package/built/transaction.js +100 -0
- package/built/types.d.ts +33 -0
- package/built/types.js +2 -0
- package/built/utils/Commander.d.ts +50 -0
- package/built/utils/Commander.js +117 -0
- package/built/utils/RedisCommander.d.ts +8950 -0
- package/built/utils/RedisCommander.js +7 -0
- package/built/utils/applyMixin.d.ts +3 -0
- package/built/utils/applyMixin.js +8 -0
- package/built/utils/argumentParsers.d.ts +14 -0
- package/built/utils/argumentParsers.js +74 -0
- package/built/utils/debug.d.ts +16 -0
- package/built/utils/debug.js +95 -0
- package/built/utils/index.d.ts +124 -0
- package/built/utils/index.js +332 -0
- package/built/utils/lodash.d.ts +4 -0
- package/built/utils/lodash.js +9 -0
- package/package.json +103 -0
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ioredis-om",
|
|
3
|
+
"version": "5.10.2",
|
|
4
|
+
"description": "A robust, performance-focused and full-featured Redis client for Node.js.",
|
|
5
|
+
"main": "./built/index.js",
|
|
6
|
+
"types": "./built/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"built/"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"docker:setup": "docker compose -f test/docker-compose.yml up -d --wait",
|
|
12
|
+
"docker:teardown": "docker compose -f test/docker-compose.yml down --volumes --remove-orphans",
|
|
13
|
+
"test:tsd": "npm run build && tsd",
|
|
14
|
+
"test:js": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --no-experimental-strip-types \"test/helpers/*.ts\" \"test/unit/**/*.ts\" \"test/functional/**/*.ts\"",
|
|
15
|
+
"test:cov": "nyc npm run test:js",
|
|
16
|
+
"test:cluster": "TS_NODE_TRANSPILE_ONLY=true NODE_ENV=test mocha --no-experimental-strip-types \"test/cluster/**/*.ts\"",
|
|
17
|
+
"test": "npm run test:js && npm run test:tsd",
|
|
18
|
+
"lint": "eslint --ext .js,.ts ./lib",
|
|
19
|
+
"docs": "npx typedoc --logLevel Error --excludeExternals --excludeProtected --excludePrivate --readme none lib/index.ts",
|
|
20
|
+
"format": "prettier --write \"{,!(node_modules)/**/}*.{js,ts}\"",
|
|
21
|
+
"format-check": "prettier --check \"{,!(node_modules)/**/}*.{js,ts}\"",
|
|
22
|
+
"build": "rm -rf built && tsc",
|
|
23
|
+
"prepublishOnly": "npm run build",
|
|
24
|
+
"semantic-release": "semantic-release"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git://github.com/luin/ioredis.git"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"redis",
|
|
32
|
+
"cluster",
|
|
33
|
+
"sentinel",
|
|
34
|
+
"pipelining"
|
|
35
|
+
],
|
|
36
|
+
"tsd": {
|
|
37
|
+
"directory": "test/typing"
|
|
38
|
+
},
|
|
39
|
+
"author": "Zihua Li <i@zihua.li> (http://zihua.li)",
|
|
40
|
+
"license": "MIT",
|
|
41
|
+
"funding": {
|
|
42
|
+
"type": "opencollective",
|
|
43
|
+
"url": "https://opencollective.com/ioredis"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@ioredis/commands": "1.5.1",
|
|
47
|
+
"redis-om-type": "^1.0.0",
|
|
48
|
+
"cluster-key-slot": "1.1.1",
|
|
49
|
+
"debug": "4.4.3",
|
|
50
|
+
"denque": "2.1.0",
|
|
51
|
+
"lodash.defaults": "4.2.0",
|
|
52
|
+
"lodash.isarguments": "3.1.0",
|
|
53
|
+
"redis-errors": "1.2.0",
|
|
54
|
+
"redis-parser": "3.0.0",
|
|
55
|
+
"standard-as-callback": "2.1.0"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@ioredis/interface-generator": "^1.3.0",
|
|
59
|
+
"@semantic-release/changelog": "^6.0.1",
|
|
60
|
+
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
61
|
+
"@semantic-release/git": "^10.0.1",
|
|
62
|
+
"@types/chai": "^4.3.0",
|
|
63
|
+
"@types/chai-as-promised": "^7.1.5",
|
|
64
|
+
"@types/debug": "^4.1.5",
|
|
65
|
+
"@types/lodash.defaults": "^4.2.7",
|
|
66
|
+
"@types/lodash.isarguments": "^3.1.7",
|
|
67
|
+
"@types/mocha": "^9.1.0",
|
|
68
|
+
"@types/node": "^14.18.12",
|
|
69
|
+
"@types/redis-errors": "^1.2.1",
|
|
70
|
+
"@types/sinon": "^10.0.11",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
|
72
|
+
"@typescript-eslint/parser": "^5.48.1",
|
|
73
|
+
"chai": "^4.3.6",
|
|
74
|
+
"chai-as-promised": "^7.1.1",
|
|
75
|
+
"eslint": "^8.31.0",
|
|
76
|
+
"eslint-config-prettier": "^8.6.0",
|
|
77
|
+
"mocha": "^9.2.1",
|
|
78
|
+
"nyc": "^15.1.0",
|
|
79
|
+
"prettier": "^2.6.1",
|
|
80
|
+
"semantic-release": "^19.0.2",
|
|
81
|
+
"server-destroy": "^1.0.1",
|
|
82
|
+
"sinon": "^13.0.1",
|
|
83
|
+
"ts-node": "^10.4.0",
|
|
84
|
+
"tsd": "^0.19.1",
|
|
85
|
+
"typedoc": "^0.22.18",
|
|
86
|
+
"typescript": "^4.6.3",
|
|
87
|
+
"uuid": "^9.0.0"
|
|
88
|
+
},
|
|
89
|
+
"nyc": {
|
|
90
|
+
"reporter": [
|
|
91
|
+
"lcov"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"engines": {
|
|
95
|
+
"node": ">=12.22.0"
|
|
96
|
+
},
|
|
97
|
+
"mocha": {
|
|
98
|
+
"exit": true,
|
|
99
|
+
"timeout": 8000,
|
|
100
|
+
"recursive": true,
|
|
101
|
+
"require": "ts-node/register"
|
|
102
|
+
}
|
|
103
|
+
}
|