ReviewOS

also looking at this

stacks/ts-qr-codes

chore(deps): update dependency react to 19.2.7

#2137
Closed chris wants to merge buddy-bot/update-major-update-react into main
222 files +16350 -1825

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

docs/api/barcode/CODE128.mdmodified+23-21
Changes to docs/api/barcode/CODE128.md
@@ -105,29 +105,31 @@ barcode('#barcode', 'Example1234', {
105105## Best Practices
106106
1071071. Mode Selection:
108 - Use automatic mode unless you have specific requirements
109 - Use Mode C for number-only data for maximum density
110 - Use Mode A when uppercase and control characters are needed
111 - Use Mode B for mixed-case text
108 - Use automatic mode unless you have specific requirements
109 - Use Mode C for number-only data for maximum density
110 - Use Mode A when uppercase and control characters are needed
111 - Use Mode B for mixed-case text
112
1121132. Data Validation:
113 - ```ts
114 barcode('#barcode', 'Your Data', {
115 format: 'CODE128',
116 valid: (valid) => {
117 if (!valid)
118 console.error('Invalid data for CODE128')
119 }
120 })
121 ```
114 ```ts
115 barcode('#barcode', 'Your Data', {
116 format: 'CODE128',
117 valid: (valid) => {
118 if (!valid)
119 console.error('Invalid data for CODE128')
120 }
121 })
122 ```
123
1221243. Error Handling:
123 - ```ts
124 try {
125 barcode('#barcode', 'Your Data', { format: 'CODE128' })
126 }
127 catch (error) {
128 console.error('Failed to generate barcode:', error)
129 }
130 ```
125 ```ts
126 try {
127 barcode('#barcode', 'Your Data', { format: 'CODE128' })
128 }
129 catch (error) {
130 console.error('Failed to generate barcode:', error)
131 }
132 ```
131133
132134## Format Specifications
133135
docs/api/barcode/CODE39.mdmodified+22-18
Changes to docs/api/barcode/CODE39.md
@@ -81,14 +81,16 @@ barcode('#barcode', 'CUSTOM39', {
8181## Common Use Cases
8282
83831. **Military/Government**
84 - CAGE (Commercial and Government Entity) codes
85 - Department of Defense applications
84 - CAGE (Commercial and Government Entity) codes
85 - Department of Defense applications
86
86872. **Automotive Industry**
87 - Vehicle Identification Numbers (VIN)
88 - Part tracking
88 - Vehicle Identification Numbers (VIN)
89 - Part tracking
90
89913. **Healthcare**
90 - Patient identification
91 - Medical equipment tracking
92 - Patient identification
93 - Medical equipment tracking
9294
9395[!NOTE] Image needed: Example of CODE39 in real-world application
9496
@@ -112,20 +114,22 @@ barcode('#barcode', 'CUSTOM39', {
112114## Best Practices
113115
1141161. Input Validation
115 - Always verify input contains only valid characters
116 - Consider using uppercase transformation for input
117 - Always verify input contains only valid characters
118 - Consider using uppercase transformation for input
119
1171202. Error Handling
118 ```ts
119 try {
120 barcode('#barcode', 'TEST-123', { format: 'CODE39' })
121 }
122 catch (error) {
123 console.error('Barcode generation failed:', error)
124 }
125 ```
121 ```ts
122 try {
123 barcode('#barcode', 'TEST-123', { format: 'CODE39' })
124 }
125 catch (error) {
126 console.error('Barcode generation failed:', error)
127 }
128 ```
129
1261303. Check Digit Usage
127 - Enable mod43 for applications requiring high reliability
128 - Ensure scanners are configured correctly for mod43
131 - Enable mod43 for applications requiring high reliability
132 - Ensure scanners are configured correctly for mod43
129133
130134## Migration to CODE128
131135