Socket
Socket
Sign inDemoInstall

obliterator

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obliterator - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

12

package.json
{
"name": "obliterator",
"version": "2.0.2",
"version": "2.0.3",
"description": "Higher order iterator library for JavaScript/TypeScript.",

@@ -33,7 +33,7 @@ "main": "index.js",

"@yomguithereal/prettier-config": "^1.2.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"mocha": "^9.1.3",
"prettier": "^2.4.1",
"typescript": "^4.4.4"
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"mocha": "^9.2.2",
"prettier": "^2.6.2",
"typescript": "^4.6.3"
},

@@ -40,0 +40,0 @@ "eslintConfig": {

@@ -7,2 +7,13 @@ export interface Sequence<T> {

export interface Mapping<K, V> {
has(key: K): boolean;
get(key: K): V | undefined;
forEach(callback: (value: V, key: K) => void): void;
}
export type AnyMapping<K, V> = K extends keyof any
? Record<K, V> | Mapping<K, V>
: Mapping<K, V>;
export type IntoInterator<T> = Iterable<T> | Iterator<T> | Sequence<T>;
export type IntoEntriesIterator<K, V> = IntoInterator<[key: K, value: V]>;
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