babel-code-frame
Advanced tools
Comparing version 6.5.0 to 6.6.0
@@ -1,2 +0,3 @@ | ||
/* @flow */ | ||
/* eslint indent: 0 */ | ||
/* eslint max-len: 0 */ | ||
@@ -83,3 +84,3 @@ "use strict"; | ||
function highlight(text /*: string*/) { | ||
function highlight(text) { | ||
return text.replace(_jsTokens2["default"], function () { | ||
@@ -106,4 +107,4 @@ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { | ||
exports["default"] = function (rawLines /*: string*/, lineNumber /*: number*/, colNumber /*: number*/) /*: string*/ { | ||
var opts /*: Object*/ = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3]; | ||
exports["default"] = function (rawLines, lineNumber, colNumber) { | ||
var opts = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3]; | ||
@@ -110,0 +111,0 @@ colNumber = Math.max(colNumber, 0); |
{ | ||
"name": "babel-code-frame", | ||
"version": "6.5.0", | ||
"version": "6.6.0", | ||
"description": "Generate errors that contain a code frame that point to source locations.", | ||
@@ -5,0 +5,0 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
114
0
4625