@stdlib/assert-napi-is-typedarray
Advanced tools
Sorry, the diff of this file is not supported yet
| /// <reference path="../docs/types/index.d.ts" /> | ||
| import headerDir from '../docs/types/index'; | ||
| export = headerDir; |
| "use strict";var t=function(s,r){return function(){return r||s((r={exports:{}}).exports,r),r.exports}};var i=t(function(c,e){ | ||
| var a=require("path").resolve,u=a(__dirname,"..","include");e.exports=u | ||
| });var v=i();module.exports=v; | ||
| /** @license Apache-2.0 */ | ||
| //# sourceMappingURL=index.js.map |
| { | ||
| "version": 3, | ||
| "sources": ["../lib/main.js", "../lib/index.js"], | ||
| "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2022 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// MODULES //\n\nvar resolve = require( 'path' ).resolve;\n\n\n// MAIN //\n\nvar dir = resolve( __dirname, '..', 'include' );\n\n\n// EXPORTS //\n\nmodule.exports = dir;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2022 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* Absolute file path for the directory containing header files for C APIs.\n*\n* @module @stdlib/assert-napi-is-typedarray\n*\n* @example\n* var headerDir = require( '@stdlib/assert-napi-is-typedarray' );\n*\n* console.log( headerDir );\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"], | ||
| "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAU,QAAS,MAAO,EAAE,QAK5BC,EAAMD,EAAS,UAAW,KAAM,SAAU,EAK9CD,EAAO,QAAUE,ICCjB,IAAIC,EAAO,IAKX,OAAO,QAAUA", | ||
| "names": ["require_main", "__commonJSMin", "exports", "module", "resolve", "dir", "main"] | ||
| } |
@@ -19,3 +19,3 @@ /* | ||
| // TypeScript Version: 2.0 | ||
| // TypeScript Version: 4.1 | ||
@@ -22,0 +22,0 @@ /** |
+8
-8
| { | ||
| "name": "@stdlib/assert-napi-is-typedarray", | ||
| "version": "0.0.1", | ||
| "version": "0.1.0", | ||
| "description": "Assert that a Node-API value is a Node-API typed array.", | ||
@@ -42,9 +42,9 @@ "license": "Apache-2.0", | ||
| "dependencies": { | ||
| "@stdlib/assert-napi-status-ok": "^0.0.x", | ||
| "@stdlib/utils-library-manifest": "^0.0.x" | ||
| "@stdlib/assert-napi-status-ok": "^0.1.0", | ||
| "@stdlib/utils-library-manifest": "^0.1.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@stdlib/array-typed": "^0.0.x", | ||
| "@stdlib/assert-is-browser": "^0.0.x", | ||
| "@stdlib/utils-try-require": "^0.0.x", | ||
| "@stdlib/array-typed": "^0.0.6", | ||
| "@stdlib/assert-is-browser": "^0.1.0", | ||
| "@stdlib/utils-try-require": "^0.1.0", | ||
| "tape": "git+https://github.com/kgryte/tape.git#fix/globby", | ||
@@ -85,5 +85,5 @@ "istanbul": "^0.4.1", | ||
| "funding": { | ||
| "type": "patreon", | ||
| "url": "https://www.patreon.com/athan" | ||
| "type": "opencollective", | ||
| "url": "https://opencollective.com/stdlib" | ||
| } | ||
| } |
+14
-3
@@ -21,2 +21,13 @@ <!-- | ||
| <details> | ||
| <summary> | ||
| About stdlib... | ||
| </summary> | ||
| <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p> | ||
| <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p> | ||
| <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p> | ||
| <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p> | ||
| </details> | ||
| # Assert Typed Array | ||
@@ -241,4 +252,4 @@ | ||
| [test-image]: https://github.com/stdlib-js/assert-napi-is-typedarray/actions/workflows/test.yml/badge.svg?branch=v0.0.1 | ||
| [test-url]: https://github.com/stdlib-js/assert-napi-is-typedarray/actions/workflows/test.yml?query=branch:v0.0.1 | ||
| [test-image]: https://github.com/stdlib-js/assert-napi-is-typedarray/actions/workflows/test.yml/badge.svg?branch=v0.1.0 | ||
| [test-url]: https://github.com/stdlib-js/assert-napi-is-typedarray/actions/workflows/test.yml?query=branch:v0.1.0 | ||
@@ -256,3 +267,3 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-napi-is-typedarray/main.svg | ||
| [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
| [chat-url]: https://gitter.im/stdlib-js/stdlib/ | ||
| [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im | ||
@@ -259,0 +270,0 @@ [stdlib]: https://github.com/stdlib-js/stdlib |
| /* | ||
| * @license Apache-2.0 | ||
| * | ||
| * Copyright (c) 2022 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 headerDir = require( './index' ); | ||
| // TESTS // | ||
| // The variable is a string... | ||
| { | ||
| // tslint:disable-next-line:no-unused-expression | ||
| headerDir; // $ExpectType string | ||
| } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35510
10.91%18
20%276
4.15%190
-8.21%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed