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 3.3.0 to 3.3.1

1

lib/utils.d.ts

@@ -5,1 +5,2 @@ export declare function toCamelCase(str: string): string;

export declare function getConstructorName(instance: any): string;
export declare function yieldToMain(): Promise<void>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConstructorName = exports.isPromise = exports.isFunction = exports.toCamelCase = void 0;
exports.yieldToMain = exports.getConstructorName = exports.isPromise = exports.isFunction = exports.toCamelCase = void 0;
function toCamelCase(str) {

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

exports.getConstructorName = getConstructorName;
function yieldToMain() {
return new Promise(function (resolve) { return setTimeout(resolve, 0); });
}
exports.yieldToMain = yieldToMain;
//# sourceMappingURL=utils.js.map

6

package.json
{
"name": "@injex/stdlib",
"version": "3.3.0",
"version": "3.3.1",
"description": "",

@@ -46,7 +46,7 @@ "keywords": [],

"ts-jest": "^26.3.0",
"tslib": "^2.2.0",
"tslib": "^2.4.1",
"tslint": "^6.1.3",
"typescript": "^4.0.2"
},
"gitHead": "7a0c48970c4204a5db67fdbe85e37609469f581a"
"gitHead": "a185c0956383c9d4e26c3684a17451d2e2b26434"
}

@@ -15,2 +15,6 @@ export function toCamelCase(str: string): string {

return (instance && instance.constructor && instance.constructor.name);
}
export function yieldToMain(): Promise<void> {
return new Promise((resolve) => setTimeout(resolve, 0));
}

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