
Research
Security News
Malicious npm Packages Target BSC and Ethereum to Drain Crypto Wallets
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
|TravisCI| |PyPi|
Plugin for linting graphql query strings within your code.
Mark your query strings with any function or class named gql
to perform linting:
.. code:: python
def gql(query):
return query
myquery = gql("""
{
empireHero: hero(episode: EMPIRE) {
name
}
jediHero: hero(episode: JEDI) {
name
}
""")
You can also customise the identifier to any value with the --gql-identifier
option. This can
be set with command line arguments or within setup.cfg
.
.. code:: shell
$ flake8 --gql-identifier=GQL
.. code:: python
class GQL(str):
pass
myquery = GQL("""
{
project(name: "GraphQL") {
tagline
}
}
""")
.. |TravisCI| image:: https://travis-ci.org/MichaelAquilina/flake8-graphql.svg?branch=master :target: https://travis-ci.org/MicahelAquilina/flake8-graphql
.. |PyPi| image:: https://badge.fury.io/py/flake8-graphql.svg :target: https://badge.fury.io/py/flake8-graphql
FAQs
A flake8 plugin to lint your graphql queries
We found that flake8-graphql 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.
Research
Security News
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.
Security News
TC39 advances 9 JavaScript proposals, including Array.fromAsync, Error.isError, and Explicit Resource Management, which are now headed into the ECMAScript spec.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.