From 3edca46bf12acf50fc8f10a22fc3d10929d13189 Mon Sep 17 00:00:00 2001 From: orthodox-64 Date: Fri, 15 May 2026 03:41:15 +0530 Subject: [PATCH 1/3] feat: add plot/vega/mark/symbol/shapes --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../plot/vega/mark/symbol/shapes/README.md | 117 ++++++++++++++++++ .../mark/symbol/shapes/benchmark/benchmark.js | 48 +++++++ .../vega/mark/symbol/shapes/docs/repl.txt | 17 +++ .../mark/symbol/shapes/docs/types/index.d.ts | 35 ++++++ .../mark/symbol/shapes/docs/types/test.ts | 32 +++++ .../vega/mark/symbol/shapes/examples/index.js | 40 ++++++ .../vega/mark/symbol/shapes/lib/data.json | 14 +++ .../plot/vega/mark/symbol/shapes/lib/index.js | 40 ++++++ .../plot/vega/mark/symbol/shapes/lib/main.js | 44 +++++++ .../plot/vega/mark/symbol/shapes/package.json | 65 ++++++++++ .../plot/vega/mark/symbol/shapes/test/test.js | 57 +++++++++ 11 files changed, 509 insertions(+) create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/README.md create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/examples/index.js create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/data.json create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/index.js create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/main.js create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/package.json create mode 100644 lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/test/test.js diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/README.md b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/README.md new file mode 100644 index 000000000000..7ea6ec0ecaa6 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/README.md @@ -0,0 +1,117 @@ + + +# symbolMarkShapes + +> List of supported Vega symbol mark shapes. + + + +
+ +
+ + + + + +
+ +## Usage + +```javascript +var symbolMarkShapes = require( '@stdlib/plot/vega/mark/symbol/shapes' ); +``` + +#### symbolMarkShapes() + +Returns a list of symbol mark shapes. + +```javascript +var out = symbolMarkShapes(); +// returns [ 'circle', 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left', 'stroke', 'arrow', 'wedge', 'triangle' ] +``` + +
+ + + + + +
+ +
+ + + + + +
+ +## Examples + + + +```javascript +var contains = require( '@stdlib/array/base/assert/contains' ).factory; +var symbolMarkShapes = require( '@stdlib/plot/vega/mark/symbol/shapes' ); + +var isSymbolMarkShape = contains( symbolMarkShapes() ); + +var bool = isSymbolMarkShape( 'circle' ); +// returns true + +bool = isSymbolMarkShape( 'diamond' ); +// returns true + +bool = isSymbolMarkShape( 'beep' ); +// returns false + +bool = isSymbolMarkShape( 'boop' ); +// returns false +``` + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/benchmark/benchmark.js new file mode 100644 index 000000000000..9b8b8cfe983c --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/benchmark/benchmark.js @@ -0,0 +1,48 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var bench = require( '@stdlib/bench' ); +var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives; +var pkg = require( './../package.json' ).name; +var symbolMarkShapes = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var out; + var i; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + out = symbolMarkShapes(); + if ( out.length < 2 ) { + b.fail( 'should return an array' ); + } + } + b.toc(); + if ( !isStringArray( out ) ) { + b.fail( 'should return an array of strings' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/repl.txt new file mode 100644 index 000000000000..d51205b1bbec --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/repl.txt @@ -0,0 +1,17 @@ + +{{alias}}() + Returns a list of symbol mark shapes. + + Returns + ------- + out: Array + List of symbol mark shapes. + + Examples + -------- + > var out = {{alias}}() + [ 'circle', 'square', 'cross', ... ] + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/index.d.ts new file mode 100644 index 000000000000..b45d90c1c829 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/index.d.ts @@ -0,0 +1,35 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +// TypeScript Version: 4.1 + +/** +* Returns a list of symbol mark shapes. +* +* @returns list of symbol mark shapes +* +* @example +* var list = symbolMarkShapes(); +* // returns [ 'circle', 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left', 'stroke', 'arrow', 'wedge', 'triangle' ] +*/ +declare function symbolMarkShapes(): Array; + + +// EXPORTS // + +export = symbolMarkShapes; diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/test.ts new file mode 100644 index 000000000000..8761c7ffd499 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/test.ts @@ -0,0 +1,32 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +import symbolMarkShapes = require( './index' ); + + +// TESTS // + +// The function returns an array of strings... +{ + symbolMarkShapes(); // $ExpectType string[] +} + +// The compiler throws an error if the function is provided any arguments... +{ + symbolMarkShapes( 9 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/examples/index.js b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/examples/index.js new file mode 100644 index 000000000000..9ddacc3d148b --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/examples/index.js @@ -0,0 +1,40 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var contains = require( '@stdlib/array/base/assert/contains' ).factory; +var symbolMarkShapes = require( './../lib' ); + +var isSymbolMarkShape = contains( symbolMarkShapes() ); + +var bool = isSymbolMarkShape( 'circle' ); +console.log( bool ); +// => true + +bool = isSymbolMarkShape( 'diamond' ); +console.log( bool ); +// => true + +bool = isSymbolMarkShape( 'beep' ); +console.log( bool ); +// => false + +bool = isSymbolMarkShape( 'boop' ); +console.log( bool ); +// => false diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/data.json b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/data.json new file mode 100644 index 000000000000..57321a8f1710 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/data.json @@ -0,0 +1,14 @@ +[ + "circle", + "square", + "cross", + "diamond", + "triangle-up", + "triangle-down", + "triangle-right", + "triangle-left", + "stroke", + "arrow", + "wedge", + "triangle" +] diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/index.js b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/index.js new file mode 100644 index 000000000000..83845619a4f7 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/index.js @@ -0,0 +1,40 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +/** +* Return a list of symbol mark shapes. +* +* @module @stdlib/plot/vega/mark/symbol/shapes +* +* @example +* var symbolMarkShapes = require( '@stdlib/plot/vega/mark/symbol/shapes' ); +* +* var out = symbolMarkShapes(); +* // returns [ 'circle', 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left', 'stroke', 'arrow', 'wedge', 'triangle' ] +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/main.js b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/main.js new file mode 100644 index 000000000000..64a611d8e373 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/main.js @@ -0,0 +1,44 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var DATA = require( './data.json' ); + + +// MAIN // + +/** +* Returns a list of symbol mark shapes. +* +* @returns {StringArray} list of symbol mark shapes +* +* @example +* var out = shapes(); +* // returns [ 'circle', 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left', 'stroke', 'arrow', 'wedge', 'triangle' ] +*/ +function shapes() { + return DATA.slice(); +} + + +// EXPORTS // + +module.exports = shapes; diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/package.json b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/package.json new file mode 100644 index 000000000000..b6801141e39b --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/package.json @@ -0,0 +1,65 @@ +{ + "name": "@stdlib/plot/vega/mark/symbol/shapes", + "version": "0.0.0", + "description": "List of supported Vega symbol mark shapes.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "directories": { + "benchmark": "./benchmark", + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "plot", + "vega", + "mark", + "symbol", + "shape", + "shapes", + "utilities", + "utility", + "utils", + "util" + ], + "__stdlib__": {} +} diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/test/test.js b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/test/test.js new file mode 100644 index 000000000000..d19630838d3d --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/test/test.js @@ -0,0 +1,57 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var symbolMarkShapes = require( './../lib' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof symbolMarkShapes, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function returns a list of symbol mark shapes', function test( t ) { + var expected; + var actual; + + expected = [ + 'circle', + 'square', + 'cross', + 'diamond', + 'triangle-up', + 'triangle-down', + 'triangle-right', + 'triangle-left', + 'stroke', + 'arrow', + 'wedge', + 'triangle' + ]; + actual = symbolMarkShapes(); + + t.deepEqual( actual, expected, 'returns expected value' ); + t.end(); +}); From 4eb65940fbff43ca580b1559ec57bdd1d918355e Mon Sep 17 00:00:00 2001 From: orthodox-64 Date: Fri, 15 May 2026 13:52:48 +0530 Subject: [PATCH 2/3] chore: suggested changes --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../@stdlib/plot/vega/mark/symbol/shapes/README.md | 2 +- .../plot/vega/mark/symbol/shapes/docs/repl.txt | 2 +- .../vega/mark/symbol/shapes/docs/types/index.d.ts | 2 +- .../plot/vega/mark/symbol/shapes/lib/data.json | 14 +++++++------- .../plot/vega/mark/symbol/shapes/lib/main.js | 2 +- .../plot/vega/mark/symbol/shapes/test/test.js | 14 +++++++------- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/README.md b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/README.md index 7ea6ec0ecaa6..75fd05b989b4 100644 --- a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/README.md +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/README.md @@ -46,7 +46,7 @@ Returns a list of symbol mark shapes. ```javascript var out = symbolMarkShapes(); -// returns [ 'circle', 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left', 'stroke', 'arrow', 'wedge', 'triangle' ] +// returns [ 'arrow', 'circle', 'cross', 'diamond', 'square', 'stroke', 'triangle', 'triangle-down', 'triangle-left', 'triangle-right', 'triangle-up', 'wedge' ] ``` diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/repl.txt index d51205b1bbec..8c5c84b97b11 100644 --- a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/repl.txt +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/repl.txt @@ -10,7 +10,7 @@ Examples -------- > var out = {{alias}}() - [ 'circle', 'square', 'cross', ... ] + [ 'arrow', 'circle', 'cross', ... ] See Also -------- diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/index.d.ts index b45d90c1c829..c8c7b9ea7dfe 100644 --- a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/docs/types/index.d.ts @@ -25,7 +25,7 @@ * * @example * var list = symbolMarkShapes(); -* // returns [ 'circle', 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left', 'stroke', 'arrow', 'wedge', 'triangle' ] +* // returns [ 'arrow', 'circle', 'cross', 'diamond', 'square', 'stroke', 'triangle', 'triangle-down', 'triangle-left', 'triangle-right', 'triangle-up', 'wedge' ] */ declare function symbolMarkShapes(): Array; diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/data.json b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/data.json index 57321a8f1710..74023d325f40 100644 --- a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/data.json +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/data.json @@ -1,14 +1,14 @@ [ + "arrow", "circle", - "square", "cross", "diamond", - "triangle-up", + "square", + "stroke", + "triangle", "triangle-down", - "triangle-right", "triangle-left", - "stroke", - "arrow", - "wedge", - "triangle" + "triangle-right", + "triangle-up", + "wedge" ] diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/main.js b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/main.js index 64a611d8e373..8f7039821f82 100644 --- a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/main.js +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/main.js @@ -32,7 +32,7 @@ var DATA = require( './data.json' ); * * @example * var out = shapes(); -* // returns [ 'circle', 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left', 'stroke', 'arrow', 'wedge', 'triangle' ] +* // returns [ 'arrow', 'circle', 'cross', 'diamond', 'square', 'stroke', 'triangle', 'triangle-down', 'triangle-left', 'triangle-right', 'triangle-up', 'wedge' ] */ function shapes() { return DATA.slice(); diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/test/test.js b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/test/test.js index d19630838d3d..f3f225698cd3 100644 --- a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/test/test.js +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/test/test.js @@ -37,18 +37,18 @@ tape( 'the function returns a list of symbol mark shapes', function test( t ) { var actual; expected = [ + 'arrow', 'circle', - 'square', 'cross', 'diamond', - 'triangle-up', + 'square', + 'stroke', + 'triangle', 'triangle-down', - 'triangle-right', 'triangle-left', - 'stroke', - 'arrow', - 'wedge', - 'triangle' + 'triangle-right', + 'triangle-up', + 'wedge' ]; actual = symbolMarkShapes(); From 3d2b03b6602fd9a075ab2c7d56adf86fb15153ea Mon Sep 17 00:00:00 2001 From: orthodox-64 Date: Fri, 15 May 2026 13:58:16 +0530 Subject: [PATCH 3/3] chore: fix lint --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/plot/vega/mark/symbol/shapes/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/index.js b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/index.js index 83845619a4f7..28ff260476ff 100644 --- a/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/index.js +++ b/lib/node_modules/@stdlib/plot/vega/mark/symbol/shapes/lib/index.js @@ -27,7 +27,7 @@ * var symbolMarkShapes = require( '@stdlib/plot/vega/mark/symbol/shapes' ); * * var out = symbolMarkShapes(); -* // returns [ 'circle', 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left', 'stroke', 'arrow', 'wedge', 'triangle' ] +* // returns [ 'arrow', 'circle', 'cross', 'diamond', 'square', 'stroke', 'triangle', 'triangle-down', 'triangle-left', 'triangle-right', 'triangle-up', 'wedge' ] */ // MODULES //