textoneitor 0.0.0-stage → 1.2.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.
Files changed (77) hide show
  1. package/LICENSE +101 -0
  2. package/LICENSE-AGPL-3.0 +661 -0
  3. package/README.md +69 -2
  4. package/dist/api/index.d.ts +34 -0
  5. package/dist/api/index.js +98 -0
  6. package/dist/baseline/index.d.ts +20 -0
  7. package/dist/baseline/index.js +81 -0
  8. package/dist/bundle/dist/cli.mjs +29893 -0
  9. package/dist/bundle/package.json +6 -0
  10. package/dist/bundle/rulepack/rulepack.json +1496 -0
  11. package/dist/bundle/rules/situaciones.yml +27 -0
  12. package/dist/cli/benchmark.d.ts +89 -0
  13. package/dist/cli/benchmark.js +185 -0
  14. package/dist/cli/main.d.ts +2 -0
  15. package/dist/cli/main.js +377 -0
  16. package/dist/config/core.d.ts +55 -0
  17. package/dist/config/core.js +244 -0
  18. package/dist/config/glob.d.ts +2 -0
  19. package/dist/config/glob.js +72 -0
  20. package/dist/config/index.d.ts +8 -0
  21. package/dist/config/index.js +38 -0
  22. package/dist/config/situaciones.d.ts +17 -0
  23. package/dist/config/situaciones.js +43 -0
  24. package/dist/contracts/index.d.ts +238 -0
  25. package/dist/contracts/index.js +4 -0
  26. package/dist/document/index.d.ts +10 -0
  27. package/dist/document/index.js +70 -0
  28. package/dist/document/text.d.ts +22 -0
  29. package/dist/document/text.js +91 -0
  30. package/dist/document/tokenize.d.ts +4 -0
  31. package/dist/document/tokenize.js +59 -0
  32. package/dist/markdown/index.d.ts +7 -0
  33. package/dist/markdown/index.js +178 -0
  34. package/dist/paths.d.ts +4 -0
  35. package/dist/paths.js +14 -0
  36. package/dist/reporters/index.d.ts +29 -0
  37. package/dist/reporters/index.js +182 -0
  38. package/dist/rules/compiler/build.d.ts +1 -0
  39. package/dist/rules/compiler/build.js +46 -0
  40. package/dist/rules/compiler/index.d.ts +40 -0
  41. package/dist/rules/compiler/index.js +343 -0
  42. package/dist/rules/compiler/safety.d.ts +16 -0
  43. package/dist/rules/compiler/safety.js +124 -0
  44. package/dist/rules/detectors/index.d.ts +4 -0
  45. package/dist/rules/detectors/index.js +651 -0
  46. package/dist/rules/detectors/shared.d.ts +30 -0
  47. package/dist/rules/detectors/shared.js +87 -0
  48. package/dist/rules/runtime/index.d.ts +17 -0
  49. package/dist/rules/runtime/index.js +74 -0
  50. package/dist/runner/index.d.ts +18 -0
  51. package/dist/runner/index.js +176 -0
  52. package/dist/runner/lint-text.d.ts +19 -0
  53. package/dist/runner/lint-text.js +20 -0
  54. package/dist/scoring/index.d.ts +16 -0
  55. package/dist/scoring/index.js +41 -0
  56. package/dist/suppressions/index.d.ts +23 -0
  57. package/dist/suppressions/index.js +86 -0
  58. package/dist/web/engine.meta.json +1 -0
  59. package/dist/web/engine.mjs +11029 -0
  60. package/dist/web/index.d.ts +39 -0
  61. package/dist/web/index.js +37 -0
  62. package/dist/web/node-crypto-shim.d.ts +9 -0
  63. package/dist/web/node-crypto-shim.js +24 -0
  64. package/dist/web/sha256.d.ts +11 -0
  65. package/dist/web/sha256.js +89 -0
  66. package/package.json +88 -4
  67. package/rulepack/rulepack.json +1496 -0
  68. package/rules/profiles/academico.yml +4 -0
  69. package/rules/profiles/chat.yml +4 -0
  70. package/rules/profiles/correo.yml +3 -0
  71. package/rules/profiles/general.yml +2 -0
  72. package/rules/profiles/marketing.yml +4 -0
  73. package/rules/profiles/readme.yml +5 -0
  74. package/rules/profiles/redes.yml +6 -0
  75. package/rules/profiles/tecnico.yml +4 -0
  76. package/rules/situaciones.yml +27 -0
  77. package/schemas/rule.schema.json +90 -0
package/LICENSE ADDED
@@ -0,0 +1,101 @@
1
+ Business Source License 1.1
2
+
3
+ License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ Parameters
9
+
10
+ Licensor: jrollon (Josulo72)
11
+
12
+ Licensed Work: textoneitor
13
+ The Licensed Work is (c) 2026 jrollon
14
+
15
+ Additional Use Grant: You may make production use of the Licensed Work,
16
+ including inside a business and on behalf of your own
17
+ clients, provided that you do not offer the Licensed
18
+ Work, or a derivative work of it, to third parties as a
19
+ paid product, a hosted or managed service, or any other
20
+ commercial offering whose value derives substantially
21
+ from the functionality of the Licensed Work.
22
+
23
+ Change Date: 2030-09-17
24
+
25
+ Change License: GNU Affero General Public License v3.0 (AGPL-3.0)
26
+
27
+ For information about alternative licensing arrangements for the Licensed
28
+ Work, please contact jrollon@gmail.com
29
+
30
+ -----------------------------------------------------------------------------
31
+
32
+ Notice
33
+
34
+ Business Source License 1.1
35
+
36
+ Terms
37
+
38
+ The Licensor hereby grants you the right to copy, modify, create derivative
39
+ works, redistribute, and make non-production use of the Licensed Work. The
40
+ Licensor may make an Additional Use Grant, above, permitting limited
41
+ production use.
42
+
43
+ Effective on the Change Date, or the fourth anniversary of the first publicly
44
+ available distribution of a specific version of the Licensed Work under this
45
+ License, whichever comes first, the Licensor hereby grants you rights under
46
+ the terms of the Change License, and the rights granted in the paragraph
47
+ above terminate.
48
+
49
+ If your use of the Licensed Work does not comply with the requirements
50
+ currently in effect as described in this License, you must purchase a
51
+ commercial license from the Licensor, its affiliated entities, or authorized
52
+ resellers, or you must refrain from using the Licensed Work.
53
+
54
+ All copies of the original and modified Licensed Work, and derivative works
55
+ of the Licensed Work, are subject to this License. This License applies
56
+ separately for each version of the Licensed Work and the Change Date may vary
57
+ for each version of the Licensed Work released by Licensor.
58
+
59
+ You must conspicuously display this License on each original or modified copy
60
+ of the Licensed Work. If you receive the Licensed Work in original or
61
+ modified form from a third party, the terms and conditions set forth in this
62
+ License apply to your use of that work.
63
+
64
+ Any use of the Licensed Work in violation of this License will automatically
65
+ terminate your rights under this License for the current and all other
66
+ versions of the Licensed Work.
67
+
68
+ This License does not grant you any right in any trademark or logo of
69
+ Licensor or its affiliates (provided that you may use a trademark or logo of
70
+ Licensor as expressly required by this Section 4).
71
+
72
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
73
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
74
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
75
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
76
+ TITLE.
77
+
78
+ MariaDB hereby grants you permission to use this License's text to license
79
+ your works, and to refer to it using the trademark "Business Source License",
80
+ as long as you comply with the Covenants of Licensor below.
81
+
82
+ Covenants of Licensor
83
+
84
+ In consideration of the right to use this License's text and the "Business
85
+ Source License" name and trademark, Licensor covenants to MariaDB, and to all
86
+ other recipients of the licensed work to be provided by Licensor:
87
+
88
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
89
+ or a license that is compatible with GPL Version 2.0 or a later version,
90
+ where "compatible" means that software provided under the Change License
91
+ can be included in a program with software provided under GPL Version 2.0
92
+ or a later version. Licensor may specify additional Change Licenses
93
+ without limitation.
94
+
95
+ 2. To either: (a) specify an additional grant of rights to use that does not
96
+ impose any additional restriction on the right granted in this License, as
97
+ the Additional Use Grant; or (b) insert the text "None".
98
+
99
+ 3. To specify a Change Date.
100
+
101
+ 4. Not to modify this License in any other way.