Skip to content

Commit 303d2d5

Browse files
committed
Remove emoji from JSDoc to prevent segfault
Related-to: DefinitelyTyped/DefinitelyTyped#69584. Related-to: microsoft/TypeScript#58369. Related-to: nodejs/node#52797.
1 parent 75d8716 commit 303d2d5

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

lib/index.js

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* It should return the textual representation of the given tree (typically
3434
* `string`).
3535
*
36-
* > 👉 **Note**: unified typically compiles by serializing: most compilers
36+
* > **Note**: unified typically compiles by serializing: most compilers
3737
* > return `string` (or `Uint8Array`).
3838
* > Some compilers, such as the one configured with
3939
* > [`rehype-react`][rehype-react], return other values (in this case, a
@@ -132,7 +132,7 @@
132132
* In practice, they are functions that can receive options and configure the
133133
* processor (`this`).
134134
*
135-
* > 👉 **Note**: plugins are called when the processor is *frozen*, not when
135+
* > **Note**: plugins are called when the processor is *frozen*, not when
136136
* > they are applied.
137137
*/
138138

@@ -246,7 +246,7 @@
246246
* The run phase is handled by [`trough`][trough], see its documentation for
247247
* the exact semantics of these functions.
248248
*
249-
* > 👉 **Note**: you should likely ignore `next`: don’t accept it.
249+
* > **Note**: you should likely ignore `next`: don’t accept it.
250250
* > it supports callback-style async work.
251251
* > But promises are likely easier to reason about.
252252
*
@@ -521,10 +521,10 @@ export class Processor extends CallableInstance {
521521
* For example, a list of HTML elements that are self-closing, which is
522522
* needed during all phases.
523523
*
524-
* > 👉 **Note**: setting information cannot occur on *frozen* processors.
524+
* > **Note**: setting information cannot occur on *frozen* processors.
525525
* > Call the processor first to create a new unfrozen processor.
526526
*
527-
* > 👉 **Note**: to register custom data in TypeScript, augment the
527+
* > **Note**: to register custom data in TypeScript, augment the
528528
* > {@link Data `Data`} interface.
529529
*
530530
* @example
@@ -649,9 +649,9 @@ export class Processor extends CallableInstance {
649649
/**
650650
* Parse text to a syntax tree.
651651
*
652-
* > 👉 **Note**: `parse` freezes the processor if not already *frozen*.
652+
* > **Note**: `parse` freezes the processor if not already *frozen*.
653653
*
654-
* > 👉 **Note**: `parse` performs the parse phase, not the run phase or other
654+
* > **Note**: `parse` performs the parse phase, not the run phase or other
655655
* > phases.
656656
*
657657
* @param {Compatible | undefined} [file]
@@ -671,9 +671,9 @@ export class Processor extends CallableInstance {
671671
/**
672672
* Process the given file as configured on the processor.
673673
*
674-
* > 👉 **Note**: `process` freezes the processor if not already *frozen*.
674+
* > **Note**: `process` freezes the processor if not already *frozen*.
675675
*
676-
* > 👉 **Note**: `process` performs the parse, run, and stringify phases.
676+
* > **Note**: `process` performs the parse, run, and stringify phases.
677677
*
678678
* @overload
679679
* @param {Compatible | undefined} file
@@ -697,7 +697,7 @@ export class Processor extends CallableInstance {
697697
* The parsed, transformed, and compiled value is available at
698698
* `file.value` (see note).
699699
*
700-
* > 👉 **Note**: unified typically compiles by serializing: most
700+
* > **Note**: unified typically compiles by serializing: most
701701
* > compilers return `string` (or `Uint8Array`).
702702
* > Some compilers, such as the one configured with
703703
* > [`rehype-react`][rehype-react], return other values (in this case, a
@@ -780,9 +780,9 @@ export class Processor extends CallableInstance {
780780
*
781781
* An error is thrown if asynchronous transforms are configured.
782782
*
783-
* > 👉 **Note**: `processSync` freezes the processor if not already *frozen*.
783+
* > **Note**: `processSync` freezes the processor if not already *frozen*.
784784
*
785-
* > 👉 **Note**: `processSync` performs the parse, run, and stringify phases.
785+
* > **Note**: `processSync` performs the parse, run, and stringify phases.
786786
*
787787
* @param {Compatible | undefined} [file]
788788
* File (optional); typically `string` or `VFile`; any value accepted as
@@ -793,7 +793,7 @@ export class Processor extends CallableInstance {
793793
* The parsed, transformed, and compiled value is available at
794794
* `file.value` (see note).
795795
*
796-
* > 👉 **Note**: unified typically compiles by serializing: most
796+
* > **Note**: unified typically compiles by serializing: most
797797
* > compilers return `string` (or `Uint8Array`).
798798
* > Some compilers, such as the one configured with
799799
* > [`rehype-react`][rehype-react], return other values (in this case, a
@@ -835,9 +835,9 @@ export class Processor extends CallableInstance {
835835
/**
836836
* Run *transformers* on a syntax tree.
837837
*
838-
* > 👉 **Note**: `run` freezes the processor if not already *frozen*.
838+
* > **Note**: `run` freezes the processor if not already *frozen*.
839839
*
840-
* > 👉 **Note**: `run` performs the run phase, not other phases.
840+
* > **Note**: `run` performs the run phase, not other phases.
841841
*
842842
* @overload
843843
* @param {HeadTree extends undefined ? Node : HeadTree} tree
@@ -929,9 +929,9 @@ export class Processor extends CallableInstance {
929929
*
930930
* An error is thrown if asynchronous transforms are configured.
931931
*
932-
* > 👉 **Note**: `runSync` freezes the processor if not already *frozen*.
932+
* > **Note**: `runSync` freezes the processor if not already *frozen*.
933933
*
934-
* > 👉 **Note**: `runSync` performs the run phase, not other phases.
934+
* > **Note**: `runSync` performs the run phase, not other phases.
935935
*
936936
* @param {HeadTree extends undefined ? Node : HeadTree} tree
937937
* Tree to transform and inspect.
@@ -966,9 +966,9 @@ export class Processor extends CallableInstance {
966966
/**
967967
* Compile a syntax tree.
968968
*
969-
* > 👉 **Note**: `stringify` freezes the processor if not already *frozen*.
969+
* > **Note**: `stringify` freezes the processor if not already *frozen*.
970970
*
971-
* > 👉 **Note**: `stringify` performs the stringify phase, not the run phase
971+
* > **Note**: `stringify` performs the stringify phase, not the run phase
972972
* > or other phases.
973973
*
974974
* @param {CompileTree extends undefined ? Node : CompileTree} tree
@@ -979,7 +979,7 @@ export class Processor extends CallableInstance {
979979
* @returns {CompileResult extends undefined ? Value : CompileResult}
980980
* Textual representation of the tree (see note).
981981
*
982-
* > 👉 **Note**: unified typically compiles by serializing: most compilers
982+
* > **Note**: unified typically compiles by serializing: most compilers
983983
* > return `string` (or `Uint8Array`).
984984
* > Some compilers, such as the one configured with
985985
* > [`rehype-react`][rehype-react], return other values (in this case, a
@@ -1010,7 +1010,7 @@ export class Processor extends CallableInstance {
10101010
* configuration is changed based on the options that are passed in.
10111011
* In other words, the plugin is not added a second time.
10121012
*
1013-
* > 👉 **Note**: `use` cannot be called on *frozen* processors.
1013+
* > **Note**: `use` cannot be called on *frozen* processors.
10141014
* > Call the processor first to create a new unfrozen processor.
10151015
*
10161016
* @example

0 commit comments

Comments
 (0)