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

pagefind

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pagefind - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

checksums/pagefind_extended-v0.10.2-aarch64-apple-darwin.tar.gz.sha256

23

lib/postinstall.js

@@ -38,4 +38,2 @@ const os = require('os');

case 'darwin':
return 'x86_64-apple-darwin';
// TODO: Waiting for GitHub actions to build on M1.
return arch === 'arm64' ? 'aarch64-apple-darwin' :

@@ -45,13 +43,13 @@ 'x86_64-apple-darwin';

return arch === 'x64' ? 'x86_64-pc-windows-msvc' :
arch === 'arm' ? 'aarch64-pc-windows-msvc' :
'i686-pc-windows-msvc';
arch === 'arm' ? 'UNSUPPORTED aarch64-pc-windows-msvc' :
'UNSUPPORTED i686-pc-windows-msvc';
case 'linux':
return arch === 'x64' ? 'x86_64-unknown-linux-musl' :
arch === 'arm' ? 'arm-unknown-linux-gnueabihf' :
arch === 'armv7l' ? 'arm-unknown-linux-gnueabihf' :
arch === 'arm64' ? await isMusl() ? 'aarch64-unknown-linux-musl' : 'aarch64-unknown-linux-gnu' :
arch === 'ppc64' ? 'powerpc64le-unknown-linux-gnu' :
arch === 's390x' ? 's390x-unknown-linux-gnu' :
'i686-unknown-linux-musl'
default: throw new Error('Unsupported platform: ' + os.platform());
arch === 'arm' ? 'UNSUPPORTED arm-unknown-linux-gnueabihf' :
arch === 'armv7l' ? 'UNSUPPORTED arm-unknown-linux-gnueabihf' :
arch === 'arm64' ? 'aarch64-unknown-linux-musl' :
arch === 'ppc64' ? 'UNSUPPORTED powerpc64le-unknown-linux-gnu' :
arch === 's390x' ? 'UNSUPPORTED s390x-unknown-linux-gnu' :
'UNSUPPORTED i686-unknown-linux-musl'
default: return `UNSUPPORTED ${os.platform()}`
}

@@ -72,2 +70,5 @@ }

};
if (opts.target.startsWith("UNSUPPORTED")) {
throw new Error('Unsupported platform: ' + os.platform());
}
try {

@@ -74,0 +75,0 @@ await download(opts);

{
"name": "pagefind",
"version": "0.10.1",
"version": "0.10.2",
"description": "Implement search on any static website.",

@@ -5,0 +5,0 @@ "bin": "lib/index.js",

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