New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

map-anything

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

map-anything - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

dist/types/index.d.ts

@@ -7,4 +7,4 @@ /**

};
export declare type KeyOfMap<M extends Map<unknown, unknown>> = M extends Map<infer K, unknown> ? K : never;
export declare type ValueOfMap<M extends Map<unknown, unknown>> = M extends Map<unknown, infer V> ? V : never;
export type KeyOfMap<M extends Map<unknown, unknown>> = M extends Map<infer K, unknown> ? K : never;
export type ValueOfMap<M extends Map<unknown, unknown>> = M extends Map<unknown, infer V> ? V : never;
/**

@@ -11,0 +11,0 @@ * Map each value of a map with provided function, just like `Array.map`

@@ -5,3 +5,3 @@ {

"type": "module",
"version": "2.1.0",
"version": "2.1.1",
"description": "Array.map but for objects with good TypeScript support. A small and simple integration.",

@@ -13,5 +13,5 @@ "module": "./dist/index.es.js",

".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs",
"types": "./dist/types/index.d.ts"
"require": "./dist/index.cjs"
}

@@ -28,18 +28,18 @@ },

"lint": "tsc --noEmit && eslint ./src --ext .ts",
"build": "rollup -c ./scripts/build.js",
"build": "rollup --bundleConfigAsCjs -c ./scripts/build.js",
"release": "npm run lint && del dist && npm run build && np"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"del-cli": "^4.0.1",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-tree-shaking": "^1.10.0",
"np": "^7.6.0",
"prettier": "^2.5.1",
"rollup": "^2.66.1",
"rollup-plugin-typescript2": "^0.31.1",
"typescript": "^4.5.5",
"vitest": "^0.2.3"
"np": "^7.7.0",
"prettier": "^2.8.8",
"rollup": "^3.21.5",
"rollup-plugin-typescript2": "^0.34.1",
"typescript": "^4.9.5",
"vitest": "^0.31.0"
},

@@ -46,0 +46,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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