@ohos-ports/utils-get-prototype-of 0.2.3-beta.1 → 0.2.3-beta.2
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/dist/index.js +3 -3
- package/lib/detect.js +1 -1
- package/lib/index.js +1 -1
- package/lib/main.js +1 -1
- package/lib/polyfill.js +2 -2
- package/package.json +6 -7
package/dist/index.js
CHANGED
|
@@ -3,11 +3,11 @@ var q=Object.getPrototypeOf;i.exports=q
|
|
|
3
3
|
});var s=e(function(w,n){
|
|
4
4
|
function P(r){return r.__proto__}n.exports=P
|
|
5
5
|
});var f=e(function(z,p){
|
|
6
|
-
var O=require('@
|
|
6
|
+
var O=require('@ohos-ports/utils-native-class/dist'),c=require('@ohos-ports/object-ctor/dist'),y=s();function x(r){var t=y(r);return t||t===null?t:O(r.constructor)==="[object Function]"?r.constructor.prototype:r instanceof c?c.prototype:null}p.exports=x
|
|
7
7
|
});var l=e(function(A,a){
|
|
8
|
-
var _=require('@
|
|
8
|
+
var _=require('@ohos-ports/assert-is-function/dist'),b=u(),j=f(),o;_(Object.getPrototypeOf)?o=b:o=j;a.exports=o
|
|
9
9
|
});var g=e(function(B,v){
|
|
10
|
-
var F=require('@
|
|
10
|
+
var F=require('@ohos-ports/object-ctor/dist'),d=l();function m(r){return r==null?null:(r=F(r),d(r))}v.exports=m
|
|
11
11
|
});var C=g();module.exports=C;
|
|
12
12
|
/** @license Apache-2.0 */
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
package/lib/detect.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* @module @stdlib/utils-get-prototype-of
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
* var getPrototype = require( '@
|
|
27
|
+
* var getPrototype = require( '@ohos-ports/utils-get-prototype-of' );
|
|
28
28
|
*
|
|
29
29
|
* var proto = getPrototype( {} );
|
|
30
30
|
* // returns {}
|
package/lib/main.js
CHANGED
package/lib/polyfill.js
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
|
|
21
21
|
// MODULES //
|
|
22
22
|
|
|
23
|
-
var nativeClass = require( '@
|
|
24
|
-
var Object = require( '@
|
|
23
|
+
var nativeClass = require( '@ohos-ports/utils-native-class' );
|
|
24
|
+
var Object = require( '@ohos-ports/object-ctor' );
|
|
25
25
|
var getProto = require( './proto.js' );
|
|
26
26
|
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/utils-get-prototype-of",
|
|
3
|
-
"version": "0.2.3-beta.
|
|
3
|
+
"version": "0.2.3-beta.2",
|
|
4
4
|
"description": "Return the prototype of a provided object.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -24,16 +24,15 @@
|
|
|
24
24
|
"homepage": "https://stdlib.io",
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
|
-
"url": "
|
|
28
|
-
"directory": "ports/utils-get-prototype-of/0.2.3"
|
|
27
|
+
"url": "git://github.com/stdlib-js/utils-get-prototype-of.git"
|
|
29
28
|
},
|
|
30
29
|
"bugs": {
|
|
31
|
-
"url": "https://github.com/
|
|
30
|
+
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
32
31
|
},
|
|
33
32
|
"dependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
33
|
+
"@ohos-ports/assert-is-function": "0.2.3-beta.2",
|
|
34
|
+
"@ohos-ports/object-ctor": "0.2.2-beta.1",
|
|
35
|
+
"@ohos-ports/utils-native-class": "0.2.3-beta.1"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {},
|
|
39
38
|
"engines": {
|