Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

object.getownpropertydescriptors

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object.getownpropertydescriptors - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

.eslintignore

13

CHANGELOG.md

@@ -0,1 +1,14 @@

2.1.1 / 2020-11-26
=================
* [Fix] do not mutate the native function when present
* [Deps] update `es-abstract`; use `call-bind` where applicable
* [meta] remove unused Makefile and associated utilities
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `functions-have-names`; add `aud`
* [actions] add Require Allow Edits workflow
* [actions] switch Automatic Rebase workflow to `pull_request_target` event
* [Tests] migrate tests to Github Actions
* [Tests] run `nyc` on all tests
* [Tests] add `implementation` test; run `es-shim-api` in postlint; use `tape` runner
* [Tests] only audit prod deps
2.1.0 / 2019-12-12

@@ -2,0 +15,0 @@ =================

10

implementation.js
'use strict';
var CreateDataProperty = require('es-abstract/2019/CreateDataProperty');
var IsCallable = require('es-abstract/2019/IsCallable');
var RequireObjectCoercible = require('es-abstract/2019/RequireObjectCoercible');
var ToObject = require('es-abstract/2019/ToObject');
var callBound = require('es-abstract/helpers/callBound');
var CreateDataProperty = require('es-abstract/2020/CreateDataProperty');
var IsCallable = require('es-abstract/2020/IsCallable');
var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible');
var ToObject = require('es-abstract/2020/ToObject');
var callBound = require('call-bind/callBound');

@@ -9,0 +9,0 @@ var $gOPD = Object.getOwnPropertyDescriptor;

'use strict';
var define = require('define-properties');
var callBind = require('call-bind');

@@ -9,3 +10,5 @@ var implementation = require('./implementation');

define(implementation, {
var bound = callBind(getPolyfill(), Object);
define(bound, {
getPolyfill: getPolyfill,

@@ -16,2 +19,2 @@ implementation: implementation,

module.exports = implementation;
module.exports = bound;
{
"name": "object.getownpropertydescriptors",
"version": "2.1.0",
"version": "2.1.1",
"author": "Jordan Harband <ljharb@gmail.com>",

@@ -13,11 +13,8 @@ "funding": {

"prepublish": "safe-publish-latest",
"pretest": "npm run --silent lint && es-shim-api --bound",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npx aud",
"tests-only": "npm run --silent test:shimmed && npm run --silent test:module",
"test:shimmed": "node test/shimmed",
"test:module": "node test",
"coverage": "covert test/*.js",
"coverage:quiet": "covert test/*.js --quiet",
"lint": "eslint ."
"posttest": "npx aud --production",
"tests-only": "nyc tape 'test/**/*.js'",
"lint": "eslint .",
"postlint": "es-shim-api --bound"
},

@@ -40,15 +37,16 @@ "repository": {

"dependencies": {
"call-bind": "^1.0.0",
"define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1"
"es-abstract": "^1.18.0-next.1"
},
"devDependencies": {
"@es-shims/api": "^2.1.2",
"@ljharb/eslint-config": "^15.0.2",
"covert": "^1.1.1",
"eslint": "^6.7.2",
"functions-have-names": "^1.2.0",
"replace": "^1.1.1",
"@ljharb/eslint-config": "^17.2.0",
"aud": "^1.1.2",
"eslint": "^7.8.1",
"functions-have-names": "^1.2.1",
"has-strict-mode": "^1.0.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
"semver": "^6.3.0",
"tape": "^4.11.0"
"tape": "^5.0.1"
},

@@ -55,0 +53,0 @@ "testling": {

'use strict';
require('../auto');
var getDescriptors = require('../');
getDescriptors.shim();

@@ -6,0 +7,0 @@ var test = require('tape');

Sorry, the diff of this file is not supported yet

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