Socket
Socket
Sign inDemoInstall

eslint-mdx

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-mdx - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.6.1](https://github.com/rx-ts/eslint-mdx/compare/v1.6.0...v1.6.1) (2019-10-23)
### Bug Fixes
* handle loc and range could be undefined for babel-eslint ([a98bf9d](https://github.com/rx-ts/eslint-mdx/commit/a98bf9d9fca73b04adf8b607568e28f2883967df))
# [1.6.0](https://github.com/rx-ts/eslint-mdx/compare/v1.5.9...v1.6.0) (2019-10-23)

@@ -8,0 +19,0 @@

5

lib/cjs.js

@@ -403,3 +403,6 @@ 'use strict';

}
var _a = jsNode.loc, start = _a.start, end = _a.end, range = jsNode.range;
var nodeStart = jsNode.start, nodeEnd = jsNode.end, _a = jsNode.loc, _b = _a === void 0 ? {
start: { column: nodeStart, line: 1 },
end: { column: nodeEnd, line: 1 },
} : _a, start = _b.start, end = _b.end, _c = jsNode.range, range = _c === void 0 ? [nodeStart, nodeEnd] : _c;
var startLine = line + start.line - 1;

@@ -406,0 +409,0 @@ var endLine = line + end.line - 1;

@@ -378,3 +378,6 @@ import { parse as parse$1 } from 'espree';

}
const { loc: { start, end }, range, } = jsNode;
const { start: nodeStart, end: nodeEnd, loc: { start, end } = {
start: { column: nodeStart, line: 1 },
end: { column: nodeEnd, line: 1 },
}, range = [nodeStart, nodeEnd], } = jsNode;
const startLine = line + start.line - 1;

@@ -381,0 +384,0 @@ const endLine = line + end.line - 1;

@@ -397,3 +397,6 @@ import { __assign } from 'tslib';

}
var _a = jsNode.loc, start = _a.start, end = _a.end, range = jsNode.range;
var nodeStart = jsNode.start, nodeEnd = jsNode.end, _a = jsNode.loc, _b = _a === void 0 ? {
start: { column: nodeStart, line: 1 },
end: { column: nodeEnd, line: 1 },
} : _a, start = _b.start, end = _b.end, _c = jsNode.range, range = _c === void 0 ? [nodeStart, nodeEnd] : _c;
var startLine = line + start.line - 1;

@@ -400,0 +403,0 @@ var endLine = line + end.line - 1;

@@ -178,3 +178,6 @@ import { __assign } from "tslib";

}
var _a = jsNode.loc, start = _a.start, end = _a.end, range = jsNode.range;
var nodeStart = jsNode.start, nodeEnd = jsNode.end, _a = jsNode.loc, _b = _a === void 0 ? {
start: { column: nodeStart, line: 1 },
end: { column: nodeEnd, line: 1 },
} : _a, start = _b.start, end = _b.end, _c = jsNode.range, range = _c === void 0 ? [nodeStart, nodeEnd] : _c;
var startLine = line + start.line - 1;

@@ -181,0 +184,0 @@ var endLine = line + end.line - 1;

4

package.json
{
"name": "eslint-mdx",
"version": "1.6.0",
"version": "1.6.1",
"description": "ESLint Parser for MDX",

@@ -38,3 +38,3 @@ "repository": "git+https://github.com/rx-ts/eslint-mdx.git",

},
"gitHead": "056e00d877ec08cae3217b1fafae8161297229db"
"gitHead": "86a73a8c39aae2cbe9b96f8c3ce12c7c7d4854c1"
}

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