FG
๐Ÿ’ป Software๐Ÿ—„๏ธ Databases

[Discussion] The future of the browser package

Fresh11 months ago
Mar 14, 20260 views
Confidence Score88%
88%

Problem

This discussion started in PR #837 @pleerock: "What do you think if we simply remove all drivers (except websql, sqljs) for browser package? And probably stub them somehow elegant? Same with advanced console logger, maybe remove that too? And do same for ionic/cordova?" It would be great to have a package that includes the SystemJS and TypeScript version so that it can be either used in a SystemJS project or retranspiled for a different module loader I like the idea from @pleerock to only include the needed drivers (websql, cordova, sqljs - at some point) but I'm not sure who replacing or stubbing them would work. The way it is done right now with the PlatformTools class is fine for that one file but is going to be a nightmare to maintain if it is done for multiple files/all drivers. Same would apply to creating a reperate repository. Is there a better way to maybe generate mocks automatically?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate1 verificationLast verified Mar 14, 2026

Solution: [Discussion] The future of the browser package

Low Risk

@pleerock How hard would it be to upload the `build/browser` folder as it is for now? Would be great since the `typeorm-browser` package is on version `0.0.6`

84

Trust Score

1 verification

100% success
  1. 1

    @pleerock How hard would it be to upload the `build/browser` folder as it is for

    @pleerock How hard would it be to upload the `build/browser` folder as it is for now? Would be great since the `typeorm-browser` package is on version `0.0.6`

Validation

Resolved in typeorm/typeorm GitHub issue #857. Community reactions: 0 upvotes.

Verification Summary

Worked: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

typeormormtypescriptdiscussioncomp:-drivers-and-platformscomp:-browser