Changelog
3.0.0
Breaking changes
.default
suffix is required when accessing
const copy = require('fast-copy').default;
const copy = globalThis['fast-copy'].default;
copy.strict
is no longer available; it is now available as the explicit copyStrict
named importisStrict
option has been replaced with importing the separate copyStrict
methodrealm
has been removed entirely, as instanceof
is no longer used internallyFastCopy
namespace in typings has been removed in favor of explicit import of available typesEnhancements
exports
option, to have bettern handling for different environments (ESM vs CJS vs UMD) and improve tree-shaking when supportedBug fixes
new String('foo')