Socket
Socket
Sign inDemoInstall

amphtml-validator

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amphtml-validator - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

4

package.json
{
"name": "amphtml-validator",
"version": "1.0.19",
"version": "1.0.20",
"description": "Official validator for AMP HTML (www.ampproject.org)",

@@ -27,4 +27,4 @@ "keywords": ["AMP", "validator", "validate", "AMP HTML", "Accelerated Mobile Pages"],

"scripts": {
"postinstall": "/bin/sh -c \"exit 0\" 2> NUL && rm NUL || node postinstall-windows.js"
"postinstall": "/bin/sh -c \"exit 0\" 2> postinstall.DELETEME && rm postinstall.DELETEME || node postinstall-windows.js"
}
}

@@ -23,2 +23,10 @@ /**

// The postinstall invocation in package.json creates this temp file and on
// Windows installations, it won't delete it. We used to redirect to NUL
// but that doesn't work in Linux if the underlying filesystem is SMB
// (since in Windows NUL is special). So now we clean it up best-effort here.
if (fs.existsSync('postinstall.DELETEME')) {
fs.unlinkSync('postinstall.DELETEME');
}
if (process.env.OS !== 'Windows_NT') {

@@ -25,0 +33,0 @@ console./*OK*/ error(

@@ -82,1 +82,4 @@ # amphtml-validator Node.js Package

* Set correct process exit status for old versions of Node.js (v0.10.25).
### 1.0.20
* Better npm post-install for virtual machines, running debian over windows with SMB shared folder
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