Socket
Socket
Sign inDemoInstall

es5-ext

Package Overview
Dependencies
8
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.30 to 0.10.31

.editorconfig

11

array/#/copy-within/implement.js
"use strict";
if (!require("./is-implemented")()) {
Object.defineProperty(Array.prototype, "copyWithin",
{ value: require("./shim"),
configurable: true,
enumerable: false,
writable: true });
Object.defineProperty(Array.prototype, "copyWithin", {
value: require("./shim"),
configurable: true,
enumerable: false,
writable: true
});
}

@@ -5,2 +5,12 @@ # Change Log

<a name="0.10.31"></a>
## [0.10.31](https://github.com/medikoo/es5-ext/compare/v0.10.30...v0.10.31) (2017-10-09)
### Features
* Object.isPlainFunction utility ([031be0a](https://github.com/medikoo/es5-ext/commit/031be0a))
<a name="0.10.30"></a>

@@ -7,0 +17,0 @@ ## [0.10.30](https://github.com/medikoo/es5-ext/compare/v0.10.29...v0.10.30) (2017-08-25)

@@ -10,3 +10,3 @@ "use strict";

curry = function self (fn, length, preArgs) {
curry = function self(fn, length, preArgs) {
return defineLength(function () {

@@ -13,0 +13,0 @@ var args = preArgs

@@ -9,3 +9,3 @@ "use strict";

module.exports = function self (value /*, replacer, space*/) {
module.exports = function self(value /*, replacer, space*/) {
var replacer = arguments[1], space = arguments[2];

@@ -12,0 +12,0 @@ try {

@@ -8,3 +8,3 @@ "use strict";

process = function self (value, key) {
process = function self(value, key) {
if (isPlainObject(value)) forEach(value, self, this);

@@ -11,0 +11,0 @@ else this[key] = value;

@@ -35,2 +35,3 @@ "use strict";

isObject: require("./is-object"),
isPlainFunction: require("./is-plain-function"),
isPlainObject: require("./is-plain-object"),

@@ -37,0 +38,0 @@ isPromise: require("./is-promise"),

@@ -43,3 +43,3 @@ /* eslint no-proto: "off" */

} else {
fn = function self (obj, prototype) {
fn = function self(obj, prototype) {
var isNullBase;

@@ -46,0 +46,0 @@ validate(obj, prototype);

{
"name": "es5-ext",
"version": "0.10.30",
"version": "0.10.31",
"description": "ECMAScript extensions and shims",

@@ -29,8 +29,8 @@ "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",

"dependencies": {
"es6-iterator": "2",
"es6-symbol": "~3.1"
"es6-iterator": "~2.0.1",
"es6-symbol": "~3.1.1"
},
"devDependencies": {
"eslint": "^4.2.0",
"eslint-config-medikoo-es5": "^1.4.1",
"eslint": "^4.6.1",
"eslint-config-medikoo-es5": "^1.4.3",
"tad": "~0.2.7"

@@ -37,0 +37,0 @@ },

{
"globals": {
"Symbol": true
},
"rules": {
"consistent-this": "off",
"id-length": "off",
"no-empty-function": "off",
"no-new-wrappers": "off",
"no-prototype-builtins": "off",
"no-shadow": "off"
}
"globals": {
"Symbol": true
},
"rules": {
"consistent-this": "off",
"id-length": "off",
"no-empty-function": "off",
"no-eval": "off",
"no-new-wrappers": "off",
"no-prototype-builtins": "off",
"no-shadow": "off"
}
}

@@ -7,12 +7,22 @@ "use strict";

a.deep(t("12r3v"), ["1", "2", "r", "3", "v"], "String");
a.deep(t((function () {
return arguments;
}(3, o, "raz"))),
[3, o, "raz"], "Arguments");
a.deep(t((function () {
return arguments;
}(3))), [3],
"Arguments with one numeric value");
a.deep(
t(
(function () {
return arguments;
})(3, o, "raz")
),
[3, o, "raz"],
"Arguments"
);
a.deep(
t(
(function () {
return arguments;
})(3)
),
[3],
"Arguments with one numeric value"
);
a.deep(t({ 0: "raz", 1: "dwa", length: 2 }), ["raz", "dwa"], "Other");
};

@@ -6,3 +6,3 @@ "use strict";

// eslint-disable-next-line func-names
var fn = function marko (a, b) {
var fn = function marko(a, b) {
return this + a + b + foo + bar;

@@ -9,0 +9,0 @@ };

@@ -9,5 +9,11 @@ "use strict";

a(t(""), true, "String");
a(t((function () {
return arguments;
}())), true, "Arguments");
a(
t(
(function () {
return arguments;
})()
),
true,
"Arguments"
);
a(t({ length: 0 }), true, "List object");

@@ -14,0 +20,0 @@ a(t(function () {}), false, "Function");

@@ -6,5 +6,11 @@ "use strict";

a(t(""), true, "String");
a(t((function () {
return arguments;
}())), true, "Arguments");
a(
t(
(function () {
return arguments;
})()
),
true,
"Arguments"
);
a(t({ length: 0 }), true, "List object");

@@ -11,0 +17,0 @@ a(t(function () {}), false, "Function");

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