Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ndn/naming-convention2

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndn/naming-convention2 - npm Package Compare versions

Comparing version 0.0.20200606 to 0.0.20200909

lib/alt-uri_browser.js

4

lib/alt-uri.d.ts

@@ -1,3 +0,3 @@

import { AltUriPrinter } from "@ndn/packet";
import { AltUriConverter } from "@ndn/packet";
/** Print conventions from this package in alternate URI syntax. */
export declare const AltUri: AltUriPrinter;
export declare const AltUri: AltUriConverter;
{
"name": "@ndn/naming-convention2",
"version": "0.0.20200606",
"version": "0.0.20200909",
"description": "NDNts: Naming Convention rev2",

@@ -15,3 +15,4 @@ "keywords": [

"type": "module",
"main": "lib/mod.js",
"main": "lib/mod_node.js",
"module": "lib/mod_browser.js",
"sideEffects": false,

@@ -25,6 +26,7 @@ "homepage": "https://yoursunny.com/p/NDNts/",

"dependencies": {
"@ndn/packet": "0.0.20200606",
"@ndn/tlv": "0.0.20200606",
"tslib": "*"
}
"@ndn/packet": "0.0.20200909",
"@ndn/tlv": "0.0.20200909",
"tslib": "^2.0.1"
},
"types": "lib/mod.d.ts"
}

@@ -53,2 +53,6 @@ # @ndn/naming-convention2

// Using AltUri from this package indicates you have adopted these naming conventions.
// Use AltUri.parseName() and AltUri.parseComponent() to parse from alternate URI syntax.
assert(AltUri.parseName("/A/32=metadata/v=3/seg=0").equals(name));
assert(AltUri.parseComponent("v=3").equals(name.at(2)));
```
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