@stdlib/utils-type-of
Advanced tools
Comparing version 0.0.8 to 0.1.0
@@ -19,3 +19,3 @@ /* | ||
// TypeScript Version: 2.0 | ||
// TypeScript Version: 4.1 | ||
@@ -22,0 +22,0 @@ /** |
@@ -39,3 +39,3 @@ /** | ||
var usePolyfill = require( './check.js' ); | ||
var typeOf = require( './typeof.js' ); | ||
var builtin = require( './main.js' ); | ||
var polyfill = require( './polyfill.js' ); | ||
@@ -46,3 +46,3 @@ | ||
var main = ( usePolyfill() ) ? polyfill : typeOf; | ||
var main = ( usePolyfill() ) ? polyfill : builtin; | ||
@@ -49,0 +49,0 @@ |
{ | ||
"name": "@stdlib/utils-type-of", | ||
"version": "0.0.8", | ||
"version": "0.1.0", | ||
"description": "Determine a value's type.", | ||
@@ -40,31 +40,32 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@stdlib/utils-constructor-name": "^0.0.x", | ||
"@stdlib/utils-global": "^0.0.x" | ||
"@stdlib/utils-constructor-name": "^0.1.0", | ||
"@stdlib/utils-global": "^0.1.0" | ||
}, | ||
"devDependencies": { | ||
"@stdlib/array-buffer": "^0.0.x", | ||
"@stdlib/array-float32": "^0.0.x", | ||
"@stdlib/array-float64": "^0.0.x", | ||
"@stdlib/array-int16": "^0.0.x", | ||
"@stdlib/array-int32": "^0.0.x", | ||
"@stdlib/array-int8": "^0.0.x", | ||
"@stdlib/array-uint16": "^0.0.x", | ||
"@stdlib/array-uint32": "^0.0.x", | ||
"@stdlib/array-uint8": "^0.0.x", | ||
"@stdlib/array-uint8c": "^0.0.x", | ||
"@stdlib/assert-has-map-support": "^0.0.x", | ||
"@stdlib/assert-has-set-support": "^0.0.x", | ||
"@stdlib/assert-has-symbol-support": "^0.0.x", | ||
"@stdlib/assert-has-weakmap-support": "^0.0.x", | ||
"@stdlib/assert-has-weakset-support": "^0.0.x", | ||
"@stdlib/assert-is-string": "^0.0.x", | ||
"@stdlib/bench": "^0.0.x", | ||
"@stdlib/buffer-ctor": "^0.0.x", | ||
"@stdlib/number-ctor": "^0.0.x", | ||
"@stdlib/symbol-ctor": "^0.0.x", | ||
"@stdlib/utils-noop": "^0.0.x", | ||
"@stdlib/array-buffer": "^0.0.6", | ||
"@stdlib/array-float32": "^0.0.6", | ||
"@stdlib/array-float64": "^0.0.6", | ||
"@stdlib/array-int16": "^0.0.6", | ||
"@stdlib/array-int32": "^0.0.6", | ||
"@stdlib/array-int8": "^0.0.6", | ||
"@stdlib/array-uint16": "^0.0.6", | ||
"@stdlib/array-uint32": "^0.0.6", | ||
"@stdlib/array-uint8": "^0.0.7", | ||
"@stdlib/array-uint8c": "^0.0.8", | ||
"@stdlib/assert-has-map-support": "^0.0.8", | ||
"@stdlib/assert-has-set-support": "^0.1.0", | ||
"@stdlib/assert-has-symbol-support": "^0.1.0", | ||
"@stdlib/assert-has-weakmap-support": "^0.1.0", | ||
"@stdlib/assert-has-weakset-support": "^0.1.0", | ||
"@stdlib/assert-is-string": "^0.1.0", | ||
"@stdlib/bench": "^0.1.0", | ||
"@stdlib/boolean-ctor": "^0.1.0", | ||
"@stdlib/buffer-from-string": "^0.0.8", | ||
"@stdlib/number-ctor": "^0.1.0", | ||
"@stdlib/symbol-ctor": "^0.1.0", | ||
"@stdlib/utils-noop": "^0.1.0", | ||
"proxyquire": "^2.0.0", | ||
"tape": "git+https://github.com/kgryte/tape.git#fix/globby", | ||
"istanbul": "^0.4.1", | ||
"tap-spec": "5.x.x" | ||
"tap-min": "git+https://github.com/Planeshifter/tap-min.git" | ||
}, | ||
@@ -102,5 +103,5 @@ "engines": { | ||
"funding": { | ||
"type": "patreon", | ||
"url": "https://www.patreon.com/athan" | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/stdlib" | ||
} | ||
} |
@@ -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> | ||
# typeOf | ||
@@ -267,4 +278,4 @@ | ||
- <span class="package-name">[`@stdlib/utils/constructor-name`][@stdlib/utils/constructor-name]</span><span class="delimiter">: </span><span class="description">determine the name of a value's constructor.</span> | ||
- <span class="package-name">[`@stdlib/utils/native-class`][@stdlib/utils/native-class]</span><span class="delimiter">: </span><span class="description">determine the specification defined classification of an object.</span> | ||
- <span class="package-name">[`@stdlib/utils-constructor-name`][@stdlib/utils/constructor-name]</span><span class="delimiter">: </span><span class="description">determine the name of a value's constructor.</span> | ||
- <span class="package-name">[`@stdlib/utils-native-class`][@stdlib/utils/native-class]</span><span class="delimiter">: </span><span class="description">determine the specification defined classification of an object.</span> | ||
@@ -301,3 +312,3 @@ </section> | ||
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors]. | ||
Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. | ||
@@ -315,4 +326,4 @@ </section> | ||
[test-image]: https://github.com/stdlib-js/utils-type-of/actions/workflows/test.yml/badge.svg | ||
[test-url]: https://github.com/stdlib-js/utils-type-of/actions/workflows/test.yml | ||
[test-image]: https://github.com/stdlib-js/utils-type-of/actions/workflows/test.yml/badge.svg?branch=v0.1.0 | ||
[test-url]: https://github.com/stdlib-js/utils-type-of/actions/workflows/test.yml?query=branch:v0.1.0 | ||
@@ -329,2 +340,9 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-type-of/main.svg | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im | ||
[stdlib]: https://github.com/stdlib-js/stdlib | ||
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors | ||
[umd]: https://github.com/umdjs/umd | ||
@@ -336,10 +354,4 @@ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules | ||
[esm-url]: https://github.com/stdlib-js/utils-type-of/tree/esm | ||
[branches-url]: https://github.com/stdlib-js/utils-type-of/blob/main/branches.md | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
[chat-url]: https://gitter.im/stdlib-js/stdlib/ | ||
[stdlib]: https://github.com/stdlib-js/stdlib | ||
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors | ||
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-type-of/main/LICENSE | ||
@@ -346,0 +358,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
16
364
46539
26
307
2
+ Added@stdlib/assert-has-own-property@0.1.1(transitive)
+ Added@stdlib/assert-has-symbol-support@0.1.1(transitive)
+ Added@stdlib/assert-has-tostringtag-support@0.1.1(transitive)
+ Added@stdlib/assert-is-array@0.1.1(transitive)
+ Added@stdlib/assert-is-boolean@0.1.1(transitive)
+ Added@stdlib/assert-is-buffer@0.1.1(transitive)
+ Added@stdlib/assert-is-object-like@0.1.1(transitive)
+ Added@stdlib/assert-tools-array-function@0.1.1(transitive)
+ Added@stdlib/boolean-ctor@0.1.1(transitive)
+ Added@stdlib/error-tools-fmtprodmsg@0.1.1(transitive)
+ Added@stdlib/regexp-function-name@0.1.1(transitive)
+ Added@stdlib/string-base-format-interpolate@0.1.1(transitive)
+ Added@stdlib/string-base-format-tokenize@0.1.1(transitive)
+ Added@stdlib/string-format@0.1.1(transitive)
+ Added@stdlib/symbol-ctor@0.1.1(transitive)
+ Added@stdlib/types@0.1.0(transitive)
+ Added@stdlib/utils-constructor-name@0.1.1(transitive)
+ Added@stdlib/utils-define-nonenumerable-read-only-property@0.1.1(transitive)
+ Added@stdlib/utils-define-property@0.1.1(transitive)
+ Added@stdlib/utils-global@0.1.1(transitive)
+ Added@stdlib/utils-native-class@0.1.1(transitive)
- Removed@stdlib/assert-has-own-property@0.0.7(transitive)
- Removed@stdlib/assert-has-symbol-support@0.0.8(transitive)
- Removed@stdlib/assert-has-tostringtag-support@0.0.9(transitive)
- Removed@stdlib/assert-is-array@0.0.7(transitive)
- Removed@stdlib/assert-is-boolean@0.0.8(transitive)
- Removed@stdlib/assert-is-buffer@0.0.8(transitive)
- Removed@stdlib/assert-is-object-like@0.0.8(transitive)
- Removed@stdlib/assert-tools-array-function@0.0.7(transitive)
- Removed@stdlib/cli-ctor@0.0.3(transitive)
- Removed@stdlib/fs-read-file@0.0.8(transitive)
- Removed@stdlib/regexp-function-name@0.0.7(transitive)
- Removed@stdlib/types@0.0.14(transitive)
- Removed@stdlib/utils-constructor-name@0.0.8(transitive)
- Removed@stdlib/utils-define-nonenumerable-read-only-property@0.0.7(transitive)
- Removed@stdlib/utils-define-property@0.0.9(transitive)
- Removed@stdlib/utils-global@0.0.7(transitive)
- Removed@stdlib/utils-native-class@0.0.8(transitive)
- Removed@stdlib/utils-noop@0.0.14(transitive)
- Removedminimist@1.2.8(transitive)
Updated@stdlib/utils-global@^0.1.0