@shelf/global-renderer 2.1.4 → 2.3.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.
@@ -1,12 +1,37 @@
1
1
  /*!
2
- * Sizzle CSS Selector Engine v2.3.10
3
- * https://sizzlejs.com/
4
- *
5
- * Copyright JS Foundation and other contributors
6
- * Released under the MIT license
7
- * https://js.foundation/
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */
6
+
7
+ /*!
8
+ * Sizzle CSS Selector Engine v2.3.10
9
+ * https://sizzlejs.com/
10
+ *
11
+ * Copyright JS Foundation and other contributors
12
+ * Released under the MIT license
13
+ * https://js.foundation/
14
+ *
15
+ * Date: 2023-02-14
16
+ */
17
+
18
+ /*!
19
+ Copyright (c) 2017 Jed Watson.
20
+ Licensed under the MIT License (MIT), see
21
+ http://jedwatson.github.io/classnames
22
+ */
23
+
24
+ /*!
25
+ * froala_editor v4.1.4 (https://www.froala.com/wysiwyg-editor)
26
+ * License https://froala.com/wysiwyg-editor/terms/
27
+ * Copyright 2014-2023 Froala Labs
28
+ */
29
+
30
+ /*!
31
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
8
32
  *
9
- * Date: 2023-02-14
33
+ * Copyright (c) 2014-2017, Jon Schlinkert.
34
+ * Released under the MIT License.
10
35
  */
11
36
 
12
37
  /*!
@@ -23,6 +48,8 @@
23
48
  * Date: 2023-03-08T15:28Z
24
49
  */
25
50
 
51
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
52
+
26
53
  /**
27
54
  * @license
28
55
  * Lodash <https://lodash.com/>
@@ -52,6 +79,16 @@
52
79
  * LICENSE file in the root directory of this source tree.
53
80
  */
54
81
 
82
+ /**
83
+ * @license React
84
+ * react-is.production.min.js
85
+ *
86
+ * Copyright (c) Facebook, Inc. and its affiliates.
87
+ *
88
+ * This source code is licensed under the MIT license found in the
89
+ * LICENSE file in the root directory of this source tree.
90
+ */
91
+
55
92
  /**
56
93
  * @license React
57
94
  * react-jsx-runtime.production.js
@@ -92,3 +129,20 @@
92
129
  *
93
130
  * @license MIT
94
131
  */
132
+
133
+ /**
134
+ * @license nested-property https://github.com/cosmosio/nested-property
135
+ *
136
+ * The MIT License (MIT)
137
+ *
138
+ * Copyright (c) 2014-2015 Olivier Scherrer <pode.fr@gmail.com>
139
+ */
140
+
141
+ /** @license React v16.13.1
142
+ * react-is.production.min.js
143
+ *
144
+ * Copyright (c) Facebook, Inc. and its affiliates.
145
+ *
146
+ * This source code is licensed under the MIT license found in the
147
+ * LICENSE file in the root directory of this source tree.
148
+ */
package/package.json CHANGED
@@ -1,15 +1,10 @@
1
1
  {
2
2
  "name": "@shelf/global-renderer",
3
- "version": "2.1.4",
3
+ "version": "2.3.0",
4
4
  "description": "The package exposes entrypoints with window's function(-s) to render React component",
5
5
  "main": "lib",
6
6
  "type": "module",
7
7
  "types": "lib/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/shelfio/libs-frontend.git",
11
- "directory": "packages/global-renderer"
12
- },
13
8
  "license": "UNLICENSED",
14
9
  "author": {
15
10
  "name": "Yurii Levantovych",
@@ -20,53 +15,78 @@
20
15
  "lib",
21
16
  "CHANGELOG.md"
22
17
  ],
23
- "scripts": {
24
- "build": "rm -rf lib/ && NODE_ENV=production webpack && yarn build:types",
25
- "build:types": "tsc --emitDeclarationOnly --noEmit false",
26
- "coverage": "yarn test --coverage",
27
- "test": "jest",
28
- "type-check": "tsc --noEmit"
29
- },
18
+ "prettier": "@shelf/prettier-config",
30
19
  "dependencies": {
31
- "@shelf/basic-components": "^21.22.0",
32
- "@shelf/bem": "^5.0.0",
33
- "@shelf/color-picker": "^7.0.163",
34
- "@shelf/content-view": "^0.9.5",
35
- "@shelf/datetime": "^2.0.0",
36
- "@shelf/decision-tree-editor-components": "12.1.12",
37
- "@shelf/gem-components": "^17.0.5",
38
- "@shelf/i18n": "13.7.3",
39
- "@shelf/icons": "^11.6.53",
40
- "@shelf/location-selector": "^10.1.109",
41
- "@shelf/ratings-components": "^11.0.163",
42
- "@shelf/rich-text-editor": "^7.0.63",
43
- "@shelf/search-components": "^16.0.157",
44
- "@shelf/sweet-alert": "^1.3.180",
45
- "@shelf/toc": "^1.0.19",
46
- "@shelf/tooltip": "^6.0.5",
47
- "@shelf/wiki-text-sanitize": "^0.18.24",
48
- "react": "^19.0.0",
49
- "react-color": "^2.19.3",
50
- "react-dom": "^19.0.0",
51
- "react-i18next": "15.4.1"
20
+ "@shelf/basic-components": "21.22.0",
21
+ "@shelf/bem": "5.0.0",
22
+ "@shelf/color-picker": "7.0.163",
23
+ "@shelf/colors": "4.0.5",
24
+ "@shelf/content-view": "0.9.5",
25
+ "@shelf/datetime": "2.0.0",
26
+ "@shelf/decision-tree-editor-components": "4.0.5",
27
+ "@shelf/gem-components": "17.0.5",
28
+ "@shelf/i18n": "18.5.4",
29
+ "@shelf/icons": "11.6.53",
30
+ "@shelf/location-selector": "10.1.109",
31
+ "@shelf/ratings-components": "11.0.163",
32
+ "@shelf/rich-text-editor": "7.0.63",
33
+ "@shelf/search-components": "16.0.157",
34
+ "@shelf/sweet-alert": "1.3.180",
35
+ "@shelf/toc": "1.0.19",
36
+ "@shelf/wiki-text-sanitize": "0.18.24",
37
+ "react": "19.0.0",
38
+ "react-color": "2.19.3",
39
+ "react-dom": "19.0.0",
40
+ "react-i18next": "15.6.1"
52
41
  },
53
42
  "devDependencies": {
54
- "@babel/core": "^7.24.6",
55
- "@shelf/babel-config": "^3.0.0",
56
- "@shelf/tsconfig": "^0.1.0",
57
- "@shelf/types": "^58.79.0",
58
- "@shelf/types-ddb": "^29.15.1",
59
- "@testing-library/jest-dom": "^6.4.5",
60
- "@testing-library/react": "^16.0.0",
61
- "@types/jest": "^29.5.12",
62
- "@types/lodash": "^4.17.4",
43
+ "@babel/core": "7.24.6",
44
+ "@shelf/babel-config": "3.0.0",
45
+ "@shelf/eslint-config": "5.4.0",
46
+ "@shelf/prettier-config": "1.0.0",
47
+ "@shelf/tsconfig": "0.1.0",
48
+ "@shelf/types": "70.0.0",
49
+ "@shelf/types-ddb": "48.0.0",
50
+ "@swc/core": "1.11.29",
51
+ "@swc/jest": "0.2.38",
52
+ "@testing-library/dom": "10.4.0",
53
+ "@testing-library/jest-dom": "6.4.5",
54
+ "@testing-library/react": "16.0.0",
55
+ "@types/jest": "29.5.12",
56
+ "@types/lodash-es": "4.17.4",
57
+ "@types/node": "22",
58
+ "@types/react": "19.1.6",
63
59
  "@types/react-dom": "19.1.2",
64
60
  "babel-loader": "10.0.0",
61
+ "eslint": "9.39.2",
62
+ "husky": "9.1.7",
65
63
  "i18next": "24.2.3",
66
- "lodash": "^4.17.21",
67
- "path-browserify": "^1.0.1",
68
- "styled-components": "^6.1.11",
69
- "webpack": "^5.40.0",
64
+ "jest": "29.7.0",
65
+ "jest-environment-jsdom": "29.7.0",
66
+ "lint-staged": "16.1.0",
67
+ "lodash-es": "4.17.21",
68
+ "path-browserify": "1.0.1",
69
+ "prettier": "3.7.4",
70
+ "styled-components": "6.1.11",
71
+ "ts-node": "10.9.2",
72
+ "typescript": "5.9.3",
73
+ "webpack": "5.103.0",
70
74
  "webpack-cli": "6.0.1"
75
+ },
76
+ "engines": {
77
+ "node": ">=22",
78
+ "pnpm": ">=10.17.0"
79
+ },
80
+ "lint-staged": {
81
+ "*.{ts,tsx,jsx}": "eslint --fix"
82
+ },
83
+ "scripts": {
84
+ "build": "rm -rf lib/ && NODE_ENV=production NODE_OPTIONS=--openssl-legacy-provider webpack && pnpm build:types",
85
+ "build:types": "tsc --emitDeclarationOnly --noEmit false",
86
+ "coverage": "pnpm test --coverage",
87
+ "test": "jest",
88
+ "lint": "pnpm lint:ci --fix",
89
+ "lint:ci": "eslint . --ext .ts,.tsx",
90
+ "type-check": "tsc --noEmit"
71
91
  }
72
- }
92
+ }