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

@injex/stdlib

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@injex/stdlib - npm Package Compare versions

Comparing version 2.0.0-alpha.6 to 2.0.0-alpha.7

1

lib/utils.d.ts
export declare function toCamelCase(str: string): string;
export declare function isFunction(predicate: any): boolean;
export declare function isPromise(predicate: any): boolean;
export declare function getConstructorName(instance: any): string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConstructorName = exports.isFunction = exports.toCamelCase = void 0;
exports.getConstructorName = exports.isPromise = exports.isFunction = exports.toCamelCase = void 0;
function toCamelCase(str) {

@@ -12,2 +12,6 @@ return str[0].toLowerCase() + str.slice(1);

exports.isFunction = isFunction;
function isPromise(predicate) {
return !!predicate && typeof predicate === "object" && isFunction(predicate.then) && isFunction(predicate.catch);
}
exports.isPromise = isPromise;
function getConstructorName(instance) {

@@ -14,0 +18,0 @@ return (instance && instance.constructor && instance.constructor.name);

4

package.json
{
"name": "@injex/stdlib",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.7",
"description": "",

@@ -48,3 +48,3 @@ "keywords": [],

},
"gitHead": "2bc7bf1fe723764bbc83c4425e202dca101ec87a"
"gitHead": "a8b5803004122e95f1fd4d4b7c34c7f78511268d"
}

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