New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

literate-jasmine

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

literate-jasmine - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "literate-jasmine",
"description": "write tests in markdown that are parsed to specification files to run with jasmine-node",
"version": "0.0.6",
"version": "0.0.7",
"bin": {

@@ -6,0 +6,0 @@ "literate-jasmine": "./bin/literate-jasmine"

describe("literate-jasmine ", function() {
describe("Mathematics", function() {
it("add can add numbers", function() {

@@ -11,2 +13,3 @@ var a = 1,

});
it("can divide numbers", function() {

@@ -17,2 +20,3 @@ var a = 6,

});
it("appending works with +", function() {

@@ -23,4 +27,7 @@ var text = "abc";

});
});
describe("Strings", function() {
it("appending works with +", function() {

@@ -31,3 +38,5 @@ var text = "abc";

});
});
});

@@ -23,6 +23,6 @@ var fs = require('fs');

lines.push('describe("' + parserOutput.name + '", function() {');
lines.push('describe("' + parserOutput.name + '", function() {\n');
parserOutput.describes.forEach(function(describe) {
lines.push(indentLine('describe("' + describe.name + '", function() {', 2));
lines.push(indentLine('describe("' + describe.name + '", function() {\n', 2));

@@ -32,6 +32,6 @@ describe.it.forEach(function(it) {

lines.push(indentCode(it.code, 6));
lines.push(indentLine('});', 4));
lines.push(indentLine('});\n', 4));
});
lines.push(indentLine('});', 2));
lines.push(indentLine('});\n', 2));
});

@@ -38,0 +38,0 @@

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