@stdlib/array-base-flipud2d 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +5 -5
- package/dist/index.js.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -158,7 +158,7 @@ See [LICENSE][stdlib-license].
|
|
|
158
158
|
|
|
159
159
|
## Copyright
|
|
160
160
|
|
|
161
|
-
Copyright © 2016-
|
|
161
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
162
162
|
|
|
163
163
|
</section>
|
|
164
164
|
|
|
@@ -171,8 +171,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
171
171
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-flipud2d.svg
|
|
172
172
|
[npm-url]: https://npmjs.org/package/@stdlib/array-base-flipud2d
|
|
173
173
|
|
|
174
|
-
[test-image]: https://github.com/stdlib-js/array-base-flipud2d/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
175
|
-
[test-url]: https://github.com/stdlib-js/array-base-flipud2d/actions/workflows/test.yml?query=branch:v0.2.
|
|
174
|
+
[test-image]: https://github.com/stdlib-js/array-base-flipud2d/actions/workflows/test.yml/badge.svg?branch=v0.2.3
|
|
175
|
+
[test-url]: https://github.com/stdlib-js/array-base-flipud2d/actions/workflows/test.yml?query=branch:v0.2.3
|
|
176
176
|
|
|
177
177
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-flipud2d/main.svg
|
|
178
178
|
[coverage-url]: https://codecov.io/github/stdlib-js/array-base-flipud2d?branch=main
|
|
@@ -184,8 +184,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
184
184
|
|
|
185
185
|
-->
|
|
186
186
|
|
|
187
|
-
[chat-image]: https://img.shields.io/
|
|
188
|
-
[chat-url]: https://
|
|
187
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
188
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
189
189
|
|
|
190
190
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
191
191
|
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../lib/main.js", "../lib/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2023 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MAIN //\n\n/**\n* Reverses the order of elements along the first dimension of a two-dimensional nested input array.\n*\n* ## Notes\n*\n* - The function does **not** perform a deep copy of nested array elements.\n*\n* @param {ArrayLikeObject<Collection>} x - nested input array\n* @returns {Array<Collection>} output array\n*\n* @example\n* var x = [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ];\n*\n* var out = flipud2d( x );\n* // returns [ [ 5, 6 ], [ 3, 4 ], [ 1, 2 ] ]\n*/\nfunction flipud2d( x ) {\n\tvar out;\n\tvar i;\n\n\tout = [];\n\tfor ( i = x.length-1; i >= 0; i-- ) {\n\t\tout.push( x[ i ] );\n\t}\n\treturn out;\n}\n\n\n// EXPORTS //\n\nmodule.exports = flipud2d;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2023 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Reverse the order of elements along the first dimension of a two-dimensional nested input array.\n*\n* @module @stdlib/array-base-flipud2d\n*\n* @example\n* var
|
|
4
|
+
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2023 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MAIN //\n\n/**\n* Reverses the order of elements along the first dimension of a two-dimensional nested input array.\n*\n* ## Notes\n*\n* - The function does **not** perform a deep copy of nested array elements.\n*\n* @param {ArrayLikeObject<Collection>} x - nested input array\n* @returns {Array<Collection>} output array\n*\n* @example\n* var x = [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ];\n*\n* var out = flipud2d( x );\n* // returns [ [ 5, 6 ], [ 3, 4 ], [ 1, 2 ] ]\n*/\nfunction flipud2d( x ) {\n\tvar out;\n\tvar i;\n\n\tout = [];\n\tfor ( i = x.length-1; i >= 0; i-- ) {\n\t\tout.push( x[ i ] );\n\t}\n\treturn out;\n}\n\n\n// EXPORTS //\n\nmodule.exports = flipud2d;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2023 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Reverse the order of elements along the first dimension of a two-dimensional nested input array.\n*\n* @module @stdlib/array-base-flipud2d\n*\n* @example\n* var flipud2d = require( '@stdlib/array-base-flipud2d' );\n*\n* var x = [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ];\n*\n* var out = flipud2d( x );\n* // returns [ [ 5, 6 ], [ 3, 4 ], [ 1, 2 ] ]\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
|
|
5
5
|
"mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsCA,SAASC,EAAUC,EAAI,CACtB,IAAIC,EACAC,EAGJ,IADAD,EAAM,CAAC,EACDC,EAAIF,EAAE,OAAO,EAAGE,GAAK,EAAGA,IAC7BD,EAAI,KAAMD,EAAGE,CAAE,CAAE,EAElB,OAAOD,CACR,CAKAH,EAAO,QAAUC,IChBjB,IAAII,EAAO,IAKX,OAAO,QAAUA",
|
|
6
6
|
"names": ["require_main", "__commonJSMin", "exports", "module", "flipud2d", "x", "out", "i", "main"]
|
|
7
7
|
}
|
package/lib/index.js
CHANGED
package/package.json
CHANGED