textarea-markdown
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -15,3 +15,3 @@ "use strict"; | ||
var _magicBytes = require("magic-bytes.js"); | ||
var _filetype = require("@komagata/filetype"); | ||
@@ -156,3 +156,3 @@ var _filesize = require("filesize"); | ||
var bytes = new Uint8Array(reader.result); | ||
var fileType = (0, _magicBytes.filetypeextension)(bytes)[0]; | ||
var fileType = (0, _filetype.detect)(bytes); | ||
var fileSize = (0, _filesize.filesize)(file.size, { base: 10, standard: "jedec" }); | ||
@@ -159,0 +159,0 @@ var text = "![" + _this5.options["placeholder"].replace(/\%filename/, file.name) + "]()"; |
{ | ||
"name": "textarea-markdown", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "Make textarea a markdown editor.", | ||
@@ -5,0 +5,0 @@ "main": "lib/textarea-markdown.js", |
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
18749