Closed ocavue closed 9 months ago
Copy the code from the NPM package is-plain-obj to replace our current isPlainObject implementation. Closes https://github.com/paulmillr/noble-ciphers/issues/21.
is-plain-obj
isPlainObject
I choose to copy code instead of adding it as a dependency because of the following reasons:
@noble/ciphers
@paulmillr Just bumping this one. I suspect you'll want to merge it.
Solved in 2e49a16. It's only used internally, so it was simplified.
0.5.0 is out
Copy the code from the NPM package
is-plain-obj
to replace our currentisPlainObject
implementation. Closes https://github.com/paulmillr/noble-ciphers/issues/21.I choose to copy code instead of adding it as a dependency because of the following reasons:
is-plain-obj
is an ESM-only package, while noble is an ESM-CJS dual package.@noble/ciphers
is designed as zero-dependency.