File tree 4 files changed +8
-8
lines changed 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 77
77
```
78
78
${{ needs.benchmark.outputs.MASTER-BENCH }}
79
79
```
80
-
80
+
81
81
- uses : actions-ecosystem/action-remove-labels@v1
82
82
with :
83
83
labels : |
Original file line number Diff line number Diff line change @@ -678,7 +678,7 @@ expose your application to remote attacks.
678
678
679
679
Users are responsible for sending trusted data. ` fast-json-stringify ` guarantees that you will get
680
680
a valid output only if your input matches the schema or can be coerced to the schema. If your input
681
- doesn't match the schema, you will get undefined behavior.
681
+ doesn't match the schema, you will get undefined behavior.
682
682
683
683
<a name =" debug " ></a >
684
684
### Debug Mode
@@ -699,7 +699,7 @@ const debugCompiled = fastJson({
699
699
700
700
console .log (debugCompiled) // it is a object contain code, ajv instance
701
701
const rawString = debugCompiled .code // it is the generated code
702
- console .log (rawString)
702
+ console .log (rawString)
703
703
704
704
const stringify = fastJson .restore (debugCompiled) // use the generated string to get back the `stringify` function
705
705
console .log (stringify ({ firstName: ' Foo' , surname: ' bar' })) // '{"firstName":"Foo"}'
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ declare namespace build {
65
65
*/
66
66
$ref : string ;
67
67
}
68
-
68
+
69
69
export interface AnySchema extends BaseSchema {
70
70
}
71
71
@@ -158,12 +158,12 @@ declare namespace build {
158
158
ajv ?: AjvOptions
159
159
/**
160
160
* Optionally configure how the integer will be rounded
161
- *
161
+ *
162
162
* @default 'trunc'
163
163
*/
164
164
rounding ?: 'ceil' | 'floor' | 'round' | 'trunc'
165
165
/**
166
- * @deprecated
166
+ * @deprecated
167
167
* Enable debug mode. Please use `mode: "debug"` instead
168
168
*/
169
169
debugMode ?: boolean
@@ -190,7 +190,7 @@ declare namespace build {
190
190
}
191
191
192
192
export const validLargeArrayMechanisms : string [ ]
193
- export function restore ( value : < TDoc extends object = object > ( doc : TDoc ) => string ) : ReturnType < Build >
193
+ export function restore ( value : < TDoc extends object = object > ( doc : TDoc ) => string ) : ReturnType < Build >
194
194
195
195
export const build : Build
196
196
export { build as default }
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ build({
159
159
} ) ( new Date ( ) )
160
160
161
161
/*
162
- This overload doesn't work yet -
162
+ This overload doesn't work yet -
163
163
TypeScript chooses the generic for the schema
164
164
before it chooses the overload for the options
165
165
parameter.
You can’t perform that action at this time.
0 commit comments