Socket
Socket
Sign inDemoInstall

pagefind

Package Overview
Dependencies
Maintainers
1
Versions
104
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 1.0.0-beta.2 to 1.0.0-beta.3

checksums/pagefind_extended-v1.0.0-beta.3-aarch64-apple-darwin.tar.gz.sha256

3

lib/index.js

@@ -107,3 +107,4 @@ import { PagefindService } from "./service.js";

index_id: indexId,
file_path: file.path,
file_path: file.sourcePath,
url: file.url,
file_contents: file.content

@@ -110,0 +111,0 @@ }, (response) => {

{
"name": "pagefind",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"type": "module",

@@ -22,7 +22,7 @@ "description": "Implement search on any static website.",

"optionalDependencies": {
"@pagefind/linux-x64": "1.0.0-beta.2",
"@pagefind/linux-arm64": "1.0.0-beta.2",
"@pagefind/darwin-x64": "1.0.0-beta.2",
"@pagefind/darwin-arm64": "1.0.0-beta.2",
"@pagefind/windows-x64": "1.0.0-beta.2"
"@pagefind/linux-x64": "1.0.0-beta.3",
"@pagefind/linux-arm64": "1.0.0-beta.3",
"@pagefind/darwin-x64": "1.0.0-beta.3",
"@pagefind/darwin-arm64": "1.0.0-beta.3",
"@pagefind/windows-x64": "1.0.0-beta.3"
},

@@ -29,0 +29,0 @@ "keywords": [

@@ -81,7 +81,20 @@ /**

/**
* The relative path to the HTML file if it were to exist on disk.
* The source path of the HTML file if it were to exist on disk. Must be a relative path.
* Pagefind will compute the result URL from this path.
*
* If not supplied, url must be supplied.
*
* @example "about/index.html"
* @example "/Users/user/Documents/site/about/index.html"
*/
path: string,
sourcePath?: string,
/**
* An explicit URL to use, instead of having Pagefind
* compute the URL based on the sourcePath.
*
* If not supplied, sourcePath must be supplied.
*
* @example "/about/"
*/
url?: string,
/** The source HTML content of the file to be parsed */

@@ -88,0 +101,0 @@ content: string

@@ -40,3 +40,4 @@ // Requests to the backend.

index_id: number,
file_path: string,
file_path?: string,
url?: string,
file_contents: string

@@ -43,0 +44,0 @@ }

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