From e24368cb4cb177e8da30f58aa0d5fc5d109cd9a2 Mon Sep 17 00:00:00 2001 From: gururaj1512 Date: Sat, 25 Apr 2026 01:55:24 +0530 Subject: [PATCH 1/2] feat: add plot/vega/base/assert/is-aggregate-facet-transform --- .../is-aggregate-facet-transform/README.md | 121 ++++++++++++++++++ .../benchmark/benchmark.js | 93 ++++++++++++++ .../docs/repl.txt | 25 ++++ .../docs/types/index.d.ts | 45 +++++++ .../docs/types/test.ts | 34 +++++ .../examples/index.js | 35 +++++ .../is-aggregate-facet-transform/lib/index.js | 48 +++++++ .../is-aggregate-facet-transform/lib/main.js | 64 +++++++++ .../is-aggregate-facet-transform/package.json | 70 ++++++++++ .../is-aggregate-facet-transform/test/test.js | 82 ++++++++++++ 10 files changed, 617 insertions(+) create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/README.md create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/examples/index.js create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/index.js create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/main.js create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/package.json create mode 100644 lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/test/test.js diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/README.md new file mode 100644 index 000000000000..162f4557cca9 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/README.md @@ -0,0 +1,121 @@ + + +# isAggregateFacetTransform + +> Test if an input value is a [aggregate-facet transform][@stdlib/plot/vega/transform/]. + + + +
+ +
+ + + + + +
+ +## Usage + +```javascript +var isAggregateFacetTransform = require( '@stdlib/plot/vega/base/assert/is-aggregate-facet-transform' ); +``` + +#### isAggregateFacetTransform( value ) + +Tests if an input value is a [aggregate-facet transform][@stdlib/plot/vega/transform/]. + +```javascript +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); + +var v = new AggregateFacetTransform(); +var bool = isAggregateFacetTransform( v ); +// returns true + +bool = isAggregateFacetTransform( 'foo' ); +// returns false +``` + +
+ + + + + +
+ +
+ + + + + +
+ +## Examples + + + +```javascript +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var isAggregateFacetTransform = require( '@stdlib/plot/vega/base/assert/is-aggregate-facet-transform' ); + +var v = new AggregateFacetTransform(); +var bool = isAggregateFacetTransform( v ); +// returns true + +bool = isAggregateFacetTransform( {} ); +// returns false + +bool = isAggregateFacetTransform( 'foo' ); +// returns false +``` + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/benchmark/benchmark.js new file mode 100644 index 000000000000..5b6ba2c93e33 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/benchmark/benchmark.js @@ -0,0 +1,93 @@ +/** +* @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 isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var pkg = require( './../package.json' ).name; +var isAggregateFacetTransform = require( './../lib' ); + + +// MAIN // + +bench( pkg+'::true', function benchmark( b ) { + var values; + var out; + var v; + var i; + + values = [ + new AggregateFacetTransform(), + new AggregateFacetTransform({ + 'as': [ 'sum_field', 'average_field' ], + 'ops': [ 'sum', 'average' ], + 'cross': false + }) + ]; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = values[ i%values.length ]; + out = isAggregateFacetTransform( v ); + if ( typeof out !== 'boolean' ) { + b.fail( 'should return a boolean' ); + } + } + b.toc(); + if ( !isBoolean( out ) ) { + b.fail( 'should return a boolean' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); + +bench( pkg+'::false', function benchmark( b ) { + var values; + var out; + var v; + var i; + + values = [ + 'foo', + 'bar', + '', + 'beep', + 'boop', + [], + {} + ]; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = values[ i%values.length ]; + out = isAggregateFacetTransform( v ); + if ( typeof out !== 'boolean' ) { + b.fail( 'should return a boolean' ); + } + } + b.toc(); + if ( !isBoolean( out ) ) { + b.fail( 'should return a boolean' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/repl.txt new file mode 100644 index 000000000000..1bcb8c914fbf --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/repl.txt @@ -0,0 +1,25 @@ + +{{alias}}( value ) + Tests if an input value is a aggregate-facet transform instance. + + Parameters + ---------- + value: any + Value to test. + + Returns + ------- + bool: boolean + Boolean indicating if an input value is a aggregate-facet transform instance. + + Examples + -------- + > var v = new {{alias:@stdlib/plot/vega/transform/}}( ); + > var bool = {{alias}}( v ) + true + > bool = {{alias}}( {} ) + false + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/index.d.ts new file mode 100644 index 000000000000..98fa4670f141 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/index.d.ts @@ -0,0 +1,45 @@ +/* +* @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 + +/** +* Tests whether an input value is a aggregate-facet transform instance. +* +* @param v - value to test +* @returns boolean indicating whether an input value is a aggregate-facet transform instance +* +* @example +* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +* +* var v = new AggregateFacetTransform(); +* var bool = isAggregateFacetTransform( v ); +* // returns true +* +* bool = isAggregateFacetTransform( {} ); +* // returns false +* +* bool = isAggregateFacetTransform( 'foo' ); +* // returns false +*/ +declare function isAggregateFacetTransform( v: any ): boolean; + + +// EXPORTS // + +export = isAggregateFacetTransform; diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/test.ts new file mode 100644 index 000000000000..4425591816eb --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/test.ts @@ -0,0 +1,34 @@ +/* +* @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 isAggregateFacetTransform = require( './index' ); + + +// TESTS // + +// The function returns a boolean... +{ + isAggregateFacetTransform( {} ); // $ExpectType boolean + isAggregateFacetTransform( 'foo' ); // $ExpectType boolean +} + +// The compiler throws an error if the function is provided an unsupported number of arguments... +{ + isAggregateFacetTransform(); // $ExpectError + isAggregateFacetTransform( undefined, 123 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/examples/index.js new file mode 100644 index 000000000000..87d35bbf63f8 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/examples/index.js @@ -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. +*/ + +'use strict'; + +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var isAggregateFacetTransform = require( './../lib' ); + +var v = new AggregateFacetTransform(); +var bool = isAggregateFacetTransform( v ); +console.log( bool ); +// => true + +bool = isAggregateFacetTransform( {} ); +console.log( bool ); +// => false + +bool = isAggregateFacetTransform( 'foo' ); +console.log( bool ); +// => false diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/index.js new file mode 100644 index 000000000000..b76f042424bc --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/index.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'; + +/** +* Test whether an input value is a aggregate-facet transform instance. +* +* @module @stdlib/plot/vega/base/assert/is-aggregate-facet-transform +* +* @example +* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +* var isAggregateFacetTransform = require( '@stdlib/plot/vega/base/assert/is-aggregate-facet-transform' ); +* +* var v = new AggregateFacetTransform(); +* var bool = isAggregateFacetTransform( v ); +* // returns true +* +* bool = isAggregateFacetTransform( {} ); +* // returns false +* +* bool = isAggregateFacetTransform( 'foo' ); +* // returns false +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/main.js new file mode 100644 index 000000000000..782dd9b69826 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/main.js @@ -0,0 +1,64 @@ +/** +* @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 isObject = require( '@stdlib/assert/is-object' ); +var hasProp = require( '@stdlib/assert/has-property' ); +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); + + +// MAIN // + +/** +* Tests whether an input value is a aggregate-facet transform instance. +* +* @param {*} value - value to test +* @returns {boolean} boolean indicating whether an input value is a aggregate-facet transform instance +* +* @example +* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +* +* var v = new AggregateFacetTransform(); +* var bool = isAggregateFacetTransform( v ); +* // returns true +* +* bool = isAggregateFacetTransform( {} ); +* // returns false +* +* bool = isAggregateFacetTransform( 'foo' ); +* // returns false +*/ +function isAggregateFacetTransform( value ) { + return ( + value instanceof AggregateFacetTransform || + + // The following is a set of rather imperfect heuristics for handling instances originating in a different realm... + ( + isObject( value ) && + hasProp( value, 'cross' ) + ) + ); +} + + +// EXPORTS // + +module.exports = isAggregateFacetTransform; diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/package.json b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/package.json new file mode 100644 index 000000000000..3a931df42d9f --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/package.json @@ -0,0 +1,70 @@ +{ + "name": "@stdlib/plot/vega/base/assert/is-aggregate-facet-transform", + "version": "0.0.0", + "description": "Test if an input value is a aggregate-facet transform instance.", + "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", + "base", + "vega", + "utilities", + "utility", + "utils", + "util", + "assert", + "test", + "check", + "is", + "valid", + "validate", + "validation", + "isvalid" + ], + "__stdlib__": {} +} diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/test/test.js new file mode 100644 index 000000000000..0d66084d8a0d --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/test/test.js @@ -0,0 +1,82 @@ +/** +* @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 AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var isAggregateFacetTransform = require( './../lib' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof isAggregateFacetTransform, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function returns `true` if provided a field instance', function test( t ) { + var values; + var bool; + var i; + + values = [ + new AggregateFacetTransform(), + new AggregateFacetTransform({ + 'as': [ 'sum_field', 'average_field' ], + 'ops': [ 'sum', 'average' ], + 'cross': false + }) + ]; + for ( i = 0; i < values.length; i++ ) { + bool = isAggregateFacetTransform( values[ i ] ); + t.strictEqual( bool, true, 'returns expected value when provided '+values[ i ] ); + } + t.end(); +}); + +tape( 'the function returns `false` if not provided a field instance', function test( t ) { + var values; + var bool; + var i; + + values = [ + '', + 'beep', + 'boop', + 'foo', + 'bar', + 5, + NaN, + true, + false, + null, + void 0, + [], + {}, + function noop() {} + ]; + for ( i = 0; i < values.length; i++ ) { + bool = isAggregateFacetTransform( values[ i ] ); + t.strictEqual( bool, false, 'returns expected value when provided '+values[ i ] ); + } + t.end(); +}); From bc89b41494e693ae4351a0010531eef67ea0fc33 Mon Sep 17 00:00:00 2001 From: gururaj1512 Date: Sat, 25 Apr 2026 02:01:07 +0530 Subject: [PATCH 2/2] fix: update import paths --- .../base/assert/is-aggregate-facet-transform/README.md | 10 +++++----- .../benchmark/benchmark.js | 2 +- .../assert/is-aggregate-facet-transform/docs/repl.txt | 2 +- .../is-aggregate-facet-transform/docs/types/index.d.ts | 2 +- .../is-aggregate-facet-transform/examples/index.js | 2 +- .../assert/is-aggregate-facet-transform/lib/index.js | 2 +- .../assert/is-aggregate-facet-transform/lib/main.js | 4 ++-- .../assert/is-aggregate-facet-transform/test/test.js | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/README.md b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/README.md index 162f4557cca9..c632db30de99 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/README.md +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/README.md @@ -20,7 +20,7 @@ limitations under the License. # isAggregateFacetTransform -> Test if an input value is a [aggregate-facet transform][@stdlib/plot/vega/transform/]. +> Test if an input value is a [aggregate-facet transform][@stdlib/plot/vega/transform/aggregate-facet]. @@ -42,10 +42,10 @@ var isAggregateFacetTransform = require( '@stdlib/plot/vega/base/assert/is-aggre #### isAggregateFacetTransform( value ) -Tests if an input value is a [aggregate-facet transform][@stdlib/plot/vega/transform/]. +Tests if an input value is a [aggregate-facet transform][@stdlib/plot/vega/transform/aggregate-facet]. ```javascript -var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); var v = new AggregateFacetTransform(); var bool = isAggregateFacetTransform( v ); @@ -76,7 +76,7 @@ bool = isAggregateFacetTransform( 'foo' ); ```javascript -var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); var isAggregateFacetTransform = require( '@stdlib/plot/vega/base/assert/is-aggregate-facet-transform' ); var v = new AggregateFacetTransform(); @@ -114,7 +114,7 @@ bool = isAggregateFacetTransform( 'foo' ); diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/benchmark/benchmark.js index 5b6ba2c93e33..071846f35c20 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/benchmark/benchmark.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; -var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); var pkg = require( './../package.json' ).name; var isAggregateFacetTransform = require( './../lib' ); diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/repl.txt index 1bcb8c914fbf..395c06c91e83 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/repl.txt +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/repl.txt @@ -14,7 +14,7 @@ Examples -------- - > var v = new {{alias:@stdlib/plot/vega/transform/}}( ); + > var v = new {{alias:@stdlib/plot/vega/transform/aggregate-facet}}( ); > var bool = {{alias}}( v ) true > bool = {{alias}}( {} ) diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/index.d.ts index 98fa4670f141..01ef4e9cc632 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/docs/types/index.d.ts @@ -25,7 +25,7 @@ * @returns boolean indicating whether an input value is a aggregate-facet transform instance * * @example -* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); * * var v = new AggregateFacetTransform(); * var bool = isAggregateFacetTransform( v ); diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/examples/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/examples/index.js index 87d35bbf63f8..fc9041436ca5 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/examples/index.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/examples/index.js @@ -18,7 +18,7 @@ 'use strict'; -var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); var isAggregateFacetTransform = require( './../lib' ); var v = new AggregateFacetTransform(); diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/index.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/index.js index b76f042424bc..ee1e5c488026 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/index.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/index.js @@ -24,7 +24,7 @@ * @module @stdlib/plot/vega/base/assert/is-aggregate-facet-transform * * @example -* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); * var isAggregateFacetTransform = require( '@stdlib/plot/vega/base/assert/is-aggregate-facet-transform' ); * * var v = new AggregateFacetTransform(); diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/main.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/main.js index 782dd9b69826..0603b3222b4a 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/main.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/lib/main.js @@ -22,7 +22,7 @@ var isObject = require( '@stdlib/assert/is-object' ); var hasProp = require( '@stdlib/assert/has-property' ); -var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); // MAIN // @@ -34,7 +34,7 @@ var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); * @returns {boolean} boolean indicating whether an input value is a aggregate-facet transform instance * * @example -* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +* var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); * * var v = new AggregateFacetTransform(); * var bool = isAggregateFacetTransform( v ); diff --git a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/test/test.js b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/test/test.js index 0d66084d8a0d..0c381b811cdd 100644 --- a/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/test/test.js +++ b/lib/node_modules/@stdlib/plot/vega/base/assert/is-aggregate-facet-transform/test/test.js @@ -21,7 +21,7 @@ // MODULES // var tape = require( 'tape' ); -var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/' ); +var AggregateFacetTransform = require( '@stdlib/plot/vega/transform/aggregate-facet' ); var isAggregateFacetTransform = require( './../lib' );