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

oow

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oow - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

15

oow.js

@@ -18,3 +18,4 @@ (function () {

take(n) { return this.slice(0, n) },
drop(n) { return this.slice(n, this.length) }
drop(n) { return this.slice(n, this.length) },
count(predicate) { return this.filter(predicate).length },
};

@@ -41,2 +42,8 @@

return this.reduce(sumElement, startValue || 0)
},
};
const StringExtensions = {
filter(predicate) {
return this.split('').filter(predicate).join('');
}

@@ -59,3 +66,7 @@ };

extend(Array.prototype, ArrayExtensions, methodName)
)
);
eachExtensionOf(StringExtensions, methodName =>
extend(String.prototype, StringExtensions, methodName)
);
})();

4

package.json
{
"name": "oow",
"version": "1.4.1",
"version": "1.5.0",
"description": "Extension methods that should exist in JS core by default",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/ngarbezza/oow",

"devDependencies": {
"@ngarbezza/testy": "^1.2.0"
"@ngarbezza/testy": "^2.1.0"
}
}
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