dc-polyfill
Advanced tools
+9
-10
@@ -1,12 +0,11 @@ | ||
| import * as dc from './dc-polyfill.js'; | ||
| import dcModule from './dc-polyfill.js'; | ||
| export default dc; | ||
| export default dcModule; | ||
| export const { | ||
| Channel, | ||
| channel, | ||
| hasSubscribers, | ||
| subscribe, | ||
| tracingChannel, | ||
| unsubscribe | ||
| } = dc; | ||
| // Always export all required functions, whether they exist or we need to create them | ||
| export const Channel = dcModule.Channel; | ||
| export const channel = dcModule.channel; | ||
| export const hasSubscribers = dcModule.hasSubscribers; | ||
| export const tracingChannel = dcModule.tracingChannel; | ||
| export const subscribe = dcModule.subscribe; | ||
| export const unsubscribe = dcModule.unsubscribe; |
+1
-1
| { | ||
| "name": "dc-polyfill", | ||
| "version": "0.1.7", | ||
| "version": "0.1.8", | ||
| "description": "A polyfill for the internal diagnostics_channel module", | ||
@@ -5,0 +5,0 @@ "main": "dc-polyfill.js", |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
25084
1.09%617
-0.16%