{"id":15041890,"url":"https://github.com/discord/babel-plugin-strip-object-freeze","last_synced_at":"2025-07-25T10:33:34.501Z","repository":{"id":42881572,"uuid":"256084981","full_name":"discord/babel-plugin-strip-object-freeze","owner":"discord","description":"Replace all instances of Object.freeze(value) with value","archived":false,"fork":false,"pushed_at":"2023-07-11T08:25:57.000Z","size":150,"stargazers_count":10,"open_issues_count":13,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-07-18T20:08:44.718Z","etag":null,"topics":["babel","babel-plugin","performance"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-16T02:06:02.000Z","updated_at":"2023-10-06T10:19:23.000Z","dependencies_parsed_at":"2024-09-25T01:38:58.184Z","dependency_job_id":"6039c8e7-ee85-4b0e-9aac-9a4a71306944","html_url":"https://github.com/discord/babel-plugin-strip-object-freeze","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"e07ac27a433ab96e22c3de1347b3d30878174fa2"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/discord/babel-plugin-strip-object-freeze","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discord%2Fbabel-plugin-strip-object-freeze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discord%2Fbabel-plugin-strip-object-freeze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discord%2Fbabel-plugin-strip-object-freeze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discord%2Fbabel-plugin-strip-object-freeze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discord","download_url":"https://codeload.github.com/discord/babel-plugin-strip-object-freeze/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discord%2Fbabel-plugin-strip-object-freeze/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266990953,"owners_count":24017732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel","babel-plugin","performance"],"created_at":"2024-09-24T20:46:36.134Z","updated_at":"2025-07-25T10:33:34.467Z","avatar_url":"https://github.com/discord.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babel-plugin-strip-object-freeze\n\n\u003e Replace all instances of `Object.freeze(value)` with `value`\n\nIf you use `Object.freeze()` a lot in development to enforce constraints, you\nmay want to use this plugin to strip those `Object.freeze()` calls in production\nfor performance if they are not important.\n\n## Install\n\n```sh\nnpm install --save-dev babel-plugin-strip-object-freeze\n```\n\n## Usage\n\nIt's recommended that you only use this plugin in a production build.\n\n```js\n// babel.config.js\nlet presets = [ ... ]\nlet plugins = [ ... ]\n\nif (process.env.NODE_ENV === \"production\") {\n  plugins.push(\"babel-plugin-strip-object-freeze\")\n}\n\nmodule.exports = { presets, plugins }\n```\n\n## Example\n\n**Input:**\n\n```js\nObject.freeze(value)\n```\n\n**Output:**\n\n```js\nvalue\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscord%2Fbabel-plugin-strip-object-freeze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscord%2Fbabel-plugin-strip-object-freeze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscord%2Fbabel-plugin-strip-object-freeze/lists"}