Socket
Socket
Sign inDemoInstall

@financial-times/community-event-teaser

Package Overview
Dependencies
Maintainers
11
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/community-event-teaser - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1-alpha.0

8

dist/index.js

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

if (options === void 0) { options = {}; }
var imageSrc = new URL(BASE_URL + "/" + encodeURIComponent(url));
var imageSrc = new URL("".concat(BASE_URL, "/").concat(encodeURIComponent(url)));
try {

@@ -195,3 +195,3 @@ for (var _b = __values(Object.entries(__assign(__assign({}, DEFAULT_OPTIONS), options))), _c = _b.next(); !_c.done; _c = _b.next()) {

xEngine.h("a", { "data-trackable": "event-teaser-image", href: eventUrl, tabIndex: -1, "aria-hidden": "true" },
xEngine.h("div", { className: "event-teaser__image-placeholder" }, lazyLoad ? (xEngine.h("img", { className: "event-teaser__image " + (typeof lazyLoad === "string" ? lazyLoad : ""), "data-src": imageSrc, alt: "" })) : (xEngine.h("img", { className: "event-teaser__image", src: imageSrc, alt: "" }))))));
xEngine.h("div", { className: "event-teaser__image-placeholder" }, lazyLoad ? (xEngine.h("img", { className: "event-teaser__image ".concat(typeof lazyLoad === "string" ? lazyLoad : ""), "data-src": imageSrc, alt: "" })) : (xEngine.h("img", { className: "event-teaser__image", src: imageSrc, alt: "" }))))));
}

@@ -224,3 +224,3 @@

var brand = _a.brand, imgTitle = _a.imgTitle;
return (xEngine.h("div", { className: "community-brand-banner__image community-event-banner__brand community-event-banner--" + brand },
return (xEngine.h("div", { className: "community-brand-banner__image community-event-banner__brand community-event-banner--".concat(brand) },
xEngine.h("span", { className: "visually-hidden" }, imgTitle)));

@@ -264,3 +264,3 @@ }

var brand = _a.brand;
return (xEngine.h("div", { className: "community-brand-banner community-brand-banner--" + brand, "data-trackable": "community-brand-banner" },
return (xEngine.h("div", { className: "community-brand-banner community-brand-banner--".concat(brand), "data-trackable": "community-brand-banner" },
xEngine.h(BrandImage, { brand: brand, imgTitle: brandData[brand]["imgTitle"] }),

@@ -267,0 +267,0 @@ xEngine.h(BrandTitle, { text: brandData[brand]["titleText"] }),

{
"name": "@financial-times/community-event-teaser",
"version": "7.0.0",
"version": "7.0.1-alpha.0",
"description": "UI for community events",

@@ -11,6 +11,3 @@ "main": "dist/index.js",

"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"prepare": "husky install",
"lint:fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"lint:fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx"
},

@@ -27,70 +24,17 @@ "repository": {

},
"volta": {
"node": "16.14.2",
"npm": "7.20.2"
},
"homepage": "https://github.com/Financial-Times/community-event-ui#readme",
"devDependencies": {
"@babel/core": "^7.15.0",
"@financial-times/math": "^1.1.0",
"@financial-times/secret-squirrel": "^2.18.4",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^8.2.5",
"@storybook/addon-actions": "^6.3.7",
"@storybook/addon-controls": "6.3.7",
"@storybook/addon-essentials": "^6.3.7",
"@storybook/addon-links": "^6.3.7",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.3.7",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"babel-loader": "^8.2.2",
"bower": "^1.8.13",
"css-loader": "5.0.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-jest-formatting": "^2.0.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"mathsass": "^0.10.1",
"mockdate": "^3.0.5",
"preact": "^10.5.14",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^2.56.3",
"sass": "^1.38.0",
"sass-loader": "10.0.5",
"sass-mq": "^5.0.1",
"style-loader": "2.0.0",
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typescript": "^4.3.5"
},
"peerDependencies": {
"@financial-times/o-brand": "^4.2.1",
"@financial-times/ft-date-format": "^2.0.0",
"@financial-times/o-brand": "^4.0.0",
"@financial-times/o-buttons": "^7.0.0",
"@financial-times/o-colors": "^6.0.0",
"@financial-times/o-fonts": "^5.3.3",
"@financial-times/o-fonts": "^5.0.0",
"@financial-times/o-grid": "^6.0.0",
"@financial-times/o-icons": "^7.4.0",
"@financial-times/o-icons": "^7.0.0",
"@financial-times/o-normalise": "^3.0.0",
"@financial-times/o-spacing": "^3.0.0",
"@financial-times/o-typography": "^7.0.0",
"@financial-times/sass-mq": "^5.2.3"
"@financial-times/sass-mq": "^5.0.0",
"@financial-times/x-engine": "^8.0.0"
},
"dependencies": {
"@financial-times/ft-date-format": "^2.1.0",
"@financial-times/x-engine": "^8.0.1"
},
"x-dash": {

@@ -101,3 +45,16 @@ "engine": {

}
}
},
"engines": {
"node": "16.x",
"npm": "7.x"
},
"volta": {
"node": "16.14.2",
"npm": "7.24.2"
},
"devDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"gitHead": "3c4625fcce12aa933963a8297574c6d78c19af35"
}
# Community-event-teaser
Storybook: https://jubilant-umbrella-dd461ca9.pages.github.io
## Description

@@ -4,0 +6,0 @@

Sorry, the diff of this file is not supported yet

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