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

podverse-shared

Package Overview
Dependencies
Maintainers
1
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

podverse-shared - npm Package Compare versions

Comparing version 4.14.13 to 4.14.14

2

dist/index.d.ts

@@ -21,3 +21,3 @@ export { extractSelectedEnclosureSourceAndContentType } from './alternateEnclosures';

export { SocialInteraction, SocialInteractionKeys, checkIfHasSupportedCommentTag } from './socialInteraction/SocialInteraction';
export { convertHHMMSSToAnchorTags, convertHHMMSSToSeconds, convertHoursMinutesSecondsToSeconds, convertSecToHHMMSS, convertSecToHhoursMMinutes, getHHMMSSArray, getHHMMSSMatchesInString, getTimeLabelText, validateHHMMSSString } from './timeHelpers';
export { convertHHMMSSToAnchorTags, convertHHMMSSToSeconds, convertHoursMinutesSecondsToSeconds, convertSecToFullHHMMSS, convertSecToHHMMSS, convertSecToHhoursMMinutes, getHHMMSSArray, getHHMMSSMatchesInString, getTimeLabelText, validateHHMMSSString } from './timeHelpers';
export { parseTranslatorsSection, Translator, TranslatorsSection } from './Translators';

@@ -24,0 +24,0 @@ export { Transcript, TranscriptRow, TranscriptType, getTranscriptForLocale, parseTranscriptFile } from './transcript';

@@ -55,2 +55,3 @@ "use strict";

Object.defineProperty(exports, "convertHoursMinutesSecondsToSeconds", { enumerable: true, get: function () { return timeHelpers_1.convertHoursMinutesSecondsToSeconds; } });
Object.defineProperty(exports, "convertSecToFullHHMMSS", { enumerable: true, get: function () { return timeHelpers_1.convertSecToFullHHMMSS; } });
Object.defineProperty(exports, "convertSecToHHMMSS", { enumerable: true, get: function () { return timeHelpers_1.convertSecToHHMMSS; } });

@@ -57,0 +58,0 @@ Object.defineProperty(exports, "convertSecToHhoursMMinutes", { enumerable: true, get: function () { return timeHelpers_1.convertSecToHhoursMMinutes; } });

export declare const convertHHMMSSToAnchorTags: (html: string) => string;
export declare function convertHHMMSSToSeconds(hhmmssString: string): number | null;
export declare function convertHoursMinutesSecondsToSeconds(hours: number, minutes: number, seconds: number): number;
export declare const convertSecToFullHHMMSS: (sec: number) => string;
export declare const convertSecToHHMMSS: (sec: number) => string;

@@ -5,0 +6,0 @@ export declare const convertSecToHhoursMMinutes: (sec: number) => string;

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateHHMMSSString = exports.getTimeLabelText = exports.getHHMMSSMatchesInString = exports.getHHMMSSArray = exports.convertSecToHhoursMMinutes = exports.convertSecToHHMMSS = exports.convertHoursMinutesSecondsToSeconds = exports.convertHHMMSSToSeconds = exports.convertHHMMSSToAnchorTags = void 0;
exports.validateHHMMSSString = exports.getTimeLabelText = exports.getHHMMSSMatchesInString = exports.getHHMMSSArray = exports.convertSecToHhoursMMinutes = exports.convertSecToHHMMSS = exports.convertSecToFullHHMMSS = exports.convertHoursMinutesSecondsToSeconds = exports.convertHHMMSSToSeconds = exports.convertHHMMSSToAnchorTags = void 0;
var moment_1 = __importDefault(require("moment"));
exports.convertHHMMSSToAnchorTags = function (html) {

@@ -77,2 +81,5 @@ var createHHMMSSAnchorTag = function (hhmmss) {

exports.convertHoursMinutesSecondsToSeconds = convertHoursMinutesSecondsToSeconds;
exports.convertSecToFullHHMMSS = function (sec) {
return moment_1.default.utc(sec * 1000).format('HH:mm:ss');
};
exports.convertSecToHHMMSS = function (sec) {

@@ -79,0 +86,0 @@ var totalSec = Math.floor(sec);

{
"name": "podverse-shared",
"version": "4.14.13",
"version": "4.14.14",
"description": "Helpers that are used across multiple Podverse modules",

@@ -29,2 +29,3 @@ "main": "./dist/index.js",

"lodash": "4.17.21",
"moment": "^2.29.4",
"striptags": "^3.2.0",

@@ -31,0 +32,0 @@ "typescript": "3.9.7"

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