Skip to content

Commit

Permalink
Bump native-universal-fs
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Jan 20, 2025
1 parent 3671a79 commit 93d9d88
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"dependencies": {
"@huggingface/jinja": "^0.3.2",
"image-codecs": "^0.1.0",
"native-universal-fs": "^0.1.2",
"native-universal-fs": "^0.2.0",
"onnxruntime-node": "1.20.1",
"onnxruntime-react-native": "1.20.1",
"onnxruntime-web": "1.21.0-dev.20250114-228dd16893",
Expand Down
2 changes: 1 addition & 1 deletion src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @module env
*/

import NativeFS from 'native-universal-fs';
import * as NativeFS from 'native-universal-fs';
import fs from 'fs';
import path from 'path';
import url from 'url';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from './core.js';
import { apis } from '../env.js';
import fs from 'fs';
import NativeFS from 'native-universal-fs';
import * as NativeFS from 'native-universal-fs';
import { Tensor, matmul } from './tensor.js';


Expand Down
2 changes: 1 addition & 1 deletion src/utils/hub.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import fs from 'fs';
import path from 'path';
import NativeFS from 'native-universal-fs';
import * as NativeFS from 'native-universal-fs';
import { Buffer } from 'buffer';

import { env, apis } from '../env.js';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { Buffer } from 'buffer';

// Will be empty (or not used) if running in browser or web-worker
import sharp from 'sharp';
import NativeFS from 'native-universal-fs';
import * as NativeFS from 'native-universal-fs';

let createCanvasFunction;
let ImageDataClass;
Expand Down

0 comments on commit 93d9d88

Please sign in to comment.