Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@escape.tech/graphql-armor-document-token-limit
Advanced tools
Limit the number of tokens allowed in a GraphQL document.
This plugin will limit the number of tokens in a GraphQL operation.
# npm
npm install @escape.tech/graphql-armor-document-token-limit
# yarn
yarn add @escape.tech/graphql-armor-document-token-limit
@envelop/core
from @the-guild-org
import { envelop } from '@envelop/core';
import { documentTokenLimitPlugin } from '@escape.tech/graphql-armor-document-token-limit';
const getEnveloped = envelop({
plugins: [
// ... other plugins ...
documentTokenLimitPlugin({
maxTokenCount: 2000, // Number of characters allowed | Default: 2000
}),
]
})
This plugin relies on a parser plugin to works and access query from the context.
This should be supported by the engine you use.
If you experience any issues, please open an issue.
FAQs
Limit the number of tokens allowed in a GraphQL document.
The npm package @escape.tech/graphql-armor-document-token-limit receives a total of 0 weekly downloads. As such, @escape.tech/graphql-armor-document-token-limit popularity was classified as not popular.
We found that @escape.tech/graphql-armor-document-token-limit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.