{"id":20663967,"url":"https://github.com/universaldatatool/seamless-immutable-patch","last_synced_at":"2025-06-18T05:35:30.323Z","repository":{"id":105784606,"uuid":"300816739","full_name":"UniversalDataTool/seamless-immutable-patch","owner":"UniversalDataTool","description":"Execute JSON Patches on seamless-immutable objects","archived":false,"fork":false,"pushed_at":"2020-10-10T02:25:13.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T18:45:15.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UniversalDataTool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-10-03T06:55:08.000Z","updated_at":"2020-10-10T02:24:22.000Z","dependencies_parsed_at":"2023-09-30T05:47:08.617Z","dependency_job_id":null,"html_url":"https://github.com/UniversalDataTool/seamless-immutable-patch","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.30000000000000004","last_synced_commit":"79d1a6079836152501b484db4c9f634fdb8ea6c7"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fseamless-immutable-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fseamless-immutable-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fseamless-immutable-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fseamless-immutable-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UniversalDataTool","download_url":"https://codeload.github.com/UniversalDataTool/seamless-immutable-patch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242825869,"owners_count":20191468,"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","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":[],"created_at":"2024-11-16T19:21:20.790Z","updated_at":"2025-03-10T09:41:45.382Z","avatar_url":"https://github.com/UniversalDataTool.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# seamless-immutable-patch\n\n[![npm version](https://badge.fury.io/js/seamless-immutable-patch.svg)](https://badge.fury.io/js/seamless-immutable-patch)\n[![Test Status](https://github.com/UniversalDataTool/seamless-immutable-patch/workflows/Release/badge.svg)](https://github.com/UniversalDataTool/seamless-immutable-patch/actions)\n\nExecute [JSON Patches](https://tools.ietf.org/html/rfc6902#section-4.5) on [seamless-immutable](https://github.com/rtfeldman/seamless-immutable) objects.\n\n## Installation\n\n`npm install seamless-immutable-patch`\n\n## Usage\n\n```javascript\nconst immutable = require(\"seamless-immutable\")\nconst seamlessImmutablePatch = require(\"seamless-immutable-patch\")\n\nconst obj = immutable({\n  a: 1,\n  b: {\n    c: 2,\n  },\n})\n\nconst patched = seamlessImmutablePatch(obj, [\n  {\n    op: \"replace\",\n    path: \"/b/c\",\n    value: 3,\n  },\n])\n\n/*\n\n\u003e patched\n\nimmutable({\n  a: 1,\n  b: {\n    c: 3,\n  },\n})\n\n\n*/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversaldatatool%2Fseamless-immutable-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funiversaldatatool%2Fseamless-immutable-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversaldatatool%2Fseamless-immutable-patch/lists"}