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
Accelerator
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 }}
codedebug
/
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
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
All time
Commit history
Commits on Jul 6, 2017
v3.3.0
kpdecker
committed
2a7ae3e
View commit details
Copy full SHA for 2a7ae3e
Browse repository at this point
Update release notes
kpdecker
committed
f93e354
View commit details
Copy full SHA for f93e354
Browse repository at this point
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
Browse repository at this point
Use regex rather than starts/ends with for parsePatch
kpdecker
committed
6cab62c
View commit details
Copy full SHA for 6cab62c
Browse repository at this point
Add browser flag
Show description for e64f674
kpdecker
committed
e64f674
View commit details
Copy full SHA for e64f674
Browse repository at this point
Commits on Apr 17, 2017
refactor: simplified code a bit more
artemv
authored and
kpdecker
committed
8f8e0f2
View commit details
Copy full SHA for 8f8e0f2
Browse repository at this point
refactor: simplified code a bit
Show description for b094a6f
artemv
authored and
kpdecker
committed
b094a6f
View commit details
Copy full SHA for b094a6f
Browse repository at this point
fix: some corrections re ignoreCase option
Show description for 3c78fd0
artemv
authored and
kpdecker
committed
3c78fd0
View commit details
Copy full SHA for 3c78fd0
Browse repository at this point
ignoreCase option
loretoparisi
authored and
kpdecker
committed
3cbfbb5
View commit details
Copy full SHA for 3cbfbb5
Browse repository at this point
Sanitize filename while parsing patches
ramya-rao-a
authored and
kpdecker
committed
2fe8129
View commit details
Copy full SHA for 2fe8129
Browse repository at this point
Commits on Apr 16, 2017
Added better installation methods
amilajack
authored and
kpdecker
committed
aced50b
View commit details
Copy full SHA for aced50b
Browse repository at this point
Simple export of functionality
Show description for 8690f31
snadrus
authored and
kpdecker
committed
8690f31
View commit details
Copy full SHA for 8690f31
Browse repository at this point
Commits on Dec 26, 2016
v3.2.0
kpdecker
committed
becde77
View commit details
Copy full SHA for becde77
Browse repository at this point
Update release notes
kpdecker
committed
a2af896
View commit details
Copy full SHA for a2af896
Browse repository at this point
Commits on Dec 22, 2016
Merge pull request #153 from Kiougar/patch-1
Show description for 64eb920
kpdecker
authored
64eb920
View commit details
Copy full SHA for 64eb920
Browse repository at this point
Merge pull request #156 from ewnd9/patch-1
Show description for 2f92dae
kpdecker
authored
2f92dae
View commit details
Copy full SHA for 2f92dae
Browse repository at this point
Add `undefinedReplacement` option to `diffJson`
ewnd9
committed
d234b04
View commit details
Copy full SHA for d234b04
Browse repository at this point
Commits on Dec 11, 2016
Merge pull request #154 from wtgtybhertgeghgtwtg/master
Show description for 0974127
kpdecker
authored
0974127
View commit details
Copy full SHA for 0974127
Browse repository at this point
Commits on Dec 5, 2016
Add `examples` and `images` to `.npmignore`.
Mat Garcia
authored and
Mat Garcia
committed
1e886cc
View commit details
Copy full SHA for 1e886cc
Browse repository at this point
Commits on Dec 2, 2016
feat(structuredPatch): Pass options to diffLines
Show description for 663cd3f
Kiougar
committed
663cd3f
View commit details
Copy full SHA for 663cd3f
Browse repository at this point
Commits on Nov 27, 2016
v3.1.0
kpdecker
committed
870aa15
View commit details
Copy full SHA for 870aa15
Browse repository at this point
Update release notes
kpdecker
committed
d42f1b3
View commit details
Copy full SHA for d42f1b3
Browse repository at this point
Merge pull request #144 from soulbeing/SpliteFile
Show description for 7760e23
kpdecker
authored
7760e23
View commit details
Copy full SHA for 7760e23
Browse repository at this point
Merge pull request #146 from wvanderdeijl/array
Show description for e4ee3bd
kpdecker
authored
e4ee3bd
View commit details
Copy full SHA for e4ee3bd
Browse repository at this point
Commits on Oct 20, 2016
clone arrays so we don't alter input values
wvanderdeijl
committed
d5003de
View commit details
Copy full SHA for d5003de
Browse repository at this point
added JsDiff.diffArrays
Show description for 0bb9c4c
wvanderdeijl
committed
0bb9c4c
View commit details
Copy full SHA for 0bb9c4c
Browse repository at this point
moved join to Diff so subclasses can override it
wvanderdeijl
committed
9aea80b
View commit details
Copy full SHA for 9aea80b
Browse repository at this point
moved join to Diff so subclasses can override it
wvanderdeijl
committed
d1a7616
View commit details
Copy full SHA for d1a7616
Browse repository at this point
Commits on Oct 13, 2016
removed the uncovered code
Show description for 563e502
soulbeing
committed
563e502
View commit details
Copy full SHA for 563e502
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
Browse repository at this point
fix quotes
Show description for 17e9a1b
soulbeing
committed
17e9a1b
View commit details
Copy full SHA for 17e9a1b
Browse repository at this point
add default delimiter for test cases
Show description for 8913dd3
soulbeing
committed
8913dd3
View commit details
Copy full SHA for 8913dd3
Browse repository at this point
more error fix
Show description for 53ccd48
soulbeing
committed
53ccd48
View commit details
Copy full SHA for 53ccd48
Browse repository at this point
error fix
Show description for 8440a55
soulbeing
committed
8440a55
View commit details
Copy full SHA for 8440a55
Browse repository at this point
Split file using all possible line delimeter instead of hard-coded "/n" and join lines back using the original delimeters
Show description for 802fa9d
soulbeing
committed
802fa9d
View commit details
Copy full SHA for 802fa9d
Browse repository at this point
Previous
Next
You can’t perform that action at this time.