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

@textlint/fixer-formatter

Package Overview
Dependencies
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/fixer-formatter - npm Package Compare versions

Comparing version 3.1.7 to 3.1.8

18

CHANGELOG.md

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

<a name="3.1.8"></a>
## [3.1.8](https://github.com/textlint/textlint/compare/@textlint/fixer-formatter@3.1.5...@textlint/fixer-formatter@3.1.8) (2019-07-20)
### Chores
* **deps:** update diff library ([#608](https://github.com/textlint/textlint/issues/608)) ([893d57c](https://github.com/textlint/textlint/commit/893d57c))
### Code Refactoring
* **utils:** move implementation from types to utils ([#611](https://github.com/textlint/textlint/issues/611)) ([cd9adbe](https://github.com/textlint/textlint/commit/cd9adbe))
* use [@textlint](https://github.com/textlint)/module-interop instead of interop-require ([10d34a6](https://github.com/textlint/textlint/commit/10d34a6))
<a name="3.1.7"></a>

@@ -8,0 +26,0 @@ ## [3.1.7](https://github.com/textlint/textlint/compare/@textlint/fixer-formatter@3.1.5...@textlint/fixer-formatter@3.1.7) (2019-07-13)

4

lib/fixer-formatter/src/index.js
// LICENSE : MIT
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var module_interop_1 = require("@textlint/module-interop");
var fs = require("fs");
var path = require("path");
var tryResolve = require("try-resolve");
var interopRequire = require("interop-require");
var isFile = require("is-file");

@@ -36,3 +36,3 @@ var debug = require("debug")("textlint:textfix-formatter");

try {
formatter = interopRequire(formatterPath);
formatter = module_interop_1.moduleInterop(require(formatterPath));
}

@@ -39,0 +39,0 @@ catch (ex) {

{
"name": "@textlint/fixer-formatter",
"version": "3.1.7",
"version": "3.1.8",
"description": "textlint output formatter for fixer",

@@ -37,7 +37,7 @@ "keywords": [

"dependencies": {
"@textlint/types": "^1.2.0",
"@textlint/module-interop": "^1.0.1",
"@textlint/types": "^1.2.1",
"chalk": "^1.1.3",
"debug": "^4.1.1",
"diff": "^4.0.1",
"interop-require": "^1.0.0",
"is-file": "^1.0.0",

@@ -61,3 +61,3 @@ "string-width": "^1.0.1",

},
"gitHead": "400aebd64cfe8b4b21c47b529a0b46e9cd81f038"
"gitHead": "4342d1e224fe20e936952497941fad874c7b7b6c"
}

@@ -5,6 +5,8 @@ // LICENSE : MIT

import { moduleInterop } from "@textlint/module-interop";
const fs = require("fs");
const path = require("path");
const tryResolve = require("try-resolve");
const interopRequire = require("interop-require");
const isFile = require("is-file");

@@ -37,3 +39,3 @@ const debug = require("debug")("textlint:textfix-formatter");

try {
formatter = interopRequire(formatterPath);
formatter = moduleInterop(require(formatterPath));
} catch (ex) {

@@ -40,0 +42,0 @@ throw new Error(`Could not find formatter ${formatterName}

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