Socket
Socket
Sign inDemoInstall

promise.prototype.finally

Package Overview
Dependencies
65
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

.jscs.json

4

CHANGELOG.md

@@ -0,1 +1,5 @@

2.0.1 / 2016-09-27
=================
* [Fix] functions in IE 9-11 don’t have a `name` property (#3)
2.0.0 / 2016-08-21

@@ -2,0 +6,0 @@ =================

7

implementation.js

@@ -41,6 +41,9 @@ 'use strict';

};
if (Object.getOwnPropertyDescriptor && Object.getOwnPropertyDescriptor(promiseFinally, 'name').configurable) {
Object.defineProperty(promiseFinally, 'name', { configurable: true, value: 'finally' });
if (Object.getOwnPropertyDescriptor) {
var descriptor = Object.getOwnPropertyDescriptor(promiseFinally, 'name');
if (descriptor && descriptor.configurable) {
Object.defineProperty(promiseFinally, 'name', { configurable: true, value: 'finally' });
}
}
module.exports = promiseFinally;
{
"name": "promise.prototype.finally",
"version": "2.0.0",
"version": "2.0.1",
"author": "Jordan Harband",

@@ -52,3 +52,3 @@ "contributors": [

"define-properties": "^1.1.2",
"es-abstract": "^1.6.0",
"es-abstract": "^1.6.1",
"function-bind": "^1.1.0"

@@ -58,9 +58,9 @@ },

"@es-shims/api": "^1.2.0",
"@ljharb/eslint-config": "^6.0.0",
"@ljharb/eslint-config": "^8.0.0",
"covert": "^1.1.0",
"es6-shim": "^0.35.1",
"eslint": "^3.0.1",
"nsp": "^2.5.0",
"eslint": "^3.6.1",
"nsp": "^2.6.1",
"tape": "^4.6.0",
"safe-publish-latest": "^1.0.1"
"safe-publish-latest": "^1.1.0"
},

@@ -67,0 +67,0 @@ "testling": {

@@ -5,4 +5,2 @@ 'use strict';

// var define = require('define-properties');
// var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';

@@ -15,3 +13,3 @@

t.skip('onFinally arguments', function (st) {
t.test('onFinally arguments', function (st) {
st.plan(2);

@@ -18,0 +16,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc