New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

notion-client

Package Overview
Dependencies
Maintainers
2
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notion-client - npm Package Compare versions

Comparing version 6.0.5 to 6.0.6

39

build/index.js

@@ -307,23 +307,24 @@ var __defProp = Object.defineProperty;

async search(params, gotOptions) {
const body = {
type: "BlocksInAncestor",
source: "quick_find_public",
ancestorId: parsePageId(params.ancestorId),
sort: "Relevance",
limit: params.limit || 20,
query: params.query,
filters: __spreadValues({
isDeletedOnly: false,
isNavigableOnly: false,
excludeTemplates: true,
requireEditPermissions: false,
ancestors: [],
createdBy: [],
editedBy: [],
lastEditedTime: {},
createdTime: {}
}, params.filters)
};
return this.fetch({
endpoint: "search",
body: {
type: "BlocksInAncestor",
source: "quick_find_public",
ancestorId: parsePageId(params.ancestorId),
sort: "Relevance",
limit: params.limit || 20,
query: params.query,
filters: __spreadValues({
isDeletedOnly: false,
excludeTemplates: true,
isNavigableOnly: true,
requireEditPermissions: false,
ancestors: [],
createdBy: [],
editedBy: [],
lastEditedTime: {},
createdTime: {}
}, params.filters)
},
body,
gotOptions

@@ -330,0 +331,0 @@ });

{
"name": "notion-client",
"version": "6.0.5",
"version": "6.0.6",
"type": "module",

@@ -22,4 +22,4 @@ "description": "Robust TypeScript client for the unofficial Notion API.",

"got": "^11.8.1",
"notion-types": "^6.0.2",
"notion-utils": "^6.0.5",
"notion-types": "^6.0.6",
"notion-utils": "^6.0.6",
"p-map": "^5.3.0"

@@ -38,3 +38,3 @@ },

},
"gitHead": "cb33f04921a868661eb1080cd64a561d0d45f780"
"gitHead": "dca0609ca0f2e052e24250a77ded071764f9dada"
}

@@ -492,24 +492,26 @@ // import { promises as fs } from 'fs'

) {
const body = {
type: 'BlocksInAncestor',
source: 'quick_find_public',
ancestorId: parsePageId(params.ancestorId),
sort: 'Relevance',
limit: params.limit || 20,
query: params.query,
filters: {
isDeletedOnly: false,
isNavigableOnly: false,
excludeTemplates: true,
requireEditPermissions: false,
ancestors: [],
createdBy: [],
editedBy: [],
lastEditedTime: {},
createdTime: {},
...params.filters
}
}
return this.fetch<notion.SearchResults>({
endpoint: 'search',
body: {
type: 'BlocksInAncestor',
source: 'quick_find_public',
ancestorId: parsePageId(params.ancestorId),
sort: 'Relevance',
limit: params.limit || 20,
query: params.query,
filters: {
isDeletedOnly: false,
excludeTemplates: true,
isNavigableOnly: true,
requireEditPermissions: false,
ancestors: [],
createdBy: [],
editedBy: [],
lastEditedTime: {},
createdTime: {},
...params.filters
}
},
body,
gotOptions

@@ -516,0 +518,0 @@ })

Sorry, the diff of this file is not supported yet

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