@gjsify/empty 0.1.15 → 0.2.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.
Files changed (2) hide show
  1. package/index.mjs +4 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1 +1,4 @@
1
- export {}
1
+ // Default export allows `import X from '@gjsify/empty'` patterns (e.g. default
2
+ // imports of browser-unavailable Node.js built-ins in test specs).
3
+ export {};
4
+ export default {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/empty",
3
- "version": "0.1.15",
3
+ "version": "0.2.0",
4
4
  "description": "Empty module for Gjs",
5
5
  "type": "module",
6
6
  "main": "index.mjs",