namespace-guard 0.22.0 → 0.23.0

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.
Files changed (42) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +50 -40
  3. package/THIRD-PARTY-NOTICES.md +120 -0
  4. package/dist/adapters/drizzle.js +6 -5
  5. package/dist/adapters/drizzle.mjs +6 -5
  6. package/dist/adapters/knex.js +1 -1
  7. package/dist/adapters/knex.mjs +1 -1
  8. package/dist/adapters/kysely.js +5 -2
  9. package/dist/adapters/kysely.mjs +5 -2
  10. package/dist/adapters/mikro-orm.js +5 -2
  11. package/dist/adapters/mikro-orm.mjs +5 -2
  12. package/dist/adapters/mongoose.js +4 -6
  13. package/dist/adapters/mongoose.mjs +4 -6
  14. package/dist/adapters/prisma.js +2 -4
  15. package/dist/adapters/prisma.mjs +2 -4
  16. package/dist/adapters/raw.js +1 -2
  17. package/dist/adapters/raw.mjs +1 -2
  18. package/dist/adapters/sequelize.js +1 -1
  19. package/dist/adapters/sequelize.mjs +1 -1
  20. package/dist/adapters/typeorm.js +5 -5
  21. package/dist/adapters/typeorm.mjs +5 -5
  22. package/dist/cli.js +8721 -5620
  23. package/dist/cli.mjs +8721 -5620
  24. package/dist/composability-vectors.js +7660 -5106
  25. package/dist/composability-vectors.mjs +7660 -5106
  26. package/dist/confusable-weights.d.mts +7 -1
  27. package/dist/confusable-weights.d.ts +7 -1
  28. package/dist/confusable-weights.js +4563 -378
  29. package/dist/confusable-weights.mjs +4563 -378
  30. package/dist/font-specific-weights.d.mts +8 -2
  31. package/dist/font-specific-weights.d.ts +8 -2
  32. package/dist/font-specific-weights.js +34890 -2492
  33. package/dist/font-specific-weights.mjs +34890 -2492
  34. package/dist/index.d.mts +162 -81
  35. package/dist/index.d.ts +162 -81
  36. package/dist/index.js +10927 -5776
  37. package/dist/index.mjs +10924 -5776
  38. package/dist/profanity-en.d.mts +5 -3
  39. package/dist/profanity-en.d.ts +5 -3
  40. package/dist/profanity-en.js +10306 -5304
  41. package/dist/profanity-en.mjs +10305 -5304
  42. package/package.json +10 -3
@@ -1,7 +1,13 @@
1
1
  import { ConfusableWeights } from './index.mjs';
2
2
 
3
+ /*! This data is derived from confusable-vision output and is licensed under
4
+ * CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/).
5
+ * Attribution: Paul Wood FRSA (@paultendo), confusable-vision
6
+ * (https://github.com/paultendo/confusable-vision).
7
+ * The surrounding namespace-guard code is MIT-licensed. */
8
+
3
9
  /**
4
- * Per-font confusable weight maps for 106 fonts (macOS system fonts and Roboto).
10
+ * Per-font confusable weight maps for 166 fonts (macOS system fonts and Roboto).
5
11
  *
6
12
  * Each font's map contains the pairs found alike in that font, in shape and at the baseline, with danger
7
13
  * saying how close they are there. Pairs found alike only across fonts have no single font and are not listed.
@@ -10,7 +16,7 @@ import { ConfusableWeights } from './index.mjs';
10
16
  * import { FONT_SPECIFIC_WEIGHTS } from "namespace-guard/font-specific-weights";
11
17
  * const weights = FONT_SPECIFIC_WEIGHTS["Arial"];
12
18
  *
13
- * Font set: macos-system-plus-roboto
19
+ * Font set: macos-catalogue-plus-noto-dejavu-roboto
14
20
  *
15
21
  * @licence CC-BY-4.0 (data); MIT (code)
16
22
  * @attribution Paul Wood FRSA, confusable-vision
@@ -1,7 +1,13 @@
1
1
  import { ConfusableWeights } from './index.js';
2
2
 
3
+ /*! This data is derived from confusable-vision output and is licensed under
4
+ * CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/).
5
+ * Attribution: Paul Wood FRSA (@paultendo), confusable-vision
6
+ * (https://github.com/paultendo/confusable-vision).
7
+ * The surrounding namespace-guard code is MIT-licensed. */
8
+
3
9
  /**
4
- * Per-font confusable weight maps for 106 fonts (macOS system fonts and Roboto).
10
+ * Per-font confusable weight maps for 166 fonts (macOS system fonts and Roboto).
5
11
  *
6
12
  * Each font's map contains the pairs found alike in that font, in shape and at the baseline, with danger
7
13
  * saying how close they are there. Pairs found alike only across fonts have no single font and are not listed.
@@ -10,7 +16,7 @@ import { ConfusableWeights } from './index.js';
10
16
  * import { FONT_SPECIFIC_WEIGHTS } from "namespace-guard/font-specific-weights";
11
17
  * const weights = FONT_SPECIFIC_WEIGHTS["Arial"];
12
18
  *
13
- * Font set: macos-system-plus-roboto
19
+ * Font set: macos-catalogue-plus-noto-dejavu-roboto
14
20
  *
15
21
  * @licence CC-BY-4.0 (data); MIT (code)
16
22
  * @attribution Paul Wood FRSA, confusable-vision