Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ExplodingCabbage
/
jsdiff
Public
forked from
kpdecker/jsdiff
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
jsdiff
test
patch
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on May 6, 2022
Allow early termination to limit execution time with degenerate cases (#365)
Show description for f4cc58c
Tony Spataro
and
Tony Spataro
authored
f4cc58c
View commit details
Copy full SHA for f4cc58c
View code at this point
Browse repository at this point
Document and test options to createPatch (#345)
Show description for fffd8a7
oBusk
authored
fffd8a7
View commit details
Copy full SHA for fffd8a7
View code at this point
Browse repository at this point
Commits on Nov 8, 2020
Update to match quirks of unified diff format (#297)
aray-openai
authored
c64d178
View commit details
Copy full SHA for c64d178
View code at this point
Browse repository at this point
Commits on Aug 16, 2020
Separate patch creation from serialization. (#251)
Show description for 35c5e16
alloy
authored
35c5e16
View commit details
Copy full SHA for 35c5e16
View code at this point
Browse repository at this point
Commits on Jan 6, 2019
Upgrade deps. Convert from webpack to rollup
kpdecker
committed
2c1a29c
View commit details
Copy full SHA for 2c1a29c
View code at this point
Browse repository at this point
Commits on Jan 5, 2019
Fix: Missing "No newline at end of file" when comparing two texts that do not end in newlines (#94)
vasek
authored and
kpdecker
committed
d76ac52
View commit details
Copy full SHA for d76ac52
View code at this point
Browse repository at this point
Commits on Mar 5, 2018
Add missing test coverage
kpdecker
committed
c72ef4a
View commit details
Copy full SHA for c72ef4a
View code at this point
Browse repository at this point
Commits on Oct 7, 2017
count oldLines and newLines when there are conflicts
Haitao Li
authored and
kpdecker
committed
53bf384
View commit details
Copy full SHA for 53bf384
View code at this point
Browse repository at this point
Commits on Sep 3, 2017
Revert "Upgrade misc deps"
Show description for 5791a6d
kpdecker
committed
5791a6d
View commit details
Copy full SHA for 5791a6d
View code at this point
Browse repository at this point
Upgrade misc deps
kpdecker
committed
8b1f184
View commit details
Copy full SHA for 8b1f184
View code at this point
Browse repository at this point
Commits on Aug 27, 2017
Fix: Bad merge when adding new files (#189)
tyomitch
authored and
kpdecker
committed
15fef93
View commit details
Copy full SHA for 15fef93
View code at this point
Browse repository at this point
Commits on Jul 6, 2017
Gracefully accept invalid newStart in hunks, same as patch(1) does.
Artyom Skrobov
authored and
kpdecker
committed
d8a3635
View commit details
Copy full SHA for d8a3635
View code at this point
Browse repository at this point
Commits on Apr 17, 2017
Sanitize filename while parsing patches
ramya-rao-a
authored and
kpdecker
committed
2fe8129
View commit details
Copy full SHA for 2fe8129
View code at this point
Browse repository at this point
Commits on Oct 12, 2016
more changes
Show description for b42b679
soulbeing
committed
b42b679
View commit details
Copy full SHA for b42b679
View code at this point
Browse repository at this point
Commits on Sep 16, 2016
Parse multiple files in the absence of the Index line to fix #135 issue.
ramya-rao-a
committed
f4d1579
View commit details
Copy full SHA for f4d1579
View code at this point
Browse repository at this point
Commits on Aug 21, 2016
Test to check errors on `applyPatches.complete`
piranna
committed
66057e6
View commit details
Copy full SHA for 66057e6
View code at this point
Browse repository at this point
Commits on Aug 18, 2016
Add callback argument to applyPatches `patched` option
piranna
committed
c45c703
View commit details
Copy full SHA for c45c703
View code at this point
Browse repository at this point
Commits on Jun 22, 2016
Fix failing tests under phantom
kpdecker
committed
5d6617e
View commit details
Copy full SHA for 5d6617e
View code at this point
Browse repository at this point
Avoid const overwrite
kpdecker
committed
86a0ecf
View commit details
Copy full SHA for 86a0ecf
View code at this point
Browse repository at this point
Commits on Jun 8, 2016
Additional let removal
kpdecker
committed
926d2bd
View commit details
Copy full SHA for 926d2bd
View code at this point
Browse repository at this point
Fix failing test under phantom
kpdecker
committed
15ac48b
View commit details
Copy full SHA for 15ac48b
View code at this point
Browse repository at this point
Commits on Jun 7, 2016
Correctly handle file names containing spaces
ad-si
committed
d92e223
View commit details
Copy full SHA for d92e223
View code at this point
Browse repository at this point
Commits on May 31, 2016
Add a fix for applying 0-length destination patches
chaaz
committed
d20f367
View commit details
Copy full SHA for d20f367
View code at this point
Browse repository at this point
Commits on Feb 24, 2016
Relax parser when no file header name is provided
Show description for a8df4be
kpdecker
committed
a8df4be
View commit details
Copy full SHA for a8df4be
View code at this point
Browse repository at this point
Commits on Nov 6, 2015
Less restrictive regexp & 'should handle patches without Index' test
piranna
committed
3ab1df8
View commit details
Copy full SHA for 3ab1df8
View code at this point
Browse repository at this point
Commits on Nov 5, 2015
Fix lint on regexp
piranna
committed
41e3e29
View commit details
Copy full SHA for 41e3e29
View code at this point
Browse repository at this point
Commits on Oct 29, 2015
Split diffs based on file headers instead of 'Index:' metadata
piranna
committed
acb20d3
View commit details
Copy full SHA for acb20d3
View code at this point
Browse repository at this point
Commits on Oct 26, 2015
Split logic for fit candidates on an iterator
piranna
committed
09b7efe
View commit details
Copy full SHA for 09b7efe
View code at this point
Browse repository at this point
Commits on Oct 21, 2015
Test for hunk offsets
piranna
committed
d723875
View commit details
Copy full SHA for d723875
View code at this point
Browse repository at this point
Commits on Sep 29, 2015
add existing check at line 56 src/patch.js
Show description for 35a761d
Shi Wenzhe
committed
35a761d
View commit details
Copy full SHA for 35a761d
View code at this point
Browse repository at this point
Commits on Sep 24, 2015
Ignore unexpected content outside of strict mode
Show description for c73b432
kpdecker
committed
c73b432
View commit details
Copy full SHA for c73b432
View code at this point
Browse repository at this point
Commits on Aug 26, 2015
Implement patch/3way merge
Show description for f94da90
kpdecker
committed
f94da90
View commit details
Copy full SHA for f94da90
View code at this point
Browse repository at this point
Commits on Aug 9, 2015
Implement fuzzy context comparison
Show description for bb61516
kpdecker
committed
bb61516
View commit details
Copy full SHA for bb61516
View code at this point
Browse repository at this point
Commits on Aug 8, 2015
Update parsePatch to output common diff format
Show description for d84a530
kpdecker
committed
d84a530
View commit details
Copy full SHA for d84a530
View code at this point
Browse repository at this point
Implement applyPatches method
Show description for 42fdc6a
kpdecker
committed
42fdc6a
View commit details
Copy full SHA for 42fdc6a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.