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

@snyk/sweater-comb

Package Overview
Dependencies
Maintainers
1
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/sweater-comb - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

functions/assertObjectPath.js

2

package.json
{
"name": "@snyk/sweater-comb",
"version": "0.0.1",
"version": "v0.0.2+202108311017-d63080c",
"description": "Snyk API linting rules",

@@ -5,0 +5,0 @@ "main": "apinext.yaml",

@@ -40,8 +40,1 @@ const { Spectral } = require('@stoplight/spectral-core');

});
it('passes with component case', async () => {
const spectral = new Spectral();
spectral.setRuleset(rules);
const result = await spectral.run(loadSpec('hello-world.yaml'));
expect(result).toHaveLength(0);
});

@@ -31,8 +31,1 @@ const { Spectral } = require('@stoplight/spectral-core');

});
it('passes with camel case params', async () => {
const spectral = new Spectral();
spectral.setRuleset(rules);
const result = await spectral.run(loadSpec('hello-world.yaml'));
expect(result).toHaveLength(0);
});

@@ -24,8 +24,1 @@ const { Spectral } = require('@stoplight/spectral-core');

});
it('passes with camel case paths', async () => {
const spectral = new Spectral();
spectral.setRuleset(rules);
const result = await spectral.run(loadSpec('hello-world.yaml'));
expect(result).toHaveLength(0);
});

@@ -8,3 +8,3 @@ const path = require('path');

if (!ruleFile) {
ruleFile = 'apinext.yaml';
ruleFile = '.spectral.yaml';
}

@@ -11,0 +11,0 @@ const rulesetFile = path.join(__dirname, '..', ruleFile);

@@ -115,8 +115,1 @@ const { Spectral } = require('@stoplight/spectral-core');

});
it('passes with versioning', async () => {
const spectral = new Spectral();
spectral.setRuleset(rules);
const result = await spectral.run(loadSpec('hello-world.yaml'));
expect(result).toHaveLength(0);
});

Sorry, the diff of this file is not supported yet

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