pvorb / clone

deeply clone arbitrary objects in javascript
https://www.npmjs.com/package/clone
MIT License
781 stars 129 forks source link

What is the 1.x -> 2.x breaking change? #96

Closed landau closed 6 years ago

landau commented 6 years ago

I see a major version change from 1.x -> 2.x. Assuming this repo follows semver semantics, what breaking change was introduced?

Thanks for your time on this project.

pvorb commented 6 years ago

Nothing broke with 2.0.0. I just introduced support for ES6 Maps and Sets.

I intend to never break the API of this library.

landau commented 6 years ago

Thanks. When following semver, major is reserved for api incompatible changes. 👍