UNPKG

@alwatr/polyfill-has-own

Version:
78 lines (77 loc) 2.09 kB
{ "name": "@alwatr/polyfill-has-own", "description": "A polyfill for `Object.hasOwn`.", "version": "5.5.21", "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>", "bugs": "https://github.com/Alwatr/nanolib/issues", "devDependencies": { "@alwatr/nano-build": "6.3.6", "@alwatr/prettier-config": "5.0.5", "@alwatr/tsconfig-base": "6.0.3", "typescript": "^5.9.3" }, "exports": { ".": { "types": "./dist/main.d.ts", "import": "./dist/main.mjs", "require": "./dist/main.cjs" } }, "files": [ "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}", "LICENSE", "!demo/**/*", "!**/*.test.js" ], "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/polyfill-has-own#readme", "keywords": [ "alwatr", "cross-platform", "ECMAScript", "esm", "has-own", "has-own-property", "has-own-property-polyfill", "javascript", "module", "nanolib", "node", "nodejs", "polyfill", "polyfill-has-own", "typescript", "util", "utility", "utils" ], "license": "MPL-2.0", "main": "./dist/main.cjs", "module": "./dist/main.mjs", "prettier": "@alwatr/prettier-config", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/Alwatr/nanolib", "directory": "packages/polyfill-has-own" }, "scripts": { "b": "yarn run build", "build": "yarn run build:ts && yarn run build:es", "build:es": "nano-build --preset=module", "build:ts": "tsc --build", "c": "yarn run clean", "cb": "yarn run clean && yarn run build", "clean": "rm -rfv dist *.tsbuildinfo", "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings", "w": "yarn run watch", "watch": "yarn run watch:ts & yarn run watch:es", "watch:es": "yarn run build:es --watch", "watch:ts": "yarn run build:ts --watch --preserveWatchOutput" }, "sideEffects": true, "type": "module", "types": "./dist/main.d.ts", "gitHead": "d6abdbdc75d4a2c5e0b3f739c7c3de4193308031" }