New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@textlint/ast-tester

Package Overview
Dependencies
Maintainers
5
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/ast-tester - npm Package Compare versions

Comparing version 12.0.0-beta.0 to 12.0.0-beta.1

12

lib/src/index.js

@@ -24,4 +24,4 @@ // LICENSE : MIT

exports.test = exports.isTxtAST = void 0;
var assert = __importStar(require("assert"));
var unist_test_1 = require("./unist-test");
const assert = __importStar(require("assert"));
const unist_test_1 = require("./unist-test");
function isTxtAST(node) {

@@ -59,7 +59,7 @@ try {

// loc
var loc = node.loc;
const loc = node.loc;
assert.ok(loc !== null && loc !== undefined);
assert.strictEqual(typeof loc, "object");
var start = loc.start;
var end = loc.end;
const start = loc.start;
const end = loc.end;
if (start !== null && start !== undefined) {

@@ -96,3 +96,3 @@ assert.strictEqual(typeof start, "object");

// range
var range = node.range;
const range = node.range;
assert.ok(range !== null && range !== undefined);

@@ -99,0 +99,0 @@ assert.ok(Array.isArray(range));

@@ -24,3 +24,3 @@ // LICENSE : MIT

exports.test = exports.isUnist = void 0;
var assert = __importStar(require("assert"));
const assert = __importStar(require("assert"));
// https://github.com/wooorm/unist

@@ -51,8 +51,8 @@ function isUnist(node) {

}
var position = node.position;
const position = node.position;
if (position !== null && position !== undefined) {
assert.strictEqual(typeof position, "object");
var start = position.start;
var indent = position.indent;
var end = position.end;
const start = position.start;
const indent = position.indent;
const end = position.end;
if (start !== null && start !== undefined) {

@@ -59,0 +59,0 @@ assert.strictEqual(typeof start, "object");

@@ -36,7 +36,7 @@ // LICENSE : MIT

// loc
var loc = node.loc;
const loc = node.loc;
assert.ok(loc !== null && loc !== undefined);
assert.strictEqual(typeof loc, "object");
var start = loc.start;
var end = loc.end;
const start = loc.start;
const end = loc.end;
if (start !== null && start !== undefined) {

@@ -73,3 +73,3 @@ assert.strictEqual(typeof start, "object");

// range
var range = node.range;
const range = node.range;
assert.ok(range !== null && range !== undefined);

@@ -76,0 +76,0 @@ assert.ok(Array.isArray(range));

@@ -28,8 +28,8 @@ // LICENSE : MIT

}
var position = node.position;
const position = node.position;
if (position !== null && position !== undefined) {
assert.strictEqual(typeof position, "object");
var start = position.start;
var indent = position.indent;
var end = position.end;
const start = position.start;
const indent = position.indent;
const end = position.end;
if (start !== null && start !== undefined) {

@@ -36,0 +36,0 @@ assert.strictEqual(typeof start, "object");

{
"name": "@textlint/ast-tester",
"version": "12.0.0-beta.0",
"version": "12.0.0-beta.1",
"description": "Compliance tests for textlint's AST(Abstract Syntax Tree).",

@@ -42,3 +42,3 @@ "keywords": [

"dependencies": {
"@textlint/ast-node-types": "^12.0.0-beta.0"
"@textlint/ast-node-types": "^12.0.0-beta.1"
},

@@ -59,3 +59,3 @@ "devDependencies": {

"email": "azuciao@gmail.com",
"gitHead": "1e0d0d7f628be0bfce04b6cd36fcc8390ca43096"
"gitHead": "2856b387cfb0a151655a809e8253b242e7b90725"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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