New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

srt-to-vtt

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

srt-to-vtt - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

index.js

@@ -15,5 +15,10 @@ var split = require('split2')

var line = buf.join('\r\n').replace(/(\d\d:\d\d:\d\d),(\d\d\d)/g, '$1.$2')+'\r\n\r\n'
var line = buf.join('\r\n')
.replace(/\{\\([ibu])\}/g, '</$1>')
.replace(/\{\\([ibu])1\}/g, '<$1>')
.replace(/\{([ibu])\}/g, '<$1>')
.replace(/\{\/([ibu])\}/g, '</$1>')
.replace(/(\d\d:\d\d:\d\d),(\d\d\d)/g, '$1.$2')+'\r\n\r\n'
buf = []
cb(null, line)

@@ -20,0 +25,0 @@ }

{
"name": "srt-to-vtt",
"version": "1.0.0",
"version": "1.0.1",
"description": "Transform stream that converts srt files to vtt files (html5 video subtitles)",

@@ -5,0 +5,0 @@ "main": "index.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