Skip to content

Commit

Permalink
Update RFC references. Fixes #151.
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Aug 10, 2021
1 parent 10b2f8c commit 2f5ef59
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CBOR

Encode and parse data in the Concise Binary Object Representation (CBOR) data format ([RFC7049](http://tools.ietf.org/html/rfc7049)).
Encode and parse data in the Concise Binary Object Representation (CBOR) data format ([RFC8949](https://www.rfc-editor.org/rfc/rfc8949.html)).

## Pointers

Expand Down
2 changes: 1 addition & 1 deletion docs/Commented.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2>
Commented
</h2>

<div class="class-description">Generate the expanded format of RFC 7049, section 2.2.1.</div>
<div class="class-description">Generate the expanded format of RFC 8949, section 3.2.2.</div>


</header>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<section class="readme">
<article><h1>cbor</h1>
<p>Encode and parse data in the Concise Binary Object Representation (CBOR) data format (<a href="http://tools.ietf.org/html/rfc7049">RFC7049</a>).</p>
<p>Encode and parse data in the Concise Binary Object Representation (CBOR) data format (<a href="https://www.rfc-editor.org/rfc/rfc8949.html">RFC8949</a>).</p>
<h2>Supported Node.js versions</h2>
<p>This project now only supports versions of Node that the Node team is
<a href="https://github.com/nodejs/Release#release-schedule">currently supporting</a>.
Expand Down Expand Up @@ -355,7 +355,7 @@ <h2>Adding new decoders</h2>
})
</code></pre>
<h2>Developers</h2>
<p>The tests for this package use a set of test vectors from RFC 7049 appendix A
<p>The tests for this package use a set of test vectors from RFC 8949 appendix A
by importing a machine readable version of them from
https://github.com/cbor/test-vectors. For these tests to work, you will need
to use the command <code>git submodule update --init</code> after cloning or pulling this
Expand Down
2 changes: 1 addition & 1 deletion docs/lib_commented.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h1 class="page-title">lib/commented.js</h1>
}

/**
* Generate the expanded format of RFC 7049, section 2.2.1.
* Generate the expanded format of RFC 8949, section 3.2.2.
*
* @extends stream.Transform
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/cbor-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A command-line interface for encoding and parse data in the Concise Binary
Object Representation (CBOR) data format
([RFC7049](http://tools.ietf.org/html/rfc7049)).
([RFC8949](https://www.rfc-editor.org/rfc/rfc8949.html)).

## Supported Node.js versions

Expand Down
2 changes: 1 addition & 1 deletion packages/cbor-cli/man_src/cbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ SEE ALSO
--------

* [node-cbor](https://github.com/hildjj/node-cbor/)
* [RFC 7049](http://tools.ietf.org/html/rfc7049)
* [RFC 8949](https://www.rfc-editor.org/rfc/rfc8949.html)
2 changes: 1 addition & 1 deletion packages/cbor-cli/man_src/cbor2comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ SEE ALSO
--------

* [node-cbor](https://github.com/hildjj/node-cbor)
* [RFC 7049](http://tools.ietf.org/html/rfc7049)
* [RFC 8949](https://www.rfc-editor.org/rfc/rfc8949.html)
4 changes: 2 additions & 2 deletions packages/cbor-cli/man_src/cbor2diag.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cbor2diag test.cbor > test.txt
DESCRIPTION
-----------

`cbor2diag` outputs the diagnostic format from RFC 7049 that corresponds to the
`cbor2diag` outputs the diagnostic format from RFC 8949 that corresponds to the
CBOR files that were input. For example, the following input:

0xc100
Expand All @@ -37,4 +37,4 @@ SEE ALSO
--------

* [node-cbor](https://github.com/hildjj/node-cbor)
* [RFC 7049](http://tools.ietf.org/html/rfc7049)
* [RFC 8949](https://www.rfc-editor.org/rfc/rfc8949.html)
2 changes: 1 addition & 1 deletion packages/cbor-cli/man_src/cbor2json.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ SEE ALSO
--------

* [node-cbor](https://github.com/hildjj/node-cbor)
* [RFC 7049](http://tools.ietf.org/html/rfc7049)
* [RFC 8949](https://www.rfc-editor.org/rfc/rfc8949.html)
4 changes: 2 additions & 2 deletions packages/cbor-cli/man_src/json2cbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DESCRIPTION

`json2cbor` output a CBOR data stream for an input set of files. The files
can either consist of a single JSON item, or an
[RFC 7464](https://tools.ietf.org/html/rfc7464) encoded JSON text series.
[RFC 7464](https://tools.ietf.org/html/rfc7464) encoded JSON text series.
In the latter case, each JSON item starts with the byte "1e" (hex), "30" (dec),
otherwise known as "Record Separator" (RS), and finishes with a newline.

Expand Down Expand Up @@ -61,4 +61,4 @@ SEE ALSO
--------

* [node-cbor](https://github.com/hildjj/node-cbor)
* [RFC 7049](http://tools.ietf.org/html/rfc7049)
* [RFC 8949](https://www.rfc-editor.org/rfc/rfc8949.html)
2 changes: 1 addition & 1 deletion packages/cbor-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cbor-cli",
"version": "8.0.0",
"description": "Command line tools to encode and parse data in the Concise Binary Object Representation (CBOR) data format (RFC7049).",
"description": "Command line tools to encode and parse data in the Concise Binary Object Representation (CBOR) data format (RFC8949).",
"repository": {
"type": "git",
"url": "http://github.com/hildjj/node-cbor.git",
Expand Down
4 changes: 2 additions & 2 deletions packages/cbor/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cbor

Encode and parse data in the Concise Binary Object Representation (CBOR) data format ([RFC7049](http://tools.ietf.org/html/rfc7049)).
Encode and parse data in the Concise Binary Object Representation (CBOR) data format ([RFC8949](https://www.rfc-editor.org/rfc/rfc8949.html)).

## Supported Node.js versions

Expand Down Expand Up @@ -252,7 +252,7 @@ cbor.decodeFirstSync(input, {
Developers
----------

The tests for this package use a set of test vectors from RFC 7049 appendix A
The tests for this package use a set of test vectors from RFC 8949 appendix A
by importing a machine readable version of them from
https://github.com/cbor/test-vectors. For these tests to work, you will need
to use the command `git submodule update --init` after cloning or pulling this
Expand Down
2 changes: 1 addition & 1 deletion packages/cbor/lib/commented.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function normalizeOptions(opts, cb) {
}

/**
* Generate the expanded format of RFC 7049, section 2.2.1.
* Generate the expanded format of RFC 8949, section 3.2.2.
*
* @extends stream.Transform
*/
Expand Down
6 changes: 4 additions & 2 deletions packages/cbor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cbor",
"version": "8.0.0",
"description": "Encode and parse data in the Concise Binary Object Representation (CBOR) data format (RFC7049).",
"description": "Encode and parse data in the Concise Binary Object Representation (CBOR) data format (RFC8949).",
"main": "./lib/cbor.js",
"repository": {
"type": "git",
Expand All @@ -28,7 +28,9 @@
"keywords": [
"coap",
"cbor",
"json"
"json",
"rfc7049",
"rfc8949"
],
"author": {
"name": "Joe Hildebrand",
Expand Down
2 changes: 1 addition & 1 deletion packages/cbor/types/lib/commented.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference types="node" />
export = Commented;
/**
* Generate the expanded format of RFC 7049, section 2.2.1.
* Generate the expanded format of RFC 8949, section 3.2.2.
*
* @extends stream.Transform
*/
Expand Down

0 comments on commit 2f5ef59

Please sign in to comment.