Socket
Socket
Sign inDemoInstall

@nymag/cuneiform-cmpt

Package Overview
Dependencies
4
Maintainers
26
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

lib/boolean-query.test.js

6

index.test.js

@@ -70,2 +70,8 @@ 'use strict';

it ('returns input data', function () {
const mockData = {};
expect(fn(mockRef, mockData)).to.equal(mockData);
});
it ('renders simple-list content descriptors as an array of {text: string} objects in edit mode', function () {

@@ -72,0 +78,0 @@ const mockData = {

@@ -228,2 +228,11 @@ 'use strict';

it ('automatically includes site slug from locals when siteSlugs is undefined', function () {
const result = fn({}, {site: {slug: 'zar'}});
expect(result.body.query.bool.should).to.deep.include(
{term: {site: 'zar'}}
);
});
it ('join sitePrefixes, crossposts, and siteSlugs within the same should clause (i.e. use an OR relationship)', function () {

@@ -230,0 +239,0 @@ const result = fn({

5

package.json
{
"name": "@nymag/cuneiform-cmpt",
"description": "",
"version": "1.0.1",
"version": "1.0.2",
"main": "index.js",
"scripts": {
"test": "nyc --reporter=text --reporter=text-summary mocha index.test.js **/*.test.js"
"test": "nyc --reporter=text --reporter=text-summary mocha index.test.js **/*.test.js",
"report": "echo 'Generating HTML code coverage report' && nyc --reporter=lcov --reporter=text-summary mocha index.test.js **/*.test.js"
},

@@ -9,0 +10,0 @@ "author": "",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc