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

tarantula-fl

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tarantula-fl - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

test/cover.json

2

bsconfig.json
{
"$schema": "https://raw.githubusercontent.com/rescript-lang/rescript-compiler/master/docs/docson/build-schema.json",
"name": "tarantula-fl",
"version": "0.0.6",
"version": "0.0.7",
"sources": {

@@ -6,0 +6,0 @@ "dir" : "src",

{
"name": "tarantula-fl",
"version": "0.0.6",
"version": "0.0.7",
"scripts": {

@@ -5,0 +5,0 @@ "build": "bsb -make-world",

@@ -75,3 +75,3 @@ // Generated by ReScript, PLEASE EDIT WITH CARE

var tFailed$1 = tFailed;
var passedRatio = tPassed$1 !== 0.0 ? lPassed / tPassed$1 : 0.0;
var passedRatio = tPassed$1 !== 0.0 ? lPassed / tPassed$1 : 1.0;
var failedRatio = tFailed$1 !== 0.0 ? lFailed / tFailed$1 : 0.0;

@@ -82,3 +82,3 @@ var sumRatio = passedRatio + failedRatio;

} else {
return 0.0;
return 1.0;
}

@@ -131,3 +131,3 @@ }

"Tarantula.res",
97,
100,
16

@@ -134,0 +134,0 @@ ],

@@ -16,26 +16,4 @@ // Generated by ReScript, PLEASE EDIT WITH CARE

function matchFromEnd(a, b) {
if (a !== undefined) {
if (b !== undefined) {
if (b.endsWith(a)) {
return true;
} else {
return a.endsWith(b);
}
} else {
return false;
}
} else {
return b === undefined;
}
}
function cmp(a, b) {
var match = Caml_primitive.caml_string_compare(a.title, b.title);
var match$1 = matchFromEnd(a.file, b.file);
if (match !== 0 || !match$1) {
return 1;
} else {
return 0;
}
return Caml_primitive.caml_string_compare(a.title, b.title);
}

@@ -42,0 +20,0 @@

@@ -5,178 +5,4 @@ var assert = require('assert')

var exampleCoverage = {
"contracts/MetaCoin.sol": {
"17": [
{
"title": "should put 10000 MetaCoin in the first account",
"fullTitle": "Contract: MetaCoin should put 10000 MetaCoin in the first account",
"file": "test/metacoin.js"
}
],
"21": [
{
"title": "should send coin correctly",
"fullTitle": "Contract: MetaCoin should send coin correctly",
"file": "test/metacoin.js"
}
],
"22": [
{
"title": "should send coin correctly",
"fullTitle": "Contract: MetaCoin should send coin correctly",
"file": "test/metacoin.js"
}
],
"23": [
{
"title": "should send coin correctly",
"fullTitle": "Contract: MetaCoin should send coin correctly",
"file": "test/metacoin.js"
}
],
"24": [
{
"title": "should send coin correctly",
"fullTitle": "Contract: MetaCoin should send coin correctly",
"file": "test/metacoin.js"
}
],
"25": [
{
"title": "should send coin correctly",
"fullTitle": "Contract: MetaCoin should send coin correctly",
"file": "test/metacoin.js"
}
],
"29": [
{
"title": "should call a function that depends on a linked library",
"fullTitle": "Contract: MetaCoin should call a function that depends on a linked library",
"file": "test/metacoin.js"
}
],
"33": [
{
"title": "should put 10000 MetaCoin in the first account",
"fullTitle": "Contract: MetaCoin should put 10000 MetaCoin in the first account",
"file": "test/metacoin.js"
},
{
"title": "should call a function that depends on a linked library",
"fullTitle": "Contract: MetaCoin should call a function that depends on a linked library",
"file": "test/metacoin.js"
},
{
"title": "should send coin correctly",
"fullTitle": "Contract: MetaCoin should send coin correctly",
"file": "test/metacoin.js"
}
]
},
"contracts/ConvertLib.sol": {
"7": [
{
"title": "should call a function that depends on a linked library",
"fullTitle": "Contract: MetaCoin should call a function that depends on a linked library",
"file": "test/metacoin.js"
}
]
}
}
var exampleTestResult = {
"stats": {
"suites": 2,
"tests": 5,
"passes": 5,
"pending": 0,
"failures": 0,
"start": "2021-01-09T13:09:27.023Z",
"end": "2021-01-09T13:09:32.066Z",
"duration": 5043
},
"tests": [
{
"title": "testInitialBalanceUsingDeployedContract",
"fullTitle": "TestMetaCoin testInitialBalanceUsingDeployedContract",
"duration": 72,
"currentRetry": 0,
"err": {}
},
{
"title": "testInitialBalanceWithNewMetaCoin",
"fullTitle": "TestMetaCoin testInitialBalanceWithNewMetaCoin",
"duration": 62,
"currentRetry": 0,
"err": {}
},
{
"title": "should put 10000 MetaCoin in the first account",
"fullTitle": "Contract: MetaCoin should put 10000 MetaCoin in the first account",
"file": "/Users/walker/Development/metacoin/test/metacoin.js",
"duration": 59,
"currentRetry": 0,
"err": {}
},
{
"title": "should call a function that depends on a linked library",
"fullTitle": "Contract: MetaCoin should call a function that depends on a linked library",
"file": "/Users/walker/Development/metacoin/test/metacoin.js",
"duration": 81,
"currentRetry": 0,
"err": {}
},
{
"title": "should send coin correctly",
"fullTitle": "Contract: MetaCoin should send coin correctly",
"file": "/Users/walker/Development/metacoin/test/metacoin.js",
"duration": 148,
"currentRetry": 0,
"err": {}
}
],
"pending": [],
"failures": [
{
"title": "should send coin correctly",
"fullTitle": "Contract: MetaCoin should send coin correctly",
"file": "/Users/walker/Development/metacoin/test/metacoin.js",
"duration": 148,
"currentRetry": 0,
"err": {}
}
],
"passes": [
{
"title": "testInitialBalanceUsingDeployedContract",
"fullTitle": "TestMetaCoin testInitialBalanceUsingDeployedContract",
"duration": 72,
"currentRetry": 0,
"err": {}
},
{
"title": "testInitialBalanceWithNewMetaCoin",
"fullTitle": "TestMetaCoin testInitialBalanceWithNewMetaCoin",
"duration": 62,
"currentRetry": 0,
"err": {}
},
{
"title": "should put 10000 MetaCoin in the first account",
"fullTitle": "Contract: MetaCoin should put 10000 MetaCoin in the first account",
"file": "/Users/walker/Development/metacoin/test/metacoin.js",
"duration": 59,
"currentRetry": 0,
"err": {}
},
{
"title": "should call a function that depends on a linked library",
"fullTitle": "Contract: MetaCoin should call a function that depends on a linked library",
"file": "/Users/walker/Development/metacoin/test/metacoin.js",
"duration": 81,
"currentRetry": 0,
"err": {}
},
]
}
const exampleTestResult = require('./mocha.json');
const exampleCoverage = require('./cover.json');

@@ -183,0 +9,0 @@ describe('Tarantula', function() {

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