backend-manager 5.1.1 → 5.1.2
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
CHANGED
|
@@ -14,6 +14,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
14
14
|
- `Fixed` for any bug fixes.
|
|
15
15
|
- `Security` in case of vulnerabilities.
|
|
16
16
|
|
|
17
|
+
# [5.1.2] - 2026-05-14
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **Broadened `test` / `example` local-part blocks** in `email/data/blocked-local-patterns.js`:
|
|
22
|
+
- `/^test[._-]/` → `/^test/` — now catches `testuser`, `test123abc`, etc., not only `test.user` / `test_123` / `test-foo`.
|
|
23
|
+
- Added `/^example/` — catches `example`, `exampleuser`, `example.user`, `examples`, etc.
|
|
24
|
+
- Both patterns are anchored to the start of the local part, so legitimate addresses that contain (but don't start with) those substrings are still allowed: `rachel.tester`, `contestant`, `exam` all pass.
|
|
25
|
+
|
|
17
26
|
# [5.1.1] - 2026-05-13
|
|
18
27
|
|
|
19
28
|
### Added
|
package/CLAUDE.md
CHANGED
|
@@ -10,8 +10,6 @@ Backend Manager (BEM) is a comprehensive framework for building modern Firebase
|
|
|
10
10
|
|
|
11
11
|
## Recommended skills
|
|
12
12
|
|
|
13
|
-
Two Claude Code skills are tailored to this project. Both auto-trigger on relevant keywords and can be invoked manually with `/<skill-name>`:
|
|
14
|
-
|
|
15
13
|
- **`BEM:patterns`** — SSOT for Backend Manager routes, schemas, tests, Firebase functions, Firestore rules, usage tracking patterns. Auto-loads on BEM-specific keywords (`route`, `schema`, `endpoint`, `bm_api`, `Manager.init`, `npx mgr test`, `gcloud logs`, etc.) and when touching files in `functions/routes/`, `functions/schemas/`, `functions/index.js`, `test/`, `src/cli/commands/`.
|
|
16
14
|
- **`js:patterns`** — JavaScript/Node.js conventions: file structure, JSDoc, defensive coding (`?.` usage), template literals, `package.json` conventions. Auto-loads when creating new `.js` files or touching JS module structure.
|
|
17
15
|
|
package/package.json
CHANGED
|
@@ -6,6 +6,6 @@ module.exports = [
|
|
|
6
6
|
/^\d+$/, // All numeric: 123456
|
|
7
7
|
/^(.)\1{2,}$/, // Repeating single char: aaaa, xxxx
|
|
8
8
|
/^[a-z]{1,2}\d+$/, // Single letter + numbers: a123, x999
|
|
9
|
-
/^test
|
|
10
|
-
/^example
|
|
9
|
+
/^test/, // Starts with test: test, testuser, test123, test.user
|
|
10
|
+
/^example/, // Starts with example: example, exampleuser, example.user
|
|
11
11
|
];
|