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

@guardian/atoms-rendering

Package Overview
Dependencies
Maintainers
46
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/atoms-rendering - npm Package Compare versions

Comparing version 23.2.1 to 23.2.2

6

CHANGELOG.md
# @guardian/atoms-rendering
## 23.2.2
### Patch Changes
- 317ecad: Don't display a 0 if we're unable to get the duration of a youtube video.
## 23.2.1

@@ -4,0 +10,0 @@

2

dist/commonjs/YoutubeAtomOverlay.js

@@ -81,4 +81,4 @@ "use strict";

` }, { children: jsx_runtime_1.jsx(source_react_components_1.SvgPlay, {}, void 0) }), void 0),
duration && (jsx_runtime_1.jsx("div", Object.assign({ css: videoDurationStyles(pillar) }, { children: formatTime_1.formatTime(duration) }), void 0))] }), void 0)] }), void 0));
duration !== undefined && duration > 0 && (jsx_runtime_1.jsx("div", Object.assign({ css: videoDurationStyles(pillar) }, { children: formatTime_1.formatTime(duration) }), void 0))] }), void 0)] }), void 0));
};
exports.YoutubeAtomOverlay = YoutubeAtomOverlay;

@@ -78,3 +78,3 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";

` }, { children: _jsx(SvgPlay, {}, void 0) }), void 0),
duration && (_jsx("div", Object.assign({ css: videoDurationStyles(pillar) }, { children: formatTime(duration) }), void 0))] }), void 0)] }), void 0));
duration !== undefined && duration > 0 && (_jsx("div", Object.assign({ css: videoDurationStyles(pillar) }, { children: formatTime(duration) }), void 0))] }), void 0)] }), void 0));
};

@@ -7,3 +7,3 @@ {

},
"version": "23.2.1",
"version": "23.2.2",
"source": "src/index.ts",

@@ -10,0 +10,0 @@ "main": "dist/commonjs/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