Socket
Socket
Sign inDemoInstall

atma-utils

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atma-utils - npm Package Compare versions

Comparing version 0.2.50 to 0.2.51

36

lib/utils.embed.js

@@ -1397,3 +1397,4 @@ var _Array_slice,

var class_inherit,
class_extendProtoObjects;
class_extendProtoObjects,
proto_getKeys;
(function(){

@@ -1456,2 +1457,28 @@ var PROTO = "__proto__";

}
proto_getKeys = function (mix) {
var keys = null;
if (_getProtoOf == null) {
keys = [];
for (var key in mix) {
keys.push(key);
}
return keys;
}
var cursor = mix;
var cursorEnd = null;
if (typeof mix === 'function') {
cursorEnd = Function.prototype;
}
else {
cursorEnd = Object.prototype;
}
while (cursor != cursorEnd) {
var names = Object.getOwnPropertyNames(cursor);
keys = keys == null
? names
: keys.concat(names);
cursor = Object.getPrototypeOf(cursor);
}
return keys;
}
function proto_override(super_, fn) {

@@ -1583,3 +1610,5 @@ var proxy;

}
for (var key in Fn) {
var keys = proto_getKeys(Fn);
for (var j = 0; j < keys.length; j++) {
var key = keys[j];
if (key in Ctor === false) {

@@ -1591,3 +1620,4 @@ obj_copyProperty(Ctor, Fn, key);

}
var ensureCallableSingle, ensureCallable;
var ensureCallableSingle;
var ensureCallable;
(function () {

@@ -1594,0 +1624,0 @@ ensureCallable = function (arr) {

@@ -1302,3 +1302,4 @@ (function(factory){

var class_inherit,
class_extendProtoObjects;
class_extendProtoObjects,
proto_getKeys;
(function(){

@@ -1361,2 +1362,28 @@ var PROTO = "__proto__";

}
proto_getKeys = function (mix) {
var keys = null;
if (_getProtoOf == null) {
keys = [];
for (var key in mix) {
keys.push(key);
}
return keys;
}
var cursor = mix;
var cursorEnd = null;
if (typeof mix === 'function') {
cursorEnd = Function.prototype;
}
else {
cursorEnd = Object.prototype;
}
while (cursor != cursorEnd) {
var names = Object.getOwnPropertyNames(cursor);
keys = keys == null
? names
: keys.concat(names);
cursor = Object.getPrototypeOf(cursor);
}
return keys;
}
function proto_override(super_, fn) {

@@ -1488,3 +1515,5 @@ var proxy;

}
for (var key in Fn) {
var keys = proto_getKeys(Fn);
for (var j = 0; j < keys.length; j++) {
var key = keys[j];
if (key in Ctor === false) {

@@ -1496,3 +1525,4 @@ obj_copyProperty(Ctor, Fn, key);

}
var ensureCallableSingle, ensureCallable;
var ensureCallableSingle;
var ensureCallable;
(function () {

@@ -1499,0 +1529,0 @@ ensureCallable = function (arr) {

2

package.json
{
"name": "atma-utils",
"description": "Helpers",
"version": "0.2.50",
"version": "0.2.51",
"author": "Alexander Kit <alex.kit@atmajs.com>",

@@ -6,0 +6,0 @@ "repository": {

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