Socket
Socket
Sign inDemoInstall

@instructure/console

Package Overview
Dependencies
Maintainers
0
Versions
1435
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/console - npm Package Compare versions

Comparing version 10.2.2 to 10.2.3-snapshot-0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [10.2.3-snapshot-0](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-0) (2024-09-13)
### Bug Fixes
* **console:** remove __PURE__ annotation from console to fix warnings in Vite/Rollup ([48e78bb](https://github.com/instructure/instructure-ui/commit/48e78bbd7c6830bc73aa1916970f3d656ccb54f8))
## [10.2.2](https://github.com/instructure/instructure-ui/compare/v10.2.1...v10.2.2) (2024-09-13)

@@ -8,0 +19,0 @@

5

es/index.js

@@ -1,2 +0,1 @@

import { error as _error, warn as _warn, warnDeprecated as _warnDeprecated, info as _info, assert as _assert, debug as _debug, log as _log } from "@instructure/console";
/*

@@ -26,2 +25,4 @@ * The MIT License (MIT)

import { error, warn, warnDeprecated, log, info, assert, debug } from './console';
export { error, warn, warnDeprecated, log, info, assert, debug, /*#__PURE__*/ /*#__PURE__*/_error as logError, /*#__PURE__*/ /*#__PURE__*/_warn as logWarn, /*#__PURE__*/ /*#__PURE__*/_warnDeprecated as logWarnDeprecated, /*#__PURE__*/ /*#__PURE__*/_info as logInfo, /*#__PURE__*/ /*#__PURE__*/_debug as logDebug, /*#__PURE__*/ /*#__PURE__*/_assert as logAssert, /*#__PURE__*/ /*#__PURE__*/_log as consoleLog };
export { error, warn, warnDeprecated, log, info, assert, debug,
// kept for backwards compatibility, will be removed later
error as logError, warn as logWarn, warnDeprecated as logWarnDeprecated, info as logInfo, debug as logDebug, assert as logAssert, log as consoleLog };

17

lib/index.js

@@ -9,3 +9,3 @@ "use strict";

get: function () {
return _console2.assert;
return _console.assert;
}

@@ -22,3 +22,3 @@ });

get: function () {
return _console2.debug;
return _console.debug;
}

@@ -29,3 +29,3 @@ });

get: function () {
return _console2.error;
return _console.error;
}

@@ -36,3 +36,3 @@ });

get: function () {
return _console2.info;
return _console.info;
}

@@ -43,3 +43,3 @@ });

get: function () {
return _console2.log;
return _console.log;
}

@@ -86,3 +86,3 @@ });

get: function () {
return _console2.warn;
return _console.warn;
}

@@ -93,6 +93,5 @@ });

get: function () {
return _console2.warnDeprecated;
return _console.warnDeprecated;
}
});
var _console = require("@instructure/console");
var _console2 = require("./console");
var _console = require("./console");
{
"name": "@instructure/console",
"version": "10.2.2",
"version": "10.2.3-snapshot-0",
"description": "A babel macro made by Instructure Inc.",

@@ -26,10 +26,4 @@ "author": "Instructure, Inc. Engineering and Product Design",

"devDependencies": {
"@instructure/ui-babel-preset": "10.2.2",
"@types/babel-plugin-macros": "^3.1.3"
"@instructure/ui-babel-preset": "10.2.3-snapshot-0"
},
"dependencies": {
"@babel/helper-annotate-as-pure": "^7.22.5",
"@babel/helper-module-imports": "^7.24.3",
"babel-plugin-macros": "^3.1.0"
},
"peerDependencies": {

@@ -36,0 +30,0 @@ "react": ">=16.8 <=18"

@@ -34,12 +34,2 @@ /*

import {
error as logError,
warn as logWarn,
warnDeprecated as logWarnDeprecated,
info as logInfo,
assert as logAssert,
debug as logDebug,
log as consoleLog
} from './macro'
export {

@@ -53,9 +43,10 @@ error,

debug,
logError,
logWarn,
logWarnDeprecated,
logInfo,
logDebug,
logAssert,
consoleLog
// kept for backwards compatibility, will be removed later
error as logError,
warn as logWarn,
warnDeprecated as logWarnDeprecated,
info as logInfo,
debug as logDebug,
assert as logAssert,
log as consoleLog
}
import { error, warn, warnDeprecated, log, info, assert, debug } from './console';
import { error as logError, warn as logWarn, warnDeprecated as logWarnDeprecated, info as logInfo, assert as logAssert, debug as logDebug, log as consoleLog } from './macro';
export { error, warn, warnDeprecated, log, info, assert, debug, logError, logWarn, logWarnDeprecated, logInfo, logDebug, logAssert, consoleLog };
export { error, warn, warnDeprecated, log, info, assert, debug, error as logError, warn as logWarn, warnDeprecated as logWarnDeprecated, info as logInfo, debug as logDebug, assert as logAssert, log as consoleLog };
//# sourceMappingURL=index.d.ts.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc