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

@transloadit/has-property

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transloadit/has-property - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

3

dist/has-property.d.ts

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

export declare function hasProperty<K extends PropertyKey>(obj: unknown, key: K | null | undefined): obj is Record<K, unknown>;
declare const _default: <K extends PropertyKey>(obj: unknown, key: K | null | undefined) => obj is Record<K, unknown>;
export = _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hasProperty = void 0;
function hasProperty(obj, key) {
module.exports = function hasProperty(obj, key) {
return key != null && obj != null && typeof obj === 'object' && Object.hasOwn(obj, key);
}
exports.hasProperty = hasProperty;
};
//# sourceMappingURL=has-property.js.map
{
"name": "@transloadit/has-property",
"license": "AGPL-3.0-only",
"version": "0.1.0",
"version": "0.2.0",
"publishConfig": {

@@ -26,3 +26,3 @@ "access": "public"

},
"gitHead": "3fbbb8c4c18eeb9b9de5e3a5c022d46a7cc40800"
"gitHead": "df8101d46064782dd743550aac74ab6afdb6b82c"
}

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