@stdlib/utils-define-property
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -8,3 +8,3 @@ "use strict";var n=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}};var s=n(function(T,_){ | ||
});var g=n(function(z,d){ | ||
var P=require('@stdlib/error-tools-fmtprodmsg/dist'),a=Object.prototype,h=a.toString,m=a.__defineGetter__,S=a.__defineSetter__,k=a.__lookupGetter__,O=a.__lookupSetter__;function E(e,t,r){var f,i,l,u;if(typeof e!="object"||e===null||h.call(e)==="[object Array]")throw new TypeError(P('1Sx3L',e));if(typeof r!="object"||r===null||h.call(r)==="[object Array]")throw new TypeError(P('1SxB0',r));if(i="value"in r,i&&(k.call(e,t)||O.call(e,t)?(f=e.__proto__,e.__proto__=a,delete e[t],e[t]=r.value,e.__proto__=f):e[t]=r.value),l="get"in r,u="set"in r,i&&(l||u))throw new Error(format('1Sx1d'));return l&&m&&m.call(e,t,r.get),u&&S&&S.call(e,t,r.set),e}d.exports=E | ||
var P=require('@stdlib/error-tools-fmtprodmsg/dist'),a=Object.prototype,h=a.toString,m=a.__defineGetter__,S=a.__defineSetter__,k=a.__lookupGetter__,O=a.__lookupSetter__;function E(e,t,r){var f,i,l,u;if(typeof e!="object"||e===null||h.call(e)==="[object Array]")throw new TypeError(P('1Sx3L',e));if(typeof r!="object"||r===null||h.call(r)==="[object Array]")throw new TypeError(P('1SxB0',r));if(i="value"in r,i&&(k.call(e,t)||O.call(e,t)?(f=e.__proto__,e.__proto__=a,delete e[t],e[t]=r.value,e.__proto__=f):e[t]=r.value),l="get"in r,u="set"in r,i&&(l||u))throw new Error(P('1Sx1d'));return l&&m&&m.call(e,t,r.get),u&&S&&S.call(e,t,r.set),e}d.exports=E | ||
});var V=y(),b=p(),A=g(),o;V()?o=b:o=A;module.exports=o; | ||
@@ -11,0 +11,0 @@ /** @license Apache-2.0 */ |
@@ -47,3 +47,3 @@ /* | ||
*/ | ||
declare function defineProperty( obj: any, prop: PropertyName, descriptor: PropertyDescriptor ): any; // tslint:disable-line: max-line-length | ||
declare function defineProperty( obj: any, prop: PropertyName, descriptor: PropertyDescriptor ): any; | ||
@@ -50,0 +50,0 @@ |
{ | ||
"name": "@stdlib/utils-define-property", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Define (or modify) an object property.", | ||
@@ -40,11 +40,10 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@stdlib/string-format": "^0.1.1", | ||
"@stdlib/types": "^0.1.0", | ||
"@stdlib/error-tools-fmtprodmsg": "^0.1.0" | ||
"@stdlib/string-format": "^0.2.0", | ||
"@stdlib/types": "^0.3.1", | ||
"@stdlib/error-tools-fmtprodmsg": "^0.1.1" | ||
}, | ||
"devDependencies": { | ||
"@stdlib/assert-has-own-property": "^0.1.0", | ||
"@stdlib/assert-is-string": "^0.1.0", | ||
"@stdlib/bench": "^0.1.0", | ||
"@stdlib/math-base-special-sqrt": "^0.1.0", | ||
"@stdlib/assert-has-own-property": "^0.1.1", | ||
"@stdlib/assert-is-string": "^0.1.1", | ||
"@stdlib/math-base-special-sqrt": "^0.1.1", | ||
"@stdlib/string-from-code-point": "^0.1.0", | ||
@@ -55,3 +54,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" | ||
}, | ||
@@ -58,0 +59,0 @@ "engines": { |
@@ -170,3 +170,3 @@ <!-- | ||
Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. | ||
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. | ||
@@ -184,4 +184,4 @@ </section> | ||
[test-image]: https://github.com/stdlib-js/utils-define-property/actions/workflows/test.yml/badge.svg?branch=v0.1.1 | ||
[test-url]: https://github.com/stdlib-js/utils-define-property/actions/workflows/test.yml?query=branch:v0.1.1 | ||
[test-image]: https://github.com/stdlib-js/utils-define-property/actions/workflows/test.yml/badge.svg?branch=v0.2.0 | ||
[test-url]: https://github.com/stdlib-js/utils-define-property/actions/workflows/test.yml?query=branch:v0.2.0 | ||
@@ -209,4 +209,7 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-define-property/main.svg | ||
[deno-url]: https://github.com/stdlib-js/utils-define-property/tree/deno | ||
[deno-readme]: https://github.com/stdlib-js/utils-define-property/blob/deno/README.md | ||
[umd-url]: https://github.com/stdlib-js/utils-define-property/tree/umd | ||
[umd-readme]: https://github.com/stdlib-js/utils-define-property/blob/umd/README.md | ||
[esm-url]: https://github.com/stdlib-js/utils-define-property/tree/esm | ||
[esm-readme]: https://github.com/stdlib-js/utils-define-property/blob/esm/README.md | ||
[branches-url]: https://github.com/stdlib-js/utils-define-property/blob/main/branches.md | ||
@@ -213,0 +216,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
229
49097
11
+ 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)
- 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)
Updated@stdlib/string-format@^0.2.0
Updated@stdlib/types@^0.3.1