Skip to content

Commit 9fb5075

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into pr/headlessNode/8021
2 parents 47852b7 + 4f0bbc6 commit 9fb5075

File tree

569 files changed

+35002
-2841
lines changed

Some content is hidden

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

569 files changed

+35002
-2841
lines changed

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191-
192-
# Cursor #
193-
##########
191+
.cursor
194192
.cursorignore
193+
.windsurfrules
194+
.clinerules
195+
196+
# AI coding agents #
197+
####################
198+
CLAUDE.md
199+
GEMINI.md

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ Frank Kovacs <[email protected]> <[email protected]>
6969

7070
# G
7171

72+
Gaurav Kaushik <[email protected]> Gauravkaushik-1206
73+
7274
GittyHarsha <[email protected]>
7375

7476
Golden Kumar <[email protected]> Golden

.npmignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,25 @@ acs-*.bib
214214
.vscode/
215215
jsconfig.json
216216

217+
# Sublime Text #
218+
################
219+
*.sublime-workspace
220+
*.sublime-project
221+
222+
# Other editor files #
223+
######################
224+
.idea/
225+
.cursor
226+
.cursorignore
227+
.windsurfrules
228+
.clinerules
229+
230+
# AI coding agents #
231+
####################
232+
CLAUDE.md
233+
GEMINI.md
234+
AGENTS.md
235+
217236
# Utilities #
218237
#############
219238
.jshintrc

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Frank Kovacs <[email protected]>
6666
GK Bishnoi <[email protected]>
6767
GURU PRASAD SHARMA <[email protected]>
6868
69+
Gaurav Kaushik <[email protected]>
6970
Gautam Kaushik <[email protected]>
7071
Gautam sharma <[email protected]>
7172

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Thank you for being a part of our community! Your support is invaluable to us!
7979

8080
- [**Google Calendar**][stdlib-public-calendar]: calendar of public events, including [open office hours][stdlib-office-hours].
8181
- [**Open Collective**][open-collective-stdlib]: financially support the project.
82-
- [**Twitter**][stdlib-twitter]: follow us on social media.
82+
- [**Bluesky**][stdlib-bluesky]: follow us on social media.
8383
- [**Gitter**][stdlib-gitter]: chat with project maintainers and other community members.
8484

8585
## Features
@@ -600,6 +600,29 @@ Does your organization use stdlib? If so, we'd love to hear from you!
600600
601601
<!-- /.users -->
602602
603+
<!-- Google Summer of Code -->
604+
605+
* * *
606+
607+
<section class="gsoc">
608+
609+
## Google Summer of Code
610+
611+
stdlib is a proud participant in the Google Summer of Code program. If you are new to open source and want to learn more about how to participate, be sure to check out our [Google Summer of Code resources][stdlib-gsoc] and the stdlib [wiki][stdlib-wiki] for details on past projects!
612+
613+
<div class="image" align="center">
614+
<br>
615+
<a href="https://summerofcode.withgoogle.com">
616+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@9eb11556f417ea8706c2f57719bb725f78466680/docs/assets/misc/gsoc_logo.png" alt="Google Summer of Code">
617+
</a>
618+
<br>
619+
<br>
620+
</div>
621+
622+
</section>
623+
624+
<!-- /.gsoc -->
625+
603626
<!-- Project funding acknowledgments. If acknowledgments are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
604627
605628
* * *
@@ -815,10 +838,16 @@ Test and build infrastructure is generously provided by the following services:
815838
816839
[open-collective-stdlib]: https://opencollective.com/stdlib
817840
818-
[stdlib-twitter]: https://twitter.com/stdlibjs
841+
<!-- [stdlib-twitter]: https://twitter.com/stdlibjs -->
842+
843+
[stdlib-bluesky]: https://bsky.app/profile/stdlib.io
819844
820845
[stdlib-gitter]: https://gitter.im/stdlib-js/stdlib
821846
847+
[stdlib-gsoc]: https://github.com/stdlib-js/google-summer-of-code
848+
849+
[stdlib-wiki]: https://github.com/stdlib-js/stdlib/wiki
850+
822851
[@stdlib/math/base/special]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special
823852
824853
[@stdlib/stats/base/dists]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists

docs/assets/misc/gsoc_logo.png

17.3 KB
Loading

docs/assets/misc/gsoc_logo.svg

Lines changed: 38 additions & 0 deletions
Loading

etc/eslint/overrides/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ var overrides = [
9191
'no-restricted-syntax': restrictedSyntaxConfig,
9292
'require-jsdoc': 'off',
9393
'stdlib/jsdoc-private-annotation': 'off',
94-
'stdlib/jsdoc-doctest': 'off'
94+
'stdlib/jsdoc-doctest': 'off',
95+
'stdlib/no-unnecessary-nested-functions': 'off'
9596
}
9697
},
9798
{
@@ -103,6 +104,7 @@ var overrides = [
103104
'require-jsdoc': 'off',
104105
'stdlib/jsdoc-private-annotation': 'off',
105106
'stdlib/jsdoc-doctest': 'off',
107+
'stdlib/no-unnecessary-nested-functions': 'off',
106108
'stdlib/vars-order': 'off'
107109
}
108110
},
@@ -120,6 +122,7 @@ var overrides = [
120122
'require-jsdoc': 'off',
121123
'stdlib/jsdoc-private-annotation': 'off',
122124
'stdlib/jsdoc-doctest': 'off',
125+
'stdlib/no-unnecessary-nested-functions': 'off',
123126
'no-undefined': 'off'
124127
}
125128
},
@@ -155,6 +158,7 @@ var overrides = [
155158
'require-jsdoc': 'off',
156159
'stdlib/jsdoc-private-annotation': 'off',
157160
'stdlib/jsdoc-return-annotations-values': 'off',
161+
'stdlib/no-unnecessary-nested-functions': 'off',
158162
'stdlib/return-annotations-values': 'off',
159163
'strict': 'off',
160164
'vars-on-top': 'off',

etc/eslint/rules/stdlib.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4334,6 +4334,45 @@ rules[ 'stdlib/no-dynamic-exports' ] = 'error';
43344334
*/
43354335
rules[ 'stdlib/no-nested-require' ] = 'error';
43364336

4337+
/**
4338+
* Enforce moving inner function declarations to the highest possible scope.
4339+
*
4340+
* @name no-unnecessary-nested-functions
4341+
* @memberof rules
4342+
* @type {string}
4343+
* @default 'error'
4344+
*
4345+
* @example
4346+
* // Bad...
4347+
* function outer() {
4348+
* function inner() {
4349+
* return 42;
4350+
* }
4351+
* return inner();
4352+
* }
4353+
*
4354+
* @example
4355+
* // Good...
4356+
* function inner() {
4357+
* return 42;
4358+
* }
4359+
*
4360+
* function outer() {
4361+
* return inner();
4362+
* }
4363+
*
4364+
* @example
4365+
* // Good (uses outer scope variable)...
4366+
* function outer( x ) {
4367+
* var multiplier = 2;
4368+
* function inner() {
4369+
* return x * multiplier;
4370+
* }
4371+
* return inner();
4372+
* }
4373+
*/
4374+
rules[ 'stdlib/no-unnecessary-nested-functions' ] = 'off'; // FIXME: re-enable once we figured out the bug/patch
4375+
43374376
/**
43384377
* Disallow the use of the `new Array()` constructor.
43394378
*

0 commit comments

Comments
 (0)