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

@mojotech/prismatest

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mojotech/prismatest - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

25

dist/index.js

@@ -116,4 +116,9 @@ "use strict";

}
return ["["].concat(elements.map(function (e) { return "\t\"" + printer(e) + "\","; }), ["]"]).join("\n\t");
return ["["].concat(elements.map(function (e) { return "\t\"" + printer(e) + "\","; }), ["]"]).join("\n");
};
var indent = function (toIndent, length) {
var lines = toIndent.split("\n");
var indented = lines.map(function (line) { return "\t".repeat(length) + line; });
return indented.join("\n");
};
var MultipleSelectedElementsError = /** @class */ (function (_super) {

@@ -135,5 +140,5 @@ __extends(MultipleSelectedElementsError, _super);

"Multiple elements returned by selector:\n" +
("\tSelector: \"" + printSelector(selector) + "\"\n") +
("\tRoot: \"" + printElement(root) + "\"\n") +
("\tSelected: " + printElements(elements, printElement));
("\tSelector:\n" + indent(printSelector(selector), 2) + "\n") +
("\tRoot:\n" + indent(printElement(root), 2) + "\n") +
("\tSelected:\n" + indent(printElements(elements, printElement), 2) + "\n");
return _this;

@@ -160,5 +165,5 @@ }

"Zero elements returned by selector\n" +
("\tSelector: \"" + printSelector(selector) + "\"\n") +
("\tRoot: \"" + printElement(root) + "\"\n") +
("\tSelected: " + printElements(elements, printElement));
("\tSelector:\n" + indent(printSelector(selector), 2) + "\n") +
("\tRoot:\n" + indent(printElement(root), 2) + "\n") +
("\tSelected:\n" + indent(printElements(elements, printElement), 2) + "\n");
return _this;

@@ -187,5 +192,5 @@ }

("\tIndex: " + index + "\n") +
("\tSelector: \"" + printSelector(selector) + "\"\n") +
("\tRoot: \"" + printElement(root) + "\"\n") +
("\tSelected: " + printElements(elements, printElement));
("\tSelector:\n" + indent(printSelector(selector), 2) + "\n") +
("\tRoot:\n" + indent(printElement(root), 2) + "\n") +
("\tSelected:\n" + indent(printElements(elements, printElement), 2) + "\n");
return _this;

@@ -192,0 +197,0 @@ }

2

package.json
{
"name": "@mojotech/prismatest",
"version": "0.3.0",
"version": "0.3.1",
"description": "Use test views to decouple tests from implementation details",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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