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

@ampproject/toolbox-optimizer-express

Package Overview
Dependencies
Maintainers
8
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ampproject/toolbox-optimizer-express - npm Package Versions

1
9

2.3.0

Diff

Changelog

Source

2.3.0 (2020-04-15)

:rocket: Enhancement
  • runtime-fetch
    • #711 runtime-fetch: Update amp-geo for subdivision matching (@mdmower)
  • cli, optimizer
  • cli, runtime-version
    • #695 runtime-version: Update for custom hosts and lts (@mdmower)
  • cache-url
  • cache-url, cli
    • #705 Add support for serving types in createCacheUrl (@Enriqe)
:memo: Documentation
  • cors, optimizer-express, optimizer, update-cache
    • #690 Use relative links compatible with github&npmjs (@mdmower)
  • cli
:house: Internal
  • optimizer
Committers: 3
amp-toolbox
published 2.0.1 •

Changelog

Source

2.0.1

:rocket: Enhancement
  • optimizer
    • #622 optimizer: Add meta tags for singleDoc self-host (@mdmower)
:bug: Bug Fix
:house: Internal
Committers: 3
amp-toolbox
published 2.0.0 •

Changelog

Source

2.0.0

Migration notes:

  • The SeparateKeyframe transformer's compress option has been renamed to minify. The same option will also be used by the MinifyHtml transformer. The default value continues to be true.

  • The API for implementing a custom transformer has changed. We no longer monkey patch the node class, but instead rely on helper methods defined in NodeUtils:

    const {firstChildByTag, appendChild, createElement} =
    require('@ampproject/toolbox-optimizer').NodeUtils; class CustomTransformer { constructor(config)
    { this.log_ = config.log.tag('CUSTOM'); } transform(tree, params) { this.log_.info('Running custom
    transformation for ', params.filePath); const html = firstChildByTag(tree, 'html'); if (!html)
    return; const head = firstChildByTag(html, 'head'); if (!head) return; const desc =
    createElement('meta', { name: 'description', content: 'this is just a demo', }); appendChild(head,
    desc); } }
    
:rocket: Enhancement
:bug: Bug Fix
:house: Internal
  • cli, core, cors, optimizer, update-cache
  • linter, optimizer-express
  • cache-list, cache-url, cli, core, cors, lighthouse-plugin-amp, linter, optimizer-express, optimizer, runtime-version, script-csp, update-cache, validator-rules
    • #568 Adds "repository" and "homepage" to every package.json (@fstanis)
Committers: 2
amp-toolbox
published 2.0.0-alpha.7 •

amp-toolbox
published 2.0.0-alpha.6 •

amp-toolbox
published 2.0.0-alpha.5 •

amp-toolbox
published 2.0.0-alpha.4 •

amp-toolbox
published 2.0.0-alpha.3 •

amp-toolbox
published 2.0.0-alpha.2 •

amp-toolbox
published 2.0.0-alpha.1 •

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