object.hasown

v1.1.0
ES spec-compliant shim for Object.hasOwn
Object hasOwn polyfill shim es-shim API

prepublish

not-in-publish || npm run prepublishOnly

prepublishOnly

safe-publish-latest

lint

eslint .

postlint

es-shim-api --bound

pretest

npm run lint

tests-only

nyc tape 'test/**/*.js'

tests-esm

nyc node test/index.mjs

test

npm run tests-only && npm run tests-esm

posttest

aud --production

version

auto-changelog && git add CHANGELOG.md

postversion

auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f "v$(node -e "console.log(require('./package.json').version)")"

Metadata

  • MIT
  • Whatever
  • Jordan Harband
  • released 10/4/2021

Downloads

Maintainers