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

@dww/remark-plugin-graphql

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dww/remark-plugin-graphql - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

index.js

@@ -53,3 +53,6 @@ const visit = require('unist-util-visit');

function attacher({schemaPath} = {}) {
function attacher(opts = {}) {
console.log(Object.keys(opts));
const {schemaPath, markdownOffset = 0} = opts;
if (!schemaPath) {

@@ -85,3 +88,3 @@ throw new Error('Missing required field `schemaPath` in config');

name: 'Invalid GraphQL query',
locationOffset: {...start, line: start.line + 1},
locationOffset: {...start, line: start.line + 1 + markdownOffset},
body: query,

@@ -88,0 +91,0 @@ },

{
"name": "@dww/remark-plugin-graphql",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "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