cpp.js 1.0.0-beta.29 → 1.0.0-beta.30

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/README.md CHANGED
@@ -15,8 +15,8 @@
15
15
  <a href="https://github.com/bugra9/cpp.js/discussions"><img alt="Discussions" src="https://img.shields.io/github/discussions/bugra9/cpp.js?style=for-the-badge" /></a>
16
16
  <a href="https://github.com/bugra9/cpp.js/issues"><img alt="Issues" src="https://img.shields.io/github/issues/bugra9/cpp.js?style=for-the-badge" /></a>
17
17
  <br />
18
- <img alt="Linux Build" src="https://img.shields.io/github/actions/workflow/status/bugra9/cpp.js/linux_build.yml?branch=main&style=for-the-badge&label=Linux%20Build">
19
- <img alt="Macos Build" src="https://img.shields.io/github/actions/workflow/status/bugra9/cpp.js/macos_build.yml?branch=main&style=for-the-badge&label=Macos%20Build">
18
+ <img alt="Linux Build" src="https://img.shields.io/github/actions/workflow/status/bugra9/cpp.js/build-linux.yml?branch=main&style=for-the-badge&label=Linux%20Build">
19
+ <img alt="Macos Build" src="https://img.shields.io/github/actions/workflow/status/bugra9/cpp.js/build-macos.yml?branch=main&style=for-the-badge&label=Macos%20Build">
20
20
  </div>
21
21
 
22
22
  <h3 align="center">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cpp.js",
3
- "version": "1.0.0-beta.29",
3
+ "version": "1.0.0-beta.30",
4
4
  "license": "MIT",
5
5
  "homepage": "https://cpp.js.org",
6
6
  "repository": "https://github.com/bugra9/cpp.js.git",
@@ -12,21 +12,18 @@
12
12
  },
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@rollup/plugin-commonjs": "^28.0.1",
15
+ "@rollup/plugin-commonjs": "^28.0.2",
16
16
  "@rollup/plugin-json": "^6.1.0",
17
- "@rollup/plugin-node-resolve": "^15.3.0",
17
+ "@rollup/plugin-node-resolve": "^16.0.0",
18
18
  "@rollup/plugin-virtual": "^3.0.2",
19
19
  "commander": "^12.1.0",
20
- "glob": "^8.0.3",
21
- "rollup": "^4.18.0",
20
+ "glob": "^11.0.0",
21
+ "rollup": "^4.29.1",
22
22
  "rollup-plugin-uglify": "^6.0.4",
23
23
  "upath": "^2.0.1",
24
- "decompress": "4.2.1",
25
- "follow-redirects": "1.15.9",
26
- "replace": "1.2.2"
27
- },
28
- "devDependencies": {
29
- "mocha": "^10.2.0"
24
+ "decompress": "^4.2.1",
25
+ "follow-redirects": "^1.15.9",
26
+ "replace": "^1.2.2"
30
27
  },
31
28
  "keywords": [
32
29
  "webassembly",
@@ -39,8 +36,5 @@
39
36
  "android",
40
37
  "ios",
41
38
  "mobile"
42
- ],
43
- "scripts": {
44
- "test": "mocha"
45
- }
39
+ ]
46
40
  }
@@ -1,4 +1,4 @@
1
- import glob from 'glob';
1
+ import { glob } from 'glob';
2
2
  import state from '../state/index.js';
3
3
 
4
4
  export default function getAllBridges() {
@@ -1,4 +1,4 @@
1
- import glob from 'glob';
1
+ import { glob } from 'glob';
2
2
  import state from '../state/index.js';
3
3
 
4
4
  export default function getDependLibs() {
package/src/bin.js CHANGED
@@ -3,8 +3,7 @@
3
3
  import fs from 'node:fs';
4
4
  import { execFileSync } from 'node:child_process';
5
5
  import { Command, Option } from 'commander';
6
- import glob from 'glob';
7
- import upath from 'upath';
6
+ import { glob } from 'glob';
8
7
  import replace from 'replace';
9
8
 
10
9
  import { state } from './index.js';
@@ -1,4 +1,4 @@
1
- import glob from 'glob';
1
+ import { glob } from 'glob';
2
2
  import getParentPath from './getParentPath.js';
3
3
 
4
4
  export default function getCMakeListsFilePath(basePath = process.cwd()) {