@adonisjs/events 8.1.1-0 → 8.1.3-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/src/emitter.d.ts +1 -1
- package/package.json +13 -12
package/build/src/emitter.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { EventsListItem } from './types.js';
|
|
|
3
3
|
import { EventsBuffer } from './events_buffer.js';
|
|
4
4
|
export declare class Emitter<EventsList extends Record<string | symbol | number, any>> {
|
|
5
5
|
#private;
|
|
6
|
-
constructor(app: Application);
|
|
6
|
+
constructor(app: Application<any, any>);
|
|
7
7
|
onError(callback: (event: keyof EventsList, error: any, data: any) => void): this;
|
|
8
8
|
on<Name extends keyof EventsList>(event: Name, handler: string | ((data: EventsList[Name]) => any | Promise<any>)): this;
|
|
9
9
|
once<Name extends keyof EventsList>(event: Name, handler: string | ((data: EventsList[Name]) => any | Promise<any>)): this;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/events",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.3-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,11 +37,11 @@
|
|
|
37
37
|
"author": "virk,adonisjs",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@adonisjs/application": "^6.1
|
|
41
|
-
"@adonisjs/config": "^4.1.
|
|
42
|
-
"@adonisjs/env": "^4.0
|
|
43
|
-
"@adonisjs/fold": "^9.
|
|
44
|
-
"@adonisjs/logger": "^5.0
|
|
40
|
+
"@adonisjs/application": "^6.3.1-0",
|
|
41
|
+
"@adonisjs/config": "^4.1.2-0",
|
|
42
|
+
"@adonisjs/env": "^4.1.0-0",
|
|
43
|
+
"@adonisjs/fold": "^9.6.0-0",
|
|
44
|
+
"@adonisjs/logger": "^5.1.0-0",
|
|
45
45
|
"@commitlint/cli": "^17.3.0",
|
|
46
46
|
"@commitlint/config-conventional": "^17.3.0",
|
|
47
47
|
"@japa/assert": "^1.3.6",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"@japa/runner": "^2.2.2",
|
|
51
51
|
"@japa/spec-reporter": "^1.3.2",
|
|
52
52
|
"@poppinss/dev-utils": "^2.0.1",
|
|
53
|
-
"@swc/core": "^1.3.
|
|
53
|
+
"@swc/core": "^1.3.22",
|
|
54
54
|
"@types/fs-extra": "^9.0.13",
|
|
55
|
-
"@types/node": "^18.11.
|
|
55
|
+
"@types/node": "^18.11.13",
|
|
56
56
|
"c8": "^7.12.0",
|
|
57
57
|
"cross-env": "^7.0.3",
|
|
58
58
|
"del-cli": "^5.0.0",
|
|
59
|
-
"eslint": "^8.
|
|
59
|
+
"eslint": "^8.29.0",
|
|
60
60
|
"eslint-config-prettier": "^8.3.0",
|
|
61
61
|
"eslint-plugin-adonis": "^3.0.3",
|
|
62
62
|
"eslint-plugin-prettier": "^4.2.1",
|
|
@@ -64,15 +64,16 @@
|
|
|
64
64
|
"github-label-sync": "^2.0.1",
|
|
65
65
|
"husky": "^8.0.2",
|
|
66
66
|
"np": "^7.6.2",
|
|
67
|
-
"prettier": "^2.8.
|
|
67
|
+
"prettier": "^2.8.1",
|
|
68
68
|
"ts-node": "^10.9.1",
|
|
69
|
-
"typescript": "^4.9.
|
|
69
|
+
"typescript": "^4.9.4"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"emittery": "^1.0.1"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
|
-
"@adonisjs/
|
|
75
|
+
"@adonisjs/application": "^6.3.1-0",
|
|
76
|
+
"@adonisjs/fold": "^9.6.0-0"
|
|
76
77
|
},
|
|
77
78
|
"repository": {
|
|
78
79
|
"type": "git",
|