@girs/javascriptcore-6.0 2.40.0-3.2.9 → 2.40.0-4.0.0-beta.1

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.
@@ -1,10 +1,6 @@
1
1
 
2
-
3
2
  // @ts-expect-error
4
3
  import JavaScriptCore from 'gi://JavaScriptCore?version=6.0';
5
4
  export { JavaScriptCore };
6
5
  export default JavaScriptCore;
7
6
 
8
-
9
-
10
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/javascriptcore-6.0",
3
- "version": "2.40.0-3.2.9",
3
+ "version": "2.40.0-4.0.0-beta.1",
4
4
  "description": "GJS TypeScript type definitions for JavaScriptCore-6.0, generated from library version 2.40.0",
5
5
  "type": "module",
6
6
  "module": "javascriptcore-6.0.js",
@@ -8,32 +8,27 @@
8
8
  "exports": {
9
9
  "./ambient": {
10
10
  "types": "./javascriptcore-6.0-ambient.d.ts",
11
+ "import": "./javascriptcore-6.0-ambient.js",
11
12
  "default": "./javascriptcore-6.0-ambient.js"
12
13
  },
13
14
  "./import": {
14
15
  "types": "./javascriptcore-6.0-import.d.ts",
16
+ "import": "./javascriptcore-6.0-import.js",
15
17
  "default": "./javascriptcore-6.0-import.js"
16
18
  },
17
19
  ".": {
18
- "import": {
19
- "types": "./javascriptcore-6.0.d.ts",
20
- "default": "./javascriptcore-6.0.js"
21
- },
22
- "require": {
23
- "types": "./javascriptcore-6.0.d.cts",
24
- "default": "./javascriptcore-6.0.cjs"
25
- }
20
+ "types": "./javascriptcore-6.0.d.ts",
21
+ "import": "./javascriptcore-6.0.js",
22
+ "default": "./javascriptcore-6.0.js"
26
23
  }
27
24
  },
28
25
  "scripts": {
29
- "test": "yarn test:esm && yarn test:cjs",
30
- "test:esm": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit javascriptcore-6.0.d.ts",
31
- "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit javascriptcore-6.0.d.cts"
26
+ "test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit javascriptcore-6.0.d.ts"
32
27
  },
33
28
  "dependencies": {
34
- "@girs/gjs": "^3.2.9",
35
- "@girs/glib-2.0": "^2.78.0-3.2.9",
36
- "@girs/gobject-2.0": "^2.78.0-3.2.9"
29
+ "@girs/gjs": "^4.0.0-beta.1",
30
+ "@girs/glib-2.0": "^2.77.0-4.0.0-beta.1",
31
+ "@girs/gobject-2.0": "^2.77.0-4.0.0-beta.1"
37
32
  },
38
33
  "devDependencies": {
39
34
  "typescript": "*"
@@ -1,11 +0,0 @@
1
-
2
-
3
- imports.gi.versions.JavaScriptCore = '6.0'
4
- const JavaScriptCore = imports.gi.JavaScriptCore;
5
-
6
- module.exports = JavaScriptCore;
7
-
8
-
9
-
10
-
11
-