@h3ravel/cache 3.0.0 → 4.0.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/CHANGELOG.md +13 -0
- package/README.md +29 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/Providers/CacheServiceProvider.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @h3ravel/cache
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b40caeb: feat: make service providers sortable and unique while only loading the core providers by default.
|
|
8
|
+
Service providers are no longer loaded by default, asides the ones provided by @h3ravel/core
|
|
9
|
+
Service provides are sorted by an optional order and priority property.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [b40caeb]
|
|
14
|
+
- @h3ravel/core@1.0.0
|
|
15
|
+
|
|
3
16
|
## 3.0.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<p align="center"><a href="https://h3ravel.toneflix.net" target="_blank"><img src="https://raw.githubusercontent.com/h3ravel/assets/refs/heads/main/logo-full.svg" width="400" alt="H3ravel Logo"></a></p>
|
|
2
|
+
|
|
3
|
+
[![Framework][ix]][lx]
|
|
4
|
+
[![Cache Package Version][i1]][l1]
|
|
5
|
+
|
|
6
|
+
# About H3ravel/cache
|
|
7
|
+
|
|
8
|
+
This is the cache management and handling system for the [H3ravel](https://h3ravel.toneflix.net) framework.
|
|
9
|
+
|
|
10
|
+
## Contributing
|
|
11
|
+
|
|
12
|
+
Thank you for considering contributing to the H3ravel framework! The contribution guide can be found in the [H3ravel documentation](#!).
|
|
13
|
+
|
|
14
|
+
## Code of Conduct
|
|
15
|
+
|
|
16
|
+
In order to ensure that the H3ravel community is welcoming to all, please review and abide by the [Code of Conduct](#).
|
|
17
|
+
|
|
18
|
+
## Security Vulnerabilities
|
|
19
|
+
|
|
20
|
+
If you discover a security vulnerability within H3ravel, please send an e-mail to Legacy via hamzas.legacy@toneflix.ng. All security vulnerabilities will be promptly addressed.
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
|
|
24
|
+
The H3ravel framework is open-sourced software licensed under the [MIT license](LICENSE).
|
|
25
|
+
|
|
26
|
+
[ix]: https://img.shields.io/npm/v/%40h3ravel%2Fcore?style=flat-square&label=Framework&color=%230970ce
|
|
27
|
+
[lx]: https://www.npmjs.com/package/@h3ravel/core
|
|
28
|
+
[i1]: https://img.shields.io/npm/v/%40h3ravel%2Fcache?style=flat-square&label=@h3ravel/cache&color=%230970ce
|
|
29
|
+
[l1]: https://www.npmjs.com/package/@h3ravel/cache
|
package/dist/index.cjs
CHANGED
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/Providers/CacheServiceProvider.ts"],"sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from './CacheManager';\nexport * from './Helpers';\nexport * from './Drivers/MemoryCache';\nexport * from './Drivers/RedisCache';\nexport * from './Providers/CacheServiceProvider';\n","import { ServiceProvider } from '@h3ravel/core'\n\n/**\n * Cache drivers and utilities.\n * \n * Bind CacheManager.\n * Load drivers (memory, Redis).\n * Provide Cache facade.\n * \n * Auto-Registered if @h3ravel/cache is installed.\n */\nexport class CacheServiceProvider extends ServiceProvider {\n register () {\n // Core bindings\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;ACAA,kBAAgC;AAWzB,IAAMA,uBAAN,cAAmCC,4BAAAA;EAX1C,OAW0CA;;;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/Providers/CacheServiceProvider.ts"],"sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from './CacheManager';\nexport * from './Helpers';\nexport * from './Drivers/MemoryCache';\nexport * from './Drivers/RedisCache';\nexport * from './Providers/CacheServiceProvider';\n","import { ServiceProvider } from '@h3ravel/core'\n\n/**\n * Cache drivers and utilities.\n * \n * Bind CacheManager.\n * Load drivers (memory, Redis).\n * Provide Cache facade.\n * \n * Auto-Registered if @h3ravel/cache is installed.\n */\nexport class CacheServiceProvider extends ServiceProvider {\n public static priority = 993;\n\n register () {\n // Core bindings\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;ACAA,kBAAgC;AAWzB,IAAMA,uBAAN,cAAmCC,4BAAAA;EAX1C,OAW0CA;;;EACtC,OAAcC,WAAW;EAEzBC,WAAY;EAEZ;AACJ;","names":["CacheServiceProvider","ServiceProvider","priority","register"]}
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Providers/CacheServiceProvider.ts"],"sourcesContent":["import { ServiceProvider } from '@h3ravel/core'\n\n/**\n * Cache drivers and utilities.\n * \n * Bind CacheManager.\n * Load drivers (memory, Redis).\n * Provide Cache facade.\n * \n * Auto-Registered if @h3ravel/cache is installed.\n */\nexport class CacheServiceProvider extends ServiceProvider {\n register () {\n // Core bindings\n }\n}\n"],"mappings":";;;;AAAA,SAASA,uBAAuB;AAWzB,IAAMC,uBAAN,cAAmCC,gBAAAA;EAX1C,OAW0CA;;;
|
|
1
|
+
{"version":3,"sources":["../src/Providers/CacheServiceProvider.ts"],"sourcesContent":["import { ServiceProvider } from '@h3ravel/core'\n\n/**\n * Cache drivers and utilities.\n * \n * Bind CacheManager.\n * Load drivers (memory, Redis).\n * Provide Cache facade.\n * \n * Auto-Registered if @h3ravel/cache is installed.\n */\nexport class CacheServiceProvider extends ServiceProvider {\n public static priority = 993;\n\n register () {\n // Core bindings\n }\n}\n"],"mappings":";;;;AAAA,SAASA,uBAAuB;AAWzB,IAAMC,uBAAN,cAAmCC,gBAAAA;EAX1C,OAW0CA;;;EACtC,OAAcC,WAAW;EAEzBC,WAAY;EAEZ;AACJ;","names":["ServiceProvider","CacheServiceProvider","ServiceProvider","priority","register"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/cache",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Cache system with multiple drivers for H3ravel.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@h3ravel/core": "0.
|
|
12
|
+
"@h3ravel/core": "1.0.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"typescript": "^5.4.0"
|