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

cosmosts

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmosts - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

dist/index.d.ts

11

dist/index.js

@@ -5,3 +5,5 @@ "use strict";

const colors = require('colors');
// @ts-ignore
const index_1 = require("./matchers/index");
const isPromise = require('is-promise');
const cosmos = {

@@ -52,3 +54,8 @@ SILENT: false

try {
cb();
if (isPromise(cb())) {
Promise.resolve(cb());
}
else {
cb();
}
log(`${indent(indentLevel + 1)}${' OK '.bgGreen.black} ${title.green}`);

@@ -113,2 +120,4 @@ summary.success++;

};
const dsl = { expect, it: exports.it, xit, end, describe, beforeEach: exports.beforeEach, beforeAll: exports.beforeAll };
Object.assign(cosmos, dsl);
//# sourceMappingURL=index.js.map

8

package.json
{
"name": "cosmosts",
"version": "0.0.2",
"version": "0.0.3",
"main": "dist/index.js",

@@ -10,5 +10,9 @@ "types": "dist/index.d.ts",

},
"files": [
"dist"
],
"dependencies": {
"colors": "^1.3.3",
"deep-equal": "^1.0.1"
"deep-equal": "^1.0.1",
"is-promise": "^2.1.0"
},

@@ -15,0 +19,0 @@ "devDependencies": {

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