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

@markuplint/parser-utils

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/parser-utils - npm Package Compare versions

Comparing version 2.0.0-dev.20211213.2 to 2.0.0-dev.20220105.1

9

lib/ignore-block.js

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

for (const tag of stack) {
if (attr.value.startOffset <= tag.index && tag.index < attr.value.endOffset) {
attr.value.raw = tag.startTag + tag.taggedCode + tag.endTag;
const raw = tag.startTag + tag.taggedCode + tag.endTag;
const length = raw.length;
if (attr.value.startOffset <= tag.index && tag.index + length <= attr.value.endOffset) {
const offset = tag.index - attr.value.startOffset;
const above = attr.value.raw.slice(0, offset);
const below = attr.value.raw.slice(offset + length);
attr.value.raw = above + raw + below;
attr.isDynamicValue = true;

@@ -161,0 +166,0 @@ }

{
"name": "@markuplint/parser-utils",
"version": "2.0.0-dev.20211213.2",
"version": "2.0.0-dev.20220105.1",
"description": "Utility module for markuplint parser plugin",

@@ -22,8 +22,8 @@ "repository": "git@github.com:markuplint/markuplint.git",

"dependencies": {
"@markuplint/ml-ast": "2.0.0-dev.20211115.2",
"@markuplint/types": "1.0.0-dev.20211213.2",
"@markuplint/ml-ast": "2.0.0-dev.20211115.3",
"@markuplint/types": "1.0.0-dev.20211213.3",
"tslib": "^2.3.1",
"uuid": "^8.3.2"
},
"gitHead": "f94cbc11593ae7b65fab01272f91df9defc4413b"
"gitHead": "73fab2765c080b0a42e71bdc1eed09bae0ed360e"
}

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