@babel/highlight
Advanced tools
Comparing version 7.0.0-beta.47 to 7.0.0-beta.48
@@ -13,3 +13,3 @@ "use strict"; | ||
_jsTokens = function _jsTokens() { | ||
_jsTokens = function () { | ||
return data; | ||
@@ -24,3 +24,3 @@ }; | ||
_esutils = function _esutils() { | ||
_esutils = function () { | ||
return data; | ||
@@ -35,3 +35,3 @@ }; | ||
_chalk = function _chalk() { | ||
_chalk = function () { | ||
return data; | ||
@@ -66,6 +66,3 @@ }; | ||
function getTokenType(match) { | ||
const _match$slice = match.slice(-2), | ||
offset = _match$slice[0], | ||
text = _match$slice[1]; | ||
const [offset, text] = match.slice(-2); | ||
const token = (0, _jsTokens().matchToToken)(match); | ||
@@ -72,0 +69,0 @@ |
{ | ||
"name": "@babel/highlight", | ||
"version": "7.0.0-beta.47", | ||
"version": "7.0.0-beta.48", | ||
"description": "Syntax highlight JavaScript strings for output in terminals.", | ||
@@ -5,0 +5,0 @@ "author": "suchipi <me@suchipi.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4365
101