Socket
Socket
Sign inDemoInstall

like-ar

Package Overview
Dependencies
0
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

9

like-ar.js

@@ -77,2 +77,10 @@ "use strict";

ObjectWithArrayMethodsOptimized.prototype.plain = function plain(){
var o = {};
likeAr(this).forEach(function(value, key){
o[key]=value;
});
return o;
}
function Argument3Adapt(__,___,x){ return x; }

@@ -87,2 +95,3 @@

{name:'keys' , useOptimized: true },
{name:'plain' , useOptimized: true },
].forEach(function(method){

@@ -89,0 +98,0 @@ ObjectWithArrayMethodsNonOptimized.prototype[method.name] = method.useOptimized ?

2

package.json
{
"name": "like-ar",
"description": "Using objects like arrays with map, filter, forEach and others coming soon.",
"version": "0.2.1",
"version": "0.2.2",
"author": "Codenautas <codenautas@googlegroups.com>",

@@ -6,0 +6,0 @@ "repository": "codenautas/like-ar",

@@ -57,2 +57,3 @@ # like-ar

`keys()` | array of keys
`plain()` | plain array

@@ -59,0 +60,0 @@ # Usage

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc