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

postxml-amp

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postxml-amp - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

10

index.js

@@ -37,2 +37,12 @@ var fs = require('fs');

/* meta viewport */
if ($('head meta[content="width=device-width,minimum-scale=1,initial-scale=1"]').length === 0) {
$('head').append('<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">');
}
/* style amp-boilerplate */
if ($('head style[amp-boilerplate]').length === 0) {
$('head').append('<style amp-boilerplate="">body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate="">body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>');
}
/* adding main amp library */

@@ -39,0 +49,0 @@ if ($('head script[src="https://cdn.ampproject.org/v0.js"]').length === 0) {

2

package.json
{
"name": "postxml-amp",
"version": "0.2.2",
"version": "0.2.3",
"description": "PostXML plugin to convert plain HTML to Google Accelerated Mobile Pages (AMP)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -47,13 +47,16 @@ # postxml-amp

## Release History
* 0.2.3
* ADD: meta tag viewport
* ADD: style amp-boilerplate
* 0.2.2
* ADD: meta tag charset
* ADD: AMP library script tag
* ADD: meta tag charset
* ADD: AMP library script tag
* 0.2.1
* ADD: inline styles
* ADD: amp-img tag
* ADD: amp-video tag
* ADD: unit tests
* ADD: inline styles
* ADD: amp-img tag
* ADD: amp-video tag
* ADD: unit tests
* 0.1.0
* ADD: AMP HTML tag
* Work in progress
* ADD: AMP HTML tag
* Work in progress

@@ -60,0 +63,0 @@ ## Licence

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