@instructure/console 8.26.0 → 8.26.1-snapshot-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.
- package/CHANGELOG.md +8 -0
- package/es/console.js +1 -1
- package/lib/console.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [8.26.1-snapshot-2](https://github.com/instructure/instructure-ui/compare/v8.26.0...v8.26.1-snapshot-2) (2022-07-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/console
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [8.26.0](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.26.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/console
|
package/es/console.js
CHANGED
|
@@ -49,7 +49,7 @@ function getRenderStack() {
|
|
|
49
49
|
function logMessage(level, withRenderStack, condition, message) {
|
|
50
50
|
if (process.env.NODE_ENV !== 'production' && !condition) {
|
|
51
51
|
if (typeof console[level] === 'function') {
|
|
52
|
-
const renderStack = withRenderStack ? getRenderStack() : '';
|
|
52
|
+
const renderStack = withRenderStack ? getRenderStack() : ''; //@ts-expect-error level can be 'constructor' which is not callable
|
|
53
53
|
|
|
54
54
|
for (var _len = arguments.length, args = new Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) {
|
|
55
55
|
args[_key - 4] = arguments[_key];
|
package/lib/console.js
CHANGED
|
@@ -59,7 +59,7 @@ function getRenderStack() {
|
|
|
59
59
|
function logMessage(level, withRenderStack, condition, message) {
|
|
60
60
|
if (process.env.NODE_ENV !== 'production' && !condition) {
|
|
61
61
|
if (typeof console[level] === 'function') {
|
|
62
|
-
const renderStack = withRenderStack ? getRenderStack() : '';
|
|
62
|
+
const renderStack = withRenderStack ? getRenderStack() : ''; //@ts-expect-error level can be 'constructor' which is not callable
|
|
63
63
|
|
|
64
64
|
for (var _len = arguments.length, args = new Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++) {
|
|
65
65
|
args[_key - 4] = arguments[_key];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/console",
|
|
3
|
-
"version": "8.26.
|
|
3
|
+
"version": "8.26.1-snapshot-2",
|
|
4
4
|
"description": "A babel macro made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.26.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.26.1-snapshot-2",
|
|
27
27
|
"@types/babel-plugin-macros": "^2.8.4"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|