Socket
Socket
Sign inDemoInstall

object.hasown

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object.hasown - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

15

CHANGELOG.md

@@ -8,2 +8,17 @@ # Changelog

## [v1.1.4](https://github.com/es-shims/Object.hasOwn/compare/v1.1.3...v1.1.4) - 2024-03-22
### Commits
- [meta] remove useless ESM [`28440a5`](https://github.com/es-shims/Object.hasOwn/commit/28440a5d2545632b6c6c95bea09ea304a3bfe94f)
- [actions] remove redundant finisher [`579b54d`](https://github.com/es-shims/Object.hasOwn/commit/579b54d37f8b2f83a8187a1525d1e3309c1d6972)
- [Deps] update `es-abstract` [`f7f9aa1`](https://github.com/es-shims/Object.hasOwn/commit/f7f9aa192bcaae10478826617dc707ea5b1ff175)
- [Dev Deps] update `call-bind`, `npmignore`, `tape` [`8a2f213`](https://github.com/es-shims/Object.hasOwn/commit/8a2f213618f4a33f83320c5b76f34b00228732dd)
- [Refactor] use `es-object-atoms` instead of `es-abstract` [`f0efe3b`](https://github.com/es-shims/Object.hasOwn/commit/f0efe3b2d40d143d44969026c9662d6b1f094c05)
- [Dev Deps] update `call-bind`, `tape` [`683b500`](https://github.com/es-shims/Object.hasOwn/commit/683b500aa26d75d8c95bc8fd57bd25c206382335)
- [Deps] update `define-properties`, `es-abstract` [`f74ecf2`](https://github.com/es-shims/Object.hasOwn/commit/f74ecf2cff80a254a8067aea12337c25198d6d78)
- [meta] add missing `engines.node` [`7ca6eeb`](https://github.com/es-shims/Object.hasOwn/commit/7ca6eeb4f9a7f706b700885419e6ddb88f8f0c70)
- [Deps] update `es-abstract` [`d5aa232`](https://github.com/es-shims/Object.hasOwn/commit/d5aa232f680e7bd0256c65922de908c41b5ac06e)
- [Dev Deps] update `aud` [`26fa7f9`](https://github.com/es-shims/Object.hasOwn/commit/26fa7f9cc8b8e1e7c1a40c2b3d19660f5f44bc49)
## [v1.1.3](https://github.com/es-shims/Object.hasOwn/compare/v1.1.2...v1.1.3) - 2023-08-28

@@ -10,0 +25,0 @@

6

implementation.js
'use strict';
var ToObject = require('es-abstract/2023/ToObject');
var ToPropertyKey = require('es-abstract/2023/ToPropertyKey');
var HasOwnProperty = require('es-abstract/2023/HasOwnProperty');
var ToObject = require('es-object-atoms/ToObject');
var ToPropertyKey = require('es-abstract/2024/ToPropertyKey');
var HasOwnProperty = require('es-abstract/2024/HasOwnProperty');

@@ -7,0 +7,0 @@ module.exports = function hasOwn(O, P) {

{
"name": "object.hasown",
"version": "1.1.3",
"version": "1.1.4",
"description": "ES spec-compliant shim for Object.hasOwn",
"main": "index.js",
"exports": {
".": [
{
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
},
"./index.js"
],
".": "./index.js",
"./auto": "./auto.js",

@@ -29,4 +22,3 @@ "./polyfill": "./polyfill.js",

"tests-only": "nyc tape 'test/**/*.js'",
"tests-esm": "nyc node test/index.mjs",
"test": "npm run tests-only && npm run tests-esm",
"test": "npm run tests-only",
"posttest": "aud --production",

@@ -57,4 +49,5 @@ "version": "auto-changelog && git add CHANGELOG.md",

"dependencies": {
"define-properties": "^1.2.0",
"es-abstract": "^1.22.1"
"define-properties": "^1.2.1",
"es-abstract": "^1.23.2",
"es-object-atoms": "^1.0.0"
},

@@ -64,5 +57,5 @@ "devDependencies": {

"@ljharb/eslint-config": "^21.1.0",
"aud": "^2.0.3",
"aud": "^2.0.4",
"auto-changelog": "^2.4.0",
"call-bind": "^1.0.2",
"call-bind": "^1.0.7",
"eslint": "=8.8.0",

@@ -73,6 +66,6 @@ "functions-have-names": "^1.2.3",

"in-publish": "^2.0.1",
"npmignore": "^0.3.0",
"npmignore": "^0.3.1",
"nyc": "^10.3.2",
"safe-publish-latest": "^2.0.0",
"tape": "^5.6.6"
"tape": "^5.7.5"
},

@@ -91,3 +84,6 @@ "auto-changelog": {

]
},
"engines": {
"node": ">= 0.4"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc