Socket
Socket
Sign inDemoInstall

@adraffy/ens-normalize

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adraffy/ens-normalize - npm Package Compare versions

Comparing version 1.8.8 to 1.8.9

dist/index-xnf.cjs

7

package.json
{
"name": "@adraffy/ens-normalize",
"version": "1.8.8",
"version": "1.8.9",
"description": "Compact ES6 Ethereum Name Service (ENS) Name Normalizer",

@@ -21,2 +21,7 @@ "keywords": [

"types": "./dist/index.d.ts"
},
"./xnf": {
"require": "./dist/index-xnf.cjs",
"import": "./dist/index-xnf.js",
"types": "./dist/index.d.ts"
}

@@ -23,0 +28,0 @@ },

11

README.md

@@ -21,2 +21,3 @@ # ens-normalize.js

* [ENS+NFT Matcher](https://raffy.antistupid.com/eth/ens-nft-matcher.html)
* [Batch Resolver](https://raffy.antistupid.com/eth/ens-batch-resolver.html)
* [Breakdown Reports:](https://adraffy.github.io/ens-norm-tests/test-breakdown/output/)

@@ -31,3 +32,3 @@ * [Disallowed Characters](https://adraffy.github.io/ens-norm-tests/test-breakdown/output/disallowed.html)

```Javascript
import {ens_normalize} from '@adraffy/ens-normalize';
import {ens_normalize} from '@adraffy/ens-normalize'; // or require()
// npm i @adraffy/ens-normalize

@@ -72,4 +73,4 @@ // browser: https://cdn.jsdelivr.net/npm/@adraffy/ens-normalize@latest/dist/index.min.js

// [
// { type: 'valid', cp: 95 }, // valid
// { // (eg. no combining marks)
// { type: 'valid', cp: [ 95 ] }, // valid (as-is)
// {
// type: 'mapped',

@@ -83,3 +84,3 @@ // cp: 82, // input

// emoji: [ 128169, 65039 ], // fully-qualified
// cps: Emoji(1) [ 128169 ] // output
// cps: Emoji(1) [ 128169 ] // output (normalized)
// },

@@ -89,3 +90,3 @@ // {

// input: [ 97, 772 ], // input (before nfc, only valid or mapped)
// cps: [ 257 ], // output (after nfc)
// cps: [ 257 ], // output (after nfc, normalized)
// tokens: [ // tokens (before nfc)

@@ -92,0 +93,0 @@ // { type: 'valid', cps: [ 97 ] },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc