Skip to content

Commit 6303187

Browse files
update deps
1 parent a961e86 commit 6303187

File tree

5 files changed

+40
-50
lines changed

5 files changed

+40
-50
lines changed

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
We as members, contributors, and leaders pledge to make participation in our
66
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, religion, or sexual identity
10-
and orientation.
7+
size, visible or invisible disability, ethnicity, level of experience, education, socio-economic status,
8+
nationality, personal appearance, race, or religion.
119

1210
We pledge to act and interact in ways that contribute to an open, welcoming,
1311
diverse, inclusive, and healthy community.
@@ -17,23 +15,23 @@ diverse, inclusive, and healthy community.
1715
Examples of behavior that contributes to a positive environment for our
1816
community include:
1917

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
18+
- Demonstrating empathy and kindness toward other people
19+
- Being respectful of differing opinions, viewpoints, and experiences
20+
- Giving and gracefully accepting constructive feedback
21+
- Accepting responsibility and apologizing to those affected by our mistakes,
2422
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
23+
- Focusing on what is best not just for us as individuals, but for the
2624
overall community
2725

2826
Examples of unacceptable behavior include:
2927

30-
* The use of sexualized language or imagery, and sexual attention or
28+
- The use of sexualized language or imagery, and sexual attention or
3129
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
30+
- Trolling, insulting or derogatory comments, and personal or political attacks
31+
- Public or private harassment
32+
- Publishing others' private information, such as a physical or email
3533
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
34+
- Other conduct which could reasonably be considered inappropriate in a
3735
professional setting
3836

3937
## Enforcement Responsibilities
@@ -106,7 +104,7 @@ Violating these terms may lead to a permanent ban.
106104
### 4. Permanent Ban
107105

108106
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
107+
standards, including sustained inappropriate behavior, harassment of an
110108
individual, or aggression toward or disparagement of classes of individuals.
111109

112110
**Consequence**: A permanent ban from any sort of public interaction within

SECURITY.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,12 @@ We will acknowledge receipt of your report within 48 hours and will keep you inf
1515

1616
We are committed to providing security updates for the following versions of best-bible:
1717

18-
| Version | Supported |
19-
| ------- | ------------------ |
18+
| Version | Supported |
19+
| -------------------------------------- | ------------------ |
2020
| (_Latest version is always supported_) | :white_check_mark: |
21-
| 1.4.5 | :white_check_mark: |
22-
| 1.1.5 | :white_check_mark: |
23-
| 1.0.8 | :x: |
24-
| 1.0.7 | :x: |
25-
| 1.0.6 | :x: |
26-
| 1.0.5 | :x: |
27-
| 1.0.4 | :x: |
28-
| 1.0.3 | :x: |
29-
| 1.0.2 | :x: |
30-
| 1.0.1 | :x: |
31-
| 1.0.0 | :x: |
21+
| 1.7.0 | :white_check_mark: |
22+
| 1.4.5 | :white_check_mark: |
23+
| 1.1.5 | :white_check_mark: |
3224

3325
If you are using an older version of best-bible, we strongly recommend upgrading to a supported version to ensure you receive the latest security updates.
3426

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "best-bible",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"description": "Fetch, parse, and analyze the Bible easily with JavaScript",
55
"scripts": {
66
"prebuild": "rm -rf dist",
@@ -51,8 +51,8 @@
5151
"homepage": "https://github.com/The-Best-Codes/best-bible#readme",
5252
"devDependencies": {
5353
"@types/bun": "^1.1.14",
54-
"@types/node": "^22.10.2",
55-
"bun-types": "^1.1.38",
54+
"@types/node": "^22.10.3",
55+
"bun-types": "^1.1.42",
5656
"typescript": "^5.7.2"
5757
}
5858
}

test/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Document</title>
7-
</head>
8-
<body>
9-
<script src="../dist/browser/best-bible.min.js"></script>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Document</title>
7+
</head>
8+
<body>
9+
<script src="../dist/browser/best-bible.min.js"></script>
1010

11-
<script>
12-
document.addEventListener("DOMContentLoaded", () => {
13-
console.log(BestBible.getVerse("Genesis", 1, 1));
14-
});
15-
</script>
16-
</body>
11+
<script>
12+
document.addEventListener("DOMContentLoaded", () => {
13+
console.log(BestBible.getVerse("Genesis", 1, 1));
14+
});
15+
</script>
16+
</body>
1717
</html>

test/index.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import { expect, test, describe } from "bun:test";
2-
import { getVerse, bibleStats, searchVerse } from "../src/index";
1+
import { describe, expect, test } from "bun:test";
2+
import { bibleStats, getVerse, searchVerse } from "../src/index";
33

44
describe("Bible Verse Retrieval", () => {
55
test("getVerse returns correct verse", () => {
66
const verse = getVerse("John", 3, 25);
77
expect(verse).toBeArray();
88
expect(verse.length).toBe(1);
99
expect(verse[0]).toBe(
10-
"Then there arose a question between some of John's disciples and the Jews about purifying."
10+
"Then there arose a question between some of John's disciples and the Jews about purifying.",
1111
);
1212
});
1313

1414
test("getVerse handles invalid input", () => {
1515
expect(() => getVerse("NonExistentBook", 999, 999)).toThrow(
16-
"Invalid verse reference"
16+
"Invalid verse reference",
1717
);
1818
});
1919
});
@@ -53,7 +53,7 @@ describe("Bible Verse Search", () => {
5353
const results: any = searchVerse("Jesus");
5454
expect(results).toBeArray();
5555
expect(results.length).toBeGreaterThan(0);
56-
results.forEach((verse) => {
56+
results.forEach((verse: { content: string }) => {
5757
expect(verse.content.toLowerCase()).toInclude("jesus");
5858
});
5959
});

0 commit comments

Comments
 (0)