Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@openreplay/sourcemap-uploader
Advanced tools
An NPM module to upload your JS sourcemap files to your OpenReplay instance.
npm i -D @openreplay/sourcemap-uploader
sourcemap-uploader -s https://opnereplay.mycompany.com/api -k API_KEY -p PROJECT_KEY file -m ./dist/index.js.map -u https://myapp.com/index.js
The URL must correspond to the root where you upload JS files from the directory. In other words, if you have your app-42.js
along with the app-42.js.map
in the ./build
folder and then want to upload it to your OpenReplay instance so it can be reachable through the link https://myapp.com/static/app-42.js
, then the command should be like:
sourcemap-uploader -s https://opnereplay.mycompany.com/api -k API_KEY -p PROJECT_KEY dir -m ./build -u https://myapp.com/static
Use -s
(--server
) to specify the URL of your OpenReplay instance (append it with /api).
Do not use this parameter if you use SaaS version of the OpenRplay
Use -v
(--verbose
) to see the logs.
There are two functions you can export from the package:
uploadFile(api_key, project_key, sourcemap_file_path, js_file_url, [server])
uploadDir(api_key, project_key, sourcemap_dir_path, js_dir_url, [server])
Both functions return Promise with a result value to be the list of files for which sourcemaps were uploaded.
FAQs
NPM module to upload your JS sourcemaps files to OpenReplay
The npm package @openreplay/sourcemap-uploader receives a total of 0 weekly downloads. As such, @openreplay/sourcemap-uploader popularity was classified as not popular.
We found that @openreplay/sourcemap-uploader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.