@lowdefy/blocks-markdown 4.0.0-rc.0 → 4.0.0-rc.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.
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
function _extends() {
|
|
2
|
-
_extends = Object.assign || function(target) {
|
|
3
|
-
for(var i = 1; i < arguments.length; i++){
|
|
4
|
-
var source = arguments[i];
|
|
5
|
-
for(var key in source){
|
|
6
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7
|
-
target[key] = source[key];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
return target;
|
|
12
|
-
};
|
|
13
|
-
return _extends.apply(this, arguments);
|
|
14
|
-
}
|
|
15
1
|
/*
|
|
16
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2023 Lowdefy, Inc
|
|
17
3
|
|
|
18
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
19
5
|
you may not use this file except in compliance with the License.
|
|
@@ -26,7 +12,21 @@ function _extends() {
|
|
|
26
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27
13
|
See the License for the specific language governing permissions and
|
|
28
14
|
limitations under the License.
|
|
29
|
-
*/
|
|
15
|
+
*/ function _extends() {
|
|
16
|
+
_extends = Object.assign || function(target) {
|
|
17
|
+
for(var i = 1; i < arguments.length; i++){
|
|
18
|
+
var source = arguments[i];
|
|
19
|
+
for(var key in source){
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
21
|
+
target[key] = source[key];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return target;
|
|
26
|
+
};
|
|
27
|
+
return _extends.apply(this, arguments);
|
|
28
|
+
}
|
|
29
|
+
import React from 'react';
|
|
30
30
|
import { Light as SyntaxHighlighter } from 'react-syntax-highlighter';
|
|
31
31
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
32
32
|
import ReactMarkdown from 'react-markdown';
|
package/dist/blocks.js
CHANGED
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/blocks-markdown",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lowdefy markdown blocks.",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -42,30 +42,29 @@
|
|
|
42
42
|
"clean": "rm -rf dist",
|
|
43
43
|
"copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.yaml\" -e \"./src/**/*.snap\"",
|
|
44
44
|
"prepublishOnly": "pnpm build",
|
|
45
|
-
"test
|
|
46
|
-
"test": "jest --coverage"
|
|
45
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
47
46
|
},
|
|
48
47
|
"dependencies": {
|
|
49
|
-
"@lowdefy/block-utils": "4.0.0-rc.
|
|
50
|
-
"dompurify": "2.
|
|
48
|
+
"@lowdefy/block-utils": "4.0.0-rc.2",
|
|
49
|
+
"dompurify": "2.4.1",
|
|
51
50
|
"react": "18.2.0",
|
|
52
51
|
"react-dom": "18.2.0",
|
|
53
|
-
"react-markdown": "8.0.
|
|
52
|
+
"react-markdown": "8.0.4",
|
|
54
53
|
"react-syntax-highlighter": "15.5.0",
|
|
55
54
|
"rehype-raw": "6.1.1",
|
|
56
55
|
"remark-gfm": "3.0.1"
|
|
57
56
|
},
|
|
58
57
|
"devDependencies": {
|
|
59
|
-
"@emotion/jest": "11.
|
|
60
|
-
"@lowdefy/block-dev": "4.0.0-rc.
|
|
61
|
-
"@lowdefy/jest-yaml-transform": "4.0.0-rc.
|
|
62
|
-
"@swc/cli": "0.1.
|
|
63
|
-
"@swc/core": "1.
|
|
64
|
-
"@swc/jest": "0.2.
|
|
65
|
-
"@testing-library/dom": "8.
|
|
66
|
-
"@testing-library/react": "13.
|
|
67
|
-
"@testing-library/user-event": "14.
|
|
68
|
-
"@types/react": "18.0.
|
|
58
|
+
"@emotion/jest": "11.10.5",
|
|
59
|
+
"@lowdefy/block-dev": "4.0.0-rc.2",
|
|
60
|
+
"@lowdefy/jest-yaml-transform": "4.0.0-rc.2",
|
|
61
|
+
"@swc/cli": "0.1.59",
|
|
62
|
+
"@swc/core": "1.3.24",
|
|
63
|
+
"@swc/jest": "0.2.24",
|
|
64
|
+
"@testing-library/dom": "8.19.1",
|
|
65
|
+
"@testing-library/react": "13.4.0",
|
|
66
|
+
"@testing-library/user-event": "14.4.3",
|
|
67
|
+
"@types/react": "18.0.26",
|
|
69
68
|
"copyfiles": "2.4.1",
|
|
70
69
|
"jest": "28.1.0",
|
|
71
70
|
"jest-environment-jsdom": "28.1.0",
|
|
@@ -74,5 +73,5 @@
|
|
|
74
73
|
"publishConfig": {
|
|
75
74
|
"access": "public"
|
|
76
75
|
},
|
|
77
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "ac0dec732efb3b3cb06c82941d8f829c9fa65dff"
|
|
78
77
|
}
|