@types/babel__code-frame 7.0.3 → 7.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
babel__code-frame/LICENSE CHANGED
File without changes
@@ -8,12 +8,6 @@ This package contains type definitions for @babel/code-frame (https://github.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__code-frame.
9
9
  ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__code-frame/index.d.ts)
10
10
  ````ts
11
- // Type definitions for @babel/code-frame 7.0
12
- // Project: https://github.com/babel/babel/tree/master/packages/babel-code-frame, https://babeljs.io
13
- // Definitions by: Mohsen Azimi <https://github.com/mohsen1>
14
- // Forbes Lindesay <https://github.com/ForbesLindesay>
15
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
16
-
17
11
  export interface SourceLocation {
18
12
  start: { line: number; column?: number | undefined };
19
13
  end?: { line: number; column?: number | undefined } | undefined;
@@ -21,7 +15,7 @@ export interface SourceLocation {
21
15
  export function codeFrameColumns(
22
16
  rawLines: string,
23
17
  location: SourceLocation,
24
- options?: BabelCodeFrameOptions
18
+ options?: BabelCodeFrameOptions,
25
19
  ): string;
26
20
 
27
21
  export interface BabelCodeFrameOptions {
@@ -60,15 +54,14 @@ export default function codeFrame(
60
54
  rawLines: string,
61
55
  lineNumber: number,
62
56
  colNumber: number,
63
- options?: BabelCodeFrameOptions
57
+ options?: BabelCodeFrameOptions,
64
58
  ): string;
65
59
 
66
60
  ````
67
61
 
68
62
  ### Additional Details
69
- * Last updated: Tue, 06 Jul 2021 18:05:40 GMT
63
+ * Last updated: Tue, 17 Oct 2023 22:10:13 GMT
70
64
  * Dependencies: none
71
- * Global values: none
72
65
 
73
66
  # Credits
74
67
  These definitions were written by [Mohsen Azimi](https://github.com/mohsen1), and [Forbes Lindesay](https://github.com/ForbesLindesay).
@@ -1,9 +1,3 @@
1
- // Type definitions for @babel/code-frame 7.0
2
- // Project: https://github.com/babel/babel/tree/master/packages/babel-code-frame, https://babeljs.io
3
- // Definitions by: Mohsen Azimi <https://github.com/mohsen1>
4
- // Forbes Lindesay <https://github.com/ForbesLindesay>
5
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6
-
7
1
  export interface SourceLocation {
8
2
  start: { line: number; column?: number | undefined };
9
3
  end?: { line: number; column?: number | undefined } | undefined;
@@ -11,7 +5,7 @@ export interface SourceLocation {
11
5
  export function codeFrameColumns(
12
6
  rawLines: string,
13
7
  location: SourceLocation,
14
- options?: BabelCodeFrameOptions
8
+ options?: BabelCodeFrameOptions,
15
9
  ): string;
16
10
 
17
11
  export interface BabelCodeFrameOptions {
@@ -50,5 +44,5 @@ export default function codeFrame(
50
44
  rawLines: string,
51
45
  lineNumber: number,
52
46
  colNumber: number,
53
- options?: BabelCodeFrameOptions
47
+ options?: BabelCodeFrameOptions,
54
48
  ): string;
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@types/babel__code-frame",
3
- "version": "7.0.3",
3
+ "version": "7.0.5",
4
4
  "description": "TypeScript definitions for @babel/code-frame",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__code-frame",
6
6
  "license": "MIT",
7
7
  "contributors": [
8
8
  {
9
9
  "name": "Mohsen Azimi",
10
- "url": "https://github.com/mohsen1",
11
- "githubUsername": "mohsen1"
10
+ "githubUsername": "mohsen1",
11
+ "url": "https://github.com/mohsen1"
12
12
  },
13
13
  {
14
14
  "name": "Forbes Lindesay",
15
- "url": "https://github.com/ForbesLindesay",
16
- "githubUsername": "ForbesLindesay"
15
+ "githubUsername": "ForbesLindesay",
16
+ "url": "https://github.com/ForbesLindesay"
17
17
  }
18
18
  ],
19
19
  "main": "",
@@ -25,6 +25,6 @@
25
25
  },
26
26
  "scripts": {},
27
27
  "dependencies": {},
28
- "typesPublisherContentHash": "ef46fc0d289bd4227b745d5ea1e3b994b7fff04c38a6d165f06b384f2cc9479f",
29
- "typeScriptVersion": "3.6"
28
+ "typesPublisherContentHash": "ffcd87d74ff31f124988d80427c5e19b0a3337bb03595861eee5d63586170850",
29
+ "typeScriptVersion": "4.5"
30
30
  }