-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathentries.mjs
84 lines (83 loc) · 1.95 KB
/
entries.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/**
* Noop function.
*
* @returns {any}
*/
const noop = () => {};
/**
* @type {ApiDocMetadataEntry}
*/
export const assertEntry = {
api: 'assert',
slug: 'assert',
source_link: 'lib/assert.js',
api_doc_source: 'doc/api/assert.md',
added_in: undefined,
deprecated_in: undefined,
removed_in: undefined,
n_api_version: undefined,
changes: [
{
version: 'v9.9.0',
'pr-url': 'https://github.com/nodejs/node/pull/17615',
description: 'Added error diffs to the strict assertion mode.',
},
{
version: 'v9.9.0',
'pr-url': 'https://github.com/nodejs/node/pull/17002',
description: 'Added strict assertion mode to the assert module.',
},
{
version: ['v13.9.0', 'v12.16.2'],
'pr-url': 'https://github.com/nodejs/node/pull/31635',
description:
'Changed "strict mode" to "strict assertion mode" and "legacy mode" to "legacy assertion mode" to avoid confusion with the more usual meaning of "strict mode".',
},
{
version: 'v15.0.0',
'pr-url': 'https://github.com/nodejs/node/pull/34001',
description: "Exposed as `require('node:assert/strict')`.",
},
],
heading: {
type: 'heading',
depth: 1,
children: [
{
type: 'text',
value: 'Assert',
position: {
start: { line: 1, column: 3, offset: 2 },
end: { line: 1, column: 9, offset: 8 },
},
},
],
position: {
start: { line: 1, column: 1, offset: 0 },
end: { line: 1, column: 9, offset: 8 },
},
data: {
text: 'Assert',
name: 'Assert',
depth: 1,
slug: 'assert',
type: 'property',
},
toJSON: noop,
},
stability: {
type: 'root',
children: [],
toJSON: noop,
},
content: {
type: 'root',
children: [],
},
tags: [],
introduced_in: 'v0.1.21',
yaml_position: {
start: { line: 7, column: 1, offset: 103 },
end: { line: 7, column: 35, offset: 137 },
},
};