@apollohg/react-native-rich-text-editor-code-highlighting 2.0.12 → 2.1.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.
|
@@ -16,9 +16,31 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.source_files = 'ios/*.swift'
|
|
17
17
|
s.vendored_frameworks = 'ios/NativeEditorHighlighting.xcframework'
|
|
18
18
|
s.preserve_paths = 'ios/native_editor_highlightingFFI/**/*'
|
|
19
|
+
s.script_phases = [{
|
|
20
|
+
:name => 'Expose native_editor_highlightingFFI',
|
|
21
|
+
:execution_position => :before_compile,
|
|
22
|
+
:script => <<~SCRIPT,
|
|
23
|
+
set -e
|
|
24
|
+
ffi_destination="${PODS_CONFIGURATION_BUILD_DIR}/NativeEditorCodeHighlighting"
|
|
25
|
+
mkdir -p "$ffi_destination"
|
|
26
|
+
cp "${PODS_TARGET_SRCROOT}/ios/native_editor_highlightingFFI/native_editor_highlightingFFI.h" "$ffi_destination/"
|
|
27
|
+
cp "${PODS_TARGET_SRCROOT}/ios/native_editor_highlightingFFI/module.modulemap" "$ffi_destination/"
|
|
28
|
+
SCRIPT
|
|
29
|
+
:input_files => [
|
|
30
|
+
'${PODS_TARGET_SRCROOT}/ios/native_editor_highlightingFFI/native_editor_highlightingFFI.h',
|
|
31
|
+
'${PODS_TARGET_SRCROOT}/ios/native_editor_highlightingFFI/module.modulemap',
|
|
32
|
+
],
|
|
33
|
+
:output_files => [
|
|
34
|
+
'${PODS_CONFIGURATION_BUILD_DIR}/NativeEditorCodeHighlighting/native_editor_highlightingFFI.h',
|
|
35
|
+
'${PODS_CONFIGURATION_BUILD_DIR}/NativeEditorCodeHighlighting/module.modulemap',
|
|
36
|
+
],
|
|
37
|
+
}]
|
|
19
38
|
s.pod_target_xcconfig = {
|
|
20
39
|
'DEFINES_MODULE' => 'YES',
|
|
21
|
-
'SWIFT_INCLUDE_PATHS' => '$(
|
|
22
|
-
'HEADER_SEARCH_PATHS' => '$(
|
|
40
|
+
'SWIFT_INCLUDE_PATHS' => '$(PODS_CONFIGURATION_BUILD_DIR)/NativeEditorCodeHighlighting $(PODS_CONFIGURATION_BUILD_DIR)/ReactNativeProseEditor',
|
|
41
|
+
'HEADER_SEARCH_PATHS' => '$(PODS_CONFIGURATION_BUILD_DIR)/NativeEditorCodeHighlighting'
|
|
42
|
+
}
|
|
43
|
+
s.user_target_xcconfig = {
|
|
44
|
+
'SWIFT_INCLUDE_PATHS' => '$(PODS_CONFIGURATION_BUILD_DIR)/NativeEditorCodeHighlighting',
|
|
23
45
|
}
|
|
24
46
|
end
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
2
|
|
|
3
|
+
<!-- Generated by npm run notices:generate. Edit scripts/notices/ inputs, not this file. -->
|
|
4
|
+
|
|
3
5
|
This project's own code is licensed under Apache-2.0. Third-party code, generated bindings, and assets retain their original licenses. This file preserves applicable copyright and license notices and identifies where corresponding source can be obtained.
|
|
4
6
|
|
|
5
7
|
Include the applicable notices and source links with distributed applications or accompanying materials. Framework peers and native dependencies resolved by a host application may have different versions and additional transitive dependencies; keep the notices from that actual build as well. Build/test-only tools are not represented as bundled application code.
|
|
6
8
|
|
|
7
9
|
## Package scope
|
|
8
10
|
|
|
9
|
-
`@apollohg/react-native-rich-text-editor-code-highlighting` — syntect
|
|
11
|
+
`@apollohg/react-native-rich-text-editor-code-highlighting` — syntect, two-face, their dependencies, and bundled grammar/theme assets. The base editor is a peer dependency and supplies its own notices.
|
|
10
12
|
|
|
11
13
|
## Rust dependencies
|
|
12
14
|
|
|
@@ -376,6 +378,35 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
376
378
|
THE SOFTWARE.
|
|
377
379
|
````
|
|
378
380
|
|
|
381
|
+
[UNLICENSE](https://docs.rs/crate/aho-corasick/1.1.5/source/UNLICENSE)
|
|
382
|
+
|
|
383
|
+
````text
|
|
384
|
+
This is free and unencumbered software released into the public domain.
|
|
385
|
+
|
|
386
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
387
|
+
distribute this software, either in source code form or as a compiled
|
|
388
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
389
|
+
means.
|
|
390
|
+
|
|
391
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
392
|
+
of this software dedicate any and all copyright interest in the
|
|
393
|
+
software to the public domain. We make this dedication for the benefit
|
|
394
|
+
of the public at large and to the detriment of our heirs and
|
|
395
|
+
successors. We intend this dedication to be an overt act of
|
|
396
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
397
|
+
software under copyright law.
|
|
398
|
+
|
|
399
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
400
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
401
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
402
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
403
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
404
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
405
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
406
|
+
|
|
407
|
+
For more information, please refer to <http://unlicense.org/>
|
|
408
|
+
````
|
|
409
|
+
|
|
379
410
|
### anyhow 1.0.104
|
|
380
411
|
|
|
381
412
|
License expression: `MIT OR Apache-2.0`.
|
|
@@ -6040,6 +6071,35 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
6040
6071
|
THE SOFTWARE.
|
|
6041
6072
|
````
|
|
6042
6073
|
|
|
6074
|
+
[UNLICENSE](https://docs.rs/crate/memchr/2.8.3/source/UNLICENSE)
|
|
6075
|
+
|
|
6076
|
+
````text
|
|
6077
|
+
This is free and unencumbered software released into the public domain.
|
|
6078
|
+
|
|
6079
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
6080
|
+
distribute this software, either in source code form or as a compiled
|
|
6081
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
6082
|
+
means.
|
|
6083
|
+
|
|
6084
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
6085
|
+
of this software dedicate any and all copyright interest in the
|
|
6086
|
+
software to the public domain. We make this dedication for the benefit
|
|
6087
|
+
of the public at large and to the detriment of our heirs and
|
|
6088
|
+
successors. We intend this dedication to be an overt act of
|
|
6089
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
6090
|
+
software under copyright law.
|
|
6091
|
+
|
|
6092
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
6093
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
6094
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
6095
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
6096
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
6097
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
6098
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
6099
|
+
|
|
6100
|
+
For more information, please refer to <http://unlicense.org/>
|
|
6101
|
+
````
|
|
6102
|
+
|
|
6043
6103
|
### miniz_oxide 0.9.1
|
|
6044
6104
|
|
|
6045
6105
|
License expression: `MIT OR Zlib OR Apache-2.0`.
|
|
@@ -8060,6 +8120,35 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
8060
8120
|
THE SOFTWARE.
|
|
8061
8121
|
````
|
|
8062
8122
|
|
|
8123
|
+
[UNLICENSE](https://docs.rs/crate/same-file/1.0.6/source/UNLICENSE)
|
|
8124
|
+
|
|
8125
|
+
````text
|
|
8126
|
+
This is free and unencumbered software released into the public domain.
|
|
8127
|
+
|
|
8128
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
8129
|
+
distribute this software, either in source code form or as a compiled
|
|
8130
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
8131
|
+
means.
|
|
8132
|
+
|
|
8133
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
8134
|
+
of this software dedicate any and all copyright interest in the
|
|
8135
|
+
software to the public domain. We make this dedication for the benefit
|
|
8136
|
+
of the public at large and to the detriment of our heirs and
|
|
8137
|
+
successors. We intend this dedication to be an overt act of
|
|
8138
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
8139
|
+
software under copyright law.
|
|
8140
|
+
|
|
8141
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
8142
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
8143
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
8144
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
8145
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
8146
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
8147
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
8148
|
+
|
|
8149
|
+
For more information, please refer to <http://unlicense.org/>
|
|
8150
|
+
````
|
|
8151
|
+
|
|
8063
8152
|
### semver 1.0.28
|
|
8064
8153
|
|
|
8065
8154
|
License expression: `MIT OR Apache-2.0`.
|
|
@@ -13641,6 +13730,35 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
13641
13730
|
THE SOFTWARE.
|
|
13642
13731
|
````
|
|
13643
13732
|
|
|
13733
|
+
[UNLICENSE](https://docs.rs/crate/walkdir/2.5.0/source/UNLICENSE)
|
|
13734
|
+
|
|
13735
|
+
````text
|
|
13736
|
+
This is free and unencumbered software released into the public domain.
|
|
13737
|
+
|
|
13738
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
13739
|
+
distribute this software, either in source code form or as a compiled
|
|
13740
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
13741
|
+
means.
|
|
13742
|
+
|
|
13743
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
13744
|
+
of this software dedicate any and all copyright interest in the
|
|
13745
|
+
software to the public domain. We make this dedication for the benefit
|
|
13746
|
+
of the public at large and to the detriment of our heirs and
|
|
13747
|
+
successors. We intend this dedication to be an overt act of
|
|
13748
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
13749
|
+
software under copyright law.
|
|
13750
|
+
|
|
13751
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
13752
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
13753
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
13754
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
13755
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
13756
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
13757
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
13758
|
+
|
|
13759
|
+
For more information, please refer to <http://unlicense.org/>
|
|
13760
|
+
````
|
|
13761
|
+
|
|
13644
13762
|
### zmij 1.0.23
|
|
13645
13763
|
|
|
13646
13764
|
License expression: `MIT`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollohg/react-native-rich-text-editor-code-highlighting",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Optional native syntax highlighting for @apollohg/react-native-rich-text-editor",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"scripts/verify-package.mjs"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@apollohg/react-native-rich-text-editor": "2.0
|
|
32
|
+
"@apollohg/react-native-rich-text-editor": "2.1.0",
|
|
33
33
|
"expo": ">=52.0.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|