@cjhd/cj-event-emitter 1.2.0 → 1.2.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.
package/.cj-package.json
CHANGED
package/assets/EventEmitter.js
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
// CJHD editor-safe runtime stub. Generated by cj-cocos-license.
|
|
2
|
+
|
|
3
|
+
const __cjSafeValue = new Proxy(function __cjSafeValue() {}, {
|
|
4
|
+
get(target, key) {
|
|
5
|
+
if (key === Symbol.toPrimitive) return function () { return 0; };
|
|
6
|
+
if (key === 'valueOf') return function () { return 0; };
|
|
7
|
+
if (key === 'toString') return function () { return '[CJHD editor-safe stub]'; };
|
|
8
|
+
return __cjSafeValue;
|
|
9
|
+
},
|
|
10
|
+
apply() { return __cjSafeValue; },
|
|
11
|
+
construct() { return __cjSafeValue; },
|
|
12
|
+
});
|
|
4
13
|
|
|
5
|
-
export class EventEmitter {
|
|
6
|
-
|
|
14
|
+
export class EventEmitter {
|
|
15
|
+
constructor(...args) {}
|
|
16
|
+
on(...args) { return __cjSafeValue; }
|
|
17
|
+
once(...args) { return __cjSafeValue; }
|
|
18
|
+
off(...args) { return __cjSafeValue; }
|
|
19
|
+
targetOff(...args) { return __cjSafeValue; }
|
|
20
|
+
offAll(...args) { return __cjSafeValue; }
|
|
21
|
+
emit(...args) { return __cjSafeValue; }
|
|
22
|
+
}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
]�)8��K|f��c�0�T�0���$��W�v%�M�7"�!G{ۿJNF>ˋ��
|
|
@@ -1,29 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "cj-encrypted-payload-v1",
|
|
3
3
|
"packageName": "@cjhd/cj-event-emitter",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
4
|
+
"version": "1.2.1",
|
|
5
|
+
"packageVersion": "1.2.1",
|
|
6
|
+
"algorithm": "aes-256-gcm",
|
|
7
|
+
"kdf": "hkdf-sha256",
|
|
8
|
+
"content": "obfuscated-esm-js",
|
|
9
|
+
"sourceHash": "817c20503306e3d8ae961c30791813df84e7bfc70bc46cc539b582a4367befa4",
|
|
10
|
+
"payloadHash": "35befde9d729241373ce0f7550b4a50374c874b711bcbbb781057b6106cba5e5",
|
|
9
11
|
"files": [
|
|
10
12
|
{
|
|
13
|
+
"path": "assets/EventEmitter.js",
|
|
11
14
|
"out": "assets/EventEmitter.js",
|
|
15
|
+
"encrypted": "files/assets__EventEmitter.js.bin",
|
|
12
16
|
"bin": "files/assets__EventEmitter.js.bin",
|
|
13
|
-
"iv": "
|
|
14
|
-
"authTag": "
|
|
15
|
-
"sha256": "
|
|
17
|
+
"iv": "7cjupQMdMdxxlveq",
|
|
18
|
+
"authTag": "aNVW9+8aavRTfdhDsGJ3+A==",
|
|
19
|
+
"sha256": "108f8974d077db789629c2732b861e590d0ee9c5909f98cc8bb9eb9df2093e28",
|
|
20
|
+
"originalSize": 1145,
|
|
21
|
+
"encryptedSize": 1145
|
|
16
22
|
},
|
|
17
23
|
{
|
|
24
|
+
"path": "index.js",
|
|
18
25
|
"out": "index.js",
|
|
26
|
+
"encrypted": "files/index.js.bin",
|
|
19
27
|
"bin": "files/index.js.bin",
|
|
20
|
-
"iv": "
|
|
21
|
-
"authTag": "
|
|
22
|
-
"sha256": "
|
|
28
|
+
"iv": "i6sXH2tab4cLDIiB",
|
|
29
|
+
"authTag": "qnlBAGjiwqFJ5Hr4oB26Gg==",
|
|
30
|
+
"sha256": "ddc2dcd090bbd197a9235a14932a799a1699c43410cd54213133bc3555be4611",
|
|
31
|
+
"originalSize": 52,
|
|
32
|
+
"encryptedSize": 52
|
|
23
33
|
}
|
|
24
34
|
],
|
|
25
35
|
"publicExports": [
|
|
26
36
|
"EventEmitter"
|
|
27
37
|
],
|
|
28
|
-
"createdAt": "2026-05-
|
|
38
|
+
"createdAt": "2026-05-22T08:23:01.836Z"
|
|
29
39
|
}
|
package/index.js
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
// CJHD editor-safe runtime stub. Generated by cj-cocos-license.
|
|
2
|
+
|
|
3
|
+
const __cjSafeValue = new Proxy(function __cjSafeValue() {}, {
|
|
4
|
+
get(target, key) {
|
|
5
|
+
if (key === Symbol.toPrimitive) return function () { return 0; };
|
|
6
|
+
if (key === 'valueOf') return function () { return 0; };
|
|
7
|
+
if (key === 'toString') return function () { return '[CJHD editor-safe stub]'; };
|
|
8
|
+
return __cjSafeValue;
|
|
9
|
+
},
|
|
10
|
+
apply() { return __cjSafeValue; },
|
|
11
|
+
construct() { return __cjSafeValue; },
|
|
12
|
+
});
|
|
4
13
|
|
|
5
14
|
export { EventEmitter } from './assets/EventEmitter.js';
|
|
6
|
-
export function __cj_package_not_unlocked__() { __cjLicenseError(); }
|