@adonisjs/events 8.0.0-0 → 8.1.0-0
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/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/src/emitter.d.ts +1 -1
- package/build/src/emitter.js +1 -1
- package/package.json +13 -8
package/build/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Emitter } from './src/emitter.js';
|
|
1
|
+
export { Emitter as default } from './src/emitter.js';
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Emitter } from './src/emitter.js';
|
|
1
|
+
export { Emitter as default } from './src/emitter.js';
|
package/build/src/emitter.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EventsBuffer } from './events_buffer.js';
|
|
2
1
|
import type { EventsListItem } from './types.js';
|
|
2
|
+
import { EventsBuffer } from './events_buffer.js';
|
|
3
3
|
import { type Application } from '@adonisjs/application';
|
|
4
4
|
export declare class Emitter<EventsList extends Record<string | symbol | number, any>> {
|
|
5
5
|
#private;
|
package/build/src/emitter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Emittery from 'emittery';
|
|
2
2
|
import { EventsBuffer } from './events_buffer.js';
|
|
3
|
-
import { moduleExpression } from '@adonisjs/
|
|
3
|
+
import { moduleExpression } from '@adonisjs/fold';
|
|
4
4
|
export class Emitter {
|
|
5
5
|
#transport = new Emittery();
|
|
6
6
|
#eventsBuffer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/events",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.0-0",
|
|
4
4
|
"description": "An implementation of the event emitter built on top of emittery",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -37,16 +37,20 @@
|
|
|
37
37
|
"author": "virk,adonisjs",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@adonisjs/application": "^6.0
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
40
|
+
"@adonisjs/application": "^6.1.0-0",
|
|
41
|
+
"@adonisjs/config": "^4.1.0-0",
|
|
42
|
+
"@adonisjs/env": "^4.0.2-0",
|
|
43
|
+
"@adonisjs/fold": "^9.3.1-0",
|
|
44
|
+
"@adonisjs/logger": "^5.0.1-0",
|
|
45
|
+
"@commitlint/cli": "^17.3.0",
|
|
46
|
+
"@commitlint/config-conventional": "^17.3.0",
|
|
43
47
|
"@japa/assert": "^1.3.6",
|
|
44
48
|
"@japa/expect-type": "^1.0.2",
|
|
45
49
|
"@japa/run-failed-tests": "^1.1.0",
|
|
46
50
|
"@japa/runner": "^2.2.2",
|
|
47
51
|
"@japa/spec-reporter": "^1.3.2",
|
|
48
52
|
"@poppinss/dev-utils": "^2.0.1",
|
|
49
|
-
"@swc/core": "^1.3.
|
|
53
|
+
"@swc/core": "^1.3.20",
|
|
50
54
|
"@types/fs-extra": "^9.0.13",
|
|
51
55
|
"@types/node": "^18.11.9",
|
|
52
56
|
"c8": "^7.12.0",
|
|
@@ -55,11 +59,11 @@
|
|
|
55
59
|
"eslint-config-prettier": "^8.3.0",
|
|
56
60
|
"eslint-plugin-adonis": "^3.0.3",
|
|
57
61
|
"eslint-plugin-prettier": "^4.2.1",
|
|
58
|
-
"fs-extra": "^
|
|
62
|
+
"fs-extra": "^11.0.0",
|
|
59
63
|
"github-label-sync": "^2.0.1",
|
|
60
64
|
"husky": "^8.0.2",
|
|
61
65
|
"np": "^7.6.2",
|
|
62
|
-
"prettier": "^2.
|
|
66
|
+
"prettier": "^2.8.0",
|
|
63
67
|
"ts-node": "^10.9.1",
|
|
64
68
|
"typescript": "^4.9.3"
|
|
65
69
|
},
|
|
@@ -67,7 +71,8 @@
|
|
|
67
71
|
"emittery": "^1.0.1"
|
|
68
72
|
},
|
|
69
73
|
"peerDependencies": {
|
|
70
|
-
"@adonisjs/application": "^6.0
|
|
74
|
+
"@adonisjs/application": "^6.1.0-0",
|
|
75
|
+
"@adonisjs/fold": "^9.3.1-0"
|
|
71
76
|
},
|
|
72
77
|
"repository": {
|
|
73
78
|
"type": "git",
|