@dbmx/confy 0.0.72 → 0.0.73
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/esm/_virtual/index10.js +2 -2
- package/esm/_virtual/index11.js +2 -2
- package/esm/_virtual/index12.js +2 -2
- package/esm/_virtual/index13.js +2 -2
- package/esm/_virtual/index14.js +2 -2
- package/esm/_virtual/index8.js +2 -2
- package/esm/_virtual/index9.js +2 -2
- package/esm/lib/api/auth.js +1 -2
- package/esm/lib/api/auth.js.map +1 -1
- package/esm/lib/api/config.js +1 -2
- package/esm/lib/api/config.js.map +1 -1
- package/esm/lib/api/index.js +1 -2
- package/esm/lib/api/index.js.map +1 -1
- package/esm/node_modules/@testing-library/dom/node_modules/ansi-styles/index.js +1 -1
- package/esm/node_modules/@testing-library/dom/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/aria-query/lib/index.js +1 -1
- package/esm/node_modules/call-bind/index.js +1 -1
- package/esm/node_modules/call-bind-apply-helpers/actualApply.js +2 -2
- package/esm/node_modules/call-bind-apply-helpers/actualApply.js.map +1 -1
- package/esm/node_modules/call-bind-apply-helpers/applyBind.js +2 -2
- package/esm/node_modules/call-bind-apply-helpers/applyBind.js.map +1 -1
- package/esm/node_modules/call-bind-apply-helpers/index.js +4 -4
- package/esm/node_modules/call-bind-apply-helpers/index.js.map +1 -1
- package/esm/node_modules/define-data-property/index.js +2 -2
- package/esm/node_modules/define-data-property/index.js.map +1 -1
- package/esm/node_modules/es-errors/type.js +3 -12
- package/esm/node_modules/es-errors/type.js.map +1 -1
- package/esm/node_modules/function-bind/implementation.js +93 -84
- package/esm/node_modules/function-bind/implementation.js.map +1 -1
- package/esm/node_modules/function-bind/index.js +13 -4
- package/esm/node_modules/function-bind/index.js.map +1 -1
- package/esm/node_modules/get-intrinsic/index.js +4 -4
- package/esm/node_modules/get-intrinsic/index.js.map +1 -1
- package/esm/node_modules/has-symbols/index.js +2 -2
- package/esm/node_modules/has-symbols/index.js.map +1 -1
- package/esm/node_modules/has-symbols/shams.js +34 -43
- package/esm/node_modules/has-symbols/shams.js.map +1 -1
- package/esm/node_modules/has-tostringtag/shams.js +7 -16
- package/esm/node_modules/has-tostringtag/shams.js.map +1 -1
- package/esm/node_modules/hasown/index.js +2 -2
- package/esm/node_modules/hasown/index.js.map +1 -1
- package/esm/node_modules/is-arguments/index.js +2 -2
- package/esm/node_modules/is-arguments/index.js.map +1 -1
- package/esm/node_modules/is-bigint/index.js +1 -1
- package/esm/node_modules/is-boolean-object/index.js +2 -2
- package/esm/node_modules/is-boolean-object/index.js.map +1 -1
- package/esm/node_modules/is-date-object/index.js +2 -2
- package/esm/node_modules/is-date-object/index.js.map +1 -1
- package/esm/node_modules/is-number-object/index.js +2 -2
- package/esm/node_modules/is-number-object/index.js.map +1 -1
- package/esm/node_modules/is-regex/index.js +2 -2
- package/esm/node_modules/is-regex/index.js.map +1 -1
- package/esm/node_modules/is-string/index.js +2 -2
- package/esm/node_modules/is-string/index.js.map +1 -1
- package/esm/node_modules/is-symbol/index.js +1 -1
- package/esm/node_modules/is-weakset/index.js +1 -1
- package/esm/node_modules/object-inspect/util.inspect.js +2 -2
- package/esm/node_modules/object-inspect/util.inspect.js.map +1 -1
- package/esm/node_modules/object.assign/implementation.js +2 -2
- package/esm/node_modules/object.assign/implementation.js.map +1 -1
- package/esm/node_modules/regexp.prototype.flags/implementation.js +2 -2
- package/esm/node_modules/regexp.prototype.flags/implementation.js.map +1 -1
- package/esm/node_modules/safe-regex-test/index.js +2 -2
- package/esm/node_modules/safe-regex-test/index.js.map +1 -1
- package/esm/node_modules/set-function-length/index.js +2 -2
- package/esm/node_modules/set-function-length/index.js.map +1 -1
- package/esm/node_modules/set-function-name/index.js +2 -2
- package/esm/node_modules/set-function-name/index.js.map +1 -1
- package/esm/node_modules/side-channel/index.js +2 -2
- package/esm/node_modules/side-channel/index.js.map +1 -1
- package/esm/node_modules/side-channel-list/index.js +2 -2
- package/esm/node_modules/side-channel-list/index.js.map +1 -1
- package/esm/node_modules/side-channel-map/index.js +2 -2
- package/esm/node_modules/side-channel-map/index.js.map +1 -1
- package/esm/node_modules/side-channel-weakmap/index.js +2 -2
- package/esm/node_modules/side-channel-weakmap/index.js.map +1 -1
- package/esm/node_modules/which-typed-array/index.js +2 -2
- package/esm/node_modules/which-typed-array/index.js.map +1 -1
- package/esm/store/index.js +6 -5
- package/esm/store/index.js.map +1 -1
- package/package.json +6 -2
package/esm/_virtual/index10.js
CHANGED
package/esm/_virtual/index11.js
CHANGED
package/esm/_virtual/index12.js
CHANGED
package/esm/_virtual/index13.js
CHANGED
package/esm/_virtual/index14.js
CHANGED
package/esm/_virtual/index8.js
CHANGED
package/esm/_virtual/index9.js
CHANGED
package/esm/lib/api/auth.js
CHANGED
package/esm/lib/api/auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sources":["../../../src/lib/api/auth.js"],"sourcesContent":["import axios from 'axios'\nimport { prop } from 'ramda'\n\nexport default ({ endPoint }) => ({\n createOTP: ({ email, redirectUri }) =>\n axios.post(endPoint(`/api/authOTP/createOTP`), { email, redirectUri }).then(prop('data')),\n getOTPTokens: ({ email, code }) =>\n axios.post(endPoint(`/api/authOTP/getOTPTokens`), { email, code }).then(prop('data')),\n getOTPLinkJWTTokens: ({ jwt }) =>\n axios.post(endPoint(`/api/authOTP/getOTPLinkJWTTokens`), { jwt }).then(prop('data')),\n getOTPSSOJWTTokens: ({ jwt }) => axios.post(endPoint(`/api/authOTP/getOTPSSOJWTTokens`), { jwt }).then(prop('data')),\n})\n"],"names":["_ref","endPoint","createOTP","_ref2","email","redirectUri","axios","post","then","prop","getOTPTokens","_ref3","code","getOTPLinkJWTTokens","_ref4","jwt","getOTPSSOJWTTokens","_ref5"],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth.js","sources":["../../../src/lib/api/auth.js"],"sourcesContent":["import axios from 'axios'\nimport { prop } from 'ramda'\n\nexport default ({ endPoint }) => ({\n createOTP: ({ email, redirectUri }) =>\n axios.post(endPoint(`/api/authOTP/createOTP`), { email, redirectUri }).then(prop('data')),\n getOTPTokens: ({ email, code }) =>\n axios.post(endPoint(`/api/authOTP/getOTPTokens`), { email, code }).then(prop('data')),\n getOTPLinkJWTTokens: ({ jwt }) =>\n axios.post(endPoint(`/api/authOTP/getOTPLinkJWTTokens`), { jwt }).then(prop('data')),\n getOTPSSOJWTTokens: ({ jwt }) => axios.post(endPoint(`/api/authOTP/getOTPSSOJWTTokens`), { jwt }).then(prop('data')),\n})\n"],"names":["_ref","endPoint","createOTP","_ref2","email","redirectUri","axios","post","then","prop","getOTPTokens","_ref3","code","getOTPLinkJWTTokens","_ref4","jwt","getOTPSSOJWTTokens","_ref5"],"mappings":";;;AAGA,WAAA,CAAe,UAAAA,IAAA,EAAA;AAAA,EAAA,IAAGC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EAAA,OAAQ;AAChCC,IAAAA,SAAS,EAAE,SAAXA,SAASA,CAAAC,KAAA,EAAA;AAAA,MAAA,IAAKC,KAAK,GAAAD,KAAA,CAALC,KAAK;QAAEC,WAAW,GAAAF,KAAA,CAAXE,WAAW;AAAA,MAAA,OAC9BC,KAAK,CAACC,IAAI,CAACN,QAAQ,CAAA,wBAAyB,CAAC,EAAE;AAAEG,QAAAA,KAAK,EAALA,KAAK;AAAEC,QAAAA,WAAW,EAAXA;OAAa,CAAC,CAACG,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA,IAAA,CAAA;AAC3FC,IAAAA,YAAY,EAAE,SAAdA,YAAYA,CAAAC,KAAA,EAAA;AAAA,MAAA,IAAKP,KAAK,GAAAO,KAAA,CAALP,KAAK;QAAEQ,IAAI,GAAAD,KAAA,CAAJC,IAAI;AAAA,MAAA,OAC1BN,KAAK,CAACC,IAAI,CAACN,QAAQ,CAAA,2BAA4B,CAAC,EAAE;AAAEG,QAAAA,KAAK,EAALA,KAAK;AAAEQ,QAAAA,IAAI,EAAJA;OAAM,CAAC,CAACJ,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA,IAAA,CAAA;AACvFI,IAAAA,mBAAmB,EAAE,SAArBA,mBAAmBA,CAAAC,KAAA,EAAA;AAAA,MAAA,IAAKC,GAAG,GAAAD,KAAA,CAAHC,GAAG;AAAA,MAAA,OACzBT,KAAK,CAACC,IAAI,CAACN,QAAQ,CAAA,kCAAmC,CAAC,EAAE;AAAEc,QAAAA,GAAG,EAAHA;OAAK,CAAC,CAACP,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA,IAAA,CAAA;AACtFO,IAAAA,kBAAkB,EAAE,SAApBA,kBAAkBA,CAAAC,KAAA,EAAA;AAAA,MAAA,IAAKF,GAAG,GAAAE,KAAA,CAAHF,GAAG;AAAA,MAAA,OAAOT,KAAK,CAACC,IAAI,CAACN,QAAQ,CAAA,iCAAkC,CAAC,EAAE;AAAEc,QAAAA,GAAG,EAAHA;OAAK,CAAC,CAACP,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA,IAAA;GACrH;AAAA,CAAC;;;;"}
|
package/esm/lib/api/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sources":["../../../src/lib/api/config.js"],"sourcesContent":["import axios from 'axios'\nimport { prop } from 'ramda'\n\nexport default ({ endPoint }) => ({\n load: () => axios.get(endPoint(`/api/config/load`)).then(prop('data')),\n})\n"],"names":["_ref","endPoint","load","axios","get","then","prop"],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.js","sources":["../../../src/lib/api/config.js"],"sourcesContent":["import axios from 'axios'\nimport { prop } from 'ramda'\n\nexport default ({ endPoint }) => ({\n load: () => axios.get(endPoint(`/api/config/load`)).then(prop('data')),\n})\n"],"names":["_ref","endPoint","load","axios","get","then","prop"],"mappings":";;;AAGA,aAAA,CAAe,UAAAA,IAAA,EAAA;AAAA,EAAA,IAAGC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EAAA,OAAQ;IAChCC,IAAI,EAAE,SAANA,IAAIA,GAAA;AAAA,MAAA,OAAQC,KAAK,CAACC,GAAG,CAACH,QAAQ,CAAA,kBAAmB,CAAC,CAAC,CAACI,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC,CAAC;AAAA,IAAA;GACvE;AAAA,CAAC;;;;"}
|
package/esm/lib/api/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2, slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import '
|
|
2
|
+
import axios from 'axios';
|
|
3
3
|
import urljoin from '../../node_modules/url-join/lib/url-join.js';
|
|
4
4
|
import config from './config.js';
|
|
5
5
|
import auth from './auth.js';
|
|
6
6
|
import path from '../../node_modules/ramda/es/path.js';
|
|
7
7
|
import split from '../../node_modules/ramda/es/split.js';
|
|
8
|
-
import axios from '../../node_modules/axios/lib/axios.js';
|
|
9
8
|
import prop from '../../node_modules/ramda/es/prop.js';
|
|
10
9
|
import compose from '../../node_modules/ramda/es/compose.js';
|
|
11
10
|
import forEach from '../../node_modules/ramda/es/forEach.js';
|
package/esm/lib/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/lib/api/index.js"],"sourcesContent":["import { prop, path, split, compose, toPairs, forEach } from 'ramda'\nimport axios from 'axios'\nimport urljoin from 'url-join'\n\nimport config from './config'\nimport auth from './auth'\n\nlet globalConfig = { debug: true, getBearer: () => {} }\nconst endPoint = (path, config = globalConfig) => (config.endpoint ? urljoin(config.endpoint, path) : path)\nconst authEndPoint = (path, config = globalConfig) => (config.authUrl ? urljoin(config.authUrl, path) : path)\nconst bearer = token => ({ Authorization: `Bearer ${token || globalConfig.getBearer()}` })\n\n/* eslint-disable-line no-shadow */\nconst setConfig = config => (globalConfig = { ...globalConfig, ...config })\n\nconst generic = ctx => {\n if (globalConfig.getToken) {\n return globalConfig\n .getToken()\n .then(token => axios.post(endPoint(`/api/gen/exec`), ctx, { headers: bearer(token) }).then(prop('data')))\n }\n return axios.post(endPoint(`/api/gen/exec`), ctx, { headers: bearer() }).then(prop('data'))\n}\n\nconst localMethods = {\n config,\n auth,\n}\n\nconst getFn = (main, name) => path(split(':', name), main)\n\nconst main = ({ method, ...rest }) => {\n const fn = getFn(main, method)\n if (fn) return fn(rest)\n const others = Object.hasOwn(rest, 'payload') ? rest : { payload: rest }\n return generic({ method, ...others })\n}\n\nconst init = methods => {\n compose(\n forEach(([name, fn]) => (main[name] = fn({ bearer, endPoint, authEndPoint }))),\n toPairs,\n )({ ...localMethods, ...methods })\n}\n\nmain.setOptions = setConfig\nmain.init = init\n\nexport default main\n"],"names":["globalConfig","debug","getBearer","endPoint","path","config","arguments","length","undefined","endpoint","urljoin","authEndPoint","authUrl","bearer","token","Authorization","concat","setConfig","_objectSpread","generic","ctx","getToken","then","axios","post","headers","prop","localMethods","auth","getFn","main","name","split","_ref","method","rest","_objectWithoutProperties","_excluded","fn","others","Object","hasOwn","payload","init","methods","compose","forEach","_ref2","_ref3","_slicedToArray","toPairs","setOptions"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/lib/api/index.js"],"sourcesContent":["import { prop, path, split, compose, toPairs, forEach } from 'ramda'\nimport axios from 'axios'\nimport urljoin from 'url-join'\n\nimport config from './config'\nimport auth from './auth'\n\nlet globalConfig = { debug: true, getBearer: () => {} }\nconst endPoint = (path, config = globalConfig) => (config.endpoint ? urljoin(config.endpoint, path) : path)\nconst authEndPoint = (path, config = globalConfig) => (config.authUrl ? urljoin(config.authUrl, path) : path)\nconst bearer = token => ({ Authorization: `Bearer ${token || globalConfig.getBearer()}` })\n\n/* eslint-disable-line no-shadow */\nconst setConfig = config => (globalConfig = { ...globalConfig, ...config })\n\nconst generic = ctx => {\n if (globalConfig.getToken) {\n return globalConfig\n .getToken()\n .then(token => axios.post(endPoint(`/api/gen/exec`), ctx, { headers: bearer(token) }).then(prop('data')))\n }\n return axios.post(endPoint(`/api/gen/exec`), ctx, { headers: bearer() }).then(prop('data'))\n}\n\nconst localMethods = {\n config,\n auth,\n}\n\nconst getFn = (main, name) => path(split(':', name), main)\n\nconst main = ({ method, ...rest }) => {\n const fn = getFn(main, method)\n if (fn) return fn(rest)\n const others = Object.hasOwn(rest, 'payload') ? rest : { payload: rest }\n return generic({ method, ...others })\n}\n\nconst init = methods => {\n compose(\n forEach(([name, fn]) => (main[name] = fn({ bearer, endPoint, authEndPoint }))),\n toPairs,\n )({ ...localMethods, ...methods })\n}\n\nmain.setOptions = setConfig\nmain.init = init\n\nexport default main\n"],"names":["globalConfig","debug","getBearer","endPoint","path","config","arguments","length","undefined","endpoint","urljoin","authEndPoint","authUrl","bearer","token","Authorization","concat","setConfig","_objectSpread","generic","ctx","getToken","then","axios","post","headers","prop","localMethods","auth","getFn","main","name","split","_ref","method","rest","_objectWithoutProperties","_excluded","fn","others","Object","hasOwn","payload","init","methods","compose","forEach","_ref2","_ref3","_slicedToArray","toPairs","setOptions"],"mappings":";;;;;;;;;;;;;AAOA,IAAIA,YAAY,GAAG;AAAEC,EAAAA,KAAK,EAAE,IAAI;AAAEC,EAAAA,SAAS,EAAE,SAAXA,SAASA,GAAQ,CAAC;AAAE,CAAC;AACvD,IAAMC,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,IAAI,EAAA;AAAA,EAAA,IAAEC,MAAM,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAGN,YAAY;AAAA,EAAA,OAAMK,MAAM,CAACI,QAAQ,GAAGC,OAAO,CAACL,MAAM,CAACI,QAAQ,EAAEL,IAAI,CAAC,GAAGA,IAAI;AAAA,CAAC;AAC3G,IAAMO,YAAY,GAAG,SAAfA,YAAYA,CAAIP,I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A,YAAY,EAAZA;AAAa,KAAC,CAAC;AAAA,EAAA,CAAC,CAAC,EAC9EuC,OACF,CAAC,CAAAhC,cAAA,CAAAA,cAAA,CAAA,EAAA,EAAMS,YAAY,CAAA,EAAKiB,OAAO,CAAE,CAAC;AACpC,CAAC;AAEDd,KAAI,CAACqB,UAAU,GAAGlC,SAAS;AAC3Ba,KAAI,CAACa,IAAI,GAAGA,IAAI;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as callBind } from '../../_virtual/
|
|
1
|
+
import { __module as callBind } from '../../_virtual/index11.js';
|
|
2
2
|
import { s as setFunctionLength } from '../set-function-length/index.js';
|
|
3
3
|
import { e as esDefineProperty } from '../es-define-property/index.js';
|
|
4
4
|
import { c as callBindApplyHelpers } from '../call-bind-apply-helpers/index.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __require as requireFunctionBind } from '../function-bind/index.js';
|
|
2
2
|
import { __require as requireFunctionApply } from './functionApply.js';
|
|
3
3
|
import { __require as requireFunctionCall } from './functionCall.js';
|
|
4
4
|
import { r as reflectApply } from './reflectApply.js';
|
|
5
5
|
|
|
6
|
-
var bind =
|
|
6
|
+
var bind = requireFunctionBind();
|
|
7
7
|
|
|
8
8
|
var $apply = requireFunctionApply();
|
|
9
9
|
var $call = requireFunctionCall();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actualApply.js","sources":["../../../node_modules/call-bind-apply-helpers/actualApply.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\n\nvar $apply = require('./functionApply');\nvar $call = require('./functionCall');\nvar $reflectApply = require('./reflectApply');\n\n/** @type {import('./actualApply')} */\nmodule.exports = $reflectApply || bind.call($call, $apply);\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,IAAI,GAAGA,
|
|
1
|
+
{"version":3,"file":"actualApply.js","sources":["../../../node_modules/call-bind-apply-helpers/actualApply.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\n\nvar $apply = require('./functionApply');\nvar $call = require('./functionCall');\nvar $reflectApply = require('./reflectApply');\n\n/** @type {import('./actualApply')} */\nmodule.exports = $reflectApply || bind.call($call, $apply);\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,IAAI,GAAGA,mBAAA,EAAwB;;AAEnC,IAAI,MAAM,GAAGC,oBAAA,EAA0B;AACvC,IAAI,KAAK,GAAGC,mBAAA,EAAyB;AACrC,IAAI,aAAa,GAAGC,YAAyB;;AAE7C;IACA,WAAc,GAAG,aAAa,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __require as requireFunctionBind } from '../function-bind/index.js';
|
|
2
2
|
import { __require as requireFunctionApply } from './functionApply.js';
|
|
3
3
|
import { a as actualApply$1 } from './actualApply.js';
|
|
4
4
|
|
|
5
|
-
var bind =
|
|
5
|
+
var bind = requireFunctionBind();
|
|
6
6
|
var $apply = requireFunctionApply();
|
|
7
7
|
var actualApply = actualApply$1;
|
|
8
8
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyBind.js","sources":["../../../node_modules/call-bind-apply-helpers/applyBind.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\nvar $apply = require('./functionApply');\nvar actualApply = require('./actualApply');\n\n/** @type {import('./applyBind')} */\nmodule.exports = function applyBind() {\n\treturn actualApply(bind, $apply, arguments);\n};\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;AAEA,IAAI,IAAI,GAAGA,
|
|
1
|
+
{"version":3,"file":"applyBind.js","sources":["../../../node_modules/call-bind-apply-helpers/applyBind.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\nvar $apply = require('./functionApply');\nvar actualApply = require('./actualApply');\n\n/** @type {import('./applyBind')} */\nmodule.exports = function applyBind() {\n\treturn actualApply(bind, $apply, arguments);\n};\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;AAEA,IAAI,IAAI,GAAGA,mBAAA,EAAwB;AACnC,IAAI,MAAM,GAAGC,oBAAA,EAA0B;AACvC,IAAI,WAAW,GAAGC,aAAwB;;AAE1C;IACA,SAAc,GAAG,SAAS,SAAS,GAAG;AACtC,CAAC,OAAO,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC;AAC5C;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { __require as requireFunctionBind } from '../function-bind/index.js';
|
|
2
|
+
import { t as type } from '../es-errors/type.js';
|
|
3
3
|
import { __require as requireFunctionCall } from './functionCall.js';
|
|
4
4
|
import { a as actualApply } from './actualApply.js';
|
|
5
5
|
|
|
6
|
-
var bind =
|
|
7
|
-
var $TypeError =
|
|
6
|
+
var bind = requireFunctionBind();
|
|
7
|
+
var $TypeError = type;
|
|
8
8
|
|
|
9
9
|
var $call = requireFunctionCall();
|
|
10
10
|
var $actualApply = actualApply;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/call-bind-apply-helpers/index.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\nvar $TypeError = require('es-errors/type');\n\nvar $call = require('./functionCall');\nvar $actualApply = require('./actualApply');\n\n/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */\nmodule.exports = function callBindBasic(args) {\n\tif (args.length < 1 || typeof args[0] !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\treturn $actualApply(bind, $call, args);\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,IAAI,GAAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/call-bind-apply-helpers/index.js"],"sourcesContent":["'use strict';\n\nvar bind = require('function-bind');\nvar $TypeError = require('es-errors/type');\n\nvar $call = require('./functionCall');\nvar $actualApply = require('./actualApply');\n\n/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */\nmodule.exports = function callBindBasic(args) {\n\tif (args.length < 1 || typeof args[0] !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\treturn $actualApply(bind, $call, args);\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,IAAI,GAAGA,mBAAA,EAAwB;AACnC,IAAI,UAAU,GAAGC,IAAyB;;AAE1C,IAAI,KAAK,GAAGC,mBAAA,EAAyB;AACrC,IAAI,YAAY,GAAGC,WAAwB;;AAE3C;AACA,IAAA,oBAAc,GAAG,SAAS,aAAa,CAAC,IAAI,EAAE;AAC9C,CAAC,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,UAAU,EAAE;AACvD,EAAE,MAAM,IAAI,UAAU,CAAC,wBAAwB,CAAC;AAChD,CAAA;AACA,CAAC,OAAO,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC;AACvC;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { e as esDefineProperty } from '../es-define-property/index.js';
|
|
2
2
|
import { s as syntax } from '../es-errors/syntax.js';
|
|
3
|
-
import {
|
|
3
|
+
import { t as type } from '../es-errors/type.js';
|
|
4
4
|
import { g as gopd$1 } from '../gopd/index.js';
|
|
5
5
|
|
|
6
6
|
var $defineProperty = esDefineProperty;
|
|
7
7
|
|
|
8
8
|
var $SyntaxError = syntax;
|
|
9
|
-
var $TypeError =
|
|
9
|
+
var $TypeError = type;
|
|
10
10
|
|
|
11
11
|
var gopd = gopd$1;
|
|
12
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/define-data-property/index.js"],"sourcesContent":["'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar gopd = require('gopd');\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor<unknown>} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,eAAe,GAAGA,gBAA6B;;AAEnD,IAAI,YAAY,GAAGC,MAA2B;AAC9C,IAAI,UAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/define-data-property/index.js"],"sourcesContent":["'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar gopd = require('gopd');\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor<unknown>} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,IAAI,eAAe,GAAGA,gBAA6B;;AAEnD,IAAI,YAAY,GAAGC,MAA2B;AAC9C,IAAI,UAAU,GAAGC,IAAyB;;AAE1C,IAAI,IAAI,GAAGC,MAAe;;AAE1B;IACA,kBAAc,GAAG,SAAS,kBAAkB;AAC5C,CAAC,GAAG;AACJ,CAAC,QAAQ;AACT,CAAC;AACD,EAAE;AACF,CAAC,IAAI,CAAC,GAAG,KAAK,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,UAAU,CAAC,EAAE;AACrE,EAAE,MAAM,IAAI,UAAU,CAAC,wCAAwC,CAAC;AAChE,CAAA;AACA,CAAC,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;AACnE,EAAE,MAAM,IAAI,UAAU,CAAC,0CAA0C,CAAC;AAClE,CAAA;AACA,CAAC,IAAI,SAAS,CAAC,MAAM,GAAG,CAA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E,QAAQ,CAAC;;AAEzC,CAAC,IAAI,eAAe,EAAE;AACtB,EAAE,eAAe,CAAC,GAAG,EAAE,QAAQ,EAAE;AACjC,GAAG,YAAY,EAAE,eAAe,KAAK,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC,YAAY,GAAG,CAAC,eAAe;AACxF,GAAG,UAAU,EAAE,aAAa,KAAK,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC,UAAU,GAAG,CAAC,aAAa;AAChF,GAAG,KAAK,EAAE,KAAK;AACf,GAAG,QAAQ,EAAE,WAAW,KAAK,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC,QAAQ,GAAG,CAAC;AAC7D,GAAG,CAAC;AACJ,CAAA,CAAE,MAAM,IAAI,KAAK,KAAK,CAAC,aAAa,IAAI,CAAC,WAAW,IAAI,CAAC,eAAe,CAAC,EAAE;AAC3E;AACA,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC;AACxB,CAAA,CAAE,MAAM;AACR,EAAE,MAAM,IAAI,YAAY,CAAC,6GAA6G,CAAC;AACvI,CAAA;AACA;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
1
|
+
/** @type {import('./type')} */
|
|
2
|
+
var type = TypeError;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
if (hasRequiredType) return type;
|
|
6
|
-
hasRequiredType = 1;
|
|
7
|
-
|
|
8
|
-
/** @type {import('./type')} */
|
|
9
|
-
type = TypeError;
|
|
10
|
-
return type;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { requireType as __require };
|
|
4
|
+
export { type as t };
|
|
14
5
|
//# sourceMappingURL=type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sources":["../../../node_modules/es-errors/type.js"],"sourcesContent":["'use strict';\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"type.js","sources":["../../../node_modules/es-errors/type.js"],"sourcesContent":["'use strict';\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n"],"names":[],"mappings":"AAEA;AACA,IAAA,IAAc,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,85 +1,94 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
|
|
1
|
+
var implementation;
|
|
2
|
+
var hasRequiredImplementation;
|
|
3
|
+
|
|
4
|
+
function requireImplementation () {
|
|
5
|
+
if (hasRequiredImplementation) return implementation;
|
|
6
|
+
hasRequiredImplementation = 1;
|
|
7
|
+
|
|
8
|
+
/* eslint no-invalid-this: 1 */
|
|
9
|
+
|
|
10
|
+
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
11
|
+
var toStr = Object.prototype.toString;
|
|
12
|
+
var max = Math.max;
|
|
13
|
+
var funcType = '[object Function]';
|
|
14
|
+
|
|
15
|
+
var concatty = function concatty(a, b) {
|
|
16
|
+
var arr = [];
|
|
17
|
+
|
|
18
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
19
|
+
arr[i] = a[i];
|
|
20
|
+
}
|
|
21
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
22
|
+
arr[j + a.length] = b[j];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
return arr;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
var slicy = function slicy(arrLike, offset) {
|
|
29
|
+
var arr = [];
|
|
30
|
+
for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
31
|
+
arr[j] = arrLike[i];
|
|
32
|
+
}
|
|
33
|
+
return arr;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var joiny = function (arr, joiner) {
|
|
37
|
+
var str = '';
|
|
38
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
39
|
+
str += arr[i];
|
|
40
|
+
if (i + 1 < arr.length) {
|
|
41
|
+
str += joiner;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return str;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
implementation = function bind(that) {
|
|
48
|
+
var target = this;
|
|
49
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
50
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
51
|
+
}
|
|
52
|
+
var args = slicy(arguments, 1);
|
|
53
|
+
|
|
54
|
+
var bound;
|
|
55
|
+
var binder = function () {
|
|
56
|
+
if (this instanceof bound) {
|
|
57
|
+
var result = target.apply(
|
|
58
|
+
this,
|
|
59
|
+
concatty(args, arguments)
|
|
60
|
+
);
|
|
61
|
+
if (Object(result) === result) {
|
|
62
|
+
return result;
|
|
63
|
+
}
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
return target.apply(
|
|
67
|
+
that,
|
|
68
|
+
concatty(args, arguments)
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
var boundLength = max(0, target.length - args.length);
|
|
74
|
+
var boundArgs = [];
|
|
75
|
+
for (var i = 0; i < boundLength; i++) {
|
|
76
|
+
boundArgs[i] = '$' + i;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
80
|
+
|
|
81
|
+
if (target.prototype) {
|
|
82
|
+
var Empty = function Empty() {};
|
|
83
|
+
Empty.prototype = target.prototype;
|
|
84
|
+
bound.prototype = new Empty();
|
|
85
|
+
Empty.prototype = null;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return bound;
|
|
89
|
+
};
|
|
90
|
+
return implementation;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export { requireImplementation as __require };
|
|
85
94
|
//# sourceMappingURL=implementation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.js","sources":["../../../node_modules/function-bind/implementation.js"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n"],"names":[],"mappings":"AAEA;;
|
|
1
|
+
{"version":3,"file":"implementation.js","sources":["../../../node_modules/function-bind/implementation.js"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n"],"names":[],"mappings":";;;;;;;AAEA;;CAEA,IAAI,aAAa,GAAG,iDAAiD;AACrE,CAAA,IAAI,KAAK,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ;AACrC,CAAA,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG;CAClB,IAAI,QAAQ,GAAG,mBAAmB;;CAElC,IAAI,QAAQ,GAAG,SAAS,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE;KACnC,IAAI,GAAG,GAAG,EAAE;;AAEhB,KAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;SAClC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACrB,KAAA;AACA,KAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM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x_google_ignoreList":[0]}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __require as requireImplementation } from './implementation.js';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var functionBind;
|
|
4
|
+
var hasRequiredFunctionBind;
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
function requireFunctionBind () {
|
|
7
|
+
if (hasRequiredFunctionBind) return functionBind;
|
|
8
|
+
hasRequiredFunctionBind = 1;
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
var implementation = requireImplementation();
|
|
11
|
+
|
|
12
|
+
functionBind = Function.prototype.bind || implementation;
|
|
13
|
+
return functionBind;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { requireFunctionBind as __require };
|
|
8
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/function-bind/index.js"],"sourcesContent":["'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n"],"names":["require$$0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../node_modules/function-bind/index.js"],"sourcesContent":["'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n"],"names":["require$$0"],"mappings":";;;;;;;;;CAEA,IAAI,cAAc,GAAGA,qBAAA,EAA2B;;AAEhD,CAAA,YAAc,GAAG,QAAQ,CAAC,SAAS,CAAC,IAAI,IAAI,cAAc;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -4,7 +4,7 @@ import { _ as _eval } from '../es-errors/eval.js';
|
|
|
4
4
|
import { r as range } from '../es-errors/range.js';
|
|
5
5
|
import { r as ref } from '../es-errors/ref.js';
|
|
6
6
|
import { s as syntax } from '../es-errors/syntax.js';
|
|
7
|
-
import {
|
|
7
|
+
import { t as type } from '../es-errors/type.js';
|
|
8
8
|
import { u as uri } from '../es-errors/uri.js';
|
|
9
9
|
import { a as abs$1 } from '../math-intrinsics/abs.js';
|
|
10
10
|
import { f as floor$1 } from '../math-intrinsics/floor.js';
|
|
@@ -21,7 +21,7 @@ import { __require as requireObject_getPrototypeOf } from '../get-proto/Object.g
|
|
|
21
21
|
import { __require as requireReflect_getPrototypeOf } from '../get-proto/Reflect.getPrototypeOf.js';
|
|
22
22
|
import { __require as requireFunctionApply } from '../call-bind-apply-helpers/functionApply.js';
|
|
23
23
|
import { __require as requireFunctionCall } from '../call-bind-apply-helpers/functionCall.js';
|
|
24
|
-
import {
|
|
24
|
+
import { __require as requireFunctionBind } from '../function-bind/index.js';
|
|
25
25
|
import { h as hasown } from '../hasown/index.js';
|
|
26
26
|
|
|
27
27
|
var undefined$1;
|
|
@@ -33,7 +33,7 @@ var $EvalError = _eval;
|
|
|
33
33
|
var $RangeError = range;
|
|
34
34
|
var $ReferenceError = ref;
|
|
35
35
|
var $SyntaxError = syntax;
|
|
36
|
-
var $TypeError =
|
|
36
|
+
var $TypeError = type;
|
|
37
37
|
var $URIError = uri;
|
|
38
38
|
|
|
39
39
|
var abs = abs$1;
|
|
@@ -264,7 +264,7 @@ var LEGACY_ALIASES = {
|
|
|
264
264
|
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
265
265
|
};
|
|
266
266
|
|
|
267
|
-
var bind =
|
|
267
|
+
var bind = requireFunctionBind();
|
|
268
268
|
var hasOwn = hasown;
|
|
269
269
|
var $concat = bind.call($call, Array.prototype.concat);
|
|
270
270
|
var $spliceApply = bind.call($apply, Array.prototype.splice);
|