Socket
Socket
Sign inDemoInstall

melody-code-frame

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

melody-code-frame - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0-0

lib/index.esm.js

21

lib/index.js

@@ -5,4 +5,4 @@ 'use strict';

var _padStart = _interopDefault(require('lodash/padStart'));
var _repeat = _interopDefault(require('lodash/repeat'));
var _padStart = _interopDefault(require('lodash/padStart'));

@@ -49,20 +49,5 @@ // X11 (“MIT”) Licensed. (See LICENSE.)

/**
* Copyright 2017 trivago N.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS-IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
var index = function (_ref) {
function index (_ref) {
var rawLines = _ref.rawLines,

@@ -93,4 +78,4 @@ lineNumber = _ref.lineNumber,

}).join('\n');
};
}
module.exports = index;
{
"name": "melody-code-frame",
"version": "1.1.0",
"version": "1.2.0-0",
"description": "",
"main": "./lib/index.js",
"jsnext:main": "./src/index.js",
"jsnext:main": "./lib/index.esm.js",
"scripts": {
"build": "mkdir lib; rollup -c ../../rollup.config.js -i src/index.js -o lib/index.js"
"build": "mkdir lib; rollup -c ../../rollup.config.js -i src/index.js"
},

@@ -10,0 +10,0 @@ "author": "",

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