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

@ewizardjs/pages-api

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ewizardjs/pages-api - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

report/dependency-check-gitlab.json

2

dist/typings/interfaces/api.d.ts
import { Page, Pages, SettingRecordsFragment } from './index';
export type callback = (page: Page) => Page;
export type callback = (page: Page, basePath: string) => Page;
export interface getPages {

@@ -4,0 +4,0 @@ (pagesJson: Pages, callback?: callback, settings?: SettingRecordsFragment): Pages;

@@ -43,3 +43,3 @@ import { SiteSubtypes } from '@ewizardjs/content-types';

page: Page;
callback?: (page: Page) => unknown;
callback?: (page: Page, basePath: string) => unknown;
parentPath?: string;

@@ -46,0 +46,0 @@ parentDirPath?: string;

@@ -102,3 +102,3 @@ "use strict";

}
return callback ? callback(page) : page;
return callback ? callback(page, basePath) : page;
}

@@ -105,0 +105,0 @@ exports.normalizePage = normalizePage;

{
"name": "@ewizardjs/pages-api",
"version": "1.4.0",
"version": "1.5.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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