@stdlib/utils-define-nonenumerable-read-only-accessor
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -58,3 +58,3 @@ /* | ||
*/ | ||
declare function setNonEnumerableReadOnlyAccessor( obj: any, prop: PropertyName, getter: Getter ): void; // tslint:disable-line: max-line-length | ||
declare function setNonEnumerableReadOnlyAccessor( obj: any, prop: PropertyName, getter: Getter ): void; | ||
@@ -61,0 +61,0 @@ |
{ | ||
"name": "@stdlib/utils-define-nonenumerable-read-only-accessor", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Define a non-enumerable read-only accessor.", | ||
@@ -40,8 +40,7 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@stdlib/types": "^0.1.0", | ||
"@stdlib/utils-define-property": "^0.1.1" | ||
"@stdlib/types": "^0.3.1", | ||
"@stdlib/utils-define-property": "^0.2.0" | ||
}, | ||
"devDependencies": { | ||
"@stdlib/assert-is-string": "^0.1.0", | ||
"@stdlib/bench": "^0.1.0", | ||
"@stdlib/assert-is-string": "^0.1.1", | ||
"@stdlib/string-from-code-point": "^0.1.0", | ||
@@ -51,3 +50,5 @@ "@stdlib/utils-keys": "^0.1.0", | ||
"istanbul": "^0.4.1", | ||
"tap-min": "git+https://github.com/Planeshifter/tap-min.git" | ||
"tap-min": "git+https://github.com/Planeshifter/tap-min.git", | ||
"@stdlib/bench-harness": "^0.1.2", | ||
"@stdlib/bench": "^0.3.1" | ||
}, | ||
@@ -54,0 +55,0 @@ "engines": { |
@@ -64,4 +64,2 @@ <!-- | ||
<!-- run throws: true --> | ||
```javascript | ||
@@ -76,4 +74,8 @@ function getter() { | ||
obj.foo = 'boop'; | ||
// throws <Error> | ||
try { | ||
obj.foo = 'boop'; | ||
// throws <Error> | ||
} catch ( error ) { | ||
console.error( error.message ); | ||
} | ||
``` | ||
@@ -175,3 +177,3 @@ | ||
Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. | ||
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. | ||
@@ -189,4 +191,4 @@ </section> | ||
[test-image]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/actions/workflows/test.yml/badge.svg?branch=v0.1.1 | ||
[test-url]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/actions/workflows/test.yml?query=branch:v0.1.1 | ||
[test-image]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/actions/workflows/test.yml/badge.svg?branch=v0.2.0 | ||
[test-url]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/actions/workflows/test.yml?query=branch:v0.2.0 | ||
@@ -214,4 +216,7 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-define-nonenumerable-read-only-accessor/main.svg | ||
[deno-url]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/tree/deno | ||
[deno-readme]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/blob/deno/README.md | ||
[umd-url]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/tree/umd | ||
[umd-readme]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/blob/umd/README.md | ||
[esm-url]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/tree/esm | ||
[esm-readme]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/blob/esm/README.md | ||
[branches-url]: https://github.com/stdlib-js/utils-define-nonenumerable-read-only-accessor/blob/main/branches.md | ||
@@ -218,0 +223,0 @@ |
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
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
240
29276
8
+ Added@stdlib/error-tools-fmtprodmsg@0.2.2(transitive)
+ Added@stdlib/string-base-format-interpolate@0.2.2(transitive)
+ Added@stdlib/string-base-format-tokenize@0.2.2(transitive)
+ Added@stdlib/string-format@0.2.2(transitive)
+ Added@stdlib/types@0.3.2(transitive)
+ Added@stdlib/utils-define-property@0.2.4(transitive)
- Removed@stdlib/error-tools-fmtprodmsg@0.1.1(transitive)
- Removed@stdlib/string-base-format-interpolate@0.1.1(transitive)
- Removed@stdlib/string-base-format-tokenize@0.1.1(transitive)
- Removed@stdlib/string-format@0.1.1(transitive)
- Removed@stdlib/types@0.1.0(transitive)
- Removed@stdlib/utils-define-property@0.1.1(transitive)
Updated@stdlib/types@^0.3.1