Skip to content

Commit

Permalink
string.prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
asukaminato0721 committed Nov 12, 2023
1 parent ce46ca4 commit cf8c42d
Show file tree
Hide file tree
Showing 61 changed files with 336 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DOWNLOAD_STATS.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,17 @@
| `@nolyfill/safe-regex-test` | [![npm](https://img.shields.io/npm/dt/@nolyfill/safe-regex-test.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/safe-regex-test) |
| `@nolyfill/side-channel` | [![npm](https://img.shields.io/npm/dt/@nolyfill/side-channel.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/side-channel) |
| `@nolyfill/string.prototype.at` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.at.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.at) |
| `@nolyfill/string.prototype.codepointat` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.codepointat.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.codepointat) |
| `@nolyfill/string.prototype.includes` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.includes.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.includes) |
| `@nolyfill/string.prototype.lastindexof` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.lastindexof.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.lastindexof) |
| `@nolyfill/string.prototype.matchall` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.matchall.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.matchall) |
| `@nolyfill/string.prototype.padend` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.padend.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.padend) |
| `@nolyfill/string.prototype.padstart` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.padstart.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.padstart) |
| `@nolyfill/string.prototype.repeat` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.repeat.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.repeat) |
| `@nolyfill/string.prototype.replaceall` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.replaceall.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.replaceall) |
| `@nolyfill/string.prototype.split` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.split.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.split) |
| `@nolyfill/string.prototype.startswith` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.startswith.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.startswith) |
| `@nolyfill/string.prototype.substr` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.substr.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.substr) |
| `@nolyfill/string.prototype.trim` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.trim.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.trim) |
| `@nolyfill/string.prototype.trimend` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.trimend.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.trimend) |
| `@nolyfill/string.prototype.trimleft` | [![npm](https://img.shields.io/npm/dt/@nolyfill/string.prototype.trimleft.svg?style=flat-square&logo=npm&logoColor=white&label=total%20downloads&color=333)](https://www.npmjs.com/package/@nolyfill/string.prototype.trimleft) |
Expand Down
7 changes: 7 additions & 0 deletions create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ const autoGeneratedPackagesList = [
['array.prototype.find'],
['array.from'],
['string.prototype.padend'],
['string.prototype.codepointat'],
['string.prototype.includes'],
['string.prototype.lastindexof'],
['string.prototype.repeat'],
['string.prototype.split'],
['string.prototype.startswith'],
['string.prototype.substr'],
['string.prototype.padstart'],
['object.getownpropertydescriptors'],
['array.prototype.reduce'],
Expand Down
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,17 @@
"safe-regex-test": "workspace:@nolyfill/safe-regex-test@*",
"side-channel": "workspace:@nolyfill/side-channel@*",
"string.prototype.at": "workspace:@nolyfill/string.prototype.at@*",
"string.prototype.codepointat": "workspace:@nolyfill/string.prototype.codepointat@*",
"string.prototype.includes": "workspace:@nolyfill/string.prototype.includes@*",
"string.prototype.lastindexof": "workspace:@nolyfill/string.prototype.lastindexof@*",
"string.prototype.matchall": "workspace:@nolyfill/string.prototype.matchall@*",
"string.prototype.padend": "workspace:@nolyfill/string.prototype.padend@*",
"string.prototype.padstart": "workspace:@nolyfill/string.prototype.padstart@*",
"string.prototype.repeat": "workspace:@nolyfill/string.prototype.repeat@*",
"string.prototype.replaceall": "workspace:@nolyfill/string.prototype.replaceall@*",
"string.prototype.split": "workspace:@nolyfill/string.prototype.split@*",
"string.prototype.startswith": "workspace:@nolyfill/string.prototype.startswith@*",
"string.prototype.substr": "workspace:@nolyfill/string.prototype.substr@*",
"string.prototype.trim": "workspace:@nolyfill/string.prototype.trim@*",
"string.prototype.trimend": "workspace:@nolyfill/string.prototype.trimend@*",
"string.prototype.trimleft": "workspace:@nolyfill/string.prototype.trimleft@*",
Expand Down Expand Up @@ -187,10 +194,17 @@
"safe-regex-test": "npm:@nolyfill/safe-regex-test@latest",
"side-channel": "npm:@nolyfill/side-channel@latest",
"string.prototype.at": "npm:@nolyfill/string.prototype.at@latest",
"string.prototype.codepointat": "npm:@nolyfill/string.prototype.codepointat@latest",
"string.prototype.includes": "npm:@nolyfill/string.prototype.includes@latest",
"string.prototype.lastindexof": "npm:@nolyfill/string.prototype.lastindexof@latest",
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@latest",
"string.prototype.padend": "npm:@nolyfill/string.prototype.padend@latest",
"string.prototype.padstart": "npm:@nolyfill/string.prototype.padstart@latest",
"string.prototype.repeat": "npm:@nolyfill/string.prototype.repeat@latest",
"string.prototype.replaceall": "npm:@nolyfill/string.prototype.replaceall@latest",
"string.prototype.split": "npm:@nolyfill/string.prototype.split@latest",
"string.prototype.startswith": "npm:@nolyfill/string.prototype.startswith@latest",
"string.prototype.substr": "npm:@nolyfill/string.prototype.substr@latest",
"string.prototype.trim": "npm:@nolyfill/string.prototype.trim@latest",
"string.prototype.trimend": "npm:@nolyfill/string.prototype.trimend@latest",
"string.prototype.trimleft": "npm:@nolyfill/string.prototype.trimleft@latest",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineEsShim } from '@nolyfill/shared';

export default defineEsShim(String.prototype.codePointAt);
3 changes: 3 additions & 0 deletions packages/data/es-shim-like/src/string.prototype.includes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineEsShim } from '@nolyfill/shared';

export default defineEsShim(String.prototype.includes);
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineEsShim } from '@nolyfill/shared';

export default defineEsShim(String.prototype.lastIndexOf);
3 changes: 3 additions & 0 deletions packages/data/es-shim-like/src/string.prototype.repeat.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineEsShim } from '@nolyfill/shared';

export default defineEsShim(String.prototype.repeat);
3 changes: 3 additions & 0 deletions packages/data/es-shim-like/src/string.prototype.split.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineEsShim } from '@nolyfill/shared';

export default defineEsShim(String.prototype.split);
3 changes: 3 additions & 0 deletions packages/data/es-shim-like/src/string.prototype.startswith.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineEsShim } from '@nolyfill/shared';

export default defineEsShim(String.prototype.startsWith);
3 changes: 3 additions & 0 deletions packages/data/es-shim-like/src/string.prototype.substr.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineEsShim } from '@nolyfill/shared';

export default defineEsShim(String.prototype.substr);
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.codepointat/auto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
/* noop */
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.codepointat/entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@nolyfill/shared"),t=(0,e.defineEsShim)(String.prototype.codePointAt);
Object.assign(exports.default, exports); module.exports = exports.default;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').implementation;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.codepointat/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').index();
21 changes: 21 additions & 0 deletions packages/generated/string.prototype.codepointat/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@nolyfill/string.prototype.codepointat",
"version": "1.0.25",
"repository": {
"type": "git",
"url": "https://github.com/SukkaW/nolyfill",
"directory": "packages/generated/string.prototype.codepointat"
},
"main": "./index.js",
"license": "MIT",
"files": [
"*.js"
],
"scripts": {},
"dependencies": {
"@nolyfill/shared": "workspace:*"
},
"engines": {
"node": ">=12.4.0"
}
}
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.codepointat/polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').polyfill;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.codepointat/shim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').shim;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.includes/auto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
/* noop */
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.includes/entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@nolyfill/shared"),t=(0,e.defineEsShim)(String.prototype.includes);
Object.assign(exports.default, exports); module.exports = exports.default;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').implementation;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.includes/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').index();
21 changes: 21 additions & 0 deletions packages/generated/string.prototype.includes/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@nolyfill/string.prototype.includes",
"version": "1.0.25",
"repository": {
"type": "git",
"url": "https://github.com/SukkaW/nolyfill",
"directory": "packages/generated/string.prototype.includes"
},
"main": "./index.js",
"license": "MIT",
"files": [
"*.js"
],
"scripts": {},
"dependencies": {
"@nolyfill/shared": "workspace:*"
},
"engines": {
"node": ">=12.4.0"
}
}
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.includes/polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').polyfill;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.includes/shim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').shim;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.lastindexof/auto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
/* noop */
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.lastindexof/entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@nolyfill/shared"),t=(0,e.defineEsShim)(String.prototype.lastIndexOf);
Object.assign(exports.default, exports); module.exports = exports.default;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').implementation;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.lastindexof/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').index();
21 changes: 21 additions & 0 deletions packages/generated/string.prototype.lastindexof/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@nolyfill/string.prototype.lastindexof",
"version": "1.0.25",
"repository": {
"type": "git",
"url": "https://github.com/SukkaW/nolyfill",
"directory": "packages/generated/string.prototype.lastindexof"
},
"main": "./index.js",
"license": "MIT",
"files": [
"*.js"
],
"scripts": {},
"dependencies": {
"@nolyfill/shared": "workspace:*"
},
"engines": {
"node": ">=12.4.0"
}
}
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.lastindexof/polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').polyfill;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.lastindexof/shim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').shim;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.repeat/auto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
/* noop */
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.repeat/entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@nolyfill/shared"),t=(0,e.defineEsShim)(String.prototype.repeat);
Object.assign(exports.default, exports); module.exports = exports.default;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.repeat/implementation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').implementation;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.repeat/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').index();
21 changes: 21 additions & 0 deletions packages/generated/string.prototype.repeat/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@nolyfill/string.prototype.repeat",
"version": "1.0.25",
"repository": {
"type": "git",
"url": "https://github.com/SukkaW/nolyfill",
"directory": "packages/generated/string.prototype.repeat"
},
"main": "./index.js",
"license": "MIT",
"files": [
"*.js"
],
"scripts": {},
"dependencies": {
"@nolyfill/shared": "workspace:*"
},
"engines": {
"node": ">=12.4.0"
}
}
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.repeat/polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').polyfill;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.repeat/shim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').shim;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.split/auto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
/* noop */
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.split/entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@nolyfill/shared"),t=(0,e.defineEsShim)(String.prototype.split);
Object.assign(exports.default, exports); module.exports = exports.default;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.split/implementation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').implementation;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.split/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').index();
21 changes: 21 additions & 0 deletions packages/generated/string.prototype.split/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@nolyfill/string.prototype.split",
"version": "1.0.25",
"repository": {
"type": "git",
"url": "https://github.com/SukkaW/nolyfill",
"directory": "packages/generated/string.prototype.split"
},
"main": "./index.js",
"license": "MIT",
"files": [
"*.js"
],
"scripts": {},
"dependencies": {
"@nolyfill/shared": "workspace:*"
},
"engines": {
"node": ">=12.4.0"
}
}
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.split/polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').polyfill;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.split/shim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').shim;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.startswith/auto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
/* noop */
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.startswith/entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@nolyfill/shared"),t=(0,e.defineEsShim)(String.prototype.matchAll);
Object.assign(exports.default, exports); module.exports = exports.default;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').implementation;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.startswith/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').index();
21 changes: 21 additions & 0 deletions packages/generated/string.prototype.startswith/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@nolyfill/string.prototype.startswith",
"version": "1.0.25",
"repository": {
"type": "git",
"url": "https://github.com/SukkaW/nolyfill",
"directory": "packages/generated/string.prototype.startswith"
},
"main": "./index.js",
"license": "MIT",
"files": [
"*.js"
],
"scripts": {},
"dependencies": {
"@nolyfill/shared": "workspace:*"
},
"engines": {
"node": ">=12.4.0"
}
}
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.startswith/polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').polyfill;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.startswith/shim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').shim;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.substr/auto.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
/* noop */
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.substr/entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@nolyfill/shared"),t=(0,e.defineEsShim)(String.prototype.substr);
Object.assign(exports.default, exports); module.exports = exports.default;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.substr/implementation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').implementation;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.substr/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').index();
21 changes: 21 additions & 0 deletions packages/generated/string.prototype.substr/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@nolyfill/string.prototype.substr",
"version": "1.0.25",
"repository": {
"type": "git",
"url": "https://github.com/SukkaW/nolyfill",
"directory": "packages/generated/string.prototype.substr"
},
"main": "./index.js",
"license": "MIT",
"files": [
"*.js"
],
"scripts": {},
"dependencies": {
"@nolyfill/shared": "workspace:*"
},
"engines": {
"node": ">=12.4.0"
}
}
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.substr/polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').polyfill;
2 changes: 2 additions & 0 deletions packages/generated/string.prototype.substr/shim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'use strict';
module.exports = require('./entry.js').shim;
7 changes: 7 additions & 0 deletions packages/tools/cli/src/all-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,17 @@ export const allPackages = [
"safe-regex-test",
"side-channel",
"string.prototype.at",
"string.prototype.codepointat",
"string.prototype.includes",
"string.prototype.lastindexof",
"string.prototype.matchall",
"string.prototype.padend",
"string.prototype.padstart",
"string.prototype.repeat",
"string.prototype.replaceall",
"string.prototype.split",
"string.prototype.startswith",
"string.prototype.substr",
"string.prototype.trim",
"string.prototype.trimend",
"string.prototype.trimleft",
Expand Down
Loading

0 comments on commit cf8c42d

Please sign in to comment.