@adonisjs/core 5.3.2 → 5.4.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/README.md CHANGED
@@ -12,11 +12,7 @@
12
12
  </a>
13
13
  </h3>
14
14
 
15
- <a href="https://www.pivale.co/?utm_source=adonisjs" title="Barry Fisher">
16
- <img src="assets/pivale.png" width="100px">
17
- </a>
18
-
19
- <a href="https://cleaver.cloud/adonis/?utm_source=adonisjs" title="Cleaver">
15
+ <a href="https://cleavr.io/adonis/?utm_source=adonisjs" title="Cleaver">
20
16
  <img src="assets/cleavr.png" width="100px">
21
17
  </a>
22
18
 
@@ -63,6 +59,14 @@
63
59
  <a href="https://doconchain.com/?utm_source=adonisjs.com" title="Boost your business today with doconchain.com">
64
60
  <img src="assets/doconchain.jpeg" width="100px">
65
61
  </a>
62
+
63
+ <a href="https://bitkidd.dev/?utm_source=adonisjs.com" title="Chirill Ceban">
64
+ <img src="assets/bitkidd.jpeg" width="100px">
65
+ </a>
66
+
67
+ <a href="https://github.com/usagar80/?utm_source=adonisjs.com" title="Sagar Upadhyay">
68
+ <img src="assets/usagar80.jpeg" width="100px">
69
+ </a>
66
70
  </div>
67
71
 
68
72
  <hr>
@@ -9,6 +9,7 @@ declare module '@ioc:Adonis/Core/Static' {
9
9
  etag?: boolean;
10
10
  lastModified?: boolean;
11
11
  maxAge?: number | string;
12
+ immutable?: boolean;
12
13
  headers?: (path: string, stats: Stats) => Record<string, any>;
13
14
  };
14
15
  }
@@ -23,7 +23,7 @@ const hashConfig: HashConfig = {
23
23
  | Default hasher
24
24
  |--------------------------------------------------------------------------
25
25
  |
26
- | By default we make use of the bcrypt hasher to hash values. However, feel
26
+ | By default we make use of the argon hasher to hash values. However, feel
27
27
  | free to change the default value
28
28
  |
29
29
  */
@@ -59,6 +59,31 @@ const staticConfig: AssetsConfig = {
59
59
  |
60
60
  */
61
61
  lastModified: true,
62
+
63
+ /*
64
+ |--------------------------------------------------------------------------
65
+ | Max age
66
+ |--------------------------------------------------------------------------
67
+ |
68
+ | Set the value for the max-age directive. Set a higher value in production
69
+ | if you fingerprint your assets.
70
+ |
71
+ | Learn more: https://docs.adonisjs.com/guides/deployment#serving-static-assets
72
+ |
73
+ */
74
+ maxAge: 0,
75
+
76
+ /*
77
+ |--------------------------------------------------------------------------
78
+ | Immutable
79
+ |--------------------------------------------------------------------------
80
+ |
81
+ | Set the immutable directive. Set it to `true` if the assets are generated
82
+ | with a fingerprint. In others words the file name changes when the file
83
+ | contents change.
84
+ |
85
+ */
86
+ immutable: false,
62
87
  }
63
88
 
64
89
  export default staticConfig
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@adonisjs/core",
3
- "version": "5.3.2",
3
+ "version": "5.4.1",
4
4
  "description": "Core of AdonisJS",
5
5
  "exports": {
6
- ".": "./build/providers/AppProvider.js",
6
+ ".": {
7
+ "types": "./build/adonis-typings/index.d.ts",
8
+ "require": "./build/providers/AppProvider.js"
9
+ },
7
10
  "./standalone": "./build/standalone.js",
8
11
  "./Ignitor": "./build/src/Ignitor/index.js",
9
12
  "./commands": "./build/commands/index.js",
@@ -60,33 +63,33 @@
60
63
  },
61
64
  "homepage": "https://github.com/adonisjs/core#readme",
62
65
  "devDependencies": {
63
- "@adonisjs/assembler": "^5.3.6",
66
+ "@adonisjs/assembler": "^5.3.8",
64
67
  "@adonisjs/mrm-preset": "^4.1.2",
65
- "@adonisjs/repl": "^3.1.6",
68
+ "@adonisjs/repl": "^3.1.7",
66
69
  "@adonisjs/require-ts": "^2.0.8",
67
- "@adonisjs/sink": "^5.1.6",
70
+ "@adonisjs/sink": "^5.2.0",
68
71
  "@poppinss/dev-utils": "^1.1.5",
69
- "@types/node": "^16.7.6",
72
+ "@types/node": "^16.11.9",
70
73
  "@types/supertest": "^2.0.11",
71
- "clear-module": "^4.1.1",
74
+ "clear-module": "^4.1.2",
72
75
  "copyfiles": "^2.4.1",
73
76
  "del-cli": "^4.0.1",
74
- "eslint": "^7.31.0",
77
+ "eslint": "^8.3.0",
75
78
  "eslint-config-prettier": "^8.3.0",
76
- "eslint-plugin-adonis": "^1.3.3",
77
- "eslint-plugin-prettier": "^3.4.1",
79
+ "eslint-plugin-adonis": "^2.0.0",
80
+ "eslint-plugin-prettier": "^4.0.0",
78
81
  "etag": "^1.8.1",
79
82
  "github-label-sync": "^2.0.2",
80
- "husky": "^7.0.2",
81
- "japa": "^3.1.1",
82
- "mrm": "^3.0.5",
83
- "np": "^7.5.0",
84
- "prettier": "^2.3.2",
83
+ "husky": "^7.0.4",
84
+ "japa": "^4.0.0",
85
+ "mrm": "^3.0.10",
86
+ "np": "^7.6.0",
87
+ "prettier": "^2.4.1",
85
88
  "reflect-metadata": "^0.1.13",
86
89
  "strip-ansi": "^6.0.0",
87
90
  "supertest": "^6.1.6",
88
91
  "test-console": "^2.0.0",
89
- "typescript": "^4.4.2",
92
+ "typescript": "^4.5.2",
90
93
  "youch": "^2.2.2",
91
94
  "youch-terminal": "^1.1.1"
92
95
  },
@@ -109,20 +112,20 @@
109
112
  }
110
113
  },
111
114
  "dependencies": {
112
- "@adonisjs/ace": "^11.0.4",
113
- "@adonisjs/application": "^5.1.6",
115
+ "@adonisjs/ace": "^11.0.5",
116
+ "@adonisjs/application": "^5.1.7",
114
117
  "@adonisjs/bodyparser": "^8.0.1",
115
- "@adonisjs/drive": "^2.0.6",
118
+ "@adonisjs/drive": "^2.0.7",
116
119
  "@adonisjs/encryption": "^4.0.5",
117
120
  "@adonisjs/events": "^7.1.2",
118
121
  "@adonisjs/hash": "^7.0.8",
119
- "@adonisjs/http-server": "^5.5.6",
120
- "@adonisjs/validator": "^12.0.1",
122
+ "@adonisjs/http-server": "^5.5.7",
123
+ "@adonisjs/validator": "^12.1.1",
121
124
  "@poppinss/cliui": "^2.2.5",
122
125
  "@poppinss/manager": "^4.0.4",
123
- "@poppinss/utils": "^3.2.0",
126
+ "@poppinss/utils": "^3.3.1",
124
127
  "fs-extra": "^10.0.0",
125
- "memfs": "^3.2.2",
128
+ "memfs": "^3.3.0",
126
129
  "serve-static": "^1.14.1",
127
130
  "stringify-attributes": "^2.0.0"
128
131
  },