lz-string icon indicating copy to clipboard operation
lz-string copied to clipboard

Please republish with MIT license

Open morfey13 opened this issue 3 years ago • 3 comments

Could you please republish lib to npm with MIT license: we can't use lib with WTFPL license

morfey13 avatar Oct 19 '20 15:10 morfey13

For now install from the github repo directly - the version is identical, so we can't just publish the same version again.

npm install https://github.com/pieroxy/lz-string.git

I'm hoping to get some time to convert this over to Typescript soon which will necessitate a bump (but otherwise should be identical).

Rycochet avatar Oct 20 '20 06:10 Rycochet

@Rycochet, in this case could you please publish 1.4.5 with MIT license?

Throttle avatar Oct 20 '20 06:10 Throttle

@Throttle I've not personally got access for that - in legal terms the license is stated in the repo and npmjs is not a source of truth for that - if your automated tools need the correct license then use the github install as stated above

Rycochet avatar Oct 20 '20 07:10 Rycochet

CC @pieroxy do you still have the npm publishing rights?

revelt avatar Jan 24 '23 17:01 revelt

I should, yes. I'll see what I can do.

pieroxy avatar Jan 27 '23 07:01 pieroxy

Could you please republish lib to npm with MIT license: we can't use lib with WTFPL license

That said, I'd be interested to understand why you cannot use the code with the WTFPL. The WTFPL is literally the most permissive license of them all, since you can do what you want. So just take it and relicense it as MIT if you want.

pieroxy avatar Jan 27 '23 08:01 pieroxy

That said, I'd be interested to understand why you cannot use the code with the WTFPL. The WTFPL is literally the most permissive license of them all, since you can do what you want. So just take it and relicense it as MIT if you want.

There's actually a really good reason - the WTFPL is not OSI / open-source compatible according to lawyers - https://opensource.org/licenses/alphabetical - which means that many companies (such as mine) need to specifically discuss what to do (there are libraries out there that can say "yep, this package is OSI compatible so we're good to use it")

Rycochet avatar Jan 27 '23 09:01 Rycochet

@pieroxy lz-string is a great package, it is still going strong after those years (which proves your skill). It would be unethical for us users to grab it and relicence. Maybe it would make sense to arrange a co-maintainer, somebody who would help with daily maintenance, releases etc? Many popular packages are maintained by multiple people.

revelt avatar Jan 27 '23 09:01 revelt

I'll publish the lib with the MIT license this weekend. Thanks for the link to the OSI.

pieroxy avatar Jan 27 '23 09:01 pieroxy

I'll publish the lib with the MIT license this weekend. Thanks for the link to the OSI.

@pieroxy The release on NPM is still marked as licensed unter WTFPL. Did you publish it somewhere else?

eps1lon avatar Feb 16 '23 10:02 eps1lon

It looks like I am locked out of npmjs. Cannot log in, cannot change my password (looks like something unexpected occurred! when trying) so as of right now, I am trying to get access back to npmjs. I'll let you know when things move forward.

pieroxy avatar Feb 21 '23 20:02 pieroxy

Allright, I am back in. Anyone has any idea how to change the license in npmjs? Should I just release a new version with the only change being the license ?

pieroxy avatar Mar 01 '23 18:03 pieroxy

Pretty much - personally I'd do it as a minor release for easy updating for people :-)

Rycochet avatar Mar 01 '23 18:03 Rycochet

How does that work? (I haven't been in npm in about 8 years...)

I just bump the version in package.json and npm publish ?

pieroxy avatar Mar 01 '23 18:03 pieroxy

npm version minor then npm publish (and push to git) - been a while since I've done this manually too :-D

Rycochet avatar Mar 01 '23 18:03 Rycochet

Thanks a bunch, will do that.

pieroxy avatar Mar 01 '23 18:03 pieroxy

Allright, I am ready to push it. I'll do that this weekend because if I do something stupid (happened before) I will really not be able to react much in the next couple of days. Expect that early saturday UTC.

pieroxy avatar Mar 01 '23 18:03 pieroxy

There we go. v1.5.0 is live with MIT license. Thanks for the help!

pieroxy avatar Mar 04 '23 08:03 pieroxy