-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tested against lodash library and check-more-types, fixes #1
- Loading branch information
Showing
2 changed files
with
2 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a03d634
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example: checking if new release of lodash would break check-more-types
step 1 - try current latest version of lodash
Clone lodash, create
.dont-break
fileecho check-more-types > .dont-break
step 2 - confirm the current version still work
check-more-types depends on lodash@2.4.1 First let us confirm that the current source @3.0.0-pre still works
step 3 - break a function in lodash
lodash is only used in check-more-types to run 1 test (partial right application)
let us break
_.partialRight
by changing slice to start with third argument.Run dont-break again
Even if lodash's own unit test passed, we now detect that we would break a dependent project.
a03d634
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So 🆒!
Related to npm/issues/6510.