Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

baby-tolk

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baby-tolk - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

lib/baby-tolk.js

@@ -54,3 +54,3 @@ 'use strict';

}).forEach(function (adapter) {
if (adapter.engineName === 'babel') {
if (adapter.engineName === 'babel' || adapter.engineName === 'babel-core') {
// Monkey-patching Babel adapter so that it doesn't try and compile all .js files

@@ -57,0 +57,0 @@ adapter.extensions = ['jsx', 'es6', 'babel'];

@@ -56,3 +56,9 @@ 'use strict';

if (compiled.sourcemap.file) {
compiled.sourcemap.file = path.basename(compiled.sourcemap.file.replace('.map', ''));
// Bugfix for: https://github.com/mishoo/UglifyJS2/issues/764
var nFileName = path.basename(compiled.sourcemap.file, '.map');
var ext = path.extname(nFileName);
if (ext !== '.js') {
nFileName = path.basename(nFileName, ext) + '.js';
}
compiled.sourcemap.file = nFileName;
}

@@ -59,0 +65,0 @@ compiled.result = ug.code;

{
"name": "baby-tolk",
"version": "3.0.1",
"version": "3.0.2",
"description": "A file reader that promises to translate non-web assets to web assets given the available transpilers, sourcemaps and all",

@@ -5,0 +5,0 @@ "main": "lib/baby-tolk.js",

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