{"id":20780280,"url":"https://github.com/xotic750/create-array-fix-x","last_synced_at":"2026-04-22T01:32:57.590Z","repository":{"id":66080844,"uuid":"105482548","full_name":"Xotic750/create-array-fix-x","owner":"Xotic750","description":"Address Safari 10.1 array bug: https://bugs.webkit.org/show_bug.cgi?id=170264","archived":false,"fork":false,"pushed_at":"2022-11-05T14:21:27.000Z","size":237,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T11:00:02.750Z","etag":null,"topics":["array","browser","bugfix","javascript","nodejs","opera"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xotic750.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-01T23:39:36.000Z","updated_at":"2020-08-10T15:30:49.000Z","dependencies_parsed_at":"2023-03-26T01:49:18.201Z","dependency_job_id":null,"html_url":"https://github.com/Xotic750/create-array-fix-x","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Xotic750/create-array-fix-x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fcreate-array-fix-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fcreate-array-fix-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fcreate-array-fix-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fcreate-array-fix-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xotic750","download_url":"https://codeload.github.com/Xotic750/create-array-fix-x/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fcreate-array-fix-x/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32117354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"ssl_error","status_checked_at":"2026-04-22T00:30:22.894Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["array","browser","bugfix","javascript","nodejs","opera"],"created_at":"2024-11-17T13:33:12.083Z","updated_at":"2026-04-22T01:32:57.568Z","avatar_url":"https://github.com/Xotic750.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://travis-ci.org/Xotic750/create-array-fix-x\"\n   title=\"Travis status\"\u003e\n\u003cimg\n   src=\"https://travis-ci.org/Xotic750/create-array-fix-x.svg?branch=master\"\n   alt=\"Travis status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://david-dm.org/Xotic750/create-array-fix-x\"\n   title=\"Dependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/create-array-fix-x.svg\"\n   alt=\"Dependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://david-dm.org/Xotic750/create-array-fix-x#info=devDependencies\"\n   title=\"devDependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/create-array-fix-x/dev-status.svg\"\n   alt=\"devDependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://badge.fury.io/js/create-array-fix-x\" title=\"npm version\"\u003e\n\u003cimg src=\"https://badge.fury.io/js/create-array-fix-x.svg\"\n   alt=\"npm version\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca name=\"module_create-array-fix-x\"\u003e\u003c/a\u003e\n\n## create-array-fix-x\nAddress Safari 10.1 array bug: https://bugs.webkit.org/show_bug.cgi?id=170264\n\n**Version**: 0.1.0  \n**Author**: Xotic750 \u003cXotic750@gmail.com\u003e  \n**License**: [MIT](\u0026lt;https://opensource.org/licenses/MIT\u0026gt;)  \n**Copyright**: Xotic750  \n\u003ca name=\"exp_module_create-array-fix-x--module.exports\"\u003e\u003c/a\u003e\n\n### `module.exports([parameters])` ⇒ \u003ccode\u003eObject\u003c/code\u003e ⏏\nAddress Safari 10.1 array bug: https://bugs.webkit.org/show_bug.cgi?id=170264\n\n**Kind**: Exported function  \n**Returns**: \u003ccode\u003eObject\u003c/code\u003e - An array or array subclass if array is broken.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| [parameters] | \u003ccode\u003enumber\u003c/code\u003e \\| \u003ccode\u003e\\*\u003c/code\u003e | The construction parameters. |\n\n**Example**  \n```js\nvar createArray = require('create-array-fix-x');\n\ncreateArray(); // []\ncreateArray(5); // [, , , , , ]\ncreateArray(1, 2, 3, 4, 5); // [1, 2, 3, 4, 5]\n\n// adressed bug\nvar testArray = createArrayFix(0, 2147483648); // Note: the second number is greater than a signed 32bit int\ntestArray.shift(); // remove the first element so arr is [2147483648]\ntestArray[1] = 1; // Safari fails to add the new element and the array is unchanged\ntestArray; // [2147483648, 1]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Fcreate-array-fix-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxotic750%2Fcreate-array-fix-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Fcreate-array-fix-x/lists"}