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

@propellerads/ad-format

Package Overview
Dependencies
Maintainers
8
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@propellerads/ad-format - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

animations/native-widget.svg

8

index.jsx

@@ -48,2 +48,3 @@ import React from 'react';

FORMATS.IN_PAGE_PUSH,
FORMATS.NATIVE_WIDGET,
],

@@ -67,2 +68,7 @@ };

export {FORMATS, SIZES};
export {
FORMATS,
SVGS,
PREVIEWS,
SIZES,
};

2

package.json
{
"name": "@propellerads/ad-format",
"version": "1.0.0",
"version": "1.0.1",
"main": "index.jsx",

@@ -5,0 +5,0 @@ "repository": "https://github.com/propellerads/ui-components",

@@ -13,3 +13,3 @@ # AdFormat

### How to use
* `import AdFormat, {SIZES, FORMATS } from '@propellerads/ad-format';`
* `import AdFormat, {SIZES, FORMATS} from '@propellerads/ad-format';`
* And render `<AdFormat name={FORMATS.INTERSTITIAL} size={SIZES.LARGE} />`

@@ -9,2 +9,3 @@ import styled, {css} from 'styled-components';

import PreviewInPagePush from './previews/in-page-push.png';
import PreviewNativeWidget from './previews/native-widget.png';

@@ -21,2 +22,3 @@ import AnimationInterstitial from './animations/interstitial.svg';

import AnimationInPagePush from './animations/in-page-push.svg';
import AnimationNativeWidget from './animations/native-widget.svg';

@@ -44,2 +46,3 @@ const item = 210;

IN_PAGE_PUSH: 'in_page_push',
NATIVE_WIDGET: 'native_widget',
};

@@ -58,2 +61,3 @@

[FORMATS.IN_PAGE_PUSH]: AnimationInPagePush,
[FORMATS.NATIVE_WIDGET]: AnimationNativeWidget,
};

@@ -68,2 +72,3 @@

[FORMATS.IN_PAGE_PUSH]: PreviewInPagePush,
[FORMATS.NATIVE_WIDGET]: PreviewNativeWidget,
};

@@ -111,7 +116,4 @@

})`
${(props) => props.size === SIZES.EXTRA_SMALL && extraSmallStyle}
${(props) => props.size === SIZES.SMALL && smallStyle}
${(props) => props.size === SIZES.MEDIUM && mediumStyle}
${(props) => props.size === SIZES.LARGE && largeStyle}
${(props) => props.size === SIZES.EXTRA_LARGE && extraLargeStyle}
width: 210px;
height: 136px;
`;

@@ -118,0 +120,0 @@

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