@transloadit/has-property
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1
35900
6