Linting failures were detected in the automated JavaScript lint workflow run.
make[1]: Entering directory '/home/runner/work/stdlib/stdlib'
Linting file: lib/node_modules/@stdlib/_tools/pkgs/name2bucket/examples/index.js
Linting file: lib/node_modules/@stdlib/utils/append/examples/index.js
Linting file: lib/node_modules/@stdlib/ndarray/reject/examples/index.js
Linting file: lib/node_modules/@stdlib/stats/strided/varianceyc/examples/index.js
Linting file: lib/node_modules/@stdlib/random/streams/lognormal/examples/index.js
Linting file: lib/node_modules/@stdlib/number/float16/base/ulp-difference/examples/index.js
Linting file: lib/node_modules/@stdlib/strided/base/quaternary/examples/index.js
Linting file: lib/node_modules/@stdlib/datasets/us-states-names/examples/index.js
Linting file: lib/node_modules/@stdlib/utils/if-then/examples/index.js
Linting file: lib/node_modules/@stdlib/array/base/assert/is-booleanarray/examples/index.js
Linting file: lib/node_modules/@stdlib/blas/base/wasm/ddot/examples/module.js
Linting file: lib/node_modules/@stdlib/_tools/docs/www/test-bundles/examples/index.js
Oops! Something went wrong! :(
ESLint: 8.57.1
[SyntaxError: 'import' and 'export' may appear only with 'sourceType: module'] {
message: "'import' and 'export' may appear only with 'sourceType: module'",
line: 1,
column: 1,
annotated: '\n' +
'/home/runner/work/stdlib/stdlib/node_modules/yaml/browser/dist/index.js:1\n' +
"import { parse as parse$1 } from './parse-cst.js';\n" +
'^\n' +
"ParseError: 'import' and 'export' may appear only with 'sourceType: module'",
stream: Labeled {
_readableState: ReadableState {
objectMode: true,
highWaterMark: 16,
buffer: BufferList { length: 0 },
length: 0,
pipes: Labeled {
_readableState: ReadableState {
objectMode: true,
highWaterMark: 16,
buffer: BufferList { length: 0 },
length: 0,
pipes: [Labeled],
pipesCount: 1,
flowing: true,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
destroyed: false,
defaultEncoding: 'utf8',
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null
},
readable: true,
_events: [Object: null prototype] {
end: [Array],
finish: [Array],
error: [Array],
unpipe: [Function],
drain: [Function],
close: [Function],
data: [Function],
_mutate: [Function]
},
_eventsCount: 8,
_maxListeners: undefined,
_writableState: WritableState {
objectMode: true,
highWaterMark: 16,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: false,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: [CorkedRequest],
[buffer]: [Getter]
},
writable: true,
allowHalfOpen: true,
_options: { objectMode: true },
_wrapOptions: { objectMode: true },
_streams: [ [DestroyableTransform], [length]: 1 ],
length: 1,
label: 'sort',
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false,
_writev: null,
[writableHighWaterMark]: [Getter],
[destroyed]: [Getter/Setter]
},
pipesCount: 1,
flowing: true,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
destroyed: false,
defaultEncoding: 'utf8',
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null
},
readable: true,
_events: [Object: null prototype] {
end: [
[Function: bound onceWrapper] {
[length]: 0,
[name]: 'bound onceWrapper',
listener: [Function]
},
[Function: bound onceWrapper] {
[length]: 0,
[name]: 'bound onceWrapper',
listener: [Function]
},
[Function: bound onceWrapper] {
[length]: 0,
[name]: 'bound onceWrapper',
listener: [Function]
},
[length]: 3
],
finish: [Function: bound onceWrapper] {
[length]: 0,
[name]: 'bound onceWrapper',
listener: [Function (anonymous)] {
[length]: 0,
[name]: '',
[arguments]: null,
[caller]: null,
[prototype]: [Object]
}
},
error: <ref *1> [Function (anonymous)] {
[length]: 1,
[name]: '',
[arguments]: null,
[caller]: null,
[prototype]: { [constructor]: [Circular *1] }
},
unpipe: undefined,
drain: undefined,
close: undefined,
data: <ref *2> [Function: ondata] {
[length]: 1,
[name]: 'ondata',
[prototype]: { [constructor]: [Circular *2] }
},
_mutate: [Function: bound onceWrapper] {
[length]: 0,
[name]: 'bound onceWrapper',
listener: [Function: onreadable] {
[length]: 0,
[name]: 'onreadable',
[arguments]: null,
[caller]: null,
[prototype]: [Object]
}
}
},
_eventsCount: 5,
_maxListeners: undefined,
_writableState: WritableState {
objectMode: true,
highWaterMark: 16,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 1,
writing: true,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: <ref *3> [Function (anonymous)] {
[length]: 1,
[name]: '',
[prototype]: { [constructor]: [Circular *3] }
},
writecb: <ref *4> [Function: nop] {
[length]: 0,
[name]: 'nop',
[prototype]: { [constructor]: [Circular *4] }
},
writelen: 1,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 1,
prefinished: false,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: CorkedRequest {
next: null,
entry: null,
finish: [Function (anonymous)] {
[length]: 0,
[name]: '',
[prototype]: [Object]
}
},
[buffer]: [Getter]
},
writable: true,
allowHalfOpen: true,
_options: { objectMode: true },
_wrapOptions: { objectMode: true },
_streams: [
DestroyableTransform {
_readableState: ReadableState {
objectMode: true,
highWaterMark: 16,
buffer: BufferList { length: 0 },
length: 0,
pipes: null,
pipesCount: 0,
flowing: null,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: true,
resumeScheduled: false,
destroyed: false,
defaultEncoding: 'utf8',
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null
},
readable: true,
_events: [Object: null prototype] {
end: [Array],
prefinish: [Function],
error: [Function],
readable: [Function]
},
_eventsCount: 4,
_maxListeners: undefined,
_writableState: WritableState {
objectMode: true,
highWaterMark: 16,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: false,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree: [CorkedRequest],
[buffer]: [Getter]
},
writable: true,
allowHalfOpen: true,
_transformState: {
afterTransform: [Function],
needTransform: true,
transforming: true,
writecb: [Function],
writechunk: [Object],
writeencoding: 'utf8'
},
_destroyed: false,
_transform: [Function (anonymous)] {
[length]: 3,
[name]: '',
[arguments]: null,
[caller]: null,
[prototype]: [Object]
},
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false,
_writev: null,
[writableHighWaterMark]: [Getter],
[destroyed]: [Getter/Setter]
},
[length]: 1
],
length: 1,
label: 'syntax',
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false,
_writev: null,
[writableHighWaterMark]: [Getter],
[destroyed]: [Getter/Setter]
}
}
Linting failed.
Linting file: lib/node_modules/@stdlib/utils/define-write-only-accessor/examples/index.js
make[1]: *** [/home/runner/work/stdlib/stdlib/tools/make/lib/lint/javascript/eslint.mk:261: eslint-files] Error 1
make[1]: Leaving directory '/home/runner/work/stdlib/stdlib'
make: *** [/home/runner/work/stdlib/stdlib/tools/make/lib/lint/javascript/Makefile:158: lint-javascript-files] Error 2
JavaScript Linting Failures
Linting failures were detected in the automated JavaScript lint workflow run.
Workflow Details
Error Details
Pull Request Instructions
"chore: fix JavaScript lint errors (issue #<ISSUE_NUMBER>)".