Skip to content

Commit a9313f7

Browse files
committed
Merge branch 'release/v5.0.0'
2 parents 71331a3 + 07bbecc commit a9313f7

358 files changed

Lines changed: 41402 additions & 26115 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"es6": true
5+
},
6+
"extends": [
7+
"plugin:@typescript-eslint/recommended",
8+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
9+
],
10+
"parser": "@typescript-eslint/parser",
11+
"parserOptions": {
12+
"project": "tsconfig.json",
13+
"sourceType": "module"
14+
},
15+
"plugins": [
16+
"eslint-plugin-import",
17+
"eslint-plugin-jsdoc",
18+
"eslint-plugin-prefer-arrow",
19+
"@typescript-eslint"
20+
],
21+
"rules": {
22+
"@typescript-eslint/adjacent-overload-signatures": "error",
23+
"@typescript-eslint/array-type": [
24+
"error",
25+
{
26+
"default": "array-simple"
27+
}
28+
],
29+
"@typescript-eslint/ban-types": [
30+
"error",
31+
{
32+
"types": {
33+
"Object": {
34+
"message": "Avoid using the `Object` type. Did you mean `object`?"
35+
},
36+
"Function": {
37+
"message": "Avoid using the `Function` type. Prefer a specific function type."
38+
},
39+
"Boolean": {
40+
"message": "Avoid using the `Boolean` type. Did you mean `boolean`?"
41+
},
42+
"Number": {
43+
"message": "Avoid using the `Number` type. Did you mean `number`?"
44+
},
45+
"String": {
46+
"message": "Avoid using the `String` type. Did you mean `string`?"
47+
},
48+
"Symbol": {
49+
"message": "Avoid using the `Symbol` type. Did you mean `symbol`?"
50+
}
51+
}
52+
}
53+
],
54+
"@typescript-eslint/dot-notation": "error",
55+
"@typescript-eslint/explicit-function-return-type": [
56+
"error",
57+
{
58+
"allowExpressions": true
59+
}
60+
],
61+
"@typescript-eslint/explicit-module-boundary-types": "off",
62+
"@typescript-eslint/naming-convention": [
63+
"warn",
64+
{ "selector": "default", "format": ["camelCase"] },
65+
{ "selector": "typeLike", "format": ["PascalCase"] },
66+
{ "selector": "property", "modifiers": ["private"], "format": ["camelCase"], "leadingUnderscore": "require" },
67+
{ "selector": "property", "modifiers": ["static", "readonly"], "format": ["UPPER_CASE"] },
68+
{ "selector": "property", "modifiers": ["private", "static", "readonly"], "format": ["UPPER_CASE"], "leadingUnderscore": "forbid" },
69+
{ "selector": "enumMember", "format": ["PascalCase"] }
70+
],
71+
"@typescript-eslint/no-inferrable-types": 0,
72+
"@typescript-eslint/no-misused-new": "error",
73+
"@typescript-eslint/no-namespace": "error",
74+
"@typescript-eslint/no-parameter-properties": "warn",
75+
"@typescript-eslint/no-shadow": "error",
76+
"@typescript-eslint/prefer-namespace-keyword": "error",
77+
"@typescript-eslint/restrict-template-expressions": 0,
78+
"@typescript-eslint/triple-slash-reference": [
79+
"off",
80+
{
81+
"path": "always",
82+
"types": "prefer-import",
83+
"lib": "always"
84+
}
85+
],
86+
"@typescript-eslint/unbound-method": [
87+
"error",
88+
{
89+
"ignoreStatic": true
90+
}
91+
],
92+
"@typescript-eslint/unified-signatures": "error",
93+
"constructor-super": "error",
94+
"dot-notation": [
95+
"error",
96+
{
97+
"allowPattern": "^_.+"
98+
}
99+
],
100+
"eqeqeq": "error",
101+
"guard-for-in": "error",
102+
"jsdoc/check-alignment": "error",
103+
"max-len": [
104+
"warn",
105+
{
106+
"code": 120
107+
}
108+
],
109+
"new-parens": "error",
110+
"no-caller": "error",
111+
"no-cond-assign": "error",
112+
"no-console": "error",
113+
"no-debugger": "error",
114+
"no-empty": "error",
115+
"no-empty-function": "error",
116+
"no-eval": "error",
117+
"no-invalid-this": "error",
118+
"no-multiple-empty-lines": "warn",
119+
"no-new-wrappers": "error",
120+
"no-shadow": "off", // Required for @typescript-eslint/no-shadow to work properly
121+
"no-throw-literal": "error",
122+
"no-trailing-spaces": "error",
123+
"no-undef-init": "error",
124+
"no-unsafe-finally": "error",
125+
"no-unused-expressions": "error",
126+
"no-unused-labels": "error",
127+
"no-var": "error",
128+
"one-var": [
129+
"error",
130+
"never"
131+
],
132+
"prefer-arrow/prefer-arrow-functions": "error",
133+
"prefer-const": "error",
134+
"radix": "error",
135+
"spaced-comment": [ "error", "always" ],
136+
"use-isnan": "error",
137+
"valid-typeof": "error"
138+
}
139+
};

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# TagLib# for Node
22

3-
| Master | Develop | Latest |
4-
|--------|---------|--------|
5-
|[![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv/branch/master?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp/branch/master)|[![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv/branch/develop?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp/branch/develop)|[![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp)
6-
|[![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?branch=master)](https://coveralls.io/github/benrr101/node-taglib-sharp?branch=master)|[![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?branch=develop)](https://coveralls.io/github/benrr101/node-taglib-sharp?branch=develop)|[![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?latest)](https://coveralls.io/github/benrr101/node-taglib-sharp)
3+
| Master | Develop | Latest |
4+
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
5+
| [![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv/branch/master?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp/branch/master) | [![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv/branch/develop?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp/branch/develop) | [![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp) |
6+
| [![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?branch=master)](https://coveralls.io/github/benrr101/node-taglib-sharp?branch=master) | [![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?branch=develop)](https://coveralls.io/github/benrr101/node-taglib-sharp?branch=develop) | [![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?latest)](https://coveralls.io/github/benrr101/node-taglib-sharp) |
77

88
## Description
99
TagLib# is a .NET library that has been around for years. It provides a unified interface for
@@ -22,7 +22,7 @@ improved on the original TagLib, hence why this project exists.
2222
* [ID3v2](https://id3.org/Developer%20Information): `AAC`, `AIF`, `AIFF`, `AVI`, `DIVX`, `FLAC`, `M2A`, `MP1`, `MP2`, `MP3`, `WAV`
2323
* MovieID: `AVI`, `DIVX`, `WAV`
2424
* [RIFF Info](https://www.exiftool.org/TagNames/RIFF.html#Info): `AVI`, `DIVX`, `WAV`
25-
* [Xiph Comment](https://www.xiph.org/vorbis/doc/v-comment.html): `FLAC`
25+
* [Xiph Comment](https://www.xiph.org/vorbis/doc/v-comment.html): `FLAC`, `OGA`, `OGG`, `OGV`, `OPUS`
2626
* ... More coming soon
2727

2828
## Supported File Formats
@@ -33,6 +33,7 @@ improved on the original TagLib, hence why this project exists.
3333
* MPEG-1/2 Audio: `M2A`, `MP1`, `MP2`, `MP3`
3434
* MPEG-1/2 Video: `M2V`, `MPE`, `MPEG`, `MPG`, `MPV2`
3535
* Monkey's Audio: `APE`
36+
* Ogg: `OGA`, `OGG`, `OGV`, `OPUS`
3637
* Resource Interchange File Format (RIFF): `AVI`, `DIVX`, `WAV`
3738
* ... More coming soon
3839

docs/.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.

docs/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ node-taglib-sharp / [Exports](modules.md)
22

33
# TagLib# for Node
44

5-
| Master | Develop | Latest |
6-
|--------|---------|--------|
7-
|[![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv/branch/master?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp/branch/master)|[![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv/branch/develop?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp/branch/develop)|[![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp)
8-
|[![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?branch=master)](https://coveralls.io/github/benrr101/node-taglib-sharp?branch=master)|[![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?branch=develop)](https://coveralls.io/github/benrr101/node-taglib-sharp?branch=develop)|[![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?latest)](https://coveralls.io/github/benrr101/node-taglib-sharp)
5+
| Master | Develop | Latest |
6+
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
7+
| [![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv/branch/master?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp/branch/master) | [![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv/branch/develop?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp/branch/develop) | [![Build Status](https://ci.appveyor.com/api/projects/status/7hdfrbc4ecvvruwv?svg=true)](https://ci.appveyor.com/project/benrr101/node-taglib-sharp) |
8+
| [![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?branch=master)](https://coveralls.io/github/benrr101/node-taglib-sharp?branch=master) | [![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?branch=develop)](https://coveralls.io/github/benrr101/node-taglib-sharp?branch=develop) | [![Coverage Status](https://coveralls.io/repos/github/benrr101/node-taglib-sharp/badge.svg?latest)](https://coveralls.io/github/benrr101/node-taglib-sharp) |
99

1010
## Description
1111
TagLib# is a .NET library that has been around for years. It provides a unified interface for
@@ -24,7 +24,7 @@ improved on the original TagLib, hence why this project exists.
2424
* [ID3v2](https://id3.org/Developer%20Information): `AAC`, `AIF`, `AIFF`, `AVI`, `DIVX`, `FLAC`, `M2A`, `MP1`, `MP2`, `MP3`, `WAV`
2525
* MovieID: `AVI`, `DIVX`, `WAV`
2626
* [RIFF Info](https://www.exiftool.org/TagNames/RIFF.html#Info): `AVI`, `DIVX`, `WAV`
27-
* [Xiph Comment](https://www.xiph.org/vorbis/doc/v-comment.html): `FLAC`
27+
* [Xiph Comment](https://www.xiph.org/vorbis/doc/v-comment.html): `FLAC`, `OGA`, `OGG`, `OGV`, `OPUS`
2828
* ... More coming soon
2929

3030
## Supported File Formats
@@ -35,6 +35,7 @@ improved on the original TagLib, hence why this project exists.
3535
* MPEG-1/2 Audio: `M2A`, `MP1`, `MP2`, `MP3`
3636
* MPEG-1/2 Video: `M2V`, `MPE`, `MPEG`, `MPG`, `MPV2`
3737
* Monkey's Audio: `APE`
38+
* Ogg: `OGA`, `OGG`, `OGV`, `OPUS`
3839
* Resource Interchange File Format (RIFF): `AVI`, `DIVX`, `WAV`
3940
* ... More coming soon
4041

0 commit comments

Comments
 (0)