@carbon/ibmdotcom-utilities 1.30.0 → 1.31.0-rc.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.31.0-rc.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-utilities@1.30.0...@carbon/ibmdotcom-utilities@1.31.0-rc.0) (2022-02-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** update dependency axios to ^0.25.0 ([#8124](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/8124)) ([224cede](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/224cede))
12
+ * **deps:** update dependency carbon-components to v10.51.0 ([#8125](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/8125)) ([594594d](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/594594d))
13
+ * **masthead:** fix undefined error in locale call ([#8142](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/8142)) ([ba3745c](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/commit/ba3745c))
14
+
15
+
16
+
17
+
18
+
6
19
  # [1.30.0](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/compare/@carbon/ibmdotcom-utilities@1.30.0-rc.1...@carbon/ibmdotcom-utilities@1.30.0) (2022-01-31)
7
20
 
8
21
  **Note:** Version bump only for package @carbon/ibmdotcom-utilities
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import DOMPurify from 'isomorphic-dompurify';
8
- import marked from 'marked';
8
+ import { marked } from 'marked';
9
9
  import settings from 'carbon-components/es/globals/js/settings';
10
10
  var prefix = settings.prefix;
11
11
  var _htmlTagRegex = /<.*?>/g;
@@ -11,11 +11,11 @@
11
11
  * @exports ibmdotcom.settings
12
12
  * @type {object} Settings object
13
13
  * @property {string} [prefix=dds]
14
- * Carbon for IBM.com v1.30.0',
14
+ * Carbon for IBM.com v1.31.0',
15
15
  *
16
16
  */
17
17
  var settings = {
18
- version: 'Carbon for IBM.com v1.30.0',
18
+ version: 'Carbon for IBM.com v1.31.0',
19
19
  stablePrefix: 'dds'
20
20
  };
21
21
  export default settings;
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  var _isomorphicDompurify = _interopRequireDefault(require("isomorphic-dompurify"));
9
9
 
10
- var _marked = _interopRequireDefault(require("marked"));
10
+ var _marked = require("marked");
11
11
 
12
12
  var _settings = _interopRequireDefault(require("carbon-components/umd/globals/js/settings"));
13
13
 
@@ -92,7 +92,7 @@ function markdownToHtml(str) {
92
92
  }
93
93
  };
94
94
 
95
- _marked.default.use({
95
+ _marked.marked.use({
96
96
  smartypants: true,
97
97
  renderer: Object.assign(defaultRenderer, renderer)
98
98
  });
@@ -108,7 +108,7 @@ function markdownToHtml(str) {
108
108
  });
109
109
  }
110
110
 
111
- var convertedMarkdown = _isomorphicDompurify.default.sanitize((0, _marked.default)(converted));
111
+ var convertedMarkdown = _isomorphicDompurify.default.sanitize((0, _marked.marked)(converted));
112
112
 
113
113
  if (customTags) {
114
114
  _isomorphicDompurify.default.removeHook('uponSanitizeElement');
@@ -18,11 +18,11 @@ exports.default = void 0;
18
18
  * @exports ibmdotcom.settings
19
19
  * @type {object} Settings object
20
20
  * @property {string} [prefix=dds]
21
- * Carbon for IBM.com v1.30.0',
21
+ * Carbon for IBM.com v1.31.0',
22
22
  *
23
23
  */
24
24
  var settings = {
25
- version: 'Carbon for IBM.com v1.30.0',
25
+ version: 'Carbon for IBM.com v1.31.0',
26
26
  stablePrefix: 'dds'
27
27
  };
28
28
  var _default = settings;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibmdotcom-utilities",
3
3
  "description": "Carbon for IBM.com Utilities",
4
- "version": "1.30.0",
4
+ "version": "1.31.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -49,11 +49,11 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@carbon/telemetry": "0.0.0-alpha.6",
52
- "axios": "^0.21.1",
53
- "carbon-components": "10.50.0",
52
+ "axios": "~0.21.4",
53
+ "carbon-components": "10.51.0",
54
54
  "isomorphic-dompurify": "0.4.0",
55
55
  "js-cookie": "^2.2.1",
56
- "marked": "^2.0.0",
56
+ "marked": "^4.0.10",
57
57
  "window-or-global": "^1.0.1"
58
58
  },
59
59
  "devDependencies": {
@@ -78,7 +78,7 @@
78
78
  "chalk": "^2.3.0",
79
79
  "cli-table": "^0.3.0",
80
80
  "core-js": "^3.1.3",
81
- "cross-env": "^5.2.0",
81
+ "cross-env": "^7.0.0",
82
82
  "dompurify": "2.3.4",
83
83
  "gzip-size": "^5.0.0",
84
84
  "jest": "25.5.4",
@@ -102,5 +102,5 @@
102
102
  "release": {
103
103
  "branch": "main"
104
104
  },
105
- "gitHead": "38aea2a27882ed00e7e687a042d7a5b1dd383dbd"
105
+ "gitHead": "86e3ea06070b7a38c4f3627449dd88c1a0736353"
106
106
  }