Skip to content

Commit db87df8

Browse files
Remove usage of BrowserFS as it is deprecated. #7448
1 parent 15c212a commit db87df8

3 files changed

Lines changed: 3 additions & 28 deletions

File tree

web/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
"babelify": "~10.0.0",
103103
"bignumber.js": "^9.2.0",
104104
"brace": "^0.11.1",
105-
"browserfs": "^1.4.3",
106105
"chart.js": "^4.4.7",
107106
"chartjs-plugin-zoom": "^2.0.1",
108107
"codemirror": "^6.0.1",

web/pgadmin/static/js/tree/tree_nodes.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//
88
//////////////////////////////////////////////////////////////
99

10-
import * as BrowserFS from 'browserfs';
1110
import url_for from 'sources/url_for';
1211
import pgAdmin from 'sources/pgadmin';
1312
import _ from 'lodash';
@@ -129,10 +128,9 @@ export class ManageTreeNodes {
129128
}
130129
}
131130

132-
const Path = BrowserFS.BFSRequire('path');
133131
for (const idx in treeData) {
134132
const _node: any = treeData[idx];
135-
const _pathl = Path.join(_path, _node.id);
133+
const _pathl = unix.join(_path, _node.id);
136134
await self.addNode(temp_tree_path, _pathl, _node);
137135
}
138136
if (node.children.length > 0) return node.children;

web/yarn.lock

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4862,15 +4862,6 @@ __metadata:
48624862
languageName: node
48634863
linkType: hard
48644864

4865-
"async@npm:^2.1.4":
4866-
version: 2.6.4
4867-
resolution: "async@npm:2.6.4"
4868-
dependencies:
4869-
lodash: "npm:^4.17.14"
4870-
checksum: 10c0/0ebb3273ef96513389520adc88e0d3c45e523d03653cc9b66f5c46f4239444294899bfd13d2b569e7dbfde7da2235c35cf5fd3ece9524f935d41bbe4efccdad0
4871-
languageName: node
4872-
linkType: hard
4873-
48744865
"async@npm:^3.2.6":
48754866
version: 3.2.6
48764867
resolution: "async@npm:3.2.6"
@@ -5227,18 +5218,6 @@ __metadata:
52275218
languageName: node
52285219
linkType: hard
52295220

5230-
"browserfs@npm:^1.4.3":
5231-
version: 1.4.3
5232-
resolution: "browserfs@npm:1.4.3"
5233-
dependencies:
5234-
async: "npm:^2.1.4"
5235-
pako: "npm:^1.0.4"
5236-
bin:
5237-
make_xhrfs_index: ./dist/scripts/make_xhrfs_index.js
5238-
checksum: 10c0/46545966bdd89331dc307bf08ced530412de3277067e90abcc606c915de40073c4673f8dd3ef77e42291b65c640ca27a7123d7b532c2606791b5869ca8c3c36f
5239-
languageName: node
5240-
linkType: hard
5241-
52425221
"browserify-aes@npm:^1.0.4, browserify-aes@npm:^1.2.0":
52435222
version: 1.2.0
52445223
resolution: "browserify-aes@npm:1.2.0"
@@ -10081,7 +10060,7 @@ __metadata:
1008110060
languageName: node
1008210061
linkType: hard
1008310062

10084-
"lodash@npm:4, lodash@npm:4.*, lodash@npm:^4.14.1, lodash@npm:^4.17.10, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21":
10063+
"lodash@npm:4, lodash@npm:4.*, lodash@npm:^4.14.1, lodash@npm:^4.17.10, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21":
1008510064
version: 4.17.21
1008610065
resolution: "lodash@npm:4.17.21"
1008710066
checksum: 10c0/d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c
@@ -11141,7 +11120,7 @@ __metadata:
1114111120
languageName: node
1114211121
linkType: hard
1114311122

11144-
"pako@npm:^1.0.0, pako@npm:^1.0.4, pako@npm:~1.0.5":
11123+
"pako@npm:^1.0.0, pako@npm:~1.0.5":
1114511124
version: 1.0.11
1114611125
resolution: "pako@npm:1.0.11"
1114711126
checksum: 10c0/86dd99d8b34c3930345b8bbeb5e1cd8a05f608eeb40967b293f72fe469d0e9c88b783a8777e4cc7dc7c91ce54c5e93d88ff4b4f060e6ff18408fd21030d9ffbe
@@ -12911,7 +12890,6 @@ __metadata:
1291112890
babelify: "npm:~10.0.0"
1291212891
bignumber.js: "npm:^9.2.0"
1291312892
brace: "npm:^0.11.1"
12914-
browserfs: "npm:^1.4.3"
1291512893
browserify: "npm:^17.0.0"
1291612894
buffer: "npm:^6.0.3"
1291712895
chart.js: "npm:^4.4.7"

0 commit comments

Comments
 (0)