npm / ini

An ini parser/serializer in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New minor version 1.3.7 introduces a breaking changes

ThomasKientz opened this issue · comments

Use of Object.create(null) in this commit breaks the use of hasOwnProperty() by other packages depending on this one.

Eg : jonschlinkert/git-user-email#5

I am suggesting a rollback and publishing that change as a major version bump instead.

Ack, good catch, sorry about that.

Fixed on 1.3.8, I'll publish a v2 shortly that re-introduces the change. (For what it's worth, relying on obj.hasOwnProperty is a bit brittle anyway, because someone could put a hasOwnProperty field in the ini file itself.)