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.0 to 6.0.2

build/.tsbuildinfo

21

package.json
{
"name": "notion-client",
"version": "6.0.0",
"version": "6.0.2",
"type": "module",

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

"license": "MIT",
"module": "./build/esm/index.js",
"typings": "./build/esm/index.d.ts",
"module": "./build/index.js",
"typings": "./build/index.d.ts",
"sideEffects": false,

@@ -17,8 +17,10 @@ "engines": {

"scripts": {
"test": "ava 'build/esm/**/*.test.js'"
"build": "tsup",
"watch": "tsup --watch --silent",
"test": "ava"
},
"dependencies": {
"got": "^11.8.1",
"notion-types": "^6.0.0",
"notion-utils": "^6.0.0",
"notion-types": "^6.0.2",
"notion-utils": "^6.0.2",
"p-map": "^5.3.0"

@@ -28,7 +30,12 @@ },

"snapshotDir": ".snapshots",
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm",
"--no-warnings",
"--experimental-specifier-resolution=node"
]
},
"gitHead": "2be75d4aa3848f7d84abd88eccd3314b44f7e68a"
"gitHead": "366458e14e02e7b8b5b7e6667105e04e3c28f46e"
}

@@ -0,1 +1,2 @@

// import { promises as fs } from 'fs'
import got, { OptionsOfJSONResponseBody } from 'got'

@@ -161,2 +162,3 @@ import pMap from 'p-map'

console.warn('NotionAPI collectionQuery error', err.message)
console.error(err)
}

@@ -313,2 +315,3 @@ },

},
sort: [],
...collectionView?.query2,

@@ -341,2 +344,3 @@ searchQuery,

} = group
for (const iterator of iterators) {

@@ -414,2 +418,16 @@ const iteratorProps =

// console.log(
// JSON.stringify(
// {
// collectionId,
// collectionViewId,
// loader,
// groupBy: groupBy || 'NONE',
// collectionViewQuery: collectionView.query2 || 'NONE'
// },
// null,
// 2
// )
// )
return this.fetch<notion.CollectionInstance>({

@@ -416,0 +434,0 @@ endpoint: 'queryCollection',

@@ -6,3 +6,5 @@ {

"rootDir": "src",
"outDir": "build/esm"
"outDir": "build",
"tsBuildInfoFile": "build/.tsbuildinfo",
"emitDeclarationOnly": true
},

@@ -9,0 +11,0 @@ "include": ["src"],

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