altv-js-module icon indicating copy to clipboard operation
altv-js-module copied to clipboard

Assert API broken

Open zManuu opened this issue 2 years ago • 3 comments

Description of the problem

Importing a json file with the assert api crashes the game.

Reproduction steps

Create a json file and import it clientside by using import * as test from './file.json' assert { type: 'json' }

Expected behaviour

Game doesn't crash and the json is imported correctly.

Additional context

No response

Operating system

Windows 10

Version

release latest

Scope

client

zManuu avatar Oct 07 '22 14:10 zManuu

Test on dev before opening an issue

LeonMrBonnie avatar Oct 07 '22 14:10 LeonMrBonnie

Just tested on latest dev, same issue

zManuu avatar Oct 07 '22 14:10 zManuu

Confirmed on 13.0-dev65

изображение

At the same time alt.File.read still works

xxshady avatar Dec 06 '22 18:12 xxshady