Socket
Socket
Sign inDemoInstall

@babel/highlight

Package Overview
Dependencies
Maintainers
5
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/highlight - npm Package Compare versions

Comparing version 7.0.0-beta.47 to 7.0.0-beta.48

11

lib/index.js

@@ -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>",

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