-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(codegen): enable minification on output
- Loading branch information
Showing
75 changed files
with
126 additions
and
1,468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const _default = (0, _shared.defineEsShim)(Array.prototype.includes); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),r=(0,e.defineEsShim)(Array.prototype.includes); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const _default = (0, _shared.defineEsShim)(Array.from, true); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),r=(0,e.defineEsShim)(Array.from,!0); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const implementation = Array.prototype.at || function at(n) { | ||
n = Math.trunc(n) || 0; | ||
if (n < 0) n += this.length; | ||
if (n < 0 || n >= this.length) return; | ||
return this[n]; | ||
}; | ||
const _default = (0, _shared.defineEsShim)(implementation); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),t=Array.prototype.at||function(e){if((e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0)&&!(e>=this.length))return this[e]},r=(0,e.defineEsShim)(t); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const _default = (0, _shared.defineEsShim)(Array.prototype.find); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),r=(0,e.defineEsShim)(Array.prototype.find); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- polyfill | ||
const implementation = Array.prototype.findLast || function findLast(callback, thisArg) { | ||
for(let i = this.length - 1; i >= 0; i--){ | ||
const value = this[i]; | ||
if (callback.call(thisArg, value, i, this)) return value; | ||
} | ||
return undefined; | ||
}; | ||
const _default = (0, _shared.defineEsShim)(implementation); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),t=Array.prototype.findLast||function(e,t){for(let r=this.length-1;r>=0;r--){let i=this[r];if(e.call(t,i,r,this))return i}},r=(0,e.defineEsShim)(t); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const implementation = Array.prototype.findLastIndex || function findLastIndex(callback, thisArg) { | ||
for(let i = this.length - 1; i >= 0; i--){ | ||
if (callback.call(thisArg, this[i], i, this)) return i; | ||
} | ||
return -1; | ||
}; | ||
const _default = (0, _shared.defineEsShim)(implementation); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),t=Array.prototype.findLastIndex||function(e,t){for(let r=this.length-1;r>=0;r--)if(e.call(t,this[r],r,this))return r;return -1},r=(0,e.defineEsShim)(t); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const _default = (0, _shared.defineEsShim)(Array.prototype.flat); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),r=(0,e.defineEsShim)(Array.prototype.flat); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const _default = (0, _shared.defineEsShim)(Array.prototype.flatMap); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),r=(0,e.defineEsShim)(Array.prototype.flatMap); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const _default = (0, _shared.defineEsShim)(Array.prototype.reduce); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),r=(0,e.defineEsShim)(Array.prototype.reduce); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const implementation = Array.prototype.toSorted || function toSorted(compareFn) { | ||
const o = Object(this); | ||
const l = Number(o.length); | ||
const a = new Array(l); | ||
for(let i = 0; i < l; i++){ | ||
a[i] = o[i]; | ||
} | ||
Array.prototype.sort.call(a, compareFn); | ||
return a; | ||
}; | ||
const _default = (0, _shared.defineEsShim)(implementation); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@nolyfill/shared"),r=Array.prototype.toSorted||function(e){let r=Object(this),t=Number(r.length),o=Array(t);for(let e=0;e<t;e++)o[e]=r[e];return Array.prototype.sort.call(o,e),o},t=(0,e.defineEsShim)(r); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
const _default = (0, _shared.defineEsShim)(ArrayBuffer.prototype.slice); | ||
|
||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return r}});const e=require("@nolyfill/shared"),r=(0,e.defineEsShim)(ArrayBuffer.prototype.slice); | ||
Object.assign(exports.default, exports); | ||
module.exports = exports.default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _dequal = require("dequal"); | ||
const deepEqual = (a, b)=>(0, _dequal.dequal)(a, b); | ||
const _default = deepEqual; | ||
|
||
if ((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') { | ||
Object.assign(exports.default, exports); | ||
} | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("dequal"),t=(t,r)=>(0,e.dequal)(t,r); | ||
((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') && Object.assign(exports.default,exports); | ||
module.exports = exports.default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _shared.defineProperties; | ||
} | ||
}); | ||
const _shared = require("@nolyfill/shared"); | ||
|
||
if ((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') { | ||
Object.assign(exports.default, exports); | ||
} | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return e.defineProperties}});const e=require("@nolyfill/shared"); | ||
((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') && Object.assign(exports.default,exports); | ||
module.exports = exports.default; |
Oops, something went wrong.