@gjsify/node-globals 0.0.2 → 0.0.3

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/lib/cjs/errors.js CHANGED
@@ -1,17 +1,2 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
- var errors_exports = {};
15
- module.exports = __toCommonJS(errors_exports);
16
- var import_utils = require("@gjsify/utils");
17
- (0, import_utils.initErrorV8Methods)(Error);
1
+ import { initErrorV8Methods } from "@gjsify/utils";
2
+ initErrorV8Methods(Error);
package/lib/cjs/index.js CHANGED
@@ -1,3 +1,3 @@
1
- var import_errors = require("./errors.js");
2
- var import_require = require("@gjsify/require");
3
- var import_global = require("@gjsify/deno_std/node/global");
1
+ import "./errors.js";
2
+ import "@gjsify/require";
3
+ import "@gjsify/deno_std/node/global";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/node-globals",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Node.js globals module for Gjs",
5
5
  "keywords": [
6
6
  "gjs",
@@ -37,12 +37,12 @@
37
37
  "test:node": "node test.node.mjs"
38
38
  },
39
39
  "dependencies": {
40
- "@gjsify/deno_std": "^0.0.2",
41
- "@gjsify/process": "^0.0.2",
42
- "@gjsify/utils": "^0.0.2"
40
+ "@gjsify/deno_std": "^0.0.3",
41
+ "@gjsify/process": "^0.0.3",
42
+ "@gjsify/utils": "^0.0.3"
43
43
  },
44
44
  "devDependencies": {
45
- "@gjsify/cli": "^0.0.2",
46
- "@gjsify/unit": "^0.0.2"
45
+ "@gjsify/cli": "^0.0.3",
46
+ "@gjsify/unit": "^0.0.3"
47
47
  }
48
48
  }