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

@transloadit/has-property

Package Overview
Dependencies
Maintainers
5
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.2.2 to 0.2.3

3

dist/has-property.d.ts

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

declare const _default: <K extends PropertyKey>(obj: unknown, key: K | null | undefined) => obj is Record<K, unknown>;
export = _default;
export declare function hasProperty<K extends PropertyKey>(obj: unknown, key: K | null | undefined): obj is Record<K, unknown>;
"use strict";
module.exports = function hasProperty(obj, key) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.hasProperty = void 0;
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",
"version": "0.2.2",
"version": "0.2.3",
"repository": {

@@ -23,3 +23,3 @@ "type": "git",

},
"gitHead": "0a3041d61326d5de201cb1728e1a1a2d7a0cd5bc"
"gitHead": "412a97c914bd1a8c6d21df01c9f7e18ab19b218a"
}

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

"outDir": "dist/",
"rootDir": "src/",
"rootDir": "src/"
},
"include": ["src/"],
"include": ["src/"]
}

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