
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Domain Name manipulation library for Ruby
Parses a domain name ready for extracting the registered domain and TLD.
require "domain_name"
host = DomainName("a.b.example.co.uk")
host.domain #=> "example.co.uk"
host.tld #=> "uk"
host.cookie_domain?("example.co.uk") #=> true
host.cookie_domain?("co.uk") #=> false
host = DomainName("[::1]") # IP addresses like "192.168.1.1" and "::1" are also acceptable
host.ipaddr? #=> true
host.cookie_domain?("0:0:0:0:0:0:0:1") #=> true
Implements rudimental IDNA support.
Implement IDNA 2008 (and/or 2003) including the domain label validation and mapping defined in RFC 5891-5895 and UTS #46. (work in progress)
Define a compact YAML serialization format.
gem install domain_name
Copyright (c) 2011-2017 Akinori MUSHA
Licensed under the 2-clause BSD license.
Some portion of this library is copyrighted by third parties and
licensed under MPL 2.0 or 3-clause BSD license,
See LICENSE.txt
for details.
FAQs
Unknown package
We found that domain_name 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.