@scpxl/nodejs-framework 1.0.42 → 1.0.43
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/dist/cli/index.js +4 -2
- package/dist/cli/index.js.map +2 -2
- package/dist/websocket/define-subscriber.d.ts +8 -1
- package/dist/websocket/define-subscriber.d.ts.map +1 -1
- package/dist/websocket/define-subscriber.js +2 -1
- package/dist/websocket/define-subscriber.js.map +2 -2
- package/dist/websocket/index.d.ts +4 -0
- package/dist/websocket/index.d.ts.map +1 -1
- package/dist/websocket/index.js +43 -1
- package/dist/websocket/index.js.map +2 -2
- package/dist/websocket/subscriber-middleware.d.ts +52 -0
- package/dist/websocket/subscriber-middleware.d.ts.map +1 -0
- package/dist/websocket/subscriber-middleware.js +200 -0
- package/dist/websocket/subscriber-middleware.js.map +7 -0
- package/dist/websocket/subscriber-utils.d.ts +88 -0
- package/dist/websocket/subscriber-utils.d.ts.map +1 -0
- package/dist/websocket/subscriber-utils.js +227 -0
- package/dist/websocket/subscriber-utils.js.map +7 -0
- package/dist/websocket/websocket-server.d.ts +41 -1
- package/dist/websocket/websocket-server.d.ts.map +1 -1
- package/dist/websocket/websocket-server.js +90 -7
- package/dist/websocket/websocket-server.js.map +2 -2
- package/dist/websocket/websocket.interface.d.ts +7 -0
- package/dist/websocket/websocket.interface.d.ts.map +1 -1
- package/dist/websocket/websocket.interface.js.map +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -4081,7 +4081,7 @@ var init_esm6 = __esm({
|
|
|
4081
4081
|
ENOCHILD = ENOTDIR | ENOENT | ENOREALPATH;
|
|
4082
4082
|
TYPEMASK = 1023;
|
|
4083
4083
|
entToType = /* @__PURE__ */ __name((s) => s.isFile() ? IFREG : s.isDirectory() ? IFDIR : s.isSymbolicLink() ? IFLNK : s.isCharacterDevice() ? IFCHR : s.isBlockDevice() ? IFBLK : s.isSocket() ? IFSOCK : s.isFIFO() ? IFIFO : UNKNOWN, "entToType");
|
|
4084
|
-
normalizeCache =
|
|
4084
|
+
normalizeCache = new LRUCache({ max: 2 ** 12 });
|
|
4085
4085
|
normalize2 = /* @__PURE__ */ __name((s) => {
|
|
4086
4086
|
const c = normalizeCache.get(s);
|
|
4087
4087
|
if (c)
|
|
@@ -4090,7 +4090,7 @@ var init_esm6 = __esm({
|
|
|
4090
4090
|
normalizeCache.set(s, n);
|
|
4091
4091
|
return n;
|
|
4092
4092
|
}, "normalize");
|
|
4093
|
-
normalizeNocaseCache =
|
|
4093
|
+
normalizeNocaseCache = new LRUCache({ max: 2 ** 12 });
|
|
4094
4094
|
normalizeNocase = /* @__PURE__ */ __name((s) => {
|
|
4095
4095
|
const c = normalizeNocaseCache.get(s);
|
|
4096
4096
|
if (c)
|
|
@@ -4256,6 +4256,7 @@ var init_esm6 = __esm({
|
|
|
4256
4256
|
get parentPath() {
|
|
4257
4257
|
return (this.parent || this).fullpath();
|
|
4258
4258
|
}
|
|
4259
|
+
/* c8 ignore start */
|
|
4259
4260
|
/**
|
|
4260
4261
|
* Deprecated alias for Dirent['parentPath'] Somewhat counterintuitively,
|
|
4261
4262
|
* this property refers to the *parent* path, not the path object itself.
|
|
@@ -4265,6 +4266,7 @@ var init_esm6 = __esm({
|
|
|
4265
4266
|
get path() {
|
|
4266
4267
|
return this.parentPath;
|
|
4267
4268
|
}
|
|
4269
|
+
/* c8 ignore stop */
|
|
4268
4270
|
/**
|
|
4269
4271
|
* Do not create new Path objects directly. They should always be accessed
|
|
4270
4272
|
* via the PathScurry class or other methods on the Path class.
|