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

ampify

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ampify - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

.travis.yml

7

HISTORY.md
# Release History
* 0.4.0
* ADD: `amp-youtube` handles different versions of youtube links inclusing https
* BUG: images css selector
* 0.3.0

@@ -16,3 +19,3 @@ * ADD: `amp-youtube`

* UPDATE: head tag charset order
* UPDATE: remove invalid img tag
* UPDATE: remove invalid `img` tag
* UPDATE: unit tests

@@ -27,3 +30,3 @@ * UPDATE: readme documentation

* 0.2.2
* ADD: meta tag charset
* ADD: `meta` tag charset
* ADD: AMP library `script` tag

@@ -30,0 +33,0 @@ * BUG: Options parameter not passing

@@ -89,3 +89,3 @@ const fs = require('fs');

/* img dimensions */
$('img:not(width):not(height)').each((index, element) => {
$('img:not([width]):not([height])').each((index, element) => {
const src = $(element).attr('src');

@@ -143,3 +143,3 @@ if (!src) {

/* youtube */
$('iframe[src*="http://www.youtube.com"]').each((index, element) => {
$('iframe[src*="http://www.youtube.com"],iframe[src*="https://www.youtube.com"],iframe[src*="http://youtu.be/"],iframe[src*="https://youtu.be/"]').each((index, element) => {
youtube = true;

@@ -146,0 +146,0 @@ const src = $(element).attr('src');

{
"name": "ampify",
"version": "0.3.0",
"version": "0.4.0",
"description": "Convert plain HTML to Google Accelerated Mobile Pages (AMP)",

@@ -44,4 +44,4 @@ "main": "index.js",

"eslint-plugin-import": "^2.12.0",
"jest": "^22.4.4"
"jest": "^23.1.0"
}
}

@@ -5,4 +5,7 @@ # ampify

[![Downloads Stats][npm-downloads]][npm-url]
[![Build Status](https://travis-ci.org/rkazakov/ampify.svg?branch=master)](https://travis-ci.org/rkazakov/ampify)
[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)
[![Known Vulnerabilities](https://snyk.io/test/github/rkazakov/ampify/badge.svg)](https://snyk.io/test/github/rkazakov/ampify)
[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)
[![Greenkeeper badge](https://badges.greenkeeper.io/rkazakov/ampify.svg)](https://greenkeeper.io/)

@@ -9,0 +12,0 @@ > Convert plain HTML to Google AMP (Accelerated Mobile Pages)

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