![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@cubos/dataset-geoip
Advanced tools
@cubos/dataset-geoip
Conjunto de dados sobre IPs no mundo. Este pacote irá gerenciar um conjunto de tabelas no banco de dados e expor funções utilitárias para consultas.
Este pacote exporta migrations
, um objeto com migrações do Kysely
que devem ser incluídas no seu projeto.
Chame a função populate
na inicialização do seu projeto, após executar migrações. Esta irá baixar os dados
e inserir nas tabelas do seu banco de dados. Também irá verificar atualizações e aplicar se necessário.
Considere agendar para chamar estar função ao menos uma vez por semana.
Para que populate
funcione é necessário preencher a variável de ambiente CUBOS_DATASET_URL
com a URL de onde
os dados podem ser consultados e baixados, incluindo credenciais se necessário.
Duas funções são disponibilizadas para uso:
getIpLocation
: recebe um IPv4 ou IPv6 como argumento e retorna informações de localização.getIpAsn
: recebe um IPv4 ou IPv6 como argumento e retorna o ASN deste IP, identificando a empresa responsável.FAQs
Dataset with IP ranges and locations
The npm package @cubos/dataset-geoip receives a total of 3 weekly downloads. As such, @cubos/dataset-geoip popularity was classified as not popular.
We found that @cubos/dataset-geoip demonstrated a not healthy version release cadence and project activity because the last version was released 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.