
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Hierarchic operations with Notion API, thanks to notion-py.
# Required as PyPI does not accept package with dependency links
$ pip install git+https://github.com/aureplop/notion-py.git@feat-import-file#egg=notion-999
$ pip install notion-tree
# Obtain the `token_v2` value by inspecting your browser cookies on a logged-in session on Notion.so
$ NOTION_TOKEN=...
$ python -m notiontree.hierarchy --dir path/to/local/root --root-parent-url https://www.notion.so/id/to/parent/of/local/root
Assuming you had this hierarchy on Notion:
workspace
└── parent-root # URL: https://www.notion.so/id/to/parent/of/local/root
And that you have this local structure:
path/to/local
└── root
├── index.md
├── dir1
│ ├── index.md
│ └── page1.md
└── dir2
└── page2.md
After running the command above, you will get this structure on your Notion workspace:
workspace
└── parent-root # URL: https://www.notion.so/id/to/parent/of/local/root
└── root # Includes links to dir1 and dir2 + content of root/index.md
├── dir1 # Includes links to dir1/page1.md + content of root/dir1/index.md
│ └── page1.md
└── dir2 # Includes links to dir2/page2.md
└── page2.md
FAQs
Unknown package
We found that notion-tree demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.