serverless-spy 0.0.12 → 0.0.15
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/.jsii +6 -3
- package/{lambda-extension → extension}/aws/Common.ts +0 -0
- package/{lambda-extension → extension}/aws/Errors.ts +0 -0
- package/{lambda-extension → extension}/aws/UserFunction.ts +0 -0
- package/{lambda-extension → extension}/interceptor.ts +0 -0
- package/{lambda-extension → extension}/spy-wrapper +0 -0
- package/{lambda-extension → extension}/tsconfig.json +0 -0
- package/lib/listener/SpyHandlers.ts.d.ts +11 -11
- package/lib/listener/SpyHandlers.ts.js +1 -1
- package/lib/listener/SpyHandlers.ts.mjs +1 -1
- package/lib/listener/SpyListener.d.ts +10 -10
- package/lib/listener/SpyListener.js +1 -1
- package/lib/listener/SpyListener.mjs +1 -1
- package/lib/listener/createServerlessSpyListener.d.ts +1 -1
- package/lib/listener/createServerlessSpyListener.js +2 -2
- package/lib/listener/createServerlessSpyListener.mjs +2 -2
- package/lib/src/ServerlessSpy.js +3 -3
- package/lib/src/ServerlessSpy.mjs +2 -2
- package/listener/SpyHandlers.ts.ts +11 -11
- package/listener/SpyListener.ts +10 -10
- package/listener/createServerlessSpyListener.ts +4 -5
- package/{cli/node_modules → node_modules}/ws/LICENSE +0 -0
- package/{cli/node_modules → node_modules}/ws/README.md +0 -0
- package/{cli/node_modules → node_modules}/ws/browser.js +0 -0
- package/{cli/node_modules → node_modules}/ws/index.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/buffer-util.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/constants.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/event-target.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/extension.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/limiter.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/permessage-deflate.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/receiver.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/sender.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/stream.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/subprotocol.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/validation.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/websocket-server.js +0 -0
- package/{cli/node_modules → node_modules}/ws/lib/websocket.js +0 -0
- package/{cli/node_modules → node_modules}/ws/package.json +0 -0
- package/{cli/node_modules → node_modules}/ws/wrapper.mjs +0 -0
- package/package.json +14 -12
- package/cli/package-lock.json +0 -2356
- package/cli/package.json +0 -14
- package/common/package.json +0 -22
- package/listener/node_modules/ws/LICENSE +0 -19
- package/listener/node_modules/ws/README.md +0 -495
- package/listener/node_modules/ws/browser.js +0 -8
- package/listener/node_modules/ws/index.js +0 -13
- package/listener/node_modules/ws/lib/buffer-util.js +0 -127
- package/listener/node_modules/ws/lib/constants.js +0 -12
- package/listener/node_modules/ws/lib/event-target.js +0 -266
- package/listener/node_modules/ws/lib/extension.js +0 -203
- package/listener/node_modules/ws/lib/limiter.js +0 -55
- package/listener/node_modules/ws/lib/permessage-deflate.js +0 -511
- package/listener/node_modules/ws/lib/receiver.js +0 -618
- package/listener/node_modules/ws/lib/sender.js +0 -478
- package/listener/node_modules/ws/lib/stream.js +0 -159
- package/listener/node_modules/ws/lib/subprotocol.js +0 -62
- package/listener/node_modules/ws/lib/validation.js +0 -125
- package/listener/node_modules/ws/lib/websocket-server.js +0 -535
- package/listener/node_modules/ws/lib/websocket.js +0 -1305
- package/listener/node_modules/ws/package.json +0 -61
- package/listener/node_modules/ws/wrapper.mjs +0 -8
- package/listener/package.json +0 -19
- package/listener/tsconfig.dev.json +0 -16
- package/listener/tsconfig.json +0 -16
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ws",
|
|
3
|
-
"version": "8.8.1",
|
|
4
|
-
"description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"HyBi",
|
|
7
|
-
"Push",
|
|
8
|
-
"RFC-6455",
|
|
9
|
-
"WebSocket",
|
|
10
|
-
"WebSockets",
|
|
11
|
-
"real-time"
|
|
12
|
-
],
|
|
13
|
-
"homepage": "https://github.com/websockets/ws",
|
|
14
|
-
"bugs": "https://github.com/websockets/ws/issues",
|
|
15
|
-
"repository": "websockets/ws",
|
|
16
|
-
"author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"main": "index.js",
|
|
19
|
-
"exports": {
|
|
20
|
-
"import": "./wrapper.mjs",
|
|
21
|
-
"require": "./index.js"
|
|
22
|
-
},
|
|
23
|
-
"browser": "browser.js",
|
|
24
|
-
"engines": {
|
|
25
|
-
"node": ">=10.0.0"
|
|
26
|
-
},
|
|
27
|
-
"files": [
|
|
28
|
-
"browser.js",
|
|
29
|
-
"index.js",
|
|
30
|
-
"lib/*.js",
|
|
31
|
-
"wrapper.mjs"
|
|
32
|
-
],
|
|
33
|
-
"scripts": {
|
|
34
|
-
"test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js",
|
|
35
|
-
"integration": "mocha --throw-deprecation test/*.integration.js",
|
|
36
|
-
"lint": "eslint --ignore-path .gitignore . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"bufferutil": "^4.0.1",
|
|
40
|
-
"utf-8-validate": "^5.0.2"
|
|
41
|
-
},
|
|
42
|
-
"peerDependenciesMeta": {
|
|
43
|
-
"bufferutil": {
|
|
44
|
-
"optional": true
|
|
45
|
-
},
|
|
46
|
-
"utf-8-validate": {
|
|
47
|
-
"optional": true
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"benchmark": "^2.1.4",
|
|
52
|
-
"bufferutil": "^4.0.1",
|
|
53
|
-
"eslint": "^8.0.0",
|
|
54
|
-
"eslint-config-prettier": "^8.1.0",
|
|
55
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
56
|
-
"mocha": "^8.4.0",
|
|
57
|
-
"nyc": "^15.0.0",
|
|
58
|
-
"prettier": "^2.0.5",
|
|
59
|
-
"utf-8-validate": "^5.0.2"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import createWebSocketStream from './lib/stream.js';
|
|
2
|
-
import Receiver from './lib/receiver.js';
|
|
3
|
-
import Sender from './lib/sender.js';
|
|
4
|
-
import WebSocket from './lib/websocket.js';
|
|
5
|
-
import WebSocketServer from './lib/websocket-server.js';
|
|
6
|
-
|
|
7
|
-
export { createWebSocketStream, Receiver, Sender, WebSocket, WebSocketServer };
|
|
8
|
-
export default WebSocket;
|
package/listener/package.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "serverless-spy-listener",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"author": "",
|
|
10
|
-
"license": "ISC",
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"ws": "^8.8.1",
|
|
13
|
-
"serverless-spy-common": "*",
|
|
14
|
-
"@aws-sdk/types": "^3.127.0"
|
|
15
|
-
},
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@types/ws": "^8.5.3"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "Node 16",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"lib": ["es2021"],
|
|
6
|
-
"module": "esnext",
|
|
7
|
-
"target": "es2021",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"allowSyntheticDefaultImports": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"forceConsistentCasingInFileNames": true,
|
|
13
|
-
"moduleResolution": "node",
|
|
14
|
-
"resolveJsonModule": true
|
|
15
|
-
}
|
|
16
|
-
}
|
package/listener/tsconfig.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "Node 16",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"lib": ["es2021"],
|
|
6
|
-
"module": "esnext",
|
|
7
|
-
"target": "es2021",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"allowSyntheticDefaultImports": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"forceConsistentCasingInFileNames": true,
|
|
13
|
-
"moduleResolution": "node",
|
|
14
|
-
"resolveJsonModule": true
|
|
15
|
-
}
|
|
16
|
-
}
|