dinou 8.1.0 → 8.1.1

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.
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "ws",
3
+ "version": "8.22.0",
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": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/websockets/ws.git"
18
+ },
19
+ "author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)",
20
+ "license": "MIT",
21
+ "main": "index.js",
22
+ "exports": {
23
+ ".": {
24
+ "browser": "./browser.js",
25
+ "import": "./wrapper.mjs",
26
+ "require": "./index.js"
27
+ },
28
+ "./package.json": "./package.json"
29
+ },
30
+ "browser": "browser.js",
31
+ "engines": {
32
+ "node": ">=10.0.0"
33
+ },
34
+ "files": [
35
+ "browser.js",
36
+ "index.js",
37
+ "lib/*.js",
38
+ "wrapper.mjs"
39
+ ],
40
+ "scripts": {
41
+ "test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js",
42
+ "integration": "mocha --throw-deprecation test/*.integration.js",
43
+ "lint": "eslint . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""
44
+ },
45
+ "peerDependencies": {
46
+ "bufferutil": "^4.0.1",
47
+ "utf-8-validate": ">=5.0.2"
48
+ },
49
+ "peerDependenciesMeta": {
50
+ "bufferutil": {
51
+ "optional": true
52
+ },
53
+ "utf-8-validate": {
54
+ "optional": true
55
+ }
56
+ },
57
+ "devDependencies": {
58
+ "@eslint/js": "^10.0.1",
59
+ "benchmark": "^2.1.4",
60
+ "bufferutil": "^4.0.1",
61
+ "eslint": "^10.0.1",
62
+ "eslint-config-prettier": "^10.0.1",
63
+ "eslint-plugin-prettier": "^5.0.0",
64
+ "globals": "^17.0.0",
65
+ "mocha": "^8.4.0",
66
+ "nyc": "^15.0.0",
67
+ "prettier": "^3.0.0",
68
+ "utf-8-validate": "^6.0.0"
69
+ },
70
+ "allowScripts": {
71
+ "bufferutil": true,
72
+ "utf-8-validate": true
73
+ }
74
+ }
@@ -0,0 +1,21 @@
1
+ import createWebSocketStream from './lib/stream.js';
2
+ import extension from './lib/extension.js';
3
+ import PerMessageDeflate from './lib/permessage-deflate.js';
4
+ import Receiver from './lib/receiver.js';
5
+ import Sender from './lib/sender.js';
6
+ import subprotocol from './lib/subprotocol.js';
7
+ import WebSocket from './lib/websocket.js';
8
+ import WebSocketServer from './lib/websocket-server.js';
9
+
10
+ export {
11
+ createWebSocketStream,
12
+ extension,
13
+ PerMessageDeflate,
14
+ Receiver,
15
+ Sender,
16
+ subprotocol,
17
+ WebSocket,
18
+ WebSocketServer
19
+ };
20
+
21
+ export default WebSocket;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dinou-ejected",
3
- "version": "8.1.0",
3
+ "version": "8.1.1",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "private": true,
@@ -1,35 +1,35 @@
1
- import module from "node:module";
2
-
3
- // Compatibility shim for Webpack 5.112+ internal file reorganization with react-server-dom-webpack
4
- const originalResolveFilename = module._resolveFilename;
5
- if (originalResolveFilename) {
6
- module._resolveFilename = function (request, parent, isMain, options) {
7
- if (request === "webpack/lib/dependencies/ModuleDependency") {
8
- try {
9
- return originalResolveFilename.call(this, request, parent, isMain, options);
10
- } catch {
11
- return originalResolveFilename.call(
12
- this,
13
- "webpack/lib/dependencies/core/ModuleDependency",
14
- parent,
15
- isMain,
16
- options
17
- );
18
- }
19
- }
20
- if (request === "webpack/lib/Template") {
21
- try {
22
- return originalResolveFilename.call(this, request, parent, isMain, options);
23
- } catch {
24
- return originalResolveFilename.call(
25
- this,
26
- "webpack/lib/template/Template",
27
- parent,
28
- isMain,
29
- options
30
- );
31
- }
32
- }
33
- return originalResolveFilename.call(this, request, parent, isMain, options);
34
- };
35
- }
1
+ import module from "node:module";
2
+
3
+ // Compatibility shim for Webpack 5.112+ internal file reorganization with react-server-dom-webpack
4
+ const originalResolveFilename = module._resolveFilename;
5
+ if (originalResolveFilename) {
6
+ module._resolveFilename = function (request, parent, isMain, options) {
7
+ if (request === "webpack/lib/dependencies/ModuleDependency") {
8
+ try {
9
+ return originalResolveFilename.call(this, request, parent, isMain, options);
10
+ } catch {
11
+ return originalResolveFilename.call(
12
+ this,
13
+ "webpack/lib/dependencies/core/ModuleDependency",
14
+ parent,
15
+ isMain,
16
+ options
17
+ );
18
+ }
19
+ }
20
+ if (request === "webpack/lib/Template") {
21
+ try {
22
+ return originalResolveFilename.call(this, request, parent, isMain, options);
23
+ } catch {
24
+ return originalResolveFilename.call(
25
+ this,
26
+ "webpack/lib/template/Template",
27
+ parent,
28
+ isMain,
29
+ options
30
+ );
31
+ }
32
+ }
33
+ return originalResolveFilename.call(this, request, parent, isMain, options);
34
+ };
35
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dinou",
3
- "version": "8.1.0",
3
+ "version": "8.1.1",
4
4
  "description": "Full-stack React 19 framework with native RSC, Server Functions, progressive streaming, and zero vendor lock-in.",
5
5
  "type": "module",
6
6
  "main": "./dinou/index.js",