kaelum 1.4.6 โ 1.4.8
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 +3 -3
- package/eslint.config.mjs +0 -1
- package/package.json +3 -6
- package/.versionrc.js +0 -20
- package/CODE_OF_CONDUCT.md +0 -57
- package/CONTRIBUTING.md +0 -79
- package/SECURITY.md +0 -42
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<img src="
|
|
3
|
+
<img src=".github/logo.svg" alt="Kaelum" width="120" />
|
|
4
4
|
|
|
5
5
|
<h1>Kaelum</h1>
|
|
6
6
|
|
|
@@ -231,9 +231,9 @@ npm run format # format code with Prettier
|
|
|
231
231
|
|
|
232
232
|
## ๐ค Contributing
|
|
233
233
|
|
|
234
|
-
We welcome contributions! Please read our [Contributing Guide](CONTRIBUTING.md) before submitting a PR.
|
|
234
|
+
We welcome contributions! Please read our [Contributing Guide](https://github.com/kaelumjs/.github/blob/main/CONTRIBUTING.md) before submitting a PR.
|
|
235
235
|
|
|
236
|
-
See also: [Code of Conduct](CODE_OF_CONDUCT.md) ยท [Security Policy](SECURITY.md)
|
|
236
|
+
See also: [Code of Conduct](https://github.com/kaelumjs/.github/blob/main/CODE_OF_CONDUCT.md) ยท [Security Policy](https://github.com/kaelumjs/.github/blob/main/SECURITY.md)
|
|
237
237
|
|
|
238
238
|
---
|
|
239
239
|
|
package/eslint.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kaelum",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.8",
|
|
4
4
|
"description": "A minimalist Node.js framework for building web pages and APIs with simplicity and speed.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -17,9 +17,7 @@
|
|
|
17
17
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
|
|
18
18
|
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
|
|
19
19
|
"lint": "eslint .",
|
|
20
|
-
"format": "prettier --write ."
|
|
21
|
-
"release": "standard-version",
|
|
22
|
-
"changelog": "standard-version --skip.bump --skip.tag --skip.commit"
|
|
20
|
+
"format": "prettier --write ."
|
|
23
21
|
},
|
|
24
22
|
"funding": {
|
|
25
23
|
"type": "ko-fi",
|
|
@@ -45,7 +43,7 @@
|
|
|
45
43
|
"bugs": {
|
|
46
44
|
"url": "https://github.com/kaelumjs/kaelum/issues"
|
|
47
45
|
},
|
|
48
|
-
"homepage": "https://
|
|
46
|
+
"homepage": "https://kaelumjs.vercel.app/",
|
|
49
47
|
"dependencies": {
|
|
50
48
|
"cors": "^2.8.5",
|
|
51
49
|
"dotenv": "^17.2.3",
|
|
@@ -61,7 +59,6 @@
|
|
|
61
59
|
"eslint-config-prettier": "^10.1.8",
|
|
62
60
|
"jest": "^30.2.0",
|
|
63
61
|
"prettier": "^3.8.1",
|
|
64
|
-
"standard-version": "^9.5.0",
|
|
65
62
|
"supertest": "^7.2.2"
|
|
66
63
|
}
|
|
67
64
|
}
|
package/.versionrc.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
infile: 'docs/misc/changelog.md',
|
|
3
|
-
types: [
|
|
4
|
-
{ type: 'feat', section: 'Features' },
|
|
5
|
-
{ type: 'fix', section: 'Bug Fixes' },
|
|
6
|
-
{ type: 'perf', section: 'Performance Improvements' },
|
|
7
|
-
{ type: 'revert', section: 'Reverts' },
|
|
8
|
-
{ type: 'docs', section: 'Documentation', hidden: false },
|
|
9
|
-
{ type: 'style', section: 'Styles', hidden: true },
|
|
10
|
-
{ type: 'chore', section: 'Miscellaneous', hidden: false },
|
|
11
|
-
{ type: 'refactor', section: 'Code Refactoring', hidden: false },
|
|
12
|
-
{ type: 'test', section: 'Tests', hidden: true },
|
|
13
|
-
{ type: 'build', section: 'Build System', hidden: true },
|
|
14
|
-
{ type: 'ci', section: 'CI/CD', hidden: true },
|
|
15
|
-
],
|
|
16
|
-
commitUrlFormat: '{{host}}/{{owner}}/{{repository}}/commit/{{hash}}',
|
|
17
|
-
compareUrlFormat: '{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}',
|
|
18
|
-
issueUrlFormat: '{{host}}/{{owner}}/{{repository}}/issues/{{id}}',
|
|
19
|
-
userUrlFormat: '{{host}}/{{user}}'
|
|
20
|
-
};
|
package/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
-
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
-
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
-
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
-
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
-
identity and orientation.
|
|
11
|
-
|
|
12
|
-
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
-
diverse, inclusive, and healthy community.
|
|
14
|
-
|
|
15
|
-
## Our Standards
|
|
16
|
-
|
|
17
|
-
Examples of behavior that contributes to a positive environment:
|
|
18
|
-
|
|
19
|
-
* Using welcoming and inclusive language
|
|
20
|
-
* Being respectful of differing viewpoints and experiences
|
|
21
|
-
* Gracefully accepting constructive criticism
|
|
22
|
-
* Focusing on what is best for the community
|
|
23
|
-
* Showing empathy toward other community members
|
|
24
|
-
|
|
25
|
-
Examples of unacceptable behavior:
|
|
26
|
-
|
|
27
|
-
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
28
|
-
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
29
|
-
* Public or private harassment
|
|
30
|
-
* Publishing others' private information without explicit permission
|
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
32
|
-
|
|
33
|
-
## Enforcement Responsibilities
|
|
34
|
-
|
|
35
|
-
Community leaders are responsible for clarifying and enforcing our standards of
|
|
36
|
-
acceptable behavior and will take appropriate and fair corrective action in
|
|
37
|
-
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
38
|
-
or harmful.
|
|
39
|
-
|
|
40
|
-
## Scope
|
|
41
|
-
|
|
42
|
-
This Code of Conduct applies within all community spaces, and also applies when
|
|
43
|
-
an individual is officially representing the community in public spaces.
|
|
44
|
-
|
|
45
|
-
## Enforcement
|
|
46
|
-
|
|
47
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
48
|
-
reported to the community leaders responsible for enforcement at
|
|
49
|
-
**campagno.matheus@gmail.com**.
|
|
50
|
-
|
|
51
|
-
All complaints will be reviewed and investigated promptly and fairly.
|
|
52
|
-
|
|
53
|
-
## Attribution
|
|
54
|
-
|
|
55
|
-
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/),
|
|
56
|
-
version 2.1, available at
|
|
57
|
-
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# Contributing to Kaelum
|
|
2
|
-
|
|
3
|
-
Thank you for your interest in contributing to Kaelum! Every contribution helps make the framework better.
|
|
4
|
-
|
|
5
|
-
## Getting Started
|
|
6
|
-
|
|
7
|
-
1. **Fork** the repository on GitHub
|
|
8
|
-
2. **Clone** your fork locally:
|
|
9
|
-
```bash
|
|
10
|
-
git clone https://github.com/YOUR_USERNAME/kaelum.git
|
|
11
|
-
cd kaelum
|
|
12
|
-
```
|
|
13
|
-
3. **Install** dependencies:
|
|
14
|
-
```bash
|
|
15
|
-
npm install
|
|
16
|
-
```
|
|
17
|
-
4. **Run tests** to make sure everything works:
|
|
18
|
-
```bash
|
|
19
|
-
npm test
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Development Workflow
|
|
23
|
-
|
|
24
|
-
1. Create a new branch from `main`:
|
|
25
|
-
```bash
|
|
26
|
-
git checkout -b feat/your-feature
|
|
27
|
-
```
|
|
28
|
-
2. Make your changes
|
|
29
|
-
3. Write or update tests as needed
|
|
30
|
-
4. Run `npm test` to verify
|
|
31
|
-
5. Commit using [Conventional Commits](https://www.conventionalcommits.org/):
|
|
32
|
-
```bash
|
|
33
|
-
git commit -m "feat(core): add new feature"
|
|
34
|
-
```
|
|
35
|
-
6. Push and open a Pull Request
|
|
36
|
-
|
|
37
|
-
## Commit Convention
|
|
38
|
-
|
|
39
|
-
We follow **Conventional Commits**:
|
|
40
|
-
|
|
41
|
-
| Prefix | Usage |
|
|
42
|
-
|--------|-------|
|
|
43
|
-
| `feat` | New feature |
|
|
44
|
-
| `fix` | Bug fix |
|
|
45
|
-
| `docs` | Documentation only |
|
|
46
|
-
| `refactor` | Code change that neither fixes a bug nor adds a feature |
|
|
47
|
-
| `test` | Adding or updating tests |
|
|
48
|
-
| `chore` | Maintenance tasks |
|
|
49
|
-
| `perf` | Performance improvements |
|
|
50
|
-
|
|
51
|
-
## Pull Request Guidelines
|
|
52
|
-
|
|
53
|
-
- Describe **what** changed and **why**
|
|
54
|
-
- Reference related issues (e.g., `Closes #42`)
|
|
55
|
-
- Keep PRs focused โ one feature or fix per PR
|
|
56
|
-
- Ensure all tests pass
|
|
57
|
-
- Update documentation if applicable
|
|
58
|
-
|
|
59
|
-
## Reporting Bugs
|
|
60
|
-
|
|
61
|
-
Use the [Bug Report](https://github.com/kaelumjs/kaelum/issues/new?template=bug_report.md) issue template. Include:
|
|
62
|
-
|
|
63
|
-
- Steps to reproduce
|
|
64
|
-
- Expected vs actual behavior
|
|
65
|
-
- Node.js and Kaelum versions
|
|
66
|
-
- Relevant logs or error messages
|
|
67
|
-
|
|
68
|
-
## Suggesting Features
|
|
69
|
-
|
|
70
|
-
Use the [Feature Request](https://github.com/kaelumjs/kaelum/issues/new?template=feature_request.md) issue template. Describe:
|
|
71
|
-
|
|
72
|
-
- The problem you're trying to solve
|
|
73
|
-
- Your proposed solution
|
|
74
|
-
- Any alternatives you considered
|
|
75
|
-
|
|
76
|
-
## Code of Conduct
|
|
77
|
-
|
|
78
|
-
This project follows the [Contributor Covenant Code of Conduct](./CODE_OF_CONDUCT.md).
|
|
79
|
-
By participating, you agree to abide by its terms.
|
package/SECURITY.md
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported Versions
|
|
4
|
-
|
|
5
|
-
| Version | Supported |
|
|
6
|
-
|---------|-----------|
|
|
7
|
-
| 1.4.x | โ
Active |
|
|
8
|
-
| < 1.4 | โ End of life |
|
|
9
|
-
|
|
10
|
-
## Reporting a Vulnerability
|
|
11
|
-
|
|
12
|
-
If you discover a security vulnerability, please report it responsibly.
|
|
13
|
-
|
|
14
|
-
**Do NOT open a public GitHub issue for security vulnerabilities.**
|
|
15
|
-
|
|
16
|
-
Instead, please email us at: **campagno.matheus@gmail.com**
|
|
17
|
-
|
|
18
|
-
Include:
|
|
19
|
-
|
|
20
|
-
- A description of the vulnerability
|
|
21
|
-
- Steps to reproduce the issue
|
|
22
|
-
- Potential impact
|
|
23
|
-
- Suggested fix (if any)
|
|
24
|
-
|
|
25
|
-
## Response Timeline
|
|
26
|
-
|
|
27
|
-
- **Acknowledgment**: Within 48 hours
|
|
28
|
-
- **Initial assessment**: Within 1 week
|
|
29
|
-
- **Fix & release**: Depending on severity, typically within 2 weeks
|
|
30
|
-
|
|
31
|
-
## Disclosure Policy
|
|
32
|
-
|
|
33
|
-
- We will coordinate with you on disclosure timing
|
|
34
|
-
- We will credit reporters in the release notes (unless you prefer anonymity)
|
|
35
|
-
- We follow [responsible disclosure](https://en.wikipedia.org/wiki/Responsible_disclosure) practices
|
|
36
|
-
|
|
37
|
-
## Security Best Practices for Users
|
|
38
|
-
|
|
39
|
-
- Always use the latest version of Kaelum
|
|
40
|
-
- Keep your dependencies up to date (`npm audit`)
|
|
41
|
-
- Never expose `exposeStack: true` in production
|
|
42
|
-
- Use `helmet` via `setConfig({ helmet: true })` for HTTP security headers
|