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

mjml-react

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-react - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

dist/es/src/extensions/mjml-yahoo-style.js

3

dist/es/src/extensions/index.js
export { MjmlComment } from './mjml-comment';
export { MjmlConditionalComment } from './mjml-conditional-comment';
export { MjmlConditionalComment } from './mjml-conditional-comment';
export { MjmlYahooStyle } from './mjml-yahoo-style';

@@ -6,3 +6,3 @@ import React from 'react';

import { MjmlComment, MjmlConditionalComment } from '../src/extensions';
import { MjmlComment, MjmlConditionalComment, MjmlYahooStyle } from '../src/extensions';

@@ -69,2 +69,13 @@ describe('extensions', function () {

});
describe('yahoo style', function () {
it('should render', function () {
var markup = renderToMjml(React.createElement(
MjmlYahooStyle,
null,
'a { color: blue; }'
));
expect(markup).to.equal('<mj-raw><style>@media screen yahoo {a { color: blue; }}</style></mj-raw>');
});
});
});

@@ -23,2 +23,11 @@ 'use strict';

}
});
var _mjmlYahooStyle = require('./mjml-yahoo-style');
Object.defineProperty(exports, 'MjmlYahooStyle', {
enumerable: true,
get: function get() {
return _mjmlYahooStyle.MjmlYahooStyle;
}
});

@@ -75,2 +75,13 @@ 'use strict';

});
describe('yahoo style', function () {
it('should render', function () {
var markup = (0, _src.renderToMjml)(_react2.default.createElement(
_extensions.MjmlYahooStyle,
null,
'a { color: blue; }'
));
(0, _chai.expect)(markup).to.equal('<mj-raw><style>@media screen yahoo {a { color: blue; }}</style></mj-raw>');
});
});
});
{
"name": "mjml-react",
"version": "1.0.29",
"version": "1.0.30",
"license": "UNLICENSED",

@@ -5,0 +5,0 @@ "author": {

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