picata 0.0.10__py3-none-any.whl → 0.0.12__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- manage.py +4 -0
- node_modules/@csstools/postcss-initial/README.md +2 -2
- node_modules/@eslint/config-array/README.md +3 -3
- node_modules/@eslint/core/README.md +2 -2
- node_modules/@eslint/object-schema/README.md +3 -3
- node_modules/@eslint/plugin-kit/node_modules/@eslint/core/README.md +29 -0
- node_modules/@types/node/README.md +1 -1
- node_modules/enhanced-resolve/README.md +1 -1
- node_modules/eslint/README.md +12 -11
- node_modules/possible-typed-array-names/README.md +4 -2
- node_modules/prettier/README.md +6 -7
- node_modules/terser/README.md +2 -5
- node_modules/webpack/README.md +341 -392
- picata/helpers/__init__.py +1 -0
- picata/helpers/wagtail.py +9 -8
- picata/migrations/0001_initial.py +5 -5
- picata/migrations/0002_postseries.py +27 -0
- picata/migrations/0003_postseries_summary_alter_postseries_introduction.py +24 -0
- picata/models.py +208 -60
- picata/transformers.py +2 -1
- picata/typing/__init__.py +4 -0
- picata/views.py +2 -2
- {picata-0.0.10.dist-info → picata-0.0.12.dist-info}/METADATA +1 -1
- {picata-0.0.10.dist-info → picata-0.0.12.dist-info}/RECORD +26 -26
- node_modules/ajv-keywords/README.md +0 -836
- node_modules/ajv-keywords/keywords/dotjs/README.md +0 -3
- node_modules/webpack/node_modules/schema-utils/README.md +0 -290
- {picata-0.0.10.dist-info → picata-0.0.12.dist-info}/WHEEL +0 -0
- {picata-0.0.10.dist-info → picata-0.0.12.dist-info}/licenses/LICENSE.md +0 -0
manage.py
CHANGED
@@ -2,9 +2,13 @@
|
|
2
2
|
"""Entry-point for Django management commands."""
|
3
3
|
|
4
4
|
from os import environ
|
5
|
+
from pathlib import Path
|
5
6
|
from sys import argv
|
6
7
|
|
7
8
|
if __name__ == "__main__":
|
9
|
+
log_dir = Path(__file__).resolve().parent.parent / "logs"
|
10
|
+
Path.mkdir(log_dir, exist_ok=True)
|
11
|
+
|
8
12
|
environ.setdefault("DJANGO_SETTINGS_MODULE", "picata.settings.dev")
|
9
13
|
|
10
14
|
if len(argv) >= 2: # noqa: PLR2004
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
[PostCSS Initial] fallback the `initial` keyword following the [CSS Cascade 4 Specification].
|
6
6
|
|
7
|
-
```
|
7
|
+
```css
|
8
8
|
.foo {
|
9
9
|
border: initial;
|
10
10
|
}
|
@@ -52,7 +52,7 @@ is preserved. By default, it is preserved.
|
|
52
52
|
postcssInitial({ preserve: false })
|
53
53
|
```
|
54
54
|
|
55
|
-
```
|
55
|
+
```css
|
56
56
|
.foo {
|
57
57
|
border: initial;
|
58
58
|
}
|
@@ -349,9 +349,9 @@ to get your logo on our READMEs and [website](https://eslint.org/sponsors).
|
|
349
349
|
|
350
350
|
<h3>Platinum Sponsors</h3>
|
351
351
|
<p><a href="https://automattic.com"><img src="https://images.opencollective.com/automattic/d0ef3e1/logo.png" alt="Automattic" height="128"></a> <a href="https://www.airbnb.com/"><img src="https://images.opencollective.com/airbnb/d327d66/logo.png" alt="Airbnb" height="128"></a></p><h3>Gold Sponsors</h3>
|
352
|
-
<p><a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a></p><h3>Silver Sponsors</h3>
|
353
|
-
<p><a href="https://www.serptriumph.com/"><img src="https://images.opencollective.com/serp-triumph5/fea3074/logo.png" alt="SERP Triumph" height="64"></a> <a href="https://www.jetbrains.com/"><img src="https://images.opencollective.com/jetbrains/fe76f99/logo.png" alt="JetBrains" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301
|
354
|
-
<p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.
|
352
|
+
<p><a href="https://qlty.sh/"><img src="https://images.opencollective.com/qltysh/33d157d/logo.png" alt="Qlty Software" height="96"></a> <a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a></p><h3>Silver Sponsors</h3>
|
353
|
+
<p><a href="https://www.serptriumph.com/"><img src="https://images.opencollective.com/serp-triumph5/fea3074/logo.png" alt="SERP Triumph" height="64"></a> <a href="https://www.jetbrains.com/"><img src="https://images.opencollective.com/jetbrains/fe76f99/logo.png" alt="JetBrains" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301" alt="American Express" height="64"></a></p><h3>Bronze Sponsors</h3>
|
354
|
+
<p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.crosswordsolver.org/anagram-solver/"><img src="https://images.opencollective.com/anagram-solver/2666271/logo.png" alt="Anagram Solver" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nolebase.ayaka.io"><img src="https://avatars.githubusercontent.com/u/11081491" alt="Neko" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a></p>
|
355
355
|
<h3>Technology Sponsors</h3>
|
356
356
|
Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.
|
357
357
|
<p><a href="https://netlify.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/netlify-icon.svg" alt="Netlify" height="32"></a> <a href="https://algolia.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/algolia-icon.svg" alt="Algolia" height="32"></a> <a href="https://1password.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/1password-icon.svg" alt="1Password" height="32"></a></p>
|
@@ -20,9 +20,9 @@ to get your logo on our READMEs and [website](https://eslint.org/sponsors).
|
|
20
20
|
|
21
21
|
<h3>Platinum Sponsors</h3>
|
22
22
|
<p><a href="https://automattic.com"><img src="https://images.opencollective.com/automattic/d0ef3e1/logo.png" alt="Automattic" height="128"></a> <a href="https://www.airbnb.com/"><img src="https://images.opencollective.com/airbnb/d327d66/logo.png" alt="Airbnb" height="128"></a></p><h3>Gold Sponsors</h3>
|
23
|
-
<p><a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a></p><h3>Silver Sponsors</h3>
|
23
|
+
<p><a href="https://qlty.sh/"><img src="https://images.opencollective.com/qltysh/33d157d/logo.png" alt="Qlty Software" height="96"></a> <a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a></p><h3>Silver Sponsors</h3>
|
24
24
|
<p><a href="https://www.serptriumph.com/"><img src="https://images.opencollective.com/serp-triumph5/fea3074/logo.png" alt="SERP Triumph" height="64"></a> <a href="https://www.jetbrains.com/"><img src="https://images.opencollective.com/jetbrains/fe76f99/logo.png" alt="JetBrains" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301" alt="American Express" height="64"></a></p><h3>Bronze Sponsors</h3>
|
25
|
-
<p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.crosswordsolver.org/anagram-solver/"><img src="https://images.opencollective.com/anagram-solver/2666271/logo.png" alt="Anagram Solver" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a></p>
|
25
|
+
<p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.crosswordsolver.org/anagram-solver/"><img src="https://images.opencollective.com/anagram-solver/2666271/logo.png" alt="Anagram Solver" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nolebase.ayaka.io"><img src="https://avatars.githubusercontent.com/u/11081491" alt="Neko" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a></p>
|
26
26
|
<h3>Technology Sponsors</h3>
|
27
27
|
Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.
|
28
28
|
<p><a href="https://netlify.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/netlify-icon.svg" alt="Netlify" height="32"></a> <a href="https://algolia.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/algolia-icon.svg" alt="Algolia" height="32"></a> <a href="https://1password.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/1password-icon.svg" alt="1Password" height="32"></a></p>
|
@@ -233,9 +233,9 @@ to get your logo on our READMEs and [website](https://eslint.org/sponsors).
|
|
233
233
|
|
234
234
|
<h3>Platinum Sponsors</h3>
|
235
235
|
<p><a href="https://automattic.com"><img src="https://images.opencollective.com/automattic/d0ef3e1/logo.png" alt="Automattic" height="128"></a> <a href="https://www.airbnb.com/"><img src="https://images.opencollective.com/airbnb/d327d66/logo.png" alt="Airbnb" height="128"></a></p><h3>Gold Sponsors</h3>
|
236
|
-
<p><a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a></p><h3>Silver Sponsors</h3>
|
237
|
-
<p><a href="https://www.serptriumph.com/"><img src="https://images.opencollective.com/serp-triumph5/fea3074/logo.png" alt="SERP Triumph" height="64"></a> <a href="https://www.jetbrains.com/"><img src="https://images.opencollective.com/jetbrains/fe76f99/logo.png" alt="JetBrains" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301
|
238
|
-
<p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.
|
236
|
+
<p><a href="https://qlty.sh/"><img src="https://images.opencollective.com/qltysh/33d157d/logo.png" alt="Qlty Software" height="96"></a> <a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a></p><h3>Silver Sponsors</h3>
|
237
|
+
<p><a href="https://www.serptriumph.com/"><img src="https://images.opencollective.com/serp-triumph5/fea3074/logo.png" alt="SERP Triumph" height="64"></a> <a href="https://www.jetbrains.com/"><img src="https://images.opencollective.com/jetbrains/fe76f99/logo.png" alt="JetBrains" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301" alt="American Express" height="64"></a></p><h3>Bronze Sponsors</h3>
|
238
|
+
<p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.crosswordsolver.org/anagram-solver/"><img src="https://images.opencollective.com/anagram-solver/2666271/logo.png" alt="Anagram Solver" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nolebase.ayaka.io"><img src="https://avatars.githubusercontent.com/u/11081491" alt="Neko" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a></p>
|
239
239
|
<h3>Technology Sponsors</h3>
|
240
240
|
Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.
|
241
241
|
<p><a href="https://netlify.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/netlify-icon.svg" alt="Netlify" height="32"></a> <a href="https://algolia.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/algolia-icon.svg" alt="Algolia" height="32"></a> <a href="https://1password.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/1password-icon.svg" alt="1Password" height="32"></a></p>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# ESLint Core
|
2
|
+
|
3
|
+
## Overview
|
4
|
+
|
5
|
+
This package is the future home of the rewritten, runtime-agnostic ESLint core.
|
6
|
+
|
7
|
+
Right now, it exports the core types necessary to implement language plugins.
|
8
|
+
|
9
|
+
## License
|
10
|
+
|
11
|
+
Apache 2.0
|
12
|
+
|
13
|
+
<!-- NOTE: This section is autogenerated. Do not manually edit.-->
|
14
|
+
<!--sponsorsstart-->
|
15
|
+
|
16
|
+
## Sponsors
|
17
|
+
|
18
|
+
The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. [Become a Sponsor](https://eslint.org/donate)
|
19
|
+
to get your logo on our READMEs and [website](https://eslint.org/sponsors).
|
20
|
+
|
21
|
+
<h3>Platinum Sponsors</h3>
|
22
|
+
<p><a href="https://automattic.com"><img src="https://images.opencollective.com/automattic/d0ef3e1/logo.png" alt="Automattic" height="128"></a> <a href="https://www.airbnb.com/"><img src="https://images.opencollective.com/airbnb/d327d66/logo.png" alt="Airbnb" height="128"></a></p><h3>Gold Sponsors</h3>
|
23
|
+
<p><a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a></p><h3>Silver Sponsors</h3>
|
24
|
+
<p><a href="https://www.serptriumph.com/"><img src="https://images.opencollective.com/serp-triumph5/fea3074/logo.png" alt="SERP Triumph" height="64"></a> <a href="https://www.jetbrains.com/"><img src="https://images.opencollective.com/jetbrains/fe76f99/logo.png" alt="JetBrains" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301" alt="American Express" height="64"></a></p><h3>Bronze Sponsors</h3>
|
25
|
+
<p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.crosswordsolver.org/anagram-solver/"><img src="https://images.opencollective.com/anagram-solver/2666271/logo.png" alt="Anagram Solver" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a></p>
|
26
|
+
<h3>Technology Sponsors</h3>
|
27
|
+
Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.
|
28
|
+
<p><a href="https://netlify.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/netlify-icon.svg" alt="Netlify" height="32"></a> <a href="https://algolia.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/algolia-icon.svg" alt="Algolia" height="32"></a> <a href="https://1password.com"><img src="https://raw.githubusercontent.com/eslint/eslint.org/main/src/assets/images/techsponsors/1password-icon.svg" alt="1Password" height="32"></a></p>
|
29
|
+
<!--sponsorsend-->
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Thu, 13 Feb 2025 22:34:15 GMT
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
13
|
|
14
14
|
# Credits
|
@@ -173,7 +173,7 @@ MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
173
173
|
|
174
174
|
[npm]: https://img.shields.io/npm/v/enhanced-resolve.svg
|
175
175
|
[npm-url]: https://www.npmjs.com/package/enhanced-resolve
|
176
|
-
[build-status]: https://github.com/webpack/enhanced-resolve/actions/workflows/test.yml/badge.svg
|
176
|
+
[build-status]: https://github.com/webpack/enhanced-resolve/actions/workflows/test.yml/badge.svg
|
177
177
|
[build-status-url]: https://github.com/webpack/enhanced-resolve/actions
|
178
178
|
[codecov-badge]: https://codecov.io/gh/webpack/enhanced-resolve/branch/main/graph/badge.svg?token=6B6NxtsZc3
|
179
179
|
[codecov-url]: https://codecov.io/gh/webpack/enhanced-resolve
|
node_modules/eslint/README.md
CHANGED
@@ -35,7 +35,6 @@ ESLint is a tool for identifying and reporting on patterns found in ECMAScript/J
|
|
35
35
|
1. [Releases](#releases)
|
36
36
|
1. [Security Policy](#security-policy)
|
37
37
|
1. [Semantic Versioning Policy](#semantic-versioning-policy)
|
38
|
-
1. [Stylistic Rule Updates](#stylistic-rule-updates)
|
39
38
|
1. [License](#license)
|
40
39
|
1. [Team](#team)
|
41
40
|
1. [Sponsors](#sponsors)
|
@@ -57,6 +56,17 @@ After that, you can run ESLint on any file or directory like this:
|
|
57
56
|
npx eslint yourfile.js
|
58
57
|
```
|
59
58
|
|
59
|
+
### pnpm Installation
|
60
|
+
|
61
|
+
To use ESLint with pnpm, we recommend setting up a `.npmrc` file with at least the following settings:
|
62
|
+
|
63
|
+
```text
|
64
|
+
auto-install-peers=true
|
65
|
+
node-linker=hoisted
|
66
|
+
```
|
67
|
+
|
68
|
+
This ensures that pnpm installs dependencies in a way that is more compatible with npm and is less likely to produce errors.
|
69
|
+
|
60
70
|
## Configuration
|
61
71
|
|
62
72
|
You can configure rules in your `eslint.config.js` files as in this example:
|
@@ -191,15 +201,6 @@ ESLint follows [semantic versioning](https://semver.org). However, due to the na
|
|
191
201
|
|
192
202
|
According to our policy, any minor update may report more linting errors than the previous release (ex: from a bug fix). As such, we recommend using the tilde (`~`) in `package.json` e.g. `"eslint": "~3.1.0"` to guarantee the results of your builds.
|
193
203
|
|
194
|
-
## Stylistic Rule Updates
|
195
|
-
|
196
|
-
Stylistic rules are frozen according to [our policy](https://eslint.org/blog/2020/05/changes-to-rules-policies) on how we evaluate new rules and rule changes.
|
197
|
-
This means:
|
198
|
-
|
199
|
-
* **Bug fixes**: We will still fix bugs in stylistic rules.
|
200
|
-
* **New ECMAScript features**: We will also make sure stylistic rules are compatible with new ECMAScript features.
|
201
|
-
* **New options**: We will **not** add any new options to stylistic rules unless an option is the only way to fix a bug or support a newly-added ECMAScript feature.
|
202
|
-
|
203
204
|
## License
|
204
205
|
|
205
206
|
MIT License
|
@@ -318,7 +319,7 @@ to get your logo on our READMEs and [website](https://eslint.org/sponsors).
|
|
318
319
|
<h3>Platinum Sponsors</h3>
|
319
320
|
<p><a href="https://automattic.com"><img src="https://images.opencollective.com/automattic/d0ef3e1/logo.png" alt="Automattic" height="128"></a> <a href="https://www.airbnb.com/"><img src="https://images.opencollective.com/airbnb/d327d66/logo.png" alt="Airbnb" height="128"></a></p><h3>Gold Sponsors</h3>
|
320
321
|
<p><a href="https://qlty.sh/"><img src="https://images.opencollective.com/qltysh/33d157d/logo.png" alt="Qlty Software" height="96"></a> <a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a></p><h3>Silver Sponsors</h3>
|
321
|
-
<p><a href="https://
|
322
|
+
<p><a href="https://vite.dev/"><img src="https://images.opencollective.com/vite/e6d15e1/logo.png" alt="Vite" height="64"></a> <a href="https://www.jetbrains.com/"><img src="https://images.opencollective.com/jetbrains/fe76f99/logo.png" alt="JetBrains" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301" alt="American Express" height="64"></a></p><h3>Bronze Sponsors</h3>
|
322
323
|
<p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.crosswordsolver.org/anagram-solver/"><img src="https://images.opencollective.com/anagram-solver/2666271/logo.png" alt="Anagram Solver" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nolebase.ayaka.io"><img src="https://avatars.githubusercontent.com/u/11081491" alt="Neko" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a></p>
|
323
324
|
<h3>Technology Sponsors</h3>
|
324
325
|
Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.
|
@@ -19,8 +19,10 @@ const names = require('possible-typed-array-names');
|
|
19
19
|
assert(Array.isArray(names));
|
20
20
|
assert(names.every(name => (
|
21
21
|
typeof name === 'string'
|
22
|
-
&&
|
23
|
-
|
22
|
+
&& ((
|
23
|
+
typeof globalThis[name] === 'function'
|
24
|
+
&& globalThis[name].name === name
|
25
|
+
) || typeof globalThis[name] === 'undefined')
|
24
26
|
)));
|
25
27
|
```
|
26
28
|
|
node_modules/prettier/README.md
CHANGED
@@ -80,17 +80,16 @@ foo(
|
|
80
80
|
);
|
81
81
|
```
|
82
82
|
|
83
|
-
Prettier can be run [in your editor](https://prettier.io/docs/
|
83
|
+
Prettier can be run [in your editor](https://prettier.io/docs/editors) on-save, in a [pre-commit hook](https://prettier.io/docs/precommit), or in [CI environments](https://prettier.io/docs/cli#list-different) to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
|
84
84
|
|
85
85
|
---
|
86
86
|
|
87
|
-
**[Documentation](https://prettier.io/docs/
|
87
|
+
**[Documentation](https://prettier.io/docs/)**
|
88
88
|
|
89
|
-
|
90
|
-
[
|
91
|
-
[
|
92
|
-
[
|
93
|
-
[API](https://prettier.io/docs/en/api.html)
|
89
|
+
[Install](https://prettier.io/docs/install) ·
|
90
|
+
[Options](https://prettier.io/docs/options) ·
|
91
|
+
[CLI](https://prettier.io/docs/cli) ·
|
92
|
+
[API](https://prettier.io/docs/api)
|
94
93
|
|
95
94
|
**[Playground](https://prettier.io/playground/)**
|
96
95
|
|
node_modules/terser/README.md
CHANGED
@@ -647,7 +647,7 @@ console.log(result.map); // source map
|
|
647
647
|
Note that the source map is not saved in a file, it's just returned in
|
648
648
|
`result.map`. The value passed for `sourceMap.url` is only used to set
|
649
649
|
`//# sourceMappingURL=out.js.map` in `result.code`. The value of
|
650
|
-
`filename` is only used to set `file` attribute (see [the spec]
|
650
|
+
`filename` is only used to set `file` attribute (see [the spec](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k))
|
651
651
|
in source map file.
|
652
652
|
|
653
653
|
You can set option `sourceMap.url` to be `"inline"` and source map will
|
@@ -1233,7 +1233,7 @@ Terser has its own abstract syntax tree format; for
|
|
1233
1233
|
we can't easily change to using the SpiderMonkey AST internally. However,
|
1234
1234
|
Terser now has a converter which can import a SpiderMonkey AST.
|
1235
1235
|
|
1236
|
-
For example [Acorn]
|
1236
|
+
For example [Acorn](https://github.com/acornjs/acorn) is a super-fast parser that produces a
|
1237
1237
|
SpiderMonkey AST. It has a small CLI utility that parses one file and dumps
|
1238
1238
|
the AST in JSON on the standard output. To use Terser to mangle and
|
1239
1239
|
compress that:
|
@@ -1257,9 +1257,6 @@ Acorn is really fast (e.g. 250ms instead of 380ms on some 650K code), but
|
|
1257
1257
|
converting the SpiderMonkey tree that Acorn produces takes another 150ms so
|
1258
1258
|
in total it's a bit more than just using Terser's own parser.
|
1259
1259
|
|
1260
|
-
[acorn]: https://github.com/ternjs/acorn
|
1261
|
-
[sm-spec]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k
|
1262
|
-
|
1263
1260
|
### Terser Fast Minify Mode
|
1264
1261
|
|
1265
1262
|
It's not well known, but whitespace removal and symbol mangling accounts
|