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

remeda

Package Overview
Dependencies
Maintainers
2
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remeda - npm Package Compare versions

Comparing version 1.22.0 to 1.22.1

3

dist/commonjs/prop.d.ts

@@ -1,3 +0,2 @@

export declare function prop<T, K extends keyof T>(prop: K): (data: T) => T[K];
export declare function prop<K extends PropertyKey>(prop: K): <T>(data: T) => K extends keyof T ? T[K] : undefined;
export declare const prop: <T, K extends keyof T>(propName: K) => ({ [propName]: value }: T) => T[K];
//# sourceMappingURL=prop.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.prop = void 0;
function prop(prop) {
return function (data) { return data[prop]; };
}
var prop = function (propName) {
return function (_a) {
var _b = propName, value = _a[_b];
return value;
};
};
exports.prop = prop;

@@ -1,3 +0,2 @@

export declare function prop<T, K extends keyof T>(prop: K): (data: T) => T[K];
export declare function prop<K extends PropertyKey>(prop: K): <T>(data: T) => K extends keyof T ? T[K] : undefined;
export declare const prop: <T, K extends keyof T>(propName: K) => ({ [propName]: value }: T) => T[K];
//# sourceMappingURL=prop.d.ts.map

@@ -1,3 +0,6 @@

export function prop(prop) {
return function (data) { return data[prop]; };
}
export var prop = function (propName) {
return function (_a) {
var _b = propName, value = _a[_b];
return value;
};
};
{
"name": "remeda",
"version": "1.22.0",
"version": "1.22.1",
"description": "A utility library for JavaScript and Typescript.",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

Sorry, the diff of this file is not supported yet

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