diff --git a/cafeflow/src/components/Community/Community.js b/cafeflow/src/components/Community/Community.js index ab290e05..acf903e1 100644 --- a/cafeflow/src/components/Community/Community.js +++ b/cafeflow/src/components/Community/Community.js @@ -1,13 +1,11 @@ import React from "react"; -import { useNavigate,Link } from "react-router-dom"; +import { useNavigate, Link } from "react-router-dom"; import { useState, useEffect } from "react"; import axios from "axios"; import { API_URL } from "../Constant"; import ViewCount from "../../icons/ViewCount.png"; import "./Community.css"; - - const Community = () => { const token = localStorage.getItem("jwtToken"); const [type, setType] = useState("freeBoard"); @@ -15,8 +13,8 @@ const Community = () => { const [isFreeBoardClick, SetIsFreeBoardClick] = useState(true); const [pageNum, setPageNum] = useState(0); const [size, setSize] = useState(8); - const [keyword,setKeyword]=useState(""); - const [option,setOption]=useState("제목"); + const [keyword, setKeyword] = useState(""); + const [option, setOption] = useState("제목"); const navigate = useNavigate(); const moveToBoard = () => { @@ -73,37 +71,37 @@ const Community = () => { return `${year}/${month}/${day}`; } - const handleSubmit=(e)=>{ - e.preventDefault(); - axios - .get(`${API_URL}/boards?page=${pageNum}&size=${size}&boardType=${type}&option=${option}&searchKeyword=${keyword}`, { - headers: { - Authorization: `Bearer ${token}`, - }, - }) + const handleSubmit = (e) => { + e.preventDefault(); + axios + .get( + `${API_URL}/boards?page=${pageNum}&size=${size}&boardType=${type}&option=${option}&searchKeyword=${keyword}`, + { + headers: { + Authorization: `Bearer ${token}`, + }, + } + ) .then((response) => { setposts(response.data.data.boardList); - e.target.value=""; + e.target.value = ""; }) .catch((error) => { console.log(error); }); - } + }; - const handleKeyDown=(e)=>{ + const handleKeyDown = (e) => { e.preventDefault(); console.log(e.key); - - } + }; - const handleInputChange=(event)=>{ + const handleInputChange = (event) => { setKeyword(event.target.value); - - } - const handleSelect=(event)=>{ + }; + const handleSelect = (event) => { setOption(event.target.value); - } - + }; return (
@@ -114,18 +112,25 @@ const Community = () => { 글쓰기
- 개발자들과 소통해 보아요! + + 개발자들과 소통해 보아요!{" "} +
- +
- +
{ display: "flex", }} > - - - 최신순 - - 인기순 + + + 최신순 + + + + 인기순 +
@@ -154,40 +176,46 @@ const Community = () => { >
- {/* map 함수를 이용하여 questions에 들어가있는 배열 가져오기 */} - {posts.map((post) => ( -
+ {/* map 함수를 이용하여 questions에 들어가있는 배열 가져오기 */} + {posts.map((post) => ( +
  • -
    -
    {post.createdBy} - 작성 : {formatDate(post.createdAt)} +
    + + {post.createdBy} + + + {" "} + 작성 : {formatDate(post.createdAt)} +
    - {post.viewCount} + {post.viewCount}
    -
    -
    - +
    + {post.title}
    -
    - -
    +
  • -
-
-
-
- - ))} +
+
+ ))}
- {/* */} -
+
diff --git a/cafeflow/src/components/Editor/Draft.js b/cafeflow/src/components/Editor/Draft.js new file mode 100644 index 00000000..a5f96407 --- /dev/null +++ b/cafeflow/src/components/Editor/Draft.js @@ -0,0 +1,59 @@ +// import { convertToRaw } from "draft-js"; +// import draftToHtml from "draftjs-to-html"; +// import { useEffect, useState } from "react"; +// import { EditorState } from "draft-js"; +// import { Editor } from "react-draft-wysiwyg"; +// import draftjsToHtml from "draftjs-to-html"; + +// import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css"; + +// import "./Draft.module.css"; + +// const Draft = () => { +// const [editorState, setEditorState] = useState(EditorState.createEmpty()); +// const [htmlString, setHtmlString] = useState(""); + +// const handleSave = () => { +// const rawContentState = convertToRaw(editorState.getCurrentContent()); +// const htmlOutput = draftToHtml(rawContentState); + +// // Here, you can save the `htmlOutput` to your backend or perform other tasks +// console.log(htmlOutput); +// }; + +// const updateTextDescription = async (state) => { +// await setEditorState(state); +// const html = draftjsToHtml(convertToRaw(editorState.getCurrentContent())); +// setHtmlString(html); +// }; + +// const uploadCallback = () => { +// console.log("이미지 업로드"); +// }; + +// return ( +// <> +//
+// +// +//
+// +// ); +// }; + +// export default Draft; diff --git a/cafeflow/src/components/Editor/Draft.module.css b/cafeflow/src/components/Editor/Draft.module.css new file mode 100644 index 00000000..e397141f --- /dev/null +++ b/cafeflow/src/components/Editor/Draft.module.css @@ -0,0 +1,26 @@ +.wrapper-class { + display: flex; + width: 80%; + + flex-direction: row; +} + +.editor-class { + /* Styles for the editor input area */ + border: 1px solid black; + padding: 5px; + min-height: 200px; +} + +.toolbar-class { + /* Styles for the toolbar */ + width: 80%; +} + +.Draft_Container { + display: flex; +} + +.rdw-option-wrapper { + color: black !important; +} diff --git a/cafeflow/src/components/Login/Login.js b/cafeflow/src/components/Login/Login.js index 3617f2e0..12524d24 100644 --- a/cafeflow/src/components/Login/Login.js +++ b/cafeflow/src/components/Login/Login.js @@ -26,6 +26,7 @@ const Login = () => { const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); + const [point, setPoint] = useState(""); const setToken = useSetRecoilState(tokenState); const setAge = useSetRecoilState(ageState); @@ -49,7 +50,7 @@ const Login = () => { password: password, }) .then((response) => { - const { jwtToken, email, age, nickname } = response.data; + const { jwtToken, email, age, nickname, point } = response.data; console.log(response.data); setToken(jwtToken); @@ -61,6 +62,9 @@ const Login = () => { localStorage.setItem("email", email); localStorage.setItem("nickname", nickname); localStorage.setItem("age", age); + localStorage.setItem("point", point); + + console.log(point); alert("로그인에 성공했습니다."); navigate("/"); diff --git a/cafeflow/src/components/QnAForm/QnAForm.css b/cafeflow/src/components/QnAForm/QnAForm.css index e69de29b..0186cd43 100644 --- a/cafeflow/src/components/QnAForm/QnAForm.css +++ b/cafeflow/src/components/QnAForm/QnAForm.css @@ -0,0 +1,30 @@ +.QnaForm_Container { + display: flex; + justify-content: center; + align-items: center; + width: 100vw; + height: 100vh; + flex-direction: column; + background-color: white; +} + +.QnAFormContainer { + width: 60vw; + height: 80vh; + border: 1px solid lightgray; + /* justify-content: center; */ + /* align-items: center; */ + flex-direction: column; + display: flex; + margin-top: 11vh; + border-radius: 20px; + box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); + padding: 2vw; +} + +form > h2 { + margin-bottom: 1vh; +} + +.QnAInput { +} diff --git a/cafeflow/src/components/QnAForm/QnAForm.js b/cafeflow/src/components/QnAForm/QnAForm.js index f0e10f4d..919fb22d 100644 --- a/cafeflow/src/components/QnAForm/QnAForm.js +++ b/cafeflow/src/components/QnAForm/QnAForm.js @@ -1,7 +1,8 @@ import React, { useState } from "react"; import axios from "axios"; import { API_URL } from "../Constant"; -import { useHistory, useNavigate } from "react-router-dom"; +import { useNavigate } from "react-router-dom"; +import Draft from "../Editor/Draft"; import "./QnAForm.css"; @@ -52,28 +53,32 @@ const QnAForm = () => { }; return ( -
+
+

AI 궁금증 해결하기

- +

제목

+ + {errors.title &&

{errors.title}

}
- +

본문

+ + {errors.content &&

{errors.content}

}
- -
- +

포인트 입력

+ + {errors.point &&

{errors.point}

} +
diff --git a/cafeflow/src/components/QnAPage/QnAPage.js b/cafeflow/src/components/QnAPage/QnAPage.js index 398bc39c..19e240a9 100644 --- a/cafeflow/src/components/QnAPage/QnAPage.js +++ b/cafeflow/src/components/QnAPage/QnAPage.js @@ -4,7 +4,8 @@ import { Link, useNavigate, useParams } from "react-router-dom"; import { API_URL } from "../Constant"; import writer1 from "../../icons/writer1.png"; import ViewCount from "../../icons/ViewCount.png"; -import divider from "../../icons/Divider.png"; +import check from "../../icons/check.png"; + import "./QnAPage.css"; const QnAPage = () => { @@ -21,7 +22,7 @@ const QnAPage = () => { const [comments, setComments] = useState([]); // 댓글 리스트를 저장하는 상태 변수 const [editingCommentId, setEditingCommentId] = useState(null); // 수정 중인 댓글의 ID를 저장하는 상태 const [editingComment, setEditingComment] = useState(""); // 수정할 댓글의 내용을 저장하는 상태 - + const [isChecked, setIsChecked] = useState(false); // 채택하기 버튼 const token = localStorage.getItem("jwtToken"); // JWT 토큰 const currentUser = localStorage.getItem("nickname"); // 현재 로그인한 유저의 닉네임 @@ -137,6 +138,19 @@ const QnAPage = () => { setEditing(true); }; + // 컴포넌트가 마운트되면 로컬 스토리지에서 상태를 불러옴 + useEffect(() => { + const savedState = localStorage.getItem(`isChecked_${questionId}`); + if (savedState) { + setIsChecked(JSON.parse(savedState)); + } + }, [questionId]); + + const handleAdoptionClick = () => { + setIsChecked(true); + localStorage.setItem(`isChecked_${questionId}`, "true"); // 상태를 로컬 스토리지에 저장 + }; + // QnA 질문 수정 기능 : 현재 로그인 중인 유저의 정보와 질문 작성자의 정보가 일치해야함 보임 const handleUpdate = () => { if (window.confirm("질문을 수정하시겠습니까?")) { @@ -264,23 +278,53 @@ const QnAPage = () => { )}
-
- -

{question.createdBy}

-

{formatDate(question.createdAt)}

-
+
+
-

{question.viewCount}

+

{question.createdBy}

+

{formatDate(question.createdAt)}

+
+ +

{question.viewCount}

+
+ {currentUser == question.createdBy && isChecked ? ( + // isChecked가 true일 때 체크 이미지와 "채택 완료" 텍스트를 보여줌 +
+ 체크 + 채택 완료 +
+ ) : ( + // isChecked가 false일 때 "채택하기" 버튼을 보여줌 + + )}

diff --git a/cafeflow/src/components/myPage/MyPage.js b/cafeflow/src/components/myPage/MyPage.js index 8aeb87ef..81ce5b94 100644 --- a/cafeflow/src/components/myPage/MyPage.js +++ b/cafeflow/src/components/myPage/MyPage.js @@ -1,12 +1,36 @@ -import React from "react"; +import axios from "axios"; +import React, { useEffect, useState } from "react"; +import { API_URL } from "../Constant"; import "./MyPage.css"; const MyPage = () => { const email = localStorage.getItem("email"); const nickname = localStorage.getItem("nickname"); - const age = localStorage.getItem("age"); + const token = localStorage.getItem("jwtToken"); + const point = localStorage.getItem("point"); + const [userInfo, setUserInfo] = useState({ + email: "", + nickname: "", + point: 0, + }); + useEffect(() => { + axios + .get(`${API_URL}/get-info?email=${email}`, { + headers: { + Authorization: `Bearer ${token}`, + }, + }) + .then((response) => { + console.log(response.data); + setUserInfo({ email, nickname, point }); + }) + .catch((error) => { + console.log(error); + console.log(token); + }); + }, [token]); return (

@@ -15,16 +39,16 @@ const MyPage = () => {

아이디 -
{email}
+
{userInfo.email}

닉네임 -
{nickname}
+
{userInfo.nickname}
+

+

+ 내공 점수 +
{userInfo.point}

- {/*

- 나이 -
{age}
-

*/}
diff --git a/cafeflow/src/icons/check.png b/cafeflow/src/icons/check.png new file mode 100644 index 00000000..c7fefdc6 Binary files /dev/null and b/cafeflow/src/icons/check.png differ diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index a16dacd4..35b57287 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -4563,8 +4563,7 @@ "node_modules/asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", - "peer": true + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" }, "node_modules/ast-types": { "version": "0.15.2", @@ -5183,6 +5182,16 @@ "version": "1.9.0", "license": "MIT" }, + "node_modules/core-js": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.32.0.tgz", + "integrity": "sha512-rd4rYZNlF3WuoYuRIDEmbR/ga9CeuWX9U05umAvgrrZoHY4Z++cp/xwPQMvUpBB4Ag6J8KfD80G0zwCyaSxDww==", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, "node_modules/core-js-compat": { "version": "3.32.0", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.32.0.tgz", @@ -5216,6 +5225,33 @@ "node": ">=10" } }, + "node_modules/cross-fetch": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "node_modules/cross-fetch/node_modules/node-fetch": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", + "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -5339,6 +5375,42 @@ "csstype": "^3.0.2" } }, + "node_modules/draft-js": { + "version": "0.11.7", + "resolved": "https://registry.npmjs.org/draft-js/-/draft-js-0.11.7.tgz", + "integrity": "sha512-ne7yFfN4sEL82QPQEn80xnADR8/Q6ALVworbC5UOSzOvjffmYfFsr3xSZtxbIirti14R7Y33EZC5rivpLgIbsg==", + "dependencies": { + "fbjs": "^2.0.0", + "immutable": "~3.7.4", + "object-assign": "^4.1.1" + }, + "peerDependencies": { + "react": ">=0.14.0", + "react-dom": ">=0.14.0" + } + }, + "node_modules/draft-js/node_modules/immutable": { + "version": "3.7.6", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-3.7.6.tgz", + "integrity": "sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/draftjs-to-html": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/draftjs-to-html/-/draftjs-to-html-0.9.1.tgz", + "integrity": "sha512-fFstE6+IayaVFBEvaFt/wN8vdj8FsTRzij7dy7LI9QIwf5LgfHFi9zSpvCg+feJ2tbYVqHxUkjcibwpsTpgFVQ==" + }, + "node_modules/draftjs-utils": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/draftjs-utils/-/draftjs-utils-0.10.2.tgz", + "integrity": "sha512-EstHqr3R3JVcilJrBaO/A+01GvwwKmC7e4TCjC7S94ZeMh4IVmf60OuQXtHHpwItK8C2JCi3iljgN5KHkJboUg==", + "peerDependencies": { + "draft-js": "^0.11.x", + "immutable": "3.x.x || 4.x.x" + } + }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -5535,6 +5607,34 @@ "bser": "2.1.1" } }, + "node_modules/fbjs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-2.0.0.tgz", + "integrity": "sha512-8XA8ny9ifxrAWlyhAbexXcs3rRMtxWcs3M0lctLfB49jRDHiaxj+Mo0XxbwE7nKZYzgCFoq64FS+WFd4IycPPQ==", + "dependencies": { + "core-js": "^3.6.4", + "cross-fetch": "^3.0.4", + "fbjs-css-vars": "^1.0.0", + "loose-envify": "^1.0.0", + "object-assign": "^4.1.0", + "promise": "^7.1.1", + "setimmediate": "^1.0.5", + "ua-parser-js": "^0.7.18" + } + }, + "node_modules/fbjs-css-vars": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz", + "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==" + }, + "node_modules/fbjs/node_modules/promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "dependencies": { + "asap": "~2.0.3" + } + }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -5835,6 +5935,15 @@ "version": "16.13.1", "license": "MIT" }, + "node_modules/html-to-draftjs": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/html-to-draftjs/-/html-to-draftjs-1.5.0.tgz", + "integrity": "sha512-kggLXBNciKDwKf+KYsuE+V5gw4dZ7nHyGMX9m0wy7urzWjKGWyNFetmArRLvRV0VrxKN70WylFsJvMTJx02OBQ==", + "peerDependencies": { + "draft-js": "^0.10.x || ^0.11.x", + "immutable": "3.x.x || 4.x.x" + } + }, "node_modules/http-errors": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", @@ -5914,6 +6023,12 @@ "node": ">=14.0.0" } }, + "node_modules/immutable": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz", + "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==", + "peer": true + }, "node_modules/import-fresh": { "version": "3.3.0", "license": "MIT", @@ -6713,6 +6828,14 @@ "version": "1.2.4", "license": "MIT" }, + "node_modules/linkify-it": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", + "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "dependencies": { + "uc.micro": "^1.0.1" + } + }, "node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -8727,6 +8850,24 @@ "react": "^18.2.0" } }, + "node_modules/react-draft-wysiwyg": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/react-draft-wysiwyg/-/react-draft-wysiwyg-1.15.0.tgz", + "integrity": "sha512-p1cYZcWc6/ALFBVksbFoCM3b29fGQDlZLIMrXng0TU/UElxIOF2/AWWo4L5auIYVhmqKTZ0NkNjnXOzGGuxyeA==", + "dependencies": { + "classnames": "^2.2.6", + "draftjs-utils": "^0.10.2", + "html-to-draftjs": "^1.5.0", + "linkify-it": "^2.2.0", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "draft-js": "^0.10.x || ^0.11.x", + "immutable": "3.x.x || 4.x.x", + "react": "0.13.x || 0.14.x || ^15.0.0-0 || 15.x.x || ^16.0.0-0 || ^16.x.x || ^17.x.x || ^18.x.x", + "react-dom": "0.13.x || 0.14.x || ^15.0.0-0 || 15.x.x || ^16.0.0-0 || ^16.x.x || ^17.x.x || ^18.x.x" + } + }, "node_modules/react-is": { "version": "18.2.0", "license": "MIT" @@ -9193,6 +9334,11 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "peer": true }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -9634,6 +9780,29 @@ "node": ">=8" } }, + "node_modules/ua-parser-js": { + "version": "0.7.35", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.35.tgz", + "integrity": "sha512-veRf7dawaj9xaWEu9HoTVn5Pggtc/qj+kqTOFvNiN1l0YdxwC1kvel57UCjThjGa3BHBihE8/UJAHI+uQHmd/g==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + } + ], + "engines": { + "node": "*" + } + }, + "node_modules/uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, "node_modules/uglify-es": { "version": "3.3.9", "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", diff --git a/node_modules/core-js/LICENSE b/node_modules/core-js/LICENSE new file mode 100644 index 00000000..445fc9d4 --- /dev/null +++ b/node_modules/core-js/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2014-2023 Denis Pushkarev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/core-js/README.md b/node_modules/core-js/README.md new file mode 100644 index 00000000..9d57a672 --- /dev/null +++ b/node_modules/core-js/README.md @@ -0,0 +1,95 @@ +![logo](https://user-images.githubusercontent.com/2213682/146607186-8e13ddef-26a4-4ebf-befd-5aac9d77c090.png) + +
+ +[![fundraising](https://opencollective.com/core-js/all/badge.svg?label=fundraising)](https://opencollective.com/core-js) [![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![core-js downloads](https://img.shields.io/npm/dm/core-js.svg?label=npm%20i%20core-js)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18) + +
+ +**I highly recommend reading this: [So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)** +--- + +> Modular standard library for JavaScript. Includes polyfills for [ECMAScript up to 2023](https://github.com/zloirock/core-js#ecmascript): [promises](https://github.com/zloirock/core-js#ecmascript-promise), [symbols](https://github.com/zloirock/core-js#ecmascript-symbol), [collections](https://github.com/zloirock/core-js#ecmascript-collections), iterators, [typed arrays](https://github.com/zloirock/core-js#ecmascript-typed-arrays), many other features, [ECMAScript proposals](https://github.com/zloirock/core-js#ecmascript-proposals), [some cross-platform WHATWG / W3C features and proposals](#web-standards) like [`URL`](https://github.com/zloirock/core-js#url-and-urlsearchparams). You can load only required features or use it without global namespace pollution. + +## Raising funds + +`core-js` isn't backed by a company, so the future of this project depends on you. Become a sponsor or a backer if you are interested in `core-js`: [**Open Collective**](https://opencollective.com/core-js), [**Patreon**](https://patreon.com/zloirock), [**Boosty**](https://boosty.to/zloirock), **Bitcoin ( bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz )**, [**Alipay**](https://user-images.githubusercontent.com/2213682/219464783-c17ad329-17ce-4795-82a7-f609493345ed.png). + +--- + + + +--- + + + +--- + +[*Example of usage*](https://tinyurl.com/2mknex43): +```js +import 'core-js/actual'; + +Promise.resolve(42).then(it => console.log(it)); // => 42 + +Array.from(new Set([1, 2, 3]).union(new Set([3, 4, 5]))); // => [1, 2, 3, 4, 5] + +[1, 2].flatMap(it => [it, it]); // => [1, 1, 2, 2] + +(function * (i) { while (true) yield i++; })(1) + .drop(1).take(5) + .filter(it => it % 2) + .map(it => it ** 2) + .toArray(); // => [9, 25] + +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) +``` + +*You can load only required features*: +```js +import 'core-js/actual/promise'; +import 'core-js/actual/set'; +import 'core-js/actual/iterator'; +import 'core-js/actual/array/from'; +import 'core-js/actual/array/flat-map'; +import 'core-js/actual/structured-clone'; + +Promise.resolve(42).then(it => console.log(it)); // => 42 + +Array.from(new Set([1, 2, 3]).union(new Set([3, 4, 5]))); // => [1, 2, 3, 4, 5] + +[1, 2].flatMap(it => [it, it]); // => [1, 1, 2, 2] + +(function * (i) { while (true) yield i++; })(1) + .drop(1).take(5) + .filter(it => it % 2) + .map(it => it ** 2) + .toArray(); // => [9, 25] + +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) +``` + +*Or use it without global namespace pollution*: +```js +import Promise from 'core-js-pure/actual/promise'; +import Set from 'core-js-pure/actual/set'; +import Iterator from 'core-js-pure/actual/iterator'; +import from from 'core-js-pure/actual/array/from'; +import flatMap from 'core-js-pure/actual/array/flat-map'; +import structuredClone from 'core-js-pure/actual/structured-clone'; + +Promise.resolve(42).then(it => console.log(it)); // => 42 + +from(new Set([1, 2, 3]).union(new Set([3, 4, 5]))); // => [1, 2, 3, 4, 5] + +flatMap([1, 2], it => [it, it]); // => [1, 1, 2, 2] + +Iterator.from(function * (i) { while (true) yield i++; }(1)) + .drop(1).take(5) + .filter(it => it % 2) + .map(it => it ** 2) + .toArray(); // => [9, 25] + +structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) +``` + +**It's a global version (first 2 examples), for more info see [`core-js` documentation](https://github.com/zloirock/core-js/blob/master/README.md).** diff --git a/node_modules/core-js/actual/README.md b/node_modules/core-js/actual/README.md new file mode 100644 index 00000000..62c88a0d --- /dev/null +++ b/node_modules/core-js/actual/README.md @@ -0,0 +1 @@ +This folder contains entry points for all `core-js` features with dependencies. It's the recommended way for usage only required features. diff --git a/node_modules/core-js/actual/aggregate-error.js b/node_modules/core-js/actual/aggregate-error.js new file mode 100644 index 00000000..78ab9867 --- /dev/null +++ b/node_modules/core-js/actual/aggregate-error.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/aggregate-error'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array-buffer/constructor.js b/node_modules/core-js/actual/array-buffer/constructor.js new file mode 100644 index 00000000..f6e214d3 --- /dev/null +++ b/node_modules/core-js/actual/array-buffer/constructor.js @@ -0,0 +1,7 @@ +'use strict'; +var parent = require('../../stable/array-buffer/constructor'); +require('../../modules/esnext.array-buffer.detached'); +require('../../modules/esnext.array-buffer.transfer'); +require('../../modules/esnext.array-buffer.transfer-to-fixed-length'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array-buffer/detached.js b/node_modules/core-js/actual/array-buffer/detached.js new file mode 100644 index 00000000..4952c84e --- /dev/null +++ b/node_modules/core-js/actual/array-buffer/detached.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../stable/array-buffer'); +require('../../modules/esnext.array-buffer.detached'); diff --git a/node_modules/core-js/actual/array-buffer/index.js b/node_modules/core-js/actual/array-buffer/index.js new file mode 100644 index 00000000..47e89f4c --- /dev/null +++ b/node_modules/core-js/actual/array-buffer/index.js @@ -0,0 +1,7 @@ +'use strict'; +var parent = require('../../stable/array-buffer'); +require('../../modules/esnext.array-buffer.detached'); +require('../../modules/esnext.array-buffer.transfer'); +require('../../modules/esnext.array-buffer.transfer-to-fixed-length'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array-buffer/is-view.js b/node_modules/core-js/actual/array-buffer/is-view.js new file mode 100644 index 00000000..e84330cd --- /dev/null +++ b/node_modules/core-js/actual/array-buffer/is-view.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array-buffer/is-view'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array-buffer/slice.js b/node_modules/core-js/actual/array-buffer/slice.js new file mode 100644 index 00000000..750d7122 --- /dev/null +++ b/node_modules/core-js/actual/array-buffer/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array-buffer/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array-buffer/transfer-to-fixed-length.js b/node_modules/core-js/actual/array-buffer/transfer-to-fixed-length.js new file mode 100644 index 00000000..a5fa2b4d --- /dev/null +++ b/node_modules/core-js/actual/array-buffer/transfer-to-fixed-length.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../stable/array-buffer'); +require('../../modules/esnext.array-buffer.transfer-to-fixed-length'); diff --git a/node_modules/core-js/actual/array-buffer/transfer.js b/node_modules/core-js/actual/array-buffer/transfer.js new file mode 100644 index 00000000..3f3f4a5d --- /dev/null +++ b/node_modules/core-js/actual/array-buffer/transfer.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../stable/array-buffer'); +require('../../modules/esnext.array-buffer.transfer'); diff --git a/node_modules/core-js/actual/array/at.js b/node_modules/core-js/actual/array/at.js new file mode 100644 index 00000000..4a395363 --- /dev/null +++ b/node_modules/core-js/actual/array/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/concat.js b/node_modules/core-js/actual/array/concat.js new file mode 100644 index 00000000..76ba9be2 --- /dev/null +++ b/node_modules/core-js/actual/array/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/copy-within.js b/node_modules/core-js/actual/array/copy-within.js new file mode 100644 index 00000000..1719cc8d --- /dev/null +++ b/node_modules/core-js/actual/array/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/entries.js b/node_modules/core-js/actual/array/entries.js new file mode 100644 index 00000000..014c2889 --- /dev/null +++ b/node_modules/core-js/actual/array/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/every.js b/node_modules/core-js/actual/array/every.js new file mode 100644 index 00000000..5c67c698 --- /dev/null +++ b/node_modules/core-js/actual/array/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/every'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/fill.js b/node_modules/core-js/actual/array/fill.js new file mode 100644 index 00000000..cd3a5279 --- /dev/null +++ b/node_modules/core-js/actual/array/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/filter.js b/node_modules/core-js/actual/array/filter.js new file mode 100644 index 00000000..e975a056 --- /dev/null +++ b/node_modules/core-js/actual/array/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/find-index.js b/node_modules/core-js/actual/array/find-index.js new file mode 100644 index 00000000..a90bcfd8 --- /dev/null +++ b/node_modules/core-js/actual/array/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/find-last-index.js b/node_modules/core-js/actual/array/find-last-index.js new file mode 100644 index 00000000..1c29cfcb --- /dev/null +++ b/node_modules/core-js/actual/array/find-last-index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.array.find-last-index'); +var parent = require('../../stable/array/find-last-index'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/find-last.js b/node_modules/core-js/actual/array/find-last.js new file mode 100644 index 00000000..c215b31a --- /dev/null +++ b/node_modules/core-js/actual/array/find-last.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.array.find-last'); +var parent = require('../../stable/array/find-last'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/find.js b/node_modules/core-js/actual/array/find.js new file mode 100644 index 00000000..2a4b74fb --- /dev/null +++ b/node_modules/core-js/actual/array/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/find'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/flat-map.js b/node_modules/core-js/actual/array/flat-map.js new file mode 100644 index 00000000..e27b6d31 --- /dev/null +++ b/node_modules/core-js/actual/array/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/flat.js b/node_modules/core-js/actual/array/flat.js new file mode 100644 index 00000000..7a7779bb --- /dev/null +++ b/node_modules/core-js/actual/array/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/for-each.js b/node_modules/core-js/actual/array/for-each.js new file mode 100644 index 00000000..8f7370e4 --- /dev/null +++ b/node_modules/core-js/actual/array/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/from-async.js b/node_modules/core-js/actual/array/from-async.js new file mode 100644 index 00000000..875bc687 --- /dev/null +++ b/node_modules/core-js/actual/array/from-async.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.array.from-async'); +var path = require('../../internals/path'); + +module.exports = path.Array.fromAsync; diff --git a/node_modules/core-js/actual/array/from.js b/node_modules/core-js/actual/array/from.js new file mode 100644 index 00000000..ee3ee01b --- /dev/null +++ b/node_modules/core-js/actual/array/from.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/from'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/group-by-to-map.js b/node_modules/core-js/actual/array/group-by-to-map.js new file mode 100644 index 00000000..d29af876 --- /dev/null +++ b/node_modules/core-js/actual/array/group-by-to-map.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/es.object.to-string'); +require('../../modules/esnext.array.group-by-to-map'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'groupByToMap'); diff --git a/node_modules/core-js/actual/array/group-by.js b/node_modules/core-js/actual/array/group-by.js new file mode 100644 index 00000000..0044399e --- /dev/null +++ b/node_modules/core-js/actual/array/group-by.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.array.group-by'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'groupBy'); diff --git a/node_modules/core-js/actual/array/group-to-map.js b/node_modules/core-js/actual/array/group-to-map.js new file mode 100644 index 00000000..67d3e71e --- /dev/null +++ b/node_modules/core-js/actual/array/group-to-map.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/es.object.to-string'); +require('../../modules/esnext.array.group-to-map'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'groupToMap'); diff --git a/node_modules/core-js/actual/array/group.js b/node_modules/core-js/actual/array/group.js new file mode 100644 index 00000000..0e3ac699 --- /dev/null +++ b/node_modules/core-js/actual/array/group.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.array.group'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'group'); diff --git a/node_modules/core-js/actual/array/includes.js b/node_modules/core-js/actual/array/includes.js new file mode 100644 index 00000000..2bf0fdbb --- /dev/null +++ b/node_modules/core-js/actual/array/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/index-of.js b/node_modules/core-js/actual/array/index-of.js new file mode 100644 index 00000000..efe592b8 --- /dev/null +++ b/node_modules/core-js/actual/array/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/index.js b/node_modules/core-js/actual/array/index.js new file mode 100644 index 00000000..4ffabf52 --- /dev/null +++ b/node_modules/core-js/actual/array/index.js @@ -0,0 +1,18 @@ +'use strict'; +var parent = require('../../stable/array'); +require('../../modules/es.promise'); +require('../../modules/es.object.to-string'); +require('../../modules/esnext.array.from-async'); +require('../../modules/esnext.array.group'); +require('../../modules/esnext.array.group-to-map'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.find-last'); +require('../../modules/esnext.array.find-last-index'); +require('../../modules/esnext.array.group-by'); +require('../../modules/esnext.array.group-by-to-map'); +require('../../modules/esnext.array.to-reversed'); +require('../../modules/esnext.array.to-sorted'); +require('../../modules/esnext.array.to-spliced'); +require('../../modules/esnext.array.with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/is-array.js b/node_modules/core-js/actual/array/is-array.js new file mode 100644 index 00000000..95c9b867 --- /dev/null +++ b/node_modules/core-js/actual/array/is-array.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/is-array'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/iterator.js b/node_modules/core-js/actual/array/iterator.js new file mode 100644 index 00000000..d61e2e06 --- /dev/null +++ b/node_modules/core-js/actual/array/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/join.js b/node_modules/core-js/actual/array/join.js new file mode 100644 index 00000000..3bdb90e4 --- /dev/null +++ b/node_modules/core-js/actual/array/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/join'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/keys.js b/node_modules/core-js/actual/array/keys.js new file mode 100644 index 00000000..117fffc7 --- /dev/null +++ b/node_modules/core-js/actual/array/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/last-index-of.js b/node_modules/core-js/actual/array/last-index-of.js new file mode 100644 index 00000000..af358310 --- /dev/null +++ b/node_modules/core-js/actual/array/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/map.js b/node_modules/core-js/actual/array/map.js new file mode 100644 index 00000000..575c07bd --- /dev/null +++ b/node_modules/core-js/actual/array/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/map'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/of.js b/node_modules/core-js/actual/array/of.js new file mode 100644 index 00000000..45b8aef8 --- /dev/null +++ b/node_modules/core-js/actual/array/of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/push.js b/node_modules/core-js/actual/array/push.js new file mode 100644 index 00000000..d4d5d6fa --- /dev/null +++ b/node_modules/core-js/actual/array/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/push'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/reduce-right.js b/node_modules/core-js/actual/array/reduce-right.js new file mode 100644 index 00000000..355656b3 --- /dev/null +++ b/node_modules/core-js/actual/array/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/reduce.js b/node_modules/core-js/actual/array/reduce.js new file mode 100644 index 00000000..f4ad08c3 --- /dev/null +++ b/node_modules/core-js/actual/array/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/reverse.js b/node_modules/core-js/actual/array/reverse.js new file mode 100644 index 00000000..91043188 --- /dev/null +++ b/node_modules/core-js/actual/array/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/slice.js b/node_modules/core-js/actual/array/slice.js new file mode 100644 index 00000000..e19733b8 --- /dev/null +++ b/node_modules/core-js/actual/array/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/some.js b/node_modules/core-js/actual/array/some.js new file mode 100644 index 00000000..451975b9 --- /dev/null +++ b/node_modules/core-js/actual/array/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/some'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/sort.js b/node_modules/core-js/actual/array/sort.js new file mode 100644 index 00000000..2425dfa8 --- /dev/null +++ b/node_modules/core-js/actual/array/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/splice.js b/node_modules/core-js/actual/array/splice.js new file mode 100644 index 00000000..71dbb51f --- /dev/null +++ b/node_modules/core-js/actual/array/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/to-reversed.js b/node_modules/core-js/actual/array/to-reversed.js new file mode 100644 index 00000000..459dc5d1 --- /dev/null +++ b/node_modules/core-js/actual/array/to-reversed.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../stable/array/to-reversed'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/to-sorted.js b/node_modules/core-js/actual/array/to-sorted.js new file mode 100644 index 00000000..00444f04 --- /dev/null +++ b/node_modules/core-js/actual/array/to-sorted.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../stable/array/to-sorted'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/to-spliced.js b/node_modules/core-js/actual/array/to-spliced.js new file mode 100644 index 00000000..18fea692 --- /dev/null +++ b/node_modules/core-js/actual/array/to-spliced.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../stable/array/to-spliced'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/unshift.js b/node_modules/core-js/actual/array/unshift.js new file mode 100644 index 00000000..84012630 --- /dev/null +++ b/node_modules/core-js/actual/array/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/values.js b/node_modules/core-js/actual/array/values.js new file mode 100644 index 00000000..ae813ae4 --- /dev/null +++ b/node_modules/core-js/actual/array/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/array/values'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/at.js b/node_modules/core-js/actual/array/virtual/at.js new file mode 100644 index 00000000..578d5ad5 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/concat.js b/node_modules/core-js/actual/array/virtual/concat.js new file mode 100644 index 00000000..f4b15899 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/copy-within.js b/node_modules/core-js/actual/array/virtual/copy-within.js new file mode 100644 index 00000000..45039b77 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/entries.js b/node_modules/core-js/actual/array/virtual/entries.js new file mode 100644 index 00000000..68ac70a2 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/every.js b/node_modules/core-js/actual/array/virtual/every.js new file mode 100644 index 00000000..b49636f1 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/every'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/fill.js b/node_modules/core-js/actual/array/virtual/fill.js new file mode 100644 index 00000000..1ab5b05b --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/filter.js b/node_modules/core-js/actual/array/virtual/filter.js new file mode 100644 index 00000000..7b7dfbb1 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/find-index.js b/node_modules/core-js/actual/array/virtual/find-index.js new file mode 100644 index 00000000..c924f63b --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/find-last-index.js b/node_modules/core-js/actual/array/virtual/find-last-index.js new file mode 100644 index 00000000..3c0397f1 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/find-last-index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/esnext.array.find-last-index'); +var parent = require('../../../stable/array/virtual/find-last-index'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/find-last.js b/node_modules/core-js/actual/array/virtual/find-last.js new file mode 100644 index 00000000..ab53b1c2 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/find-last.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/esnext.array.find-last'); +var parent = require('../../../stable/array/virtual/find-last'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/find.js b/node_modules/core-js/actual/array/virtual/find.js new file mode 100644 index 00000000..0cf8df69 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/find'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/flat-map.js b/node_modules/core-js/actual/array/virtual/flat-map.js new file mode 100644 index 00000000..ae16b206 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/flat.js b/node_modules/core-js/actual/array/virtual/flat.js new file mode 100644 index 00000000..a02b5694 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/for-each.js b/node_modules/core-js/actual/array/virtual/for-each.js new file mode 100644 index 00000000..a5e179d4 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/group-by-to-map.js b/node_modules/core-js/actual/array/virtual/group-by-to-map.js new file mode 100644 index 00000000..4a5617f2 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/group-by-to-map.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../../modules/es.map'); +require('../../../modules/es.object.to-string'); +require('../../../modules/esnext.array.group-by-to-map'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').groupByToMap; diff --git a/node_modules/core-js/actual/array/virtual/group-by.js b/node_modules/core-js/actual/array/virtual/group-by.js new file mode 100644 index 00000000..b058b628 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/group-by.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/esnext.array.group-by'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').groupBy; diff --git a/node_modules/core-js/actual/array/virtual/group-to-map.js b/node_modules/core-js/actual/array/virtual/group-to-map.js new file mode 100644 index 00000000..43af1f1c --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/group-to-map.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../../modules/es.map'); +require('../../../modules/es.object.to-string'); +require('../../../modules/esnext.array.group-to-map'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').groupToMap; diff --git a/node_modules/core-js/actual/array/virtual/group.js b/node_modules/core-js/actual/array/virtual/group.js new file mode 100644 index 00000000..48ab38d1 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/group.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/esnext.array.group'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').group; diff --git a/node_modules/core-js/actual/array/virtual/includes.js b/node_modules/core-js/actual/array/virtual/includes.js new file mode 100644 index 00000000..dafeb0a5 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/index-of.js b/node_modules/core-js/actual/array/virtual/index-of.js new file mode 100644 index 00000000..1cc47c09 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/index.js b/node_modules/core-js/actual/array/virtual/index.js new file mode 100644 index 00000000..5c738434 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/index.js @@ -0,0 +1,17 @@ +'use strict'; +var parent = require('../../../stable/array/virtual'); +require('../../../modules/es.map'); +require('../../../modules/es.object.to-string'); +require('../../../modules/esnext.array.group'); +require('../../../modules/esnext.array.group-to-map'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.find-last'); +require('../../../modules/esnext.array.find-last-index'); +require('../../../modules/esnext.array.group-by'); +require('../../../modules/esnext.array.group-by-to-map'); +require('../../../modules/esnext.array.to-reversed'); +require('../../../modules/esnext.array.to-sorted'); +require('../../../modules/esnext.array.to-spliced'); +require('../../../modules/esnext.array.with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/iterator.js b/node_modules/core-js/actual/array/virtual/iterator.js new file mode 100644 index 00000000..78515f84 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/join.js b/node_modules/core-js/actual/array/virtual/join.js new file mode 100644 index 00000000..58e7a1ec --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/join'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/keys.js b/node_modules/core-js/actual/array/virtual/keys.js new file mode 100644 index 00000000..d60d6482 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/last-index-of.js b/node_modules/core-js/actual/array/virtual/last-index-of.js new file mode 100644 index 00000000..b512303b --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/map.js b/node_modules/core-js/actual/array/virtual/map.js new file mode 100644 index 00000000..33c53e0e --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/map'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/push.js b/node_modules/core-js/actual/array/virtual/push.js new file mode 100644 index 00000000..b33a19b3 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/push'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/reduce-right.js b/node_modules/core-js/actual/array/virtual/reduce-right.js new file mode 100644 index 00000000..8c87c1a1 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/reduce.js b/node_modules/core-js/actual/array/virtual/reduce.js new file mode 100644 index 00000000..8efc567d --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/reverse.js b/node_modules/core-js/actual/array/virtual/reverse.js new file mode 100644 index 00000000..e1c69f33 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/slice.js b/node_modules/core-js/actual/array/virtual/slice.js new file mode 100644 index 00000000..992e9eef --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/some.js b/node_modules/core-js/actual/array/virtual/some.js new file mode 100644 index 00000000..1bc11052 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/some'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/sort.js b/node_modules/core-js/actual/array/virtual/sort.js new file mode 100644 index 00000000..92b20171 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/splice.js b/node_modules/core-js/actual/array/virtual/splice.js new file mode 100644 index 00000000..a2811968 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/to-reversed.js b/node_modules/core-js/actual/array/virtual/to-reversed.js new file mode 100644 index 00000000..025a3c5b --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/to-reversed.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/to-reversed'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/to-sorted.js b/node_modules/core-js/actual/array/virtual/to-sorted.js new file mode 100644 index 00000000..27c5c968 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/to-sorted.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/to-sorted'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/to-spliced.js b/node_modules/core-js/actual/array/virtual/to-spliced.js new file mode 100644 index 00000000..a6da4dad --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/to-spliced.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/to-spliced'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/unshift.js b/node_modules/core-js/actual/array/virtual/unshift.js new file mode 100644 index 00000000..7cf8b802 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/values.js b/node_modules/core-js/actual/array/virtual/values.js new file mode 100644 index 00000000..d3dac457 --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/values'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/virtual/with.js b/node_modules/core-js/actual/array/virtual/with.js new file mode 100644 index 00000000..ab70a39c --- /dev/null +++ b/node_modules/core-js/actual/array/virtual/with.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../../stable/array/virtual/with'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/array/with.js b/node_modules/core-js/actual/array/with.js new file mode 100644 index 00000000..324e998d --- /dev/null +++ b/node_modules/core-js/actual/array/with.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../stable/array/with'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/async-disposable-stack/constructor.js b/node_modules/core-js/actual/async-disposable-stack/constructor.js new file mode 100644 index 00000000..b8b56dd9 --- /dev/null +++ b/node_modules/core-js/actual/async-disposable-stack/constructor.js @@ -0,0 +1,12 @@ +'use strict'; +require('../../modules/es.error.cause'); +require('../../modules/es.error.to-string'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.suppressed-error.constructor'); +require('../../modules/esnext.async-disposable-stack.constructor'); +require('../../modules/esnext.async-iterator.async-dispose'); +require('../../modules/esnext.iterator.dispose'); +var path = require('../../internals/path'); + +module.exports = path.AsyncDisposableStack; diff --git a/node_modules/core-js/actual/async-disposable-stack/index.js b/node_modules/core-js/actual/async-disposable-stack/index.js new file mode 100644 index 00000000..b8b56dd9 --- /dev/null +++ b/node_modules/core-js/actual/async-disposable-stack/index.js @@ -0,0 +1,12 @@ +'use strict'; +require('../../modules/es.error.cause'); +require('../../modules/es.error.to-string'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.suppressed-error.constructor'); +require('../../modules/esnext.async-disposable-stack.constructor'); +require('../../modules/esnext.async-iterator.async-dispose'); +require('../../modules/esnext.iterator.dispose'); +var path = require('../../internals/path'); + +module.exports = path.AsyncDisposableStack; diff --git a/node_modules/core-js/actual/async-iterator/async-dispose.js b/node_modules/core-js/actual/async-iterator/async-dispose.js new file mode 100644 index 00000000..8513ef38 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/async-dispose.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.async-dispose'); diff --git a/node_modules/core-js/actual/async-iterator/drop.js b/node_modules/core-js/actual/async-iterator/drop.js new file mode 100644 index 00000000..e38788f1 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/drop.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.drop'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'drop'); diff --git a/node_modules/core-js/actual/async-iterator/every.js b/node_modules/core-js/actual/async-iterator/every.js new file mode 100644 index 00000000..57ef76e4 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/every.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.every'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'every'); diff --git a/node_modules/core-js/actual/async-iterator/filter.js b/node_modules/core-js/actual/async-iterator/filter.js new file mode 100644 index 00000000..6ca50b18 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/filter.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.filter'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'filter'); diff --git a/node_modules/core-js/actual/async-iterator/find.js b/node_modules/core-js/actual/async-iterator/find.js new file mode 100644 index 00000000..ed47baec --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/find.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.find'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'find'); diff --git a/node_modules/core-js/actual/async-iterator/flat-map.js b/node_modules/core-js/actual/async-iterator/flat-map.js new file mode 100644 index 00000000..97c2d18b --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/flat-map.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.flat-map'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'flatMap'); diff --git a/node_modules/core-js/actual/async-iterator/for-each.js b/node_modules/core-js/actual/async-iterator/for-each.js new file mode 100644 index 00000000..9f2be34e --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/for-each.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.for-each'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'forEach'); diff --git a/node_modules/core-js/actual/async-iterator/from.js b/node_modules/core-js/actual/async-iterator/from.js new file mode 100644 index 00000000..e8471c1d --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/from.js @@ -0,0 +1,23 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.drop'); +require('../../modules/esnext.async-iterator.every'); +require('../../modules/esnext.async-iterator.filter'); +require('../../modules/esnext.async-iterator.find'); +require('../../modules/esnext.async-iterator.flat-map'); +require('../../modules/esnext.async-iterator.for-each'); +require('../../modules/esnext.async-iterator.from'); +require('../../modules/esnext.async-iterator.map'); +require('../../modules/esnext.async-iterator.reduce'); +require('../../modules/esnext.async-iterator.some'); +require('../../modules/esnext.async-iterator.take'); +require('../../modules/esnext.async-iterator.to-array'); +require('../../modules/web.dom-collections.iterator'); + +var path = require('../../internals/path'); + +module.exports = path.AsyncIterator.from; diff --git a/node_modules/core-js/actual/async-iterator/index.js b/node_modules/core-js/actual/async-iterator/index.js new file mode 100644 index 00000000..2c85f876 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/index.js @@ -0,0 +1,24 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.async-dispose'); +require('../../modules/esnext.async-iterator.drop'); +require('../../modules/esnext.async-iterator.every'); +require('../../modules/esnext.async-iterator.filter'); +require('../../modules/esnext.async-iterator.find'); +require('../../modules/esnext.async-iterator.flat-map'); +require('../../modules/esnext.async-iterator.for-each'); +require('../../modules/esnext.async-iterator.from'); +require('../../modules/esnext.async-iterator.map'); +require('../../modules/esnext.async-iterator.reduce'); +require('../../modules/esnext.async-iterator.some'); +require('../../modules/esnext.async-iterator.take'); +require('../../modules/esnext.async-iterator.to-array'); +require('../../modules/web.dom-collections.iterator'); + +var path = require('../../internals/path'); + +module.exports = path.AsyncIterator; diff --git a/node_modules/core-js/actual/async-iterator/map.js b/node_modules/core-js/actual/async-iterator/map.js new file mode 100644 index 00000000..503762d5 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/map.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.map'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'map'); diff --git a/node_modules/core-js/actual/async-iterator/reduce.js b/node_modules/core-js/actual/async-iterator/reduce.js new file mode 100644 index 00000000..07d122c9 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/reduce.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.reduce'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'reduce'); diff --git a/node_modules/core-js/actual/async-iterator/some.js b/node_modules/core-js/actual/async-iterator/some.js new file mode 100644 index 00000000..cb0612a1 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/some.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.some'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'some'); diff --git a/node_modules/core-js/actual/async-iterator/take.js b/node_modules/core-js/actual/async-iterator/take.js new file mode 100644 index 00000000..318528a2 --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/take.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.take'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'take'); diff --git a/node_modules/core-js/actual/async-iterator/to-array.js b/node_modules/core-js/actual/async-iterator/to-array.js new file mode 100644 index 00000000..90abd70e --- /dev/null +++ b/node_modules/core-js/actual/async-iterator/to-array.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.to-array'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'toArray'); diff --git a/node_modules/core-js/actual/atob.js b/node_modules/core-js/actual/atob.js new file mode 100644 index 00000000..ec90d10e --- /dev/null +++ b/node_modules/core-js/actual/atob.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/atob'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/btoa.js b/node_modules/core-js/actual/btoa.js new file mode 100644 index 00000000..681dcee9 --- /dev/null +++ b/node_modules/core-js/actual/btoa.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/btoa'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/clear-immediate.js b/node_modules/core-js/actual/clear-immediate.js new file mode 100644 index 00000000..c9445e0b --- /dev/null +++ b/node_modules/core-js/actual/clear-immediate.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/clear-immediate'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/data-view/get-float16.js b/node_modules/core-js/actual/data-view/get-float16.js new file mode 100644 index 00000000..3c12bb29 --- /dev/null +++ b/node_modules/core-js/actual/data-view/get-float16.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.data-view.get-float16'); diff --git a/node_modules/core-js/actual/data-view/index.js b/node_modules/core-js/actual/data-view/index.js new file mode 100644 index 00000000..732555eb --- /dev/null +++ b/node_modules/core-js/actual/data-view/index.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../stable/data-view'); +require('../../modules/esnext.data-view.get-float16'); +require('../../modules/esnext.data-view.set-float16'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/data-view/set-float16.js b/node_modules/core-js/actual/data-view/set-float16.js new file mode 100644 index 00000000..e2388397 --- /dev/null +++ b/node_modules/core-js/actual/data-view/set-float16.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.data-view.set-float16'); diff --git a/node_modules/core-js/actual/date/get-year.js b/node_modules/core-js/actual/date/get-year.js new file mode 100644 index 00000000..b4eff1fc --- /dev/null +++ b/node_modules/core-js/actual/date/get-year.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date/get-year'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/date/index.js b/node_modules/core-js/actual/date/index.js new file mode 100644 index 00000000..270b6e8d --- /dev/null +++ b/node_modules/core-js/actual/date/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/date/now.js b/node_modules/core-js/actual/date/now.js new file mode 100644 index 00000000..f0ca2b66 --- /dev/null +++ b/node_modules/core-js/actual/date/now.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date/now'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/date/set-year.js b/node_modules/core-js/actual/date/set-year.js new file mode 100644 index 00000000..d35ee3f3 --- /dev/null +++ b/node_modules/core-js/actual/date/set-year.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date/set-year'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/date/to-gmt-string.js b/node_modules/core-js/actual/date/to-gmt-string.js new file mode 100644 index 00000000..cabf92e6 --- /dev/null +++ b/node_modules/core-js/actual/date/to-gmt-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date/to-gmt-string'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/date/to-iso-string.js b/node_modules/core-js/actual/date/to-iso-string.js new file mode 100644 index 00000000..027ecdd9 --- /dev/null +++ b/node_modules/core-js/actual/date/to-iso-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date/to-iso-string'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/date/to-json.js b/node_modules/core-js/actual/date/to-json.js new file mode 100644 index 00000000..72ce9005 --- /dev/null +++ b/node_modules/core-js/actual/date/to-json.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date/to-json'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/date/to-primitive.js b/node_modules/core-js/actual/date/to-primitive.js new file mode 100644 index 00000000..d85a5d22 --- /dev/null +++ b/node_modules/core-js/actual/date/to-primitive.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date/to-primitive'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/date/to-string.js b/node_modules/core-js/actual/date/to-string.js new file mode 100644 index 00000000..e07e11af --- /dev/null +++ b/node_modules/core-js/actual/date/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/date/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/disposable-stack/constructor.js b/node_modules/core-js/actual/disposable-stack/constructor.js new file mode 100644 index 00000000..f9b8d387 --- /dev/null +++ b/node_modules/core-js/actual/disposable-stack/constructor.js @@ -0,0 +1,10 @@ +'use strict'; +require('../../modules/es.error.cause'); +require('../../modules/es.error.to-string'); +require('../../modules/es.object.to-string'); +require('../../modules/esnext.suppressed-error.constructor'); +require('../../modules/esnext.disposable-stack.constructor'); +require('../../modules/esnext.iterator.dispose'); +var path = require('../../internals/path'); + +module.exports = path.DisposableStack; diff --git a/node_modules/core-js/actual/disposable-stack/index.js b/node_modules/core-js/actual/disposable-stack/index.js new file mode 100644 index 00000000..f9b8d387 --- /dev/null +++ b/node_modules/core-js/actual/disposable-stack/index.js @@ -0,0 +1,10 @@ +'use strict'; +require('../../modules/es.error.cause'); +require('../../modules/es.error.to-string'); +require('../../modules/es.object.to-string'); +require('../../modules/esnext.suppressed-error.constructor'); +require('../../modules/esnext.disposable-stack.constructor'); +require('../../modules/esnext.iterator.dispose'); +var path = require('../../internals/path'); + +module.exports = path.DisposableStack; diff --git a/node_modules/core-js/actual/dom-collections/for-each.js b/node_modules/core-js/actual/dom-collections/for-each.js new file mode 100644 index 00000000..379a13c8 --- /dev/null +++ b/node_modules/core-js/actual/dom-collections/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/dom-collections/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/dom-collections/index.js b/node_modules/core-js/actual/dom-collections/index.js new file mode 100644 index 00000000..535ba24b --- /dev/null +++ b/node_modules/core-js/actual/dom-collections/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/dom-collections'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/dom-collections/iterator.js b/node_modules/core-js/actual/dom-collections/iterator.js new file mode 100644 index 00000000..659a6f2d --- /dev/null +++ b/node_modules/core-js/actual/dom-collections/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/dom-collections/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/dom-exception/constructor.js b/node_modules/core-js/actual/dom-exception/constructor.js new file mode 100644 index 00000000..0efde7c5 --- /dev/null +++ b/node_modules/core-js/actual/dom-exception/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/dom-exception/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/dom-exception/index.js b/node_modules/core-js/actual/dom-exception/index.js new file mode 100644 index 00000000..a5a30fb3 --- /dev/null +++ b/node_modules/core-js/actual/dom-exception/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/dom-exception'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/dom-exception/to-string-tag.js b/node_modules/core-js/actual/dom-exception/to-string-tag.js new file mode 100644 index 00000000..7230555b --- /dev/null +++ b/node_modules/core-js/actual/dom-exception/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/dom-exception/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/error/constructor.js b/node_modules/core-js/actual/error/constructor.js new file mode 100644 index 00000000..6fe4e88c --- /dev/null +++ b/node_modules/core-js/actual/error/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/error/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/error/index.js b/node_modules/core-js/actual/error/index.js new file mode 100644 index 00000000..7d3ad1c9 --- /dev/null +++ b/node_modules/core-js/actual/error/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/error'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/error/to-string.js b/node_modules/core-js/actual/error/to-string.js new file mode 100644 index 00000000..8a8032fc --- /dev/null +++ b/node_modules/core-js/actual/error/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/error/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/escape.js b/node_modules/core-js/actual/escape.js new file mode 100644 index 00000000..2d039683 --- /dev/null +++ b/node_modules/core-js/actual/escape.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/escape'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/function/bind.js b/node_modules/core-js/actual/function/bind.js new file mode 100644 index 00000000..510ca612 --- /dev/null +++ b/node_modules/core-js/actual/function/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/function/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/function/has-instance.js b/node_modules/core-js/actual/function/has-instance.js new file mode 100644 index 00000000..b2a802d7 --- /dev/null +++ b/node_modules/core-js/actual/function/has-instance.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/function/has-instance'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/function/index.js b/node_modules/core-js/actual/function/index.js new file mode 100644 index 00000000..d3f88856 --- /dev/null +++ b/node_modules/core-js/actual/function/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/function'); +require('../../modules/esnext.function.metadata'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/function/metadata.js b/node_modules/core-js/actual/function/metadata.js new file mode 100644 index 00000000..63c5bbab --- /dev/null +++ b/node_modules/core-js/actual/function/metadata.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/esnext.function.metadata'); + +module.exports = null; diff --git a/node_modules/core-js/actual/function/name.js b/node_modules/core-js/actual/function/name.js new file mode 100644 index 00000000..8ca16577 --- /dev/null +++ b/node_modules/core-js/actual/function/name.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/function/name'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/function/virtual/bind.js b/node_modules/core-js/actual/function/virtual/bind.js new file mode 100644 index 00000000..03e8ccca --- /dev/null +++ b/node_modules/core-js/actual/function/virtual/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/function/virtual/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/function/virtual/index.js b/node_modules/core-js/actual/function/virtual/index.js new file mode 100644 index 00000000..b190d983 --- /dev/null +++ b/node_modules/core-js/actual/function/virtual/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/function/virtual'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/get-iterator-method.js b/node_modules/core-js/actual/get-iterator-method.js new file mode 100644 index 00000000..bef996b1 --- /dev/null +++ b/node_modules/core-js/actual/get-iterator-method.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/get-iterator-method'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/get-iterator.js b/node_modules/core-js/actual/get-iterator.js new file mode 100644 index 00000000..34665e8c --- /dev/null +++ b/node_modules/core-js/actual/get-iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/get-iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/global-this.js b/node_modules/core-js/actual/global-this.js new file mode 100644 index 00000000..b7a5fd9e --- /dev/null +++ b/node_modules/core-js/actual/global-this.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/global-this'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/index.js b/node_modules/core-js/actual/index.js new file mode 100644 index 00000000..6c80f2be --- /dev/null +++ b/node_modules/core-js/actual/index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../stable'); +require('../stage/3'); + +module.exports = require('../internals/path'); diff --git a/node_modules/core-js/actual/instance/at.js b/node_modules/core-js/actual/instance/at.js new file mode 100644 index 00000000..3a260783 --- /dev/null +++ b/node_modules/core-js/actual/instance/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/bind.js b/node_modules/core-js/actual/instance/bind.js new file mode 100644 index 00000000..dbc4848d --- /dev/null +++ b/node_modules/core-js/actual/instance/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/code-point-at.js b/node_modules/core-js/actual/instance/code-point-at.js new file mode 100644 index 00000000..b4fc699c --- /dev/null +++ b/node_modules/core-js/actual/instance/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/concat.js b/node_modules/core-js/actual/instance/concat.js new file mode 100644 index 00000000..c6f4020a --- /dev/null +++ b/node_modules/core-js/actual/instance/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/copy-within.js b/node_modules/core-js/actual/instance/copy-within.js new file mode 100644 index 00000000..4029b41b --- /dev/null +++ b/node_modules/core-js/actual/instance/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/ends-with.js b/node_modules/core-js/actual/instance/ends-with.js new file mode 100644 index 00000000..ea42c980 --- /dev/null +++ b/node_modules/core-js/actual/instance/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/entries.js b/node_modules/core-js/actual/instance/entries.js new file mode 100644 index 00000000..e5fc8bcb --- /dev/null +++ b/node_modules/core-js/actual/instance/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/every.js b/node_modules/core-js/actual/instance/every.js new file mode 100644 index 00000000..78de3edd --- /dev/null +++ b/node_modules/core-js/actual/instance/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/every'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/fill.js b/node_modules/core-js/actual/instance/fill.js new file mode 100644 index 00000000..20c30b6a --- /dev/null +++ b/node_modules/core-js/actual/instance/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/filter.js b/node_modules/core-js/actual/instance/filter.js new file mode 100644 index 00000000..986aebe8 --- /dev/null +++ b/node_modules/core-js/actual/instance/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/find-index.js b/node_modules/core-js/actual/instance/find-index.js new file mode 100644 index 00000000..a395e931 --- /dev/null +++ b/node_modules/core-js/actual/instance/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/find-last-index.js b/node_modules/core-js/actual/instance/find-last-index.js new file mode 100644 index 00000000..4c7cfcbc --- /dev/null +++ b/node_modules/core-js/actual/instance/find-last-index.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/find-last-index'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.findLastIndex; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLastIndex) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/find-last.js b/node_modules/core-js/actual/instance/find-last.js new file mode 100644 index 00000000..7d30e0b0 --- /dev/null +++ b/node_modules/core-js/actual/instance/find-last.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/find-last'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.findLast; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLast) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/find.js b/node_modules/core-js/actual/instance/find.js new file mode 100644 index 00000000..1b6457a0 --- /dev/null +++ b/node_modules/core-js/actual/instance/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/find'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/flags.js b/node_modules/core-js/actual/instance/flags.js new file mode 100644 index 00000000..b932b41e --- /dev/null +++ b/node_modules/core-js/actual/instance/flags.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/flags'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/flat-map.js b/node_modules/core-js/actual/instance/flat-map.js new file mode 100644 index 00000000..9d1187e7 --- /dev/null +++ b/node_modules/core-js/actual/instance/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/flat.js b/node_modules/core-js/actual/instance/flat.js new file mode 100644 index 00000000..46ca8d6f --- /dev/null +++ b/node_modules/core-js/actual/instance/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/for-each.js b/node_modules/core-js/actual/instance/for-each.js new file mode 100644 index 00000000..5dd1750b --- /dev/null +++ b/node_modules/core-js/actual/instance/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/group-by-to-map.js b/node_modules/core-js/actual/instance/group-by-to-map.js new file mode 100644 index 00000000..3786d420 --- /dev/null +++ b/node_modules/core-js/actual/instance/group-by-to-map.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/group-by-to-map'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.groupByToMap; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.groupByToMap) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/group-by.js b/node_modules/core-js/actual/instance/group-by.js new file mode 100644 index 00000000..2d52f6ea --- /dev/null +++ b/node_modules/core-js/actual/instance/group-by.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/group-by'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.groupBy; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.groupBy) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/group-to-map.js b/node_modules/core-js/actual/instance/group-to-map.js new file mode 100644 index 00000000..627a20e5 --- /dev/null +++ b/node_modules/core-js/actual/instance/group-to-map.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/group-to-map'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.groupToMap; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.groupToMap) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/group.js b/node_modules/core-js/actual/instance/group.js new file mode 100644 index 00000000..e2ec5d40 --- /dev/null +++ b/node_modules/core-js/actual/instance/group.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/group'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.group; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.group) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/includes.js b/node_modules/core-js/actual/instance/includes.js new file mode 100644 index 00000000..1a098bae --- /dev/null +++ b/node_modules/core-js/actual/instance/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/index-of.js b/node_modules/core-js/actual/instance/index-of.js new file mode 100644 index 00000000..b124eac7 --- /dev/null +++ b/node_modules/core-js/actual/instance/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/is-well-formed.js b/node_modules/core-js/actual/instance/is-well-formed.js new file mode 100644 index 00000000..67351652 --- /dev/null +++ b/node_modules/core-js/actual/instance/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/keys.js b/node_modules/core-js/actual/instance/keys.js new file mode 100644 index 00000000..e7815a4f --- /dev/null +++ b/node_modules/core-js/actual/instance/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/last-index-of.js b/node_modules/core-js/actual/instance/last-index-of.js new file mode 100644 index 00000000..b7af4191 --- /dev/null +++ b/node_modules/core-js/actual/instance/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/map.js b/node_modules/core-js/actual/instance/map.js new file mode 100644 index 00000000..47412e49 --- /dev/null +++ b/node_modules/core-js/actual/instance/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/map'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/match-all.js b/node_modules/core-js/actual/instance/match-all.js new file mode 100644 index 00000000..7e5dc8fb --- /dev/null +++ b/node_modules/core-js/actual/instance/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/pad-end.js b/node_modules/core-js/actual/instance/pad-end.js new file mode 100644 index 00000000..cdd52820 --- /dev/null +++ b/node_modules/core-js/actual/instance/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/pad-start.js b/node_modules/core-js/actual/instance/pad-start.js new file mode 100644 index 00000000..2ffcc714 --- /dev/null +++ b/node_modules/core-js/actual/instance/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/push.js b/node_modules/core-js/actual/instance/push.js new file mode 100644 index 00000000..643d7e5a --- /dev/null +++ b/node_modules/core-js/actual/instance/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/push'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/reduce-right.js b/node_modules/core-js/actual/instance/reduce-right.js new file mode 100644 index 00000000..f1094f22 --- /dev/null +++ b/node_modules/core-js/actual/instance/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/reduce.js b/node_modules/core-js/actual/instance/reduce.js new file mode 100644 index 00000000..c82bac0f --- /dev/null +++ b/node_modules/core-js/actual/instance/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/repeat.js b/node_modules/core-js/actual/instance/repeat.js new file mode 100644 index 00000000..08618ba4 --- /dev/null +++ b/node_modules/core-js/actual/instance/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/replace-all.js b/node_modules/core-js/actual/instance/replace-all.js new file mode 100644 index 00000000..8343a9e0 --- /dev/null +++ b/node_modules/core-js/actual/instance/replace-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/reverse.js b/node_modules/core-js/actual/instance/reverse.js new file mode 100644 index 00000000..d1e55bc4 --- /dev/null +++ b/node_modules/core-js/actual/instance/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/slice.js b/node_modules/core-js/actual/instance/slice.js new file mode 100644 index 00000000..8573bc36 --- /dev/null +++ b/node_modules/core-js/actual/instance/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/some.js b/node_modules/core-js/actual/instance/some.js new file mode 100644 index 00000000..372f2486 --- /dev/null +++ b/node_modules/core-js/actual/instance/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/some'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/sort.js b/node_modules/core-js/actual/instance/sort.js new file mode 100644 index 00000000..d99506ed --- /dev/null +++ b/node_modules/core-js/actual/instance/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/splice.js b/node_modules/core-js/actual/instance/splice.js new file mode 100644 index 00000000..95c48417 --- /dev/null +++ b/node_modules/core-js/actual/instance/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/starts-with.js b/node_modules/core-js/actual/instance/starts-with.js new file mode 100644 index 00000000..91b4142a --- /dev/null +++ b/node_modules/core-js/actual/instance/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/to-reversed.js b/node_modules/core-js/actual/instance/to-reversed.js new file mode 100644 index 00000000..5cfb459d --- /dev/null +++ b/node_modules/core-js/actual/instance/to-reversed.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/to-reversed'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.toReversed; + return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.toReversed)) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/to-sorted.js b/node_modules/core-js/actual/instance/to-sorted.js new file mode 100644 index 00000000..a059c6f7 --- /dev/null +++ b/node_modules/core-js/actual/instance/to-sorted.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/to-sorted'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.toSorted; + return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.toSorted)) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/to-spliced.js b/node_modules/core-js/actual/instance/to-spliced.js new file mode 100644 index 00000000..9e67474f --- /dev/null +++ b/node_modules/core-js/actual/instance/to-spliced.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/to-spliced'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.toSpliced; + return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.toSpliced)) ? method : own; +}; diff --git a/node_modules/core-js/actual/instance/to-well-formed.js b/node_modules/core-js/actual/instance/to-well-formed.js new file mode 100644 index 00000000..3139f67e --- /dev/null +++ b/node_modules/core-js/actual/instance/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/trim-end.js b/node_modules/core-js/actual/instance/trim-end.js new file mode 100644 index 00000000..44d66a0b --- /dev/null +++ b/node_modules/core-js/actual/instance/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/trim-left.js b/node_modules/core-js/actual/instance/trim-left.js new file mode 100644 index 00000000..fc7e89a9 --- /dev/null +++ b/node_modules/core-js/actual/instance/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/trim-right.js b/node_modules/core-js/actual/instance/trim-right.js new file mode 100644 index 00000000..4d6ac08b --- /dev/null +++ b/node_modules/core-js/actual/instance/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/trim-start.js b/node_modules/core-js/actual/instance/trim-start.js new file mode 100644 index 00000000..9599f65b --- /dev/null +++ b/node_modules/core-js/actual/instance/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/trim.js b/node_modules/core-js/actual/instance/trim.js new file mode 100644 index 00000000..be937f3c --- /dev/null +++ b/node_modules/core-js/actual/instance/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/unshift.js b/node_modules/core-js/actual/instance/unshift.js new file mode 100644 index 00000000..99598d6f --- /dev/null +++ b/node_modules/core-js/actual/instance/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/values.js b/node_modules/core-js/actual/instance/values.js new file mode 100644 index 00000000..10d5e972 --- /dev/null +++ b/node_modules/core-js/actual/instance/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/instance/values'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/instance/with.js b/node_modules/core-js/actual/instance/with.js new file mode 100644 index 00000000..f3db9f47 --- /dev/null +++ b/node_modules/core-js/actual/instance/with.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/with'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it['with']; + return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype['with'])) ? method : own; +}; diff --git a/node_modules/core-js/actual/is-iterable.js b/node_modules/core-js/actual/is-iterable.js new file mode 100644 index 00000000..aaaee552 --- /dev/null +++ b/node_modules/core-js/actual/is-iterable.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/is-iterable'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/iterator/dispose.js b/node_modules/core-js/actual/iterator/dispose.js new file mode 100644 index 00000000..4fbee001 --- /dev/null +++ b/node_modules/core-js/actual/iterator/dispose.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.iterator.dispose'); diff --git a/node_modules/core-js/actual/iterator/drop.js b/node_modules/core-js/actual/iterator/drop.js new file mode 100644 index 00000000..01c4d0a5 --- /dev/null +++ b/node_modules/core-js/actual/iterator/drop.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.drop'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'drop'); diff --git a/node_modules/core-js/actual/iterator/every.js b/node_modules/core-js/actual/iterator/every.js new file mode 100644 index 00000000..a73c6d24 --- /dev/null +++ b/node_modules/core-js/actual/iterator/every.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.every'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'every'); diff --git a/node_modules/core-js/actual/iterator/filter.js b/node_modules/core-js/actual/iterator/filter.js new file mode 100644 index 00000000..8bd6b1a8 --- /dev/null +++ b/node_modules/core-js/actual/iterator/filter.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.filter'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'filter'); diff --git a/node_modules/core-js/actual/iterator/find.js b/node_modules/core-js/actual/iterator/find.js new file mode 100644 index 00000000..bdd7ec85 --- /dev/null +++ b/node_modules/core-js/actual/iterator/find.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.find'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'find'); diff --git a/node_modules/core-js/actual/iterator/flat-map.js b/node_modules/core-js/actual/iterator/flat-map.js new file mode 100644 index 00000000..6c571d75 --- /dev/null +++ b/node_modules/core-js/actual/iterator/flat-map.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.flat-map'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'flatMap'); diff --git a/node_modules/core-js/actual/iterator/for-each.js b/node_modules/core-js/actual/iterator/for-each.js new file mode 100644 index 00000000..8f9f0e56 --- /dev/null +++ b/node_modules/core-js/actual/iterator/for-each.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.for-each'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'forEach'); diff --git a/node_modules/core-js/actual/iterator/from.js b/node_modules/core-js/actual/iterator/from.js new file mode 100644 index 00000000..5a49ec45 --- /dev/null +++ b/node_modules/core-js/actual/iterator/from.js @@ -0,0 +1,25 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.dispose'); +require('../../modules/esnext.iterator.drop'); +require('../../modules/esnext.iterator.every'); +require('../../modules/esnext.iterator.filter'); +require('../../modules/esnext.iterator.find'); +require('../../modules/esnext.iterator.flat-map'); +require('../../modules/esnext.iterator.for-each'); +require('../../modules/esnext.iterator.from'); +require('../../modules/esnext.iterator.map'); +require('../../modules/esnext.iterator.reduce'); +require('../../modules/esnext.iterator.some'); +require('../../modules/esnext.iterator.take'); +require('../../modules/esnext.iterator.to-array'); +require('../../modules/esnext.iterator.to-async'); +require('../../modules/web.dom-collections.iterator'); + +var path = require('../../internals/path'); + +module.exports = path.Iterator.from; diff --git a/node_modules/core-js/actual/iterator/index.js b/node_modules/core-js/actual/iterator/index.js new file mode 100644 index 00000000..83f2135d --- /dev/null +++ b/node_modules/core-js/actual/iterator/index.js @@ -0,0 +1,25 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.dispose'); +require('../../modules/esnext.iterator.drop'); +require('../../modules/esnext.iterator.every'); +require('../../modules/esnext.iterator.filter'); +require('../../modules/esnext.iterator.find'); +require('../../modules/esnext.iterator.flat-map'); +require('../../modules/esnext.iterator.for-each'); +require('../../modules/esnext.iterator.from'); +require('../../modules/esnext.iterator.map'); +require('../../modules/esnext.iterator.reduce'); +require('../../modules/esnext.iterator.some'); +require('../../modules/esnext.iterator.take'); +require('../../modules/esnext.iterator.to-array'); +require('../../modules/esnext.iterator.to-async'); +require('../../modules/web.dom-collections.iterator'); + +var path = require('../../internals/path'); + +module.exports = path.Iterator; diff --git a/node_modules/core-js/actual/iterator/map.js b/node_modules/core-js/actual/iterator/map.js new file mode 100644 index 00000000..5fceabf0 --- /dev/null +++ b/node_modules/core-js/actual/iterator/map.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.map'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'map'); diff --git a/node_modules/core-js/actual/iterator/reduce.js b/node_modules/core-js/actual/iterator/reduce.js new file mode 100644 index 00000000..6c956f85 --- /dev/null +++ b/node_modules/core-js/actual/iterator/reduce.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.reduce'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'reduce'); diff --git a/node_modules/core-js/actual/iterator/some.js b/node_modules/core-js/actual/iterator/some.js new file mode 100644 index 00000000..3251cd05 --- /dev/null +++ b/node_modules/core-js/actual/iterator/some.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.some'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'some'); diff --git a/node_modules/core-js/actual/iterator/take.js b/node_modules/core-js/actual/iterator/take.js new file mode 100644 index 00000000..8dbb1ef9 --- /dev/null +++ b/node_modules/core-js/actual/iterator/take.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.take'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'take'); diff --git a/node_modules/core-js/actual/iterator/to-array.js b/node_modules/core-js/actual/iterator/to-array.js new file mode 100644 index 00000000..c1acd1e4 --- /dev/null +++ b/node_modules/core-js/actual/iterator/to-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.to-array'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'toArray'); diff --git a/node_modules/core-js/actual/iterator/to-async.js b/node_modules/core-js/actual/iterator/to-async.js new file mode 100644 index 00000000..dc67a7ee --- /dev/null +++ b/node_modules/core-js/actual/iterator/to-async.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.to-async'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'toAsync'); diff --git a/node_modules/core-js/actual/json/index.js b/node_modules/core-js/actual/json/index.js new file mode 100644 index 00000000..6061c65d --- /dev/null +++ b/node_modules/core-js/actual/json/index.js @@ -0,0 +1,10 @@ +'use strict'; +var parent = require('../../stable/json'); +require('../../modules/es.object.create'); +require('../../modules/es.object.freeze'); +require('../../modules/es.object.keys'); +require('../../modules/esnext.json.is-raw-json'); +require('../../modules/esnext.json.parse'); +require('../../modules/esnext.json.raw-json'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/json/is-raw-json.js b/node_modules/core-js/actual/json/is-raw-json.js new file mode 100644 index 00000000..a0d5a440 --- /dev/null +++ b/node_modules/core-js/actual/json/is-raw-json.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.json.is-raw-json'); +var path = require('../../internals/path'); + +module.exports = path.JSON.isRawJSON; diff --git a/node_modules/core-js/actual/json/parse.js b/node_modules/core-js/actual/json/parse.js new file mode 100644 index 00000000..b2ae4695 --- /dev/null +++ b/node_modules/core-js/actual/json/parse.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.object.keys'); +require('../../modules/esnext.json.parse'); +var path = require('../../internals/path'); + +module.exports = path.JSON.parse; diff --git a/node_modules/core-js/actual/json/raw-json.js b/node_modules/core-js/actual/json/raw-json.js new file mode 100644 index 00000000..5a285692 --- /dev/null +++ b/node_modules/core-js/actual/json/raw-json.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.object.create'); +require('../../modules/es.object.freeze'); +require('../../modules/esnext.json.raw-json'); +var path = require('../../internals/path'); + +module.exports = path.JSON.rawJSON; diff --git a/node_modules/core-js/actual/json/stringify.js b/node_modules/core-js/actual/json/stringify.js new file mode 100644 index 00000000..a28b682e --- /dev/null +++ b/node_modules/core-js/actual/json/stringify.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/json/stringify'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/json/to-string-tag.js b/node_modules/core-js/actual/json/to-string-tag.js new file mode 100644 index 00000000..50ae57a7 --- /dev/null +++ b/node_modules/core-js/actual/json/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/json/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/map/group-by.js b/node_modules/core-js/actual/map/group-by.js new file mode 100644 index 00000000..cccef98a --- /dev/null +++ b/node_modules/core-js/actual/map/group-by.js @@ -0,0 +1,13 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.group-by'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var Map = path.Map; +var mapGroupBy = Map.groupBy; + +module.exports = function groupBy(source, iterable, keyDerivative) { + return call(mapGroupBy, isCallable(this) ? this : Map, source, iterable, keyDerivative); +}; diff --git a/node_modules/core-js/actual/map/index.js b/node_modules/core-js/actual/map/index.js new file mode 100644 index 00000000..3663acf5 --- /dev/null +++ b/node_modules/core-js/actual/map/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/map'); +require('../../modules/esnext.map.group-by'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/acosh.js b/node_modules/core-js/actual/math/acosh.js new file mode 100644 index 00000000..77c94ab6 --- /dev/null +++ b/node_modules/core-js/actual/math/acosh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/acosh'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/asinh.js b/node_modules/core-js/actual/math/asinh.js new file mode 100644 index 00000000..eb45ca47 --- /dev/null +++ b/node_modules/core-js/actual/math/asinh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/asinh'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/atanh.js b/node_modules/core-js/actual/math/atanh.js new file mode 100644 index 00000000..257d0425 --- /dev/null +++ b/node_modules/core-js/actual/math/atanh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/atanh'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/cbrt.js b/node_modules/core-js/actual/math/cbrt.js new file mode 100644 index 00000000..b2997fbf --- /dev/null +++ b/node_modules/core-js/actual/math/cbrt.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/cbrt'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/clz32.js b/node_modules/core-js/actual/math/clz32.js new file mode 100644 index 00000000..47e999e9 --- /dev/null +++ b/node_modules/core-js/actual/math/clz32.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/clz32'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/cosh.js b/node_modules/core-js/actual/math/cosh.js new file mode 100644 index 00000000..fdb381ef --- /dev/null +++ b/node_modules/core-js/actual/math/cosh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/cosh'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/expm1.js b/node_modules/core-js/actual/math/expm1.js new file mode 100644 index 00000000..9ffc0c17 --- /dev/null +++ b/node_modules/core-js/actual/math/expm1.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/expm1'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/f16round.js b/node_modules/core-js/actual/math/f16round.js new file mode 100644 index 00000000..f16f880a --- /dev/null +++ b/node_modules/core-js/actual/math/f16round.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.f16round'); +var path = require('../../internals/path'); + +module.exports = path.Math.f16round; diff --git a/node_modules/core-js/actual/math/fround.js b/node_modules/core-js/actual/math/fround.js new file mode 100644 index 00000000..6775a3c0 --- /dev/null +++ b/node_modules/core-js/actual/math/fround.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/fround'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/hypot.js b/node_modules/core-js/actual/math/hypot.js new file mode 100644 index 00000000..e89c8857 --- /dev/null +++ b/node_modules/core-js/actual/math/hypot.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/hypot'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/imul.js b/node_modules/core-js/actual/math/imul.js new file mode 100644 index 00000000..aa22b085 --- /dev/null +++ b/node_modules/core-js/actual/math/imul.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/imul'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/index.js b/node_modules/core-js/actual/math/index.js new file mode 100644 index 00000000..2ff4632c --- /dev/null +++ b/node_modules/core-js/actual/math/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/math'); +require('../../modules/esnext.math.f16round'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/log10.js b/node_modules/core-js/actual/math/log10.js new file mode 100644 index 00000000..d0522a61 --- /dev/null +++ b/node_modules/core-js/actual/math/log10.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/log10'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/log1p.js b/node_modules/core-js/actual/math/log1p.js new file mode 100644 index 00000000..f8b6a710 --- /dev/null +++ b/node_modules/core-js/actual/math/log1p.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/log1p'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/log2.js b/node_modules/core-js/actual/math/log2.js new file mode 100644 index 00000000..960932ae --- /dev/null +++ b/node_modules/core-js/actual/math/log2.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/log2'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/sign.js b/node_modules/core-js/actual/math/sign.js new file mode 100644 index 00000000..1ec56347 --- /dev/null +++ b/node_modules/core-js/actual/math/sign.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/sign'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/sinh.js b/node_modules/core-js/actual/math/sinh.js new file mode 100644 index 00000000..73db2e73 --- /dev/null +++ b/node_modules/core-js/actual/math/sinh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/sinh'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/tanh.js b/node_modules/core-js/actual/math/tanh.js new file mode 100644 index 00000000..ca38467d --- /dev/null +++ b/node_modules/core-js/actual/math/tanh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/tanh'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/to-string-tag.js b/node_modules/core-js/actual/math/to-string-tag.js new file mode 100644 index 00000000..a8788f85 --- /dev/null +++ b/node_modules/core-js/actual/math/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/math/trunc.js b/node_modules/core-js/actual/math/trunc.js new file mode 100644 index 00000000..3396343c --- /dev/null +++ b/node_modules/core-js/actual/math/trunc.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/math/trunc'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/constructor.js b/node_modules/core-js/actual/number/constructor.js new file mode 100644 index 00000000..c6050e63 --- /dev/null +++ b/node_modules/core-js/actual/number/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/epsilon.js b/node_modules/core-js/actual/number/epsilon.js new file mode 100644 index 00000000..caa8083f --- /dev/null +++ b/node_modules/core-js/actual/number/epsilon.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/epsilon'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/index.js b/node_modules/core-js/actual/number/index.js new file mode 100644 index 00000000..7166da00 --- /dev/null +++ b/node_modules/core-js/actual/number/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/is-finite.js b/node_modules/core-js/actual/number/is-finite.js new file mode 100644 index 00000000..4d07a046 --- /dev/null +++ b/node_modules/core-js/actual/number/is-finite.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/is-finite'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/is-integer.js b/node_modules/core-js/actual/number/is-integer.js new file mode 100644 index 00000000..7b39d4ac --- /dev/null +++ b/node_modules/core-js/actual/number/is-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/is-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/is-nan.js b/node_modules/core-js/actual/number/is-nan.js new file mode 100644 index 00000000..669bcdca --- /dev/null +++ b/node_modules/core-js/actual/number/is-nan.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/is-nan'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/is-safe-integer.js b/node_modules/core-js/actual/number/is-safe-integer.js new file mode 100644 index 00000000..6c569dc2 --- /dev/null +++ b/node_modules/core-js/actual/number/is-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/is-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/max-safe-integer.js b/node_modules/core-js/actual/number/max-safe-integer.js new file mode 100644 index 00000000..2c3a264d --- /dev/null +++ b/node_modules/core-js/actual/number/max-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/max-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/min-safe-integer.js b/node_modules/core-js/actual/number/min-safe-integer.js new file mode 100644 index 00000000..378c27c1 --- /dev/null +++ b/node_modules/core-js/actual/number/min-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/min-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/parse-float.js b/node_modules/core-js/actual/number/parse-float.js new file mode 100644 index 00000000..5164e3c3 --- /dev/null +++ b/node_modules/core-js/actual/number/parse-float.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/parse-float'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/parse-int.js b/node_modules/core-js/actual/number/parse-int.js new file mode 100644 index 00000000..88c334a9 --- /dev/null +++ b/node_modules/core-js/actual/number/parse-int.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/parse-int'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/to-exponential.js b/node_modules/core-js/actual/number/to-exponential.js new file mode 100644 index 00000000..31f33626 --- /dev/null +++ b/node_modules/core-js/actual/number/to-exponential.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/to-exponential'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/to-fixed.js b/node_modules/core-js/actual/number/to-fixed.js new file mode 100644 index 00000000..918a91af --- /dev/null +++ b/node_modules/core-js/actual/number/to-fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/to-fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/to-precision.js b/node_modules/core-js/actual/number/to-precision.js new file mode 100644 index 00000000..5d6f7bcf --- /dev/null +++ b/node_modules/core-js/actual/number/to-precision.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/number/to-precision'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/virtual/index.js b/node_modules/core-js/actual/number/virtual/index.js new file mode 100644 index 00000000..02e5b8fa --- /dev/null +++ b/node_modules/core-js/actual/number/virtual/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/number/virtual'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/virtual/to-exponential.js b/node_modules/core-js/actual/number/virtual/to-exponential.js new file mode 100644 index 00000000..0b782d96 --- /dev/null +++ b/node_modules/core-js/actual/number/virtual/to-exponential.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/number/virtual/to-exponential'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/virtual/to-fixed.js b/node_modules/core-js/actual/number/virtual/to-fixed.js new file mode 100644 index 00000000..8be480b8 --- /dev/null +++ b/node_modules/core-js/actual/number/virtual/to-fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/number/virtual/to-fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/number/virtual/to-precision.js b/node_modules/core-js/actual/number/virtual/to-precision.js new file mode 100644 index 00000000..ae967260 --- /dev/null +++ b/node_modules/core-js/actual/number/virtual/to-precision.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/number/virtual/to-precision'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/assign.js b/node_modules/core-js/actual/object/assign.js new file mode 100644 index 00000000..714d1d86 --- /dev/null +++ b/node_modules/core-js/actual/object/assign.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/assign'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/create.js b/node_modules/core-js/actual/object/create.js new file mode 100644 index 00000000..4ae79ab8 --- /dev/null +++ b/node_modules/core-js/actual/object/create.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/create'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/define-getter.js b/node_modules/core-js/actual/object/define-getter.js new file mode 100644 index 00000000..5dee6d0e --- /dev/null +++ b/node_modules/core-js/actual/object/define-getter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/define-getter'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/define-properties.js b/node_modules/core-js/actual/object/define-properties.js new file mode 100644 index 00000000..7f78475d --- /dev/null +++ b/node_modules/core-js/actual/object/define-properties.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/define-properties'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/define-property.js b/node_modules/core-js/actual/object/define-property.js new file mode 100644 index 00000000..8f84eae3 --- /dev/null +++ b/node_modules/core-js/actual/object/define-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/define-property'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/define-setter.js b/node_modules/core-js/actual/object/define-setter.js new file mode 100644 index 00000000..d4e258ea --- /dev/null +++ b/node_modules/core-js/actual/object/define-setter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/define-setter'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/entries.js b/node_modules/core-js/actual/object/entries.js new file mode 100644 index 00000000..15857c91 --- /dev/null +++ b/node_modules/core-js/actual/object/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/freeze.js b/node_modules/core-js/actual/object/freeze.js new file mode 100644 index 00000000..896dccb5 --- /dev/null +++ b/node_modules/core-js/actual/object/freeze.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/freeze'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/from-entries.js b/node_modules/core-js/actual/object/from-entries.js new file mode 100644 index 00000000..0ef1d530 --- /dev/null +++ b/node_modules/core-js/actual/object/from-entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/from-entries'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/get-own-property-descriptor.js b/node_modules/core-js/actual/object/get-own-property-descriptor.js new file mode 100644 index 00000000..70625060 --- /dev/null +++ b/node_modules/core-js/actual/object/get-own-property-descriptor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/get-own-property-descriptor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/get-own-property-descriptors.js b/node_modules/core-js/actual/object/get-own-property-descriptors.js new file mode 100644 index 00000000..8a95172c --- /dev/null +++ b/node_modules/core-js/actual/object/get-own-property-descriptors.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/get-own-property-descriptors'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/get-own-property-names.js b/node_modules/core-js/actual/object/get-own-property-names.js new file mode 100644 index 00000000..990e5dc4 --- /dev/null +++ b/node_modules/core-js/actual/object/get-own-property-names.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/get-own-property-names'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/get-own-property-symbols.js b/node_modules/core-js/actual/object/get-own-property-symbols.js new file mode 100644 index 00000000..6c468cbc --- /dev/null +++ b/node_modules/core-js/actual/object/get-own-property-symbols.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/get-own-property-symbols'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/get-prototype-of.js b/node_modules/core-js/actual/object/get-prototype-of.js new file mode 100644 index 00000000..37d72fd7 --- /dev/null +++ b/node_modules/core-js/actual/object/get-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/get-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/group-by.js b/node_modules/core-js/actual/object/group-by.js new file mode 100644 index 00000000..2fab56f7 --- /dev/null +++ b/node_modules/core-js/actual/object/group-by.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.object.create'); +require('../../modules/esnext.object.group-by'); + +var path = require('../../internals/path'); + +module.exports = path.Object.groupBy; diff --git a/node_modules/core-js/actual/object/has-own.js b/node_modules/core-js/actual/object/has-own.js new file mode 100644 index 00000000..c2c8615b --- /dev/null +++ b/node_modules/core-js/actual/object/has-own.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/has-own'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/index.js b/node_modules/core-js/actual/object/index.js new file mode 100644 index 00000000..4123d83e --- /dev/null +++ b/node_modules/core-js/actual/object/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/object'); +require('../../modules/esnext.object.group-by'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/is-extensible.js b/node_modules/core-js/actual/object/is-extensible.js new file mode 100644 index 00000000..bd9fd8eb --- /dev/null +++ b/node_modules/core-js/actual/object/is-extensible.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/is-extensible'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/is-frozen.js b/node_modules/core-js/actual/object/is-frozen.js new file mode 100644 index 00000000..1f84fe66 --- /dev/null +++ b/node_modules/core-js/actual/object/is-frozen.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/is-frozen'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/is-sealed.js b/node_modules/core-js/actual/object/is-sealed.js new file mode 100644 index 00000000..67bdd67a --- /dev/null +++ b/node_modules/core-js/actual/object/is-sealed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/is-sealed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/is.js b/node_modules/core-js/actual/object/is.js new file mode 100644 index 00000000..06ac44b6 --- /dev/null +++ b/node_modules/core-js/actual/object/is.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/is'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/keys.js b/node_modules/core-js/actual/object/keys.js new file mode 100644 index 00000000..8ee488ea --- /dev/null +++ b/node_modules/core-js/actual/object/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/lookup-getter.js b/node_modules/core-js/actual/object/lookup-getter.js new file mode 100644 index 00000000..3b7753bd --- /dev/null +++ b/node_modules/core-js/actual/object/lookup-getter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/lookup-getter'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/lookup-setter.js b/node_modules/core-js/actual/object/lookup-setter.js new file mode 100644 index 00000000..b00be37d --- /dev/null +++ b/node_modules/core-js/actual/object/lookup-setter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/lookup-setter'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/prevent-extensions.js b/node_modules/core-js/actual/object/prevent-extensions.js new file mode 100644 index 00000000..a85d8298 --- /dev/null +++ b/node_modules/core-js/actual/object/prevent-extensions.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/prevent-extensions'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/proto.js b/node_modules/core-js/actual/object/proto.js new file mode 100644 index 00000000..a35edc54 --- /dev/null +++ b/node_modules/core-js/actual/object/proto.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/proto'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/seal.js b/node_modules/core-js/actual/object/seal.js new file mode 100644 index 00000000..7464ccda --- /dev/null +++ b/node_modules/core-js/actual/object/seal.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/seal'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/set-prototype-of.js b/node_modules/core-js/actual/object/set-prototype-of.js new file mode 100644 index 00000000..17dabe80 --- /dev/null +++ b/node_modules/core-js/actual/object/set-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/set-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/to-string.js b/node_modules/core-js/actual/object/to-string.js new file mode 100644 index 00000000..caaec016 --- /dev/null +++ b/node_modules/core-js/actual/object/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/object/values.js b/node_modules/core-js/actual/object/values.js new file mode 100644 index 00000000..36e80282 --- /dev/null +++ b/node_modules/core-js/actual/object/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/object/values'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/parse-float.js b/node_modules/core-js/actual/parse-float.js new file mode 100644 index 00000000..2733e703 --- /dev/null +++ b/node_modules/core-js/actual/parse-float.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/parse-float'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/parse-int.js b/node_modules/core-js/actual/parse-int.js new file mode 100644 index 00000000..0aefd413 --- /dev/null +++ b/node_modules/core-js/actual/parse-int.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/parse-int'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/promise/all-settled.js b/node_modules/core-js/actual/promise/all-settled.js new file mode 100644 index 00000000..e19dfcf8 --- /dev/null +++ b/node_modules/core-js/actual/promise/all-settled.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/promise/all-settled'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/promise/any.js b/node_modules/core-js/actual/promise/any.js new file mode 100644 index 00000000..1568a8fc --- /dev/null +++ b/node_modules/core-js/actual/promise/any.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/promise/any'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/promise/finally.js b/node_modules/core-js/actual/promise/finally.js new file mode 100644 index 00000000..d6ec566a --- /dev/null +++ b/node_modules/core-js/actual/promise/finally.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/promise/finally'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/promise/index.js b/node_modules/core-js/actual/promise/index.js new file mode 100644 index 00000000..e509e911 --- /dev/null +++ b/node_modules/core-js/actual/promise/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/promise'); +require('../../modules/esnext.promise.with-resolvers'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/promise/with-resolvers.js b/node_modules/core-js/actual/promise/with-resolvers.js new file mode 100644 index 00000000..17cffc6f --- /dev/null +++ b/node_modules/core-js/actual/promise/with-resolvers.js @@ -0,0 +1,13 @@ +'use strict'; +require('../../modules/es.promise'); +require('../../modules/esnext.promise.with-resolvers'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var Promise = path.Promise; +var promiseWithResolvers = Promise.withResolvers; + +module.exports = function withResolvers() { + return call(promiseWithResolvers, isCallable(this) ? this : Promise); +}; diff --git a/node_modules/core-js/actual/queue-microtask.js b/node_modules/core-js/actual/queue-microtask.js new file mode 100644 index 00000000..0f10b0d7 --- /dev/null +++ b/node_modules/core-js/actual/queue-microtask.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/queue-microtask'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/apply.js b/node_modules/core-js/actual/reflect/apply.js new file mode 100644 index 00000000..62d9eb70 --- /dev/null +++ b/node_modules/core-js/actual/reflect/apply.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/apply'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/construct.js b/node_modules/core-js/actual/reflect/construct.js new file mode 100644 index 00000000..f87a36e7 --- /dev/null +++ b/node_modules/core-js/actual/reflect/construct.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/construct'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/define-property.js b/node_modules/core-js/actual/reflect/define-property.js new file mode 100644 index 00000000..bbc20167 --- /dev/null +++ b/node_modules/core-js/actual/reflect/define-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/define-property'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/delete-property.js b/node_modules/core-js/actual/reflect/delete-property.js new file mode 100644 index 00000000..039d837e --- /dev/null +++ b/node_modules/core-js/actual/reflect/delete-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/delete-property'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/get-own-property-descriptor.js b/node_modules/core-js/actual/reflect/get-own-property-descriptor.js new file mode 100644 index 00000000..3bd76f66 --- /dev/null +++ b/node_modules/core-js/actual/reflect/get-own-property-descriptor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/get-own-property-descriptor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/get-prototype-of.js b/node_modules/core-js/actual/reflect/get-prototype-of.js new file mode 100644 index 00000000..4fa6cc05 --- /dev/null +++ b/node_modules/core-js/actual/reflect/get-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/get-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/get.js b/node_modules/core-js/actual/reflect/get.js new file mode 100644 index 00000000..6181621a --- /dev/null +++ b/node_modules/core-js/actual/reflect/get.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/get'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/has.js b/node_modules/core-js/actual/reflect/has.js new file mode 100644 index 00000000..758ac93e --- /dev/null +++ b/node_modules/core-js/actual/reflect/has.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/has'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/index.js b/node_modules/core-js/actual/reflect/index.js new file mode 100644 index 00000000..60ed697f --- /dev/null +++ b/node_modules/core-js/actual/reflect/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/is-extensible.js b/node_modules/core-js/actual/reflect/is-extensible.js new file mode 100644 index 00000000..9be837a2 --- /dev/null +++ b/node_modules/core-js/actual/reflect/is-extensible.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/is-extensible'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/own-keys.js b/node_modules/core-js/actual/reflect/own-keys.js new file mode 100644 index 00000000..03e80257 --- /dev/null +++ b/node_modules/core-js/actual/reflect/own-keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/own-keys'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/prevent-extensions.js b/node_modules/core-js/actual/reflect/prevent-extensions.js new file mode 100644 index 00000000..63575dc1 --- /dev/null +++ b/node_modules/core-js/actual/reflect/prevent-extensions.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/prevent-extensions'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/set-prototype-of.js b/node_modules/core-js/actual/reflect/set-prototype-of.js new file mode 100644 index 00000000..e67ce794 --- /dev/null +++ b/node_modules/core-js/actual/reflect/set-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/set-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/set.js b/node_modules/core-js/actual/reflect/set.js new file mode 100644 index 00000000..07d1cf89 --- /dev/null +++ b/node_modules/core-js/actual/reflect/set.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/reflect/set'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/reflect/to-string-tag.js b/node_modules/core-js/actual/reflect/to-string-tag.js new file mode 100644 index 00000000..3908aff3 --- /dev/null +++ b/node_modules/core-js/actual/reflect/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.reflect.to-string-tag'); + +module.exports = 'Reflect'; diff --git a/node_modules/core-js/actual/regexp/constructor.js b/node_modules/core-js/actual/regexp/constructor.js new file mode 100644 index 00000000..3bbfdb0a --- /dev/null +++ b/node_modules/core-js/actual/regexp/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/dot-all.js b/node_modules/core-js/actual/regexp/dot-all.js new file mode 100644 index 00000000..f087e21f --- /dev/null +++ b/node_modules/core-js/actual/regexp/dot-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/dot-all'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/flags.js b/node_modules/core-js/actual/regexp/flags.js new file mode 100644 index 00000000..a15eb25d --- /dev/null +++ b/node_modules/core-js/actual/regexp/flags.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/flags'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/index.js b/node_modules/core-js/actual/regexp/index.js new file mode 100644 index 00000000..50206973 --- /dev/null +++ b/node_modules/core-js/actual/regexp/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/match.js b/node_modules/core-js/actual/regexp/match.js new file mode 100644 index 00000000..b07f8a80 --- /dev/null +++ b/node_modules/core-js/actual/regexp/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/match'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/replace.js b/node_modules/core-js/actual/regexp/replace.js new file mode 100644 index 00000000..ba055ef0 --- /dev/null +++ b/node_modules/core-js/actual/regexp/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/search.js b/node_modules/core-js/actual/regexp/search.js new file mode 100644 index 00000000..291d14b7 --- /dev/null +++ b/node_modules/core-js/actual/regexp/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/search'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/split.js b/node_modules/core-js/actual/regexp/split.js new file mode 100644 index 00000000..08f81b34 --- /dev/null +++ b/node_modules/core-js/actual/regexp/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/split'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/sticky.js b/node_modules/core-js/actual/regexp/sticky.js new file mode 100644 index 00000000..58979340 --- /dev/null +++ b/node_modules/core-js/actual/regexp/sticky.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/sticky'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/test.js b/node_modules/core-js/actual/regexp/test.js new file mode 100644 index 00000000..68ea66f0 --- /dev/null +++ b/node_modules/core-js/actual/regexp/test.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/test'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/regexp/to-string.js b/node_modules/core-js/actual/regexp/to-string.js new file mode 100644 index 00000000..93d6a299 --- /dev/null +++ b/node_modules/core-js/actual/regexp/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/regexp/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/self.js b/node_modules/core-js/actual/self.js new file mode 100644 index 00000000..42d78cd2 --- /dev/null +++ b/node_modules/core-js/actual/self.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/self'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/set-immediate.js b/node_modules/core-js/actual/set-immediate.js new file mode 100644 index 00000000..70365b3f --- /dev/null +++ b/node_modules/core-js/actual/set-immediate.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/set-immediate'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/set-interval.js b/node_modules/core-js/actual/set-interval.js new file mode 100644 index 00000000..67d300c8 --- /dev/null +++ b/node_modules/core-js/actual/set-interval.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/set-interval'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/set-timeout.js b/node_modules/core-js/actual/set-timeout.js new file mode 100644 index 00000000..7203eb21 --- /dev/null +++ b/node_modules/core-js/actual/set-timeout.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/set-timeout'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/set/difference.js b/node_modules/core-js/actual/set/difference.js new file mode 100644 index 00000000..e5ac4966 --- /dev/null +++ b/node_modules/core-js/actual/set/difference.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.difference.v2'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'difference'); diff --git a/node_modules/core-js/actual/set/index.js b/node_modules/core-js/actual/set/index.js new file mode 100644 index 00000000..2ea9cf0a --- /dev/null +++ b/node_modules/core-js/actual/set/index.js @@ -0,0 +1,11 @@ +'use strict'; +var parent = require('../../stable/set'); +require('../../modules/esnext.set.difference.v2'); +require('../../modules/esnext.set.intersection.v2'); +require('../../modules/esnext.set.is-disjoint-from.v2'); +require('../../modules/esnext.set.is-subset-of.v2'); +require('../../modules/esnext.set.is-superset-of.v2'); +require('../../modules/esnext.set.symmetric-difference.v2'); +require('../../modules/esnext.set.union.v2'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/set/intersection.js b/node_modules/core-js/actual/set/intersection.js new file mode 100644 index 00000000..3d0b2383 --- /dev/null +++ b/node_modules/core-js/actual/set/intersection.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.intersection.v2'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'intersection'); diff --git a/node_modules/core-js/actual/set/is-disjoint-from.js b/node_modules/core-js/actual/set/is-disjoint-from.js new file mode 100644 index 00000000..24028287 --- /dev/null +++ b/node_modules/core-js/actual/set/is-disjoint-from.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.is-disjoint-from.v2'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'isDisjointFrom'); diff --git a/node_modules/core-js/actual/set/is-subset-of.js b/node_modules/core-js/actual/set/is-subset-of.js new file mode 100644 index 00000000..c6e3bcdd --- /dev/null +++ b/node_modules/core-js/actual/set/is-subset-of.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.is-subset-of.v2'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'isSubsetOf'); diff --git a/node_modules/core-js/actual/set/is-superset-of.js b/node_modules/core-js/actual/set/is-superset-of.js new file mode 100644 index 00000000..c79a6f32 --- /dev/null +++ b/node_modules/core-js/actual/set/is-superset-of.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.is-superset-of.v2'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'isSupersetOf'); diff --git a/node_modules/core-js/actual/set/symmetric-difference.js b/node_modules/core-js/actual/set/symmetric-difference.js new file mode 100644 index 00000000..cb9dd2ed --- /dev/null +++ b/node_modules/core-js/actual/set/symmetric-difference.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.symmetric-difference.v2'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'symmetricDifference'); diff --git a/node_modules/core-js/actual/set/union.js b/node_modules/core-js/actual/set/union.js new file mode 100644 index 00000000..47a01520 --- /dev/null +++ b/node_modules/core-js/actual/set/union.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.union.v2'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'union'); diff --git a/node_modules/core-js/actual/string/anchor.js b/node_modules/core-js/actual/string/anchor.js new file mode 100644 index 00000000..9efc89d2 --- /dev/null +++ b/node_modules/core-js/actual/string/anchor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/anchor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/at.js b/node_modules/core-js/actual/string/at.js new file mode 100644 index 00000000..f9a9c7c6 --- /dev/null +++ b/node_modules/core-js/actual/string/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/big.js b/node_modules/core-js/actual/string/big.js new file mode 100644 index 00000000..0ecd01d1 --- /dev/null +++ b/node_modules/core-js/actual/string/big.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/big'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/blink.js b/node_modules/core-js/actual/string/blink.js new file mode 100644 index 00000000..3162b48a --- /dev/null +++ b/node_modules/core-js/actual/string/blink.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/blink'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/bold.js b/node_modules/core-js/actual/string/bold.js new file mode 100644 index 00000000..6a25ad73 --- /dev/null +++ b/node_modules/core-js/actual/string/bold.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/bold'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/code-point-at.js b/node_modules/core-js/actual/string/code-point-at.js new file mode 100644 index 00000000..e537d17f --- /dev/null +++ b/node_modules/core-js/actual/string/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/ends-with.js b/node_modules/core-js/actual/string/ends-with.js new file mode 100644 index 00000000..2ca9ed24 --- /dev/null +++ b/node_modules/core-js/actual/string/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/fixed.js b/node_modules/core-js/actual/string/fixed.js new file mode 100644 index 00000000..2ac56e24 --- /dev/null +++ b/node_modules/core-js/actual/string/fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/fontcolor.js b/node_modules/core-js/actual/string/fontcolor.js new file mode 100644 index 00000000..d60137b7 --- /dev/null +++ b/node_modules/core-js/actual/string/fontcolor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/fontcolor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/fontsize.js b/node_modules/core-js/actual/string/fontsize.js new file mode 100644 index 00000000..edfcbc45 --- /dev/null +++ b/node_modules/core-js/actual/string/fontsize.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/fontsize'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/from-code-point.js b/node_modules/core-js/actual/string/from-code-point.js new file mode 100644 index 00000000..b86cdae2 --- /dev/null +++ b/node_modules/core-js/actual/string/from-code-point.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/from-code-point'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/includes.js b/node_modules/core-js/actual/string/includes.js new file mode 100644 index 00000000..c221c3db --- /dev/null +++ b/node_modules/core-js/actual/string/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/index.js b/node_modules/core-js/actual/string/index.js new file mode 100644 index 00000000..d1357b5e --- /dev/null +++ b/node_modules/core-js/actual/string/index.js @@ -0,0 +1,8 @@ +'use strict'; +var parent = require('../../stable/string'); + +// TODO: Remove from `core-js@4` +require('../../modules/esnext.string.is-well-formed'); +require('../../modules/esnext.string.to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/is-well-formed.js b/node_modules/core-js/actual/string/is-well-formed.js new file mode 100644 index 00000000..9e91f47d --- /dev/null +++ b/node_modules/core-js/actual/string/is-well-formed.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/esnext.string.is-well-formed'); + +var parent = require('../../stable/string/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/italics.js b/node_modules/core-js/actual/string/italics.js new file mode 100644 index 00000000..eb3d62ed --- /dev/null +++ b/node_modules/core-js/actual/string/italics.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/italics'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/iterator.js b/node_modules/core-js/actual/string/iterator.js new file mode 100644 index 00000000..02ebb138 --- /dev/null +++ b/node_modules/core-js/actual/string/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/link.js b/node_modules/core-js/actual/string/link.js new file mode 100644 index 00000000..f9d02552 --- /dev/null +++ b/node_modules/core-js/actual/string/link.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/link'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/match-all.js b/node_modules/core-js/actual/string/match-all.js new file mode 100644 index 00000000..06d157da --- /dev/null +++ b/node_modules/core-js/actual/string/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/match.js b/node_modules/core-js/actual/string/match.js new file mode 100644 index 00000000..2395bcc5 --- /dev/null +++ b/node_modules/core-js/actual/string/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/match'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/pad-end.js b/node_modules/core-js/actual/string/pad-end.js new file mode 100644 index 00000000..877ba29c --- /dev/null +++ b/node_modules/core-js/actual/string/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/pad-start.js b/node_modules/core-js/actual/string/pad-start.js new file mode 100644 index 00000000..d4e4a7ef --- /dev/null +++ b/node_modules/core-js/actual/string/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/raw.js b/node_modules/core-js/actual/string/raw.js new file mode 100644 index 00000000..39202ab7 --- /dev/null +++ b/node_modules/core-js/actual/string/raw.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/raw'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/repeat.js b/node_modules/core-js/actual/string/repeat.js new file mode 100644 index 00000000..0d2945c1 --- /dev/null +++ b/node_modules/core-js/actual/string/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/replace-all.js b/node_modules/core-js/actual/string/replace-all.js new file mode 100644 index 00000000..ba6985aa --- /dev/null +++ b/node_modules/core-js/actual/string/replace-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/replace.js b/node_modules/core-js/actual/string/replace.js new file mode 100644 index 00000000..075d819c --- /dev/null +++ b/node_modules/core-js/actual/string/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/search.js b/node_modules/core-js/actual/string/search.js new file mode 100644 index 00000000..d66b1067 --- /dev/null +++ b/node_modules/core-js/actual/string/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/search'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/small.js b/node_modules/core-js/actual/string/small.js new file mode 100644 index 00000000..430e0836 --- /dev/null +++ b/node_modules/core-js/actual/string/small.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/small'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/split.js b/node_modules/core-js/actual/string/split.js new file mode 100644 index 00000000..d71e6275 --- /dev/null +++ b/node_modules/core-js/actual/string/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/split'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/starts-with.js b/node_modules/core-js/actual/string/starts-with.js new file mode 100644 index 00000000..818cdffc --- /dev/null +++ b/node_modules/core-js/actual/string/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/strike.js b/node_modules/core-js/actual/string/strike.js new file mode 100644 index 00000000..ca20cd3b --- /dev/null +++ b/node_modules/core-js/actual/string/strike.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/strike'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/sub.js b/node_modules/core-js/actual/string/sub.js new file mode 100644 index 00000000..58163d2e --- /dev/null +++ b/node_modules/core-js/actual/string/sub.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/sub'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/substr.js b/node_modules/core-js/actual/string/substr.js new file mode 100644 index 00000000..f71c01b1 --- /dev/null +++ b/node_modules/core-js/actual/string/substr.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/substr'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/sup.js b/node_modules/core-js/actual/string/sup.js new file mode 100644 index 00000000..04fa80d5 --- /dev/null +++ b/node_modules/core-js/actual/string/sup.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/sup'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/to-well-formed.js b/node_modules/core-js/actual/string/to-well-formed.js new file mode 100644 index 00000000..67ad9e4f --- /dev/null +++ b/node_modules/core-js/actual/string/to-well-formed.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/esnext.string.to-well-formed'); + +var parent = require('../../stable/string/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/trim-end.js b/node_modules/core-js/actual/string/trim-end.js new file mode 100644 index 00000000..92c2c388 --- /dev/null +++ b/node_modules/core-js/actual/string/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/trim-left.js b/node_modules/core-js/actual/string/trim-left.js new file mode 100644 index 00000000..d9b2f3fc --- /dev/null +++ b/node_modules/core-js/actual/string/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/trim-right.js b/node_modules/core-js/actual/string/trim-right.js new file mode 100644 index 00000000..68bb582b --- /dev/null +++ b/node_modules/core-js/actual/string/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/trim-start.js b/node_modules/core-js/actual/string/trim-start.js new file mode 100644 index 00000000..17611e6c --- /dev/null +++ b/node_modules/core-js/actual/string/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/trim.js b/node_modules/core-js/actual/string/trim.js new file mode 100644 index 00000000..05393551 --- /dev/null +++ b/node_modules/core-js/actual/string/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/string/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/anchor.js b/node_modules/core-js/actual/string/virtual/anchor.js new file mode 100644 index 00000000..66c2c912 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/anchor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/anchor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/at.js b/node_modules/core-js/actual/string/virtual/at.js new file mode 100644 index 00000000..b87d421a --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/big.js b/node_modules/core-js/actual/string/virtual/big.js new file mode 100644 index 00000000..5c89910b --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/big.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/big'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/blink.js b/node_modules/core-js/actual/string/virtual/blink.js new file mode 100644 index 00000000..a4a0f124 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/blink.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/blink'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/bold.js b/node_modules/core-js/actual/string/virtual/bold.js new file mode 100644 index 00000000..b2384d91 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/bold.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/bold'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/code-point-at.js b/node_modules/core-js/actual/string/virtual/code-point-at.js new file mode 100644 index 00000000..0620b086 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/ends-with.js b/node_modules/core-js/actual/string/virtual/ends-with.js new file mode 100644 index 00000000..d874e7d1 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/fixed.js b/node_modules/core-js/actual/string/virtual/fixed.js new file mode 100644 index 00000000..fd547198 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/fontcolor.js b/node_modules/core-js/actual/string/virtual/fontcolor.js new file mode 100644 index 00000000..cb5c63ac --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/fontcolor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/fontcolor'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/fontsize.js b/node_modules/core-js/actual/string/virtual/fontsize.js new file mode 100644 index 00000000..2175b3f8 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/fontsize.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/fontsize'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/includes.js b/node_modules/core-js/actual/string/virtual/includes.js new file mode 100644 index 00000000..21752600 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/index.js b/node_modules/core-js/actual/string/virtual/index.js new file mode 100644 index 00000000..19afd937 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/index.js @@ -0,0 +1,8 @@ +'use strict'; +var parent = require('../../../stable/string/virtual'); + +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.string.is-well-formed'); +require('../../../modules/esnext.string.to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/is-well-formed.js b/node_modules/core-js/actual/string/virtual/is-well-formed.js new file mode 100644 index 00000000..e3702f4f --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/is-well-formed.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.string.is-well-formed'); + +var parent = require('../../../stable/string/virtual/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/italics.js b/node_modules/core-js/actual/string/virtual/italics.js new file mode 100644 index 00000000..921158a5 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/italics.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/italics'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/iterator.js b/node_modules/core-js/actual/string/virtual/iterator.js new file mode 100644 index 00000000..c6a45cdb --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/link.js b/node_modules/core-js/actual/string/virtual/link.js new file mode 100644 index 00000000..464611cf --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/link.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/link'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/match-all.js b/node_modules/core-js/actual/string/virtual/match-all.js new file mode 100644 index 00000000..8703b82a --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/pad-end.js b/node_modules/core-js/actual/string/virtual/pad-end.js new file mode 100644 index 00000000..43d1d1c8 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/pad-start.js b/node_modules/core-js/actual/string/virtual/pad-start.js new file mode 100644 index 00000000..e4e7e1a3 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/repeat.js b/node_modules/core-js/actual/string/virtual/repeat.js new file mode 100644 index 00000000..14962cf5 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/replace-all.js b/node_modules/core-js/actual/string/virtual/replace-all.js new file mode 100644 index 00000000..d3604ff6 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/replace-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/small.js b/node_modules/core-js/actual/string/virtual/small.js new file mode 100644 index 00000000..8c4de6a0 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/small.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/small'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/starts-with.js b/node_modules/core-js/actual/string/virtual/starts-with.js new file mode 100644 index 00000000..d887a043 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/strike.js b/node_modules/core-js/actual/string/virtual/strike.js new file mode 100644 index 00000000..2aea074e --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/strike.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/strike'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/sub.js b/node_modules/core-js/actual/string/virtual/sub.js new file mode 100644 index 00000000..cd3327b6 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/sub.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/sub'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/substr.js b/node_modules/core-js/actual/string/virtual/substr.js new file mode 100644 index 00000000..a02e33cd --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/substr.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/substr'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/sup.js b/node_modules/core-js/actual/string/virtual/sup.js new file mode 100644 index 00000000..33036f7c --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/sup.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/sup'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/to-well-formed.js b/node_modules/core-js/actual/string/virtual/to-well-formed.js new file mode 100644 index 00000000..86db8e6d --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/to-well-formed.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.string.to-well-formed'); + +var parent = require('../../../stable/string/virtual/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/trim-end.js b/node_modules/core-js/actual/string/virtual/trim-end.js new file mode 100644 index 00000000..30650121 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/trim-left.js b/node_modules/core-js/actual/string/virtual/trim-left.js new file mode 100644 index 00000000..dadf7705 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/trim-right.js b/node_modules/core-js/actual/string/virtual/trim-right.js new file mode 100644 index 00000000..fba0dfde --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/trim-start.js b/node_modules/core-js/actual/string/virtual/trim-start.js new file mode 100644 index 00000000..c0679cce --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/string/virtual/trim.js b/node_modules/core-js/actual/string/virtual/trim.js new file mode 100644 index 00000000..59673b56 --- /dev/null +++ b/node_modules/core-js/actual/string/virtual/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../stable/string/virtual/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/structured-clone.js b/node_modules/core-js/actual/structured-clone.js new file mode 100644 index 00000000..2dc60a11 --- /dev/null +++ b/node_modules/core-js/actual/structured-clone.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/structured-clone'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/suppressed-error.js b/node_modules/core-js/actual/suppressed-error.js new file mode 100644 index 00000000..d550baa5 --- /dev/null +++ b/node_modules/core-js/actual/suppressed-error.js @@ -0,0 +1,7 @@ +'use strict'; +require('../modules/es.error.cause'); +require('../modules/es.error.to-string'); +require('../modules/esnext.suppressed-error.constructor'); +var path = require('../internals/path'); + +module.exports = path.SuppressedError; diff --git a/node_modules/core-js/actual/symbol/async-dispose.js b/node_modules/core-js/actual/symbol/async-dispose.js new file mode 100644 index 00000000..712e3be9 --- /dev/null +++ b/node_modules/core-js/actual/symbol/async-dispose.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.symbol.async-dispose'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('asyncDispose'); diff --git a/node_modules/core-js/actual/symbol/async-iterator.js b/node_modules/core-js/actual/symbol/async-iterator.js new file mode 100644 index 00000000..9ed1f74c --- /dev/null +++ b/node_modules/core-js/actual/symbol/async-iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/async-iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/description.js b/node_modules/core-js/actual/symbol/description.js new file mode 100644 index 00000000..d2a57311 --- /dev/null +++ b/node_modules/core-js/actual/symbol/description.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/description'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/dispose.js b/node_modules/core-js/actual/symbol/dispose.js new file mode 100644 index 00000000..17c74c39 --- /dev/null +++ b/node_modules/core-js/actual/symbol/dispose.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.symbol.dispose'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('dispose'); diff --git a/node_modules/core-js/actual/symbol/for.js b/node_modules/core-js/actual/symbol/for.js new file mode 100644 index 00000000..23493234 --- /dev/null +++ b/node_modules/core-js/actual/symbol/for.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/for'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/has-instance.js b/node_modules/core-js/actual/symbol/has-instance.js new file mode 100644 index 00000000..4ffe7250 --- /dev/null +++ b/node_modules/core-js/actual/symbol/has-instance.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/has-instance'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/index.js b/node_modules/core-js/actual/symbol/index.js new file mode 100644 index 00000000..5905a78b --- /dev/null +++ b/node_modules/core-js/actual/symbol/index.js @@ -0,0 +1,9 @@ +'use strict'; +var parent = require('../../stable/symbol'); + +require('../../modules/esnext.function.metadata'); +require('../../modules/esnext.symbol.async-dispose'); +require('../../modules/esnext.symbol.dispose'); +require('../../modules/esnext.symbol.metadata'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/is-concat-spreadable.js b/node_modules/core-js/actual/symbol/is-concat-spreadable.js new file mode 100644 index 00000000..0c86b418 --- /dev/null +++ b/node_modules/core-js/actual/symbol/is-concat-spreadable.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/is-concat-spreadable'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/iterator.js b/node_modules/core-js/actual/symbol/iterator.js new file mode 100644 index 00000000..0804df8a --- /dev/null +++ b/node_modules/core-js/actual/symbol/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/key-for.js b/node_modules/core-js/actual/symbol/key-for.js new file mode 100644 index 00000000..c515ed31 --- /dev/null +++ b/node_modules/core-js/actual/symbol/key-for.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/key-for'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/match-all.js b/node_modules/core-js/actual/symbol/match-all.js new file mode 100644 index 00000000..23c97e0a --- /dev/null +++ b/node_modules/core-js/actual/symbol/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/match.js b/node_modules/core-js/actual/symbol/match.js new file mode 100644 index 00000000..68061fd0 --- /dev/null +++ b/node_modules/core-js/actual/symbol/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/match'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/metadata.js b/node_modules/core-js/actual/symbol/metadata.js new file mode 100644 index 00000000..768cbae5 --- /dev/null +++ b/node_modules/core-js/actual/symbol/metadata.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/esnext.function.metadata'); +require('../../modules/esnext.symbol.metadata'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('metadata'); diff --git a/node_modules/core-js/actual/symbol/replace.js b/node_modules/core-js/actual/symbol/replace.js new file mode 100644 index 00000000..59ea3ad1 --- /dev/null +++ b/node_modules/core-js/actual/symbol/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/search.js b/node_modules/core-js/actual/symbol/search.js new file mode 100644 index 00000000..68f6233f --- /dev/null +++ b/node_modules/core-js/actual/symbol/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/search'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/species.js b/node_modules/core-js/actual/symbol/species.js new file mode 100644 index 00000000..25dfd511 --- /dev/null +++ b/node_modules/core-js/actual/symbol/species.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/species'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/split.js b/node_modules/core-js/actual/symbol/split.js new file mode 100644 index 00000000..c4af55f3 --- /dev/null +++ b/node_modules/core-js/actual/symbol/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/split'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/to-primitive.js b/node_modules/core-js/actual/symbol/to-primitive.js new file mode 100644 index 00000000..ceab28f5 --- /dev/null +++ b/node_modules/core-js/actual/symbol/to-primitive.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/to-primitive'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/to-string-tag.js b/node_modules/core-js/actual/symbol/to-string-tag.js new file mode 100644 index 00000000..6fe360c7 --- /dev/null +++ b/node_modules/core-js/actual/symbol/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/symbol/unscopables.js b/node_modules/core-js/actual/symbol/unscopables.js new file mode 100644 index 00000000..1d05b709 --- /dev/null +++ b/node_modules/core-js/actual/symbol/unscopables.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/symbol/unscopables'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/at.js b/node_modules/core-js/actual/typed-array/at.js new file mode 100644 index 00000000..59e18b8a --- /dev/null +++ b/node_modules/core-js/actual/typed-array/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/at'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/copy-within.js b/node_modules/core-js/actual/typed-array/copy-within.js new file mode 100644 index 00000000..015fea18 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/entries.js b/node_modules/core-js/actual/typed-array/entries.js new file mode 100644 index 00000000..f187e0dd --- /dev/null +++ b/node_modules/core-js/actual/typed-array/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/every.js b/node_modules/core-js/actual/typed-array/every.js new file mode 100644 index 00000000..a34625d0 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/every'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/fill.js b/node_modules/core-js/actual/typed-array/fill.js new file mode 100644 index 00000000..3236a10b --- /dev/null +++ b/node_modules/core-js/actual/typed-array/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/filter.js b/node_modules/core-js/actual/typed-array/filter.js new file mode 100644 index 00000000..8ac9e894 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/find-index.js b/node_modules/core-js/actual/typed-array/find-index.js new file mode 100644 index 00000000..da184046 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/find-last-index.js b/node_modules/core-js/actual/typed-array/find-last-index.js new file mode 100644 index 00000000..eb7cd482 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/find-last-index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.typed-array.find-last-index'); +var parent = require('../../stable/typed-array/find-last-index'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/find-last.js b/node_modules/core-js/actual/typed-array/find-last.js new file mode 100644 index 00000000..f7608b17 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/find-last.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.typed-array.find-last'); +var parent = require('../../stable/typed-array/find-last'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/find.js b/node_modules/core-js/actual/typed-array/find.js new file mode 100644 index 00000000..af39eacf --- /dev/null +++ b/node_modules/core-js/actual/typed-array/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/find'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/float32-array.js b/node_modules/core-js/actual/typed-array/float32-array.js new file mode 100644 index 00000000..1bfbb239 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/float32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/float32-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/float64-array.js b/node_modules/core-js/actual/typed-array/float64-array.js new file mode 100644 index 00000000..85a9b736 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/float64-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/float64-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/for-each.js b/node_modules/core-js/actual/typed-array/for-each.js new file mode 100644 index 00000000..56f4c263 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/from.js b/node_modules/core-js/actual/typed-array/from.js new file mode 100644 index 00000000..2027a7a6 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/from.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/from'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/includes.js b/node_modules/core-js/actual/typed-array/includes.js new file mode 100644 index 00000000..c87ecab6 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/index-of.js b/node_modules/core-js/actual/typed-array/index-of.js new file mode 100644 index 00000000..e2096edb --- /dev/null +++ b/node_modules/core-js/actual/typed-array/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/index.js b/node_modules/core-js/actual/typed-array/index.js new file mode 100644 index 00000000..31c16976 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/index.js @@ -0,0 +1,11 @@ +'use strict'; +var parent = require('../../stable/typed-array'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.find-last'); +require('../../modules/esnext.typed-array.find-last-index'); +require('../../modules/esnext.typed-array.to-reversed'); +require('../../modules/esnext.typed-array.to-sorted'); +require('../../modules/esnext.typed-array.to-spliced'); +require('../../modules/esnext.typed-array.with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/int16-array.js b/node_modules/core-js/actual/typed-array/int16-array.js new file mode 100644 index 00000000..ee00a145 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/int16-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/int16-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/int32-array.js b/node_modules/core-js/actual/typed-array/int32-array.js new file mode 100644 index 00000000..b20c128d --- /dev/null +++ b/node_modules/core-js/actual/typed-array/int32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/int32-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/int8-array.js b/node_modules/core-js/actual/typed-array/int8-array.js new file mode 100644 index 00000000..48376621 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/int8-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/int8-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/iterator.js b/node_modules/core-js/actual/typed-array/iterator.js new file mode 100644 index 00000000..98b9665e --- /dev/null +++ b/node_modules/core-js/actual/typed-array/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/join.js b/node_modules/core-js/actual/typed-array/join.js new file mode 100644 index 00000000..d18a9367 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/join'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/keys.js b/node_modules/core-js/actual/typed-array/keys.js new file mode 100644 index 00000000..4976bfe1 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/last-index-of.js b/node_modules/core-js/actual/typed-array/last-index-of.js new file mode 100644 index 00000000..abfa69ec --- /dev/null +++ b/node_modules/core-js/actual/typed-array/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/map.js b/node_modules/core-js/actual/typed-array/map.js new file mode 100644 index 00000000..8b70aeb4 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/map'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/methods.js b/node_modules/core-js/actual/typed-array/methods.js new file mode 100644 index 00000000..e87e8177 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/methods.js @@ -0,0 +1,11 @@ +'use strict'; +var parent = require('../../stable/typed-array/methods'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.find-last'); +require('../../modules/esnext.typed-array.find-last-index'); +require('../../modules/esnext.typed-array.to-reversed'); +require('../../modules/esnext.typed-array.to-sorted'); +require('../../modules/esnext.typed-array.to-spliced'); +require('../../modules/esnext.typed-array.with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/of.js b/node_modules/core-js/actual/typed-array/of.js new file mode 100644 index 00000000..720fad2f --- /dev/null +++ b/node_modules/core-js/actual/typed-array/of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/of'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/reduce-right.js b/node_modules/core-js/actual/typed-array/reduce-right.js new file mode 100644 index 00000000..3b61cca4 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/reduce.js b/node_modules/core-js/actual/typed-array/reduce.js new file mode 100644 index 00000000..fc0cce01 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/reverse.js b/node_modules/core-js/actual/typed-array/reverse.js new file mode 100644 index 00000000..ad562774 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/set.js b/node_modules/core-js/actual/typed-array/set.js new file mode 100644 index 00000000..3ccf650d --- /dev/null +++ b/node_modules/core-js/actual/typed-array/set.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/set'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/slice.js b/node_modules/core-js/actual/typed-array/slice.js new file mode 100644 index 00000000..0a6cddb1 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/some.js b/node_modules/core-js/actual/typed-array/some.js new file mode 100644 index 00000000..6bd5b42a --- /dev/null +++ b/node_modules/core-js/actual/typed-array/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/some'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/sort.js b/node_modules/core-js/actual/typed-array/sort.js new file mode 100644 index 00000000..611064bd --- /dev/null +++ b/node_modules/core-js/actual/typed-array/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/subarray.js b/node_modules/core-js/actual/typed-array/subarray.js new file mode 100644 index 00000000..864d0411 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/subarray.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/subarray'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/to-locale-string.js b/node_modules/core-js/actual/typed-array/to-locale-string.js new file mode 100644 index 00000000..a9b0e497 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/to-locale-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/to-locale-string'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/to-reversed.js b/node_modules/core-js/actual/typed-array/to-reversed.js new file mode 100644 index 00000000..81a473bc --- /dev/null +++ b/node_modules/core-js/actual/typed-array/to-reversed.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../stable/typed-array/to-reversed'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/to-sorted.js b/node_modules/core-js/actual/typed-array/to-sorted.js new file mode 100644 index 00000000..fd51ddfa --- /dev/null +++ b/node_modules/core-js/actual/typed-array/to-sorted.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../stable/typed-array/to-sorted'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/to-spliced.js b/node_modules/core-js/actual/typed-array/to-spliced.js new file mode 100644 index 00000000..ab4bf350 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/to-spliced.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.to-spliced'); diff --git a/node_modules/core-js/actual/typed-array/to-string.js b/node_modules/core-js/actual/typed-array/to-string.js new file mode 100644 index 00000000..3d30acb3 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/uint16-array.js b/node_modules/core-js/actual/typed-array/uint16-array.js new file mode 100644 index 00000000..7bf175fc --- /dev/null +++ b/node_modules/core-js/actual/typed-array/uint16-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/uint16-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/uint32-array.js b/node_modules/core-js/actual/typed-array/uint32-array.js new file mode 100644 index 00000000..a4a9db82 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/uint32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/uint32-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/uint8-array.js b/node_modules/core-js/actual/typed-array/uint8-array.js new file mode 100644 index 00000000..f34cc91d --- /dev/null +++ b/node_modules/core-js/actual/typed-array/uint8-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/uint8-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/uint8-clamped-array.js b/node_modules/core-js/actual/typed-array/uint8-clamped-array.js new file mode 100644 index 00000000..77f79501 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/uint8-clamped-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../stable/typed-array/uint8-clamped-array'); +require('../../actual/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/values.js b/node_modules/core-js/actual/typed-array/values.js new file mode 100644 index 00000000..36b171f5 --- /dev/null +++ b/node_modules/core-js/actual/typed-array/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/typed-array/values'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/typed-array/with.js b/node_modules/core-js/actual/typed-array/with.js new file mode 100644 index 00000000..080d19dc --- /dev/null +++ b/node_modules/core-js/actual/typed-array/with.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../stable/typed-array/with'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.with'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/unescape.js b/node_modules/core-js/actual/unescape.js new file mode 100644 index 00000000..6aadaa0c --- /dev/null +++ b/node_modules/core-js/actual/unescape.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../stable/unescape'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/url-search-params/index.js b/node_modules/core-js/actual/url-search-params/index.js new file mode 100644 index 00000000..612b82ea --- /dev/null +++ b/node_modules/core-js/actual/url-search-params/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/url-search-params'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/url/can-parse.js b/node_modules/core-js/actual/url/can-parse.js new file mode 100644 index 00000000..356c417f --- /dev/null +++ b/node_modules/core-js/actual/url/can-parse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/url/can-parse'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/url/index.js b/node_modules/core-js/actual/url/index.js new file mode 100644 index 00000000..59968cf0 --- /dev/null +++ b/node_modules/core-js/actual/url/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/url'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/url/to-json.js b/node_modules/core-js/actual/url/to-json.js new file mode 100644 index 00000000..917718a1 --- /dev/null +++ b/node_modules/core-js/actual/url/to-json.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/url/to-json'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/weak-map/index.js b/node_modules/core-js/actual/weak-map/index.js new file mode 100644 index 00000000..2216ded9 --- /dev/null +++ b/node_modules/core-js/actual/weak-map/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/weak-map'); + +module.exports = parent; diff --git a/node_modules/core-js/actual/weak-set/index.js b/node_modules/core-js/actual/weak-set/index.js new file mode 100644 index 00000000..926088a5 --- /dev/null +++ b/node_modules/core-js/actual/weak-set/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../stable/weak-set'); + +module.exports = parent; diff --git a/node_modules/core-js/configurator.js b/node_modules/core-js/configurator.js new file mode 100644 index 00000000..b8cac18c --- /dev/null +++ b/node_modules/core-js/configurator.js @@ -0,0 +1,28 @@ +'use strict'; +var hasOwn = require('./internals/has-own-property'); +var isArray = require('./internals/is-array'); +var isForced = require('./internals/is-forced'); +var shared = require('./internals/shared-store'); + +var data = isForced.data; +var normalize = isForced.normalize; +var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR'; +var ASYNC_ITERATOR_PROTOTYPE = 'AsyncIteratorPrototype'; + +var setAggressivenessLevel = function (object, constant) { + if (isArray(object)) for (var i = 0; i < object.length; i++) data[normalize(object[i])] = constant; +}; + +module.exports = function (options) { + if (typeof options == 'object') { + setAggressivenessLevel(options.useNative, isForced.NATIVE); + setAggressivenessLevel(options.usePolyfill, isForced.POLYFILL); + setAggressivenessLevel(options.useFeatureDetection, null); + if (hasOwn(options, USE_FUNCTION_CONSTRUCTOR)) { + shared[USE_FUNCTION_CONSTRUCTOR] = !!options[USE_FUNCTION_CONSTRUCTOR]; + } + if (hasOwn(options, ASYNC_ITERATOR_PROTOTYPE)) { + shared[ASYNC_ITERATOR_PROTOTYPE] = options[ASYNC_ITERATOR_PROTOTYPE]; + } + } +}; diff --git a/node_modules/core-js/es/README.md b/node_modules/core-js/es/README.md new file mode 100644 index 00000000..872a356e --- /dev/null +++ b/node_modules/core-js/es/README.md @@ -0,0 +1 @@ +This folder contains entry points for [stable ECMAScript features](https://github.com/zloirock/core-js/tree/v3#ecmascript) with dependencies. diff --git a/node_modules/core-js/es/aggregate-error.js b/node_modules/core-js/es/aggregate-error.js new file mode 100644 index 00000000..2a0c8106 --- /dev/null +++ b/node_modules/core-js/es/aggregate-error.js @@ -0,0 +1,9 @@ +'use strict'; +require('../modules/es.error.cause'); +require('../modules/es.aggregate-error'); +require('../modules/es.aggregate-error.cause'); +require('../modules/es.array.iterator'); +require('../modules/es.string.iterator'); +var path = require('../internals/path'); + +module.exports = path.AggregateError; diff --git a/node_modules/core-js/es/array-buffer/constructor.js b/node_modules/core-js/es/array-buffer/constructor.js new file mode 100644 index 00000000..48fb2735 --- /dev/null +++ b/node_modules/core-js/es/array-buffer/constructor.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.object.to-string'); +var path = require('../../internals/path'); + +module.exports = path.ArrayBuffer; diff --git a/node_modules/core-js/es/array-buffer/index.js b/node_modules/core-js/es/array-buffer/index.js new file mode 100644 index 00000000..6681be93 --- /dev/null +++ b/node_modules/core-js/es/array-buffer/index.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.is-view'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.object.to-string'); +var path = require('../../internals/path'); + +module.exports = path.ArrayBuffer; diff --git a/node_modules/core-js/es/array-buffer/is-view.js b/node_modules/core-js/es/array-buffer/is-view.js new file mode 100644 index 00000000..7580dd01 --- /dev/null +++ b/node_modules/core-js/es/array-buffer/is-view.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array-buffer.is-view'); +var path = require('../../internals/path'); + +module.exports = path.ArrayBuffer.isView; diff --git a/node_modules/core-js/es/array-buffer/slice.js b/node_modules/core-js/es/array-buffer/slice.js new file mode 100644 index 00000000..df382202 --- /dev/null +++ b/node_modules/core-js/es/array-buffer/slice.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.array-buffer.slice'); diff --git a/node_modules/core-js/es/array/at.js b/node_modules/core-js/es/array/at.js new file mode 100644 index 00000000..045588c7 --- /dev/null +++ b/node_modules/core-js/es/array/at.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.at'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'at'); diff --git a/node_modules/core-js/es/array/concat.js b/node_modules/core-js/es/array/concat.js new file mode 100644 index 00000000..f9868cb0 --- /dev/null +++ b/node_modules/core-js/es/array/concat.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.concat'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'concat'); diff --git a/node_modules/core-js/es/array/copy-within.js b/node_modules/core-js/es/array/copy-within.js new file mode 100644 index 00000000..ec749293 --- /dev/null +++ b/node_modules/core-js/es/array/copy-within.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.copy-within'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'copyWithin'); diff --git a/node_modules/core-js/es/array/entries.js b/node_modules/core-js/es/array/entries.js new file mode 100644 index 00000000..191cea2b --- /dev/null +++ b/node_modules/core-js/es/array/entries.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'entries'); diff --git a/node_modules/core-js/es/array/every.js b/node_modules/core-js/es/array/every.js new file mode 100644 index 00000000..02a5973f --- /dev/null +++ b/node_modules/core-js/es/array/every.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.every'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'every'); diff --git a/node_modules/core-js/es/array/fill.js b/node_modules/core-js/es/array/fill.js new file mode 100644 index 00000000..5510882e --- /dev/null +++ b/node_modules/core-js/es/array/fill.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.fill'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'fill'); diff --git a/node_modules/core-js/es/array/filter.js b/node_modules/core-js/es/array/filter.js new file mode 100644 index 00000000..22c6fb23 --- /dev/null +++ b/node_modules/core-js/es/array/filter.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.filter'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'filter'); diff --git a/node_modules/core-js/es/array/find-index.js b/node_modules/core-js/es/array/find-index.js new file mode 100644 index 00000000..e4f753b3 --- /dev/null +++ b/node_modules/core-js/es/array/find-index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.find-index'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'findIndex'); diff --git a/node_modules/core-js/es/array/find-last-index.js b/node_modules/core-js/es/array/find-last-index.js new file mode 100644 index 00000000..8495550e --- /dev/null +++ b/node_modules/core-js/es/array/find-last-index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.find-last-index'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'findLastIndex'); diff --git a/node_modules/core-js/es/array/find-last.js b/node_modules/core-js/es/array/find-last.js new file mode 100644 index 00000000..ce0b9ae6 --- /dev/null +++ b/node_modules/core-js/es/array/find-last.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.find-last'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'findLast'); diff --git a/node_modules/core-js/es/array/find.js b/node_modules/core-js/es/array/find.js new file mode 100644 index 00000000..18c71f7b --- /dev/null +++ b/node_modules/core-js/es/array/find.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.find'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'find'); diff --git a/node_modules/core-js/es/array/flat-map.js b/node_modules/core-js/es/array/flat-map.js new file mode 100644 index 00000000..f64d5a40 --- /dev/null +++ b/node_modules/core-js/es/array/flat-map.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.flat-map'); +require('../../modules/es.array.unscopables.flat-map'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'flatMap'); diff --git a/node_modules/core-js/es/array/flat.js b/node_modules/core-js/es/array/flat.js new file mode 100644 index 00000000..f5ee4cd7 --- /dev/null +++ b/node_modules/core-js/es/array/flat.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.flat'); +require('../../modules/es.array.unscopables.flat'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'flat'); diff --git a/node_modules/core-js/es/array/for-each.js b/node_modules/core-js/es/array/for-each.js new file mode 100644 index 00000000..e28bb513 --- /dev/null +++ b/node_modules/core-js/es/array/for-each.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.for-each'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'forEach'); diff --git a/node_modules/core-js/es/array/from.js b/node_modules/core-js/es/array/from.js new file mode 100644 index 00000000..9d7c5af2 --- /dev/null +++ b/node_modules/core-js/es/array/from.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.string.iterator'); +require('../../modules/es.array.from'); +var path = require('../../internals/path'); + +module.exports = path.Array.from; diff --git a/node_modules/core-js/es/array/includes.js b/node_modules/core-js/es/array/includes.js new file mode 100644 index 00000000..cb2ca437 --- /dev/null +++ b/node_modules/core-js/es/array/includes.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.includes'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'includes'); diff --git a/node_modules/core-js/es/array/index-of.js b/node_modules/core-js/es/array/index-of.js new file mode 100644 index 00000000..f330bd44 --- /dev/null +++ b/node_modules/core-js/es/array/index-of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.index-of'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'indexOf'); diff --git a/node_modules/core-js/es/array/index.js b/node_modules/core-js/es/array/index.js new file mode 100644 index 00000000..abae289b --- /dev/null +++ b/node_modules/core-js/es/array/index.js @@ -0,0 +1,44 @@ +'use strict'; +require('../../modules/es.array.from'); +require('../../modules/es.array.is-array'); +require('../../modules/es.array.of'); +require('../../modules/es.array.at'); +require('../../modules/es.array.concat'); +require('../../modules/es.array.copy-within'); +require('../../modules/es.array.every'); +require('../../modules/es.array.fill'); +require('../../modules/es.array.filter'); +require('../../modules/es.array.find'); +require('../../modules/es.array.find-index'); +require('../../modules/es.array.find-last'); +require('../../modules/es.array.find-last-index'); +require('../../modules/es.array.flat'); +require('../../modules/es.array.flat-map'); +require('../../modules/es.array.for-each'); +require('../../modules/es.array.includes'); +require('../../modules/es.array.index-of'); +require('../../modules/es.array.iterator'); +require('../../modules/es.array.join'); +require('../../modules/es.array.last-index-of'); +require('../../modules/es.array.map'); +require('../../modules/es.array.push'); +require('../../modules/es.array.reduce'); +require('../../modules/es.array.reduce-right'); +require('../../modules/es.array.reverse'); +require('../../modules/es.array.slice'); +require('../../modules/es.array.some'); +require('../../modules/es.array.sort'); +require('../../modules/es.array.species'); +require('../../modules/es.array.splice'); +require('../../modules/es.array.to-reversed'); +require('../../modules/es.array.to-sorted'); +require('../../modules/es.array.to-spliced'); +require('../../modules/es.array.unscopables.flat'); +require('../../modules/es.array.unscopables.flat-map'); +require('../../modules/es.array.unshift'); +require('../../modules/es.array.with'); +require('../../modules/es.object.to-string'); +require('../../modules/es.string.iterator'); +var path = require('../../internals/path'); + +module.exports = path.Array; diff --git a/node_modules/core-js/es/array/is-array.js b/node_modules/core-js/es/array/is-array.js new file mode 100644 index 00000000..3db4bce2 --- /dev/null +++ b/node_modules/core-js/es/array/is-array.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.is-array'); +var path = require('../../internals/path'); + +module.exports = path.Array.isArray; diff --git a/node_modules/core-js/es/array/iterator.js b/node_modules/core-js/es/array/iterator.js new file mode 100644 index 00000000..05f32e7b --- /dev/null +++ b/node_modules/core-js/es/array/iterator.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'values'); diff --git a/node_modules/core-js/es/array/join.js b/node_modules/core-js/es/array/join.js new file mode 100644 index 00000000..ae4ea90f --- /dev/null +++ b/node_modules/core-js/es/array/join.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.join'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'join'); diff --git a/node_modules/core-js/es/array/keys.js b/node_modules/core-js/es/array/keys.js new file mode 100644 index 00000000..0a49fd33 --- /dev/null +++ b/node_modules/core-js/es/array/keys.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'keys'); diff --git a/node_modules/core-js/es/array/last-index-of.js b/node_modules/core-js/es/array/last-index-of.js new file mode 100644 index 00000000..52d96828 --- /dev/null +++ b/node_modules/core-js/es/array/last-index-of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.last-index-of'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'lastIndexOf'); diff --git a/node_modules/core-js/es/array/map.js b/node_modules/core-js/es/array/map.js new file mode 100644 index 00000000..8de03a6e --- /dev/null +++ b/node_modules/core-js/es/array/map.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.map'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'map'); diff --git a/node_modules/core-js/es/array/of.js b/node_modules/core-js/es/array/of.js new file mode 100644 index 00000000..dc88b021 --- /dev/null +++ b/node_modules/core-js/es/array/of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.of'); +var path = require('../../internals/path'); + +module.exports = path.Array.of; diff --git a/node_modules/core-js/es/array/push.js b/node_modules/core-js/es/array/push.js new file mode 100644 index 00000000..d3d2fed9 --- /dev/null +++ b/node_modules/core-js/es/array/push.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.push'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'push'); diff --git a/node_modules/core-js/es/array/reduce-right.js b/node_modules/core-js/es/array/reduce-right.js new file mode 100644 index 00000000..da1c0bc3 --- /dev/null +++ b/node_modules/core-js/es/array/reduce-right.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.reduce-right'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'reduceRight'); diff --git a/node_modules/core-js/es/array/reduce.js b/node_modules/core-js/es/array/reduce.js new file mode 100644 index 00000000..4a2ab821 --- /dev/null +++ b/node_modules/core-js/es/array/reduce.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.reduce'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'reduce'); diff --git a/node_modules/core-js/es/array/reverse.js b/node_modules/core-js/es/array/reverse.js new file mode 100644 index 00000000..d81b9977 --- /dev/null +++ b/node_modules/core-js/es/array/reverse.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.reverse'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'reverse'); diff --git a/node_modules/core-js/es/array/slice.js b/node_modules/core-js/es/array/slice.js new file mode 100644 index 00000000..3a938064 --- /dev/null +++ b/node_modules/core-js/es/array/slice.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.slice'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'slice'); diff --git a/node_modules/core-js/es/array/some.js b/node_modules/core-js/es/array/some.js new file mode 100644 index 00000000..0c16abc5 --- /dev/null +++ b/node_modules/core-js/es/array/some.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.some'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'some'); diff --git a/node_modules/core-js/es/array/sort.js b/node_modules/core-js/es/array/sort.js new file mode 100644 index 00000000..a603b2c1 --- /dev/null +++ b/node_modules/core-js/es/array/sort.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.sort'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'sort'); diff --git a/node_modules/core-js/es/array/splice.js b/node_modules/core-js/es/array/splice.js new file mode 100644 index 00000000..310381b0 --- /dev/null +++ b/node_modules/core-js/es/array/splice.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.splice'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'splice'); diff --git a/node_modules/core-js/es/array/to-reversed.js b/node_modules/core-js/es/array/to-reversed.js new file mode 100644 index 00000000..d05807e0 --- /dev/null +++ b/node_modules/core-js/es/array/to-reversed.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.to-reversed'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'toReversed'); diff --git a/node_modules/core-js/es/array/to-sorted.js b/node_modules/core-js/es/array/to-sorted.js new file mode 100644 index 00000000..acffea2d --- /dev/null +++ b/node_modules/core-js/es/array/to-sorted.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.sort'); +require('../../modules/es.array.to-sorted'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'toSorted'); diff --git a/node_modules/core-js/es/array/to-spliced.js b/node_modules/core-js/es/array/to-spliced.js new file mode 100644 index 00000000..f0a99931 --- /dev/null +++ b/node_modules/core-js/es/array/to-spliced.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.to-spliced'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'toSpliced'); diff --git a/node_modules/core-js/es/array/unshift.js b/node_modules/core-js/es/array/unshift.js new file mode 100644 index 00000000..63e33a8d --- /dev/null +++ b/node_modules/core-js/es/array/unshift.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.unshift'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'unshift'); diff --git a/node_modules/core-js/es/array/values.js b/node_modules/core-js/es/array/values.js new file mode 100644 index 00000000..05f32e7b --- /dev/null +++ b/node_modules/core-js/es/array/values.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'values'); diff --git a/node_modules/core-js/es/array/virtual/at.js b/node_modules/core-js/es/array/virtual/at.js new file mode 100644 index 00000000..7f8bdae1 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/at.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.at'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').at; diff --git a/node_modules/core-js/es/array/virtual/concat.js b/node_modules/core-js/es/array/virtual/concat.js new file mode 100644 index 00000000..391fd1c5 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/concat.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.concat'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').concat; diff --git a/node_modules/core-js/es/array/virtual/copy-within.js b/node_modules/core-js/es/array/virtual/copy-within.js new file mode 100644 index 00000000..cb8ec294 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/copy-within.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.copy-within'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').copyWithin; diff --git a/node_modules/core-js/es/array/virtual/entries.js b/node_modules/core-js/es/array/virtual/entries.js new file mode 100644 index 00000000..c75a4556 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/entries.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.array.iterator'); +require('../../../modules/es.object.to-string'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').entries; diff --git a/node_modules/core-js/es/array/virtual/every.js b/node_modules/core-js/es/array/virtual/every.js new file mode 100644 index 00000000..3023e390 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/every.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.every'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').every; diff --git a/node_modules/core-js/es/array/virtual/fill.js b/node_modules/core-js/es/array/virtual/fill.js new file mode 100644 index 00000000..d1a53aa2 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/fill.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.fill'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').fill; diff --git a/node_modules/core-js/es/array/virtual/filter.js b/node_modules/core-js/es/array/virtual/filter.js new file mode 100644 index 00000000..40af958a --- /dev/null +++ b/node_modules/core-js/es/array/virtual/filter.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.filter'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').filter; diff --git a/node_modules/core-js/es/array/virtual/find-index.js b/node_modules/core-js/es/array/virtual/find-index.js new file mode 100644 index 00000000..73e9f0b5 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/find-index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.find-index'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').findIndex; diff --git a/node_modules/core-js/es/array/virtual/find-last-index.js b/node_modules/core-js/es/array/virtual/find-last-index.js new file mode 100644 index 00000000..e7a7b7cd --- /dev/null +++ b/node_modules/core-js/es/array/virtual/find-last-index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.find-last-index'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').findLastIndex; diff --git a/node_modules/core-js/es/array/virtual/find-last.js b/node_modules/core-js/es/array/virtual/find-last.js new file mode 100644 index 00000000..3bacf22c --- /dev/null +++ b/node_modules/core-js/es/array/virtual/find-last.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.find-last'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').findLast; diff --git a/node_modules/core-js/es/array/virtual/find.js b/node_modules/core-js/es/array/virtual/find.js new file mode 100644 index 00000000..d59355a2 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/find.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.find'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').find; diff --git a/node_modules/core-js/es/array/virtual/flat-map.js b/node_modules/core-js/es/array/virtual/flat-map.js new file mode 100644 index 00000000..9a19797b --- /dev/null +++ b/node_modules/core-js/es/array/virtual/flat-map.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.array.flat-map'); +require('../../../modules/es.array.unscopables.flat-map'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').flatMap; diff --git a/node_modules/core-js/es/array/virtual/flat.js b/node_modules/core-js/es/array/virtual/flat.js new file mode 100644 index 00000000..501e2036 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/flat.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.array.flat'); +require('../../../modules/es.array.unscopables.flat'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').flat; diff --git a/node_modules/core-js/es/array/virtual/for-each.js b/node_modules/core-js/es/array/virtual/for-each.js new file mode 100644 index 00000000..6d00c13e --- /dev/null +++ b/node_modules/core-js/es/array/virtual/for-each.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.for-each'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').forEach; diff --git a/node_modules/core-js/es/array/virtual/includes.js b/node_modules/core-js/es/array/virtual/includes.js new file mode 100644 index 00000000..63172b67 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/includes.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.includes'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').includes; diff --git a/node_modules/core-js/es/array/virtual/index-of.js b/node_modules/core-js/es/array/virtual/index-of.js new file mode 100644 index 00000000..c0406113 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/index-of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.index-of'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').indexOf; diff --git a/node_modules/core-js/es/array/virtual/index.js b/node_modules/core-js/es/array/virtual/index.js new file mode 100644 index 00000000..03a8182c --- /dev/null +++ b/node_modules/core-js/es/array/virtual/index.js @@ -0,0 +1,40 @@ +'use strict'; +require('../../../modules/es.array.at'); +require('../../../modules/es.array.concat'); +require('../../../modules/es.array.copy-within'); +require('../../../modules/es.array.every'); +require('../../../modules/es.array.fill'); +require('../../../modules/es.array.filter'); +require('../../../modules/es.array.find'); +require('../../../modules/es.array.find-index'); +require('../../../modules/es.array.find-last'); +require('../../../modules/es.array.find-last-index'); +require('../../../modules/es.array.flat'); +require('../../../modules/es.array.flat-map'); +require('../../../modules/es.array.for-each'); +require('../../../modules/es.array.includes'); +require('../../../modules/es.array.index-of'); +require('../../../modules/es.array.iterator'); +require('../../../modules/es.array.join'); +require('../../../modules/es.array.last-index-of'); +require('../../../modules/es.array.map'); +require('../../../modules/es.array.push'); +require('../../../modules/es.array.reduce'); +require('../../../modules/es.array.reduce-right'); +require('../../../modules/es.array.reverse'); +require('../../../modules/es.array.slice'); +require('../../../modules/es.array.some'); +require('../../../modules/es.array.sort'); +require('../../../modules/es.array.species'); +require('../../../modules/es.array.splice'); +require('../../../modules/es.array.to-reversed'); +require('../../../modules/es.array.to-sorted'); +require('../../../modules/es.array.to-spliced'); +require('../../../modules/es.array.unscopables.flat'); +require('../../../modules/es.array.unscopables.flat-map'); +require('../../../modules/es.array.unshift'); +require('../../../modules/es.array.with'); +require('../../../modules/es.object.to-string'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array'); diff --git a/node_modules/core-js/es/array/virtual/iterator.js b/node_modules/core-js/es/array/virtual/iterator.js new file mode 100644 index 00000000..2408e27c --- /dev/null +++ b/node_modules/core-js/es/array/virtual/iterator.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.array.iterator'); +require('../../../modules/es.object.to-string'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').values; diff --git a/node_modules/core-js/es/array/virtual/join.js b/node_modules/core-js/es/array/virtual/join.js new file mode 100644 index 00000000..807f8759 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/join.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.join'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').join; diff --git a/node_modules/core-js/es/array/virtual/keys.js b/node_modules/core-js/es/array/virtual/keys.js new file mode 100644 index 00000000..451e2ad2 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/keys.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.array.iterator'); +require('../../../modules/es.object.to-string'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').keys; diff --git a/node_modules/core-js/es/array/virtual/last-index-of.js b/node_modules/core-js/es/array/virtual/last-index-of.js new file mode 100644 index 00000000..cf1e187a --- /dev/null +++ b/node_modules/core-js/es/array/virtual/last-index-of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.last-index-of'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').lastIndexOf; diff --git a/node_modules/core-js/es/array/virtual/map.js b/node_modules/core-js/es/array/virtual/map.js new file mode 100644 index 00000000..30ec7413 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/map.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.map'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').map; diff --git a/node_modules/core-js/es/array/virtual/push.js b/node_modules/core-js/es/array/virtual/push.js new file mode 100644 index 00000000..bbed4293 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/push.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.push'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').push; diff --git a/node_modules/core-js/es/array/virtual/reduce-right.js b/node_modules/core-js/es/array/virtual/reduce-right.js new file mode 100644 index 00000000..ee64e3a4 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/reduce-right.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.reduce-right'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').reduceRight; diff --git a/node_modules/core-js/es/array/virtual/reduce.js b/node_modules/core-js/es/array/virtual/reduce.js new file mode 100644 index 00000000..4f1fcd15 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/reduce.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.reduce'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').reduce; diff --git a/node_modules/core-js/es/array/virtual/reverse.js b/node_modules/core-js/es/array/virtual/reverse.js new file mode 100644 index 00000000..df24a568 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/reverse.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.reverse'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').reverse; diff --git a/node_modules/core-js/es/array/virtual/slice.js b/node_modules/core-js/es/array/virtual/slice.js new file mode 100644 index 00000000..aa8cc29d --- /dev/null +++ b/node_modules/core-js/es/array/virtual/slice.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.slice'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').slice; diff --git a/node_modules/core-js/es/array/virtual/some.js b/node_modules/core-js/es/array/virtual/some.js new file mode 100644 index 00000000..f2d1afd9 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/some.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.some'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').some; diff --git a/node_modules/core-js/es/array/virtual/sort.js b/node_modules/core-js/es/array/virtual/sort.js new file mode 100644 index 00000000..06fe5395 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/sort.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.sort'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').sort; diff --git a/node_modules/core-js/es/array/virtual/splice.js b/node_modules/core-js/es/array/virtual/splice.js new file mode 100644 index 00000000..2080b6a3 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/splice.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.splice'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').splice; diff --git a/node_modules/core-js/es/array/virtual/to-reversed.js b/node_modules/core-js/es/array/virtual/to-reversed.js new file mode 100644 index 00000000..bdc2af45 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/to-reversed.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.to-reversed'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').toReversed; diff --git a/node_modules/core-js/es/array/virtual/to-sorted.js b/node_modules/core-js/es/array/virtual/to-sorted.js new file mode 100644 index 00000000..26650ac2 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/to-sorted.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.array.sort'); +require('../../../modules/es.array.to-sorted'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').toSorted; diff --git a/node_modules/core-js/es/array/virtual/to-spliced.js b/node_modules/core-js/es/array/virtual/to-spliced.js new file mode 100644 index 00000000..7ac12cc9 --- /dev/null +++ b/node_modules/core-js/es/array/virtual/to-spliced.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.to-spliced'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').toSpliced; diff --git a/node_modules/core-js/es/array/virtual/unshift.js b/node_modules/core-js/es/array/virtual/unshift.js new file mode 100644 index 00000000..0bdb8e2e --- /dev/null +++ b/node_modules/core-js/es/array/virtual/unshift.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.unshift'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').unshift; diff --git a/node_modules/core-js/es/array/virtual/values.js b/node_modules/core-js/es/array/virtual/values.js new file mode 100644 index 00000000..2408e27c --- /dev/null +++ b/node_modules/core-js/es/array/virtual/values.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.array.iterator'); +require('../../../modules/es.object.to-string'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').values; diff --git a/node_modules/core-js/es/array/virtual/with.js b/node_modules/core-js/es/array/virtual/with.js new file mode 100644 index 00000000..3a03b00d --- /dev/null +++ b/node_modules/core-js/es/array/virtual/with.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.array.with'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array')['with']; diff --git a/node_modules/core-js/es/array/with.js b/node_modules/core-js/es/array/with.js new file mode 100644 index 00000000..ed0527e0 --- /dev/null +++ b/node_modules/core-js/es/array/with.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.array.with'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'with'); diff --git a/node_modules/core-js/es/data-view/index.js b/node_modules/core-js/es/data-view/index.js new file mode 100644 index 00000000..6eeb107e --- /dev/null +++ b/node_modules/core-js/es/data-view/index.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.data-view'); +require('../../modules/es.object.to-string'); +var path = require('../../internals/path'); + +module.exports = path.DataView; diff --git a/node_modules/core-js/es/date/get-year.js b/node_modules/core-js/es/date/get-year.js new file mode 100644 index 00000000..8364fa1e --- /dev/null +++ b/node_modules/core-js/es/date/get-year.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.date.get-year'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Date', 'getYear'); diff --git a/node_modules/core-js/es/date/index.js b/node_modules/core-js/es/date/index.js new file mode 100644 index 00000000..ec1d2245 --- /dev/null +++ b/node_modules/core-js/es/date/index.js @@ -0,0 +1,12 @@ +'use strict'; +require('../../modules/es.date.get-year'); +require('../../modules/es.date.now'); +require('../../modules/es.date.set-year'); +require('../../modules/es.date.to-gmt-string'); +require('../../modules/es.date.to-iso-string'); +require('../../modules/es.date.to-json'); +require('../../modules/es.date.to-string'); +require('../../modules/es.date.to-primitive'); +var path = require('../../internals/path'); + +module.exports = path.Date; diff --git a/node_modules/core-js/es/date/now.js b/node_modules/core-js/es/date/now.js new file mode 100644 index 00000000..0e395aeb --- /dev/null +++ b/node_modules/core-js/es/date/now.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.date.now'); +var path = require('../../internals/path'); + +module.exports = path.Date.now; diff --git a/node_modules/core-js/es/date/set-year.js b/node_modules/core-js/es/date/set-year.js new file mode 100644 index 00000000..b12aa4ea --- /dev/null +++ b/node_modules/core-js/es/date/set-year.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.date.set-year'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Date', 'setYear'); diff --git a/node_modules/core-js/es/date/to-gmt-string.js b/node_modules/core-js/es/date/to-gmt-string.js new file mode 100644 index 00000000..eb5fe4b9 --- /dev/null +++ b/node_modules/core-js/es/date/to-gmt-string.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.date.to-gmt-string'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Date', 'toGMTString'); diff --git a/node_modules/core-js/es/date/to-iso-string.js b/node_modules/core-js/es/date/to-iso-string.js new file mode 100644 index 00000000..1099ff1b --- /dev/null +++ b/node_modules/core-js/es/date/to-iso-string.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.date.to-iso-string'); +require('../../modules/es.date.to-json'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Date', 'toISOString'); diff --git a/node_modules/core-js/es/date/to-json.js b/node_modules/core-js/es/date/to-json.js new file mode 100644 index 00000000..891ee538 --- /dev/null +++ b/node_modules/core-js/es/date/to-json.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.date.to-json'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Date', 'toJSON'); diff --git a/node_modules/core-js/es/date/to-primitive.js b/node_modules/core-js/es/date/to-primitive.js new file mode 100644 index 00000000..bccade65 --- /dev/null +++ b/node_modules/core-js/es/date/to-primitive.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.date.to-primitive'); +var uncurryThis = require('../../internals/function-uncurry-this'); +var toPrimitive = require('../../internals/date-to-primitive'); + +module.exports = uncurryThis(toPrimitive); diff --git a/node_modules/core-js/es/date/to-string.js b/node_modules/core-js/es/date/to-string.js new file mode 100644 index 00000000..4dc3ee2b --- /dev/null +++ b/node_modules/core-js/es/date/to-string.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.date.to-string'); +var uncurryThis = require('../../internals/function-uncurry-this'); + +module.exports = uncurryThis(Date.prototype.toString); diff --git a/node_modules/core-js/es/error/constructor.js b/node_modules/core-js/es/error/constructor.js new file mode 100644 index 00000000..a14c3529 --- /dev/null +++ b/node_modules/core-js/es/error/constructor.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.error.cause'); +var path = require('../../internals/path'); + +module.exports = path; diff --git a/node_modules/core-js/es/error/index.js b/node_modules/core-js/es/error/index.js new file mode 100644 index 00000000..10f873f0 --- /dev/null +++ b/node_modules/core-js/es/error/index.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.error.cause'); +require('../../modules/es.error.to-string'); +var path = require('../../internals/path'); + +module.exports = path; diff --git a/node_modules/core-js/es/error/to-string.js b/node_modules/core-js/es/error/to-string.js new file mode 100644 index 00000000..fe82bf27 --- /dev/null +++ b/node_modules/core-js/es/error/to-string.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.error.to-string'); +var toString = require('../../internals/error-to-string'); + +module.exports = toString; diff --git a/node_modules/core-js/es/escape.js b/node_modules/core-js/es/escape.js new file mode 100644 index 00000000..71775b5d --- /dev/null +++ b/node_modules/core-js/es/escape.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/es.escape'); +var path = require('../internals/path'); + +module.exports = path.escape; diff --git a/node_modules/core-js/es/function/bind.js b/node_modules/core-js/es/function/bind.js new file mode 100644 index 00000000..4b35a80e --- /dev/null +++ b/node_modules/core-js/es/function/bind.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.function.bind'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Function', 'bind'); diff --git a/node_modules/core-js/es/function/has-instance.js b/node_modules/core-js/es/function/has-instance.js new file mode 100644 index 00000000..d50062dd --- /dev/null +++ b/node_modules/core-js/es/function/has-instance.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.function.has-instance'); +var wellKnownSymbol = require('../../internals/well-known-symbol'); + +module.exports = Function[wellKnownSymbol('hasInstance')]; diff --git a/node_modules/core-js/es/function/index.js b/node_modules/core-js/es/function/index.js new file mode 100644 index 00000000..c58835fa --- /dev/null +++ b/node_modules/core-js/es/function/index.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.function.bind'); +require('../../modules/es.function.name'); +require('../../modules/es.function.has-instance'); +var path = require('../../internals/path'); + +module.exports = path.Function; diff --git a/node_modules/core-js/es/function/name.js b/node_modules/core-js/es/function/name.js new file mode 100644 index 00000000..588269a6 --- /dev/null +++ b/node_modules/core-js/es/function/name.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.function.name'); diff --git a/node_modules/core-js/es/function/virtual/bind.js b/node_modules/core-js/es/function/virtual/bind.js new file mode 100644 index 00000000..839eafbc --- /dev/null +++ b/node_modules/core-js/es/function/virtual/bind.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.function.bind'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Function').bind; diff --git a/node_modules/core-js/es/function/virtual/index.js b/node_modules/core-js/es/function/virtual/index.js new file mode 100644 index 00000000..ccda880e --- /dev/null +++ b/node_modules/core-js/es/function/virtual/index.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.function.bind'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Function'); diff --git a/node_modules/core-js/es/get-iterator-method.js b/node_modules/core-js/es/get-iterator-method.js new file mode 100644 index 00000000..8ea9df4e --- /dev/null +++ b/node_modules/core-js/es/get-iterator-method.js @@ -0,0 +1,6 @@ +'use strict'; +require('../modules/es.array.iterator'); +require('../modules/es.string.iterator'); +var getIteratorMethod = require('../internals/get-iterator-method'); + +module.exports = getIteratorMethod; diff --git a/node_modules/core-js/es/get-iterator.js b/node_modules/core-js/es/get-iterator.js new file mode 100644 index 00000000..372774ed --- /dev/null +++ b/node_modules/core-js/es/get-iterator.js @@ -0,0 +1,6 @@ +'use strict'; +require('../modules/es.array.iterator'); +require('../modules/es.string.iterator'); +var getIterator = require('../internals/get-iterator'); + +module.exports = getIterator; diff --git a/node_modules/core-js/es/global-this.js b/node_modules/core-js/es/global-this.js new file mode 100644 index 00000000..8dd89b70 --- /dev/null +++ b/node_modules/core-js/es/global-this.js @@ -0,0 +1,4 @@ +'use strict'; +require('../modules/es.global-this'); + +module.exports = require('../internals/global'); diff --git a/node_modules/core-js/es/index.js b/node_modules/core-js/es/index.js new file mode 100644 index 00000000..07f0b01e --- /dev/null +++ b/node_modules/core-js/es/index.js @@ -0,0 +1,245 @@ +'use strict'; +require('../modules/es.symbol'); +require('../modules/es.symbol.description'); +require('../modules/es.symbol.async-iterator'); +require('../modules/es.symbol.has-instance'); +require('../modules/es.symbol.is-concat-spreadable'); +require('../modules/es.symbol.iterator'); +require('../modules/es.symbol.match'); +require('../modules/es.symbol.match-all'); +require('../modules/es.symbol.replace'); +require('../modules/es.symbol.search'); +require('../modules/es.symbol.species'); +require('../modules/es.symbol.split'); +require('../modules/es.symbol.to-primitive'); +require('../modules/es.symbol.to-string-tag'); +require('../modules/es.symbol.unscopables'); +require('../modules/es.error.cause'); +require('../modules/es.error.to-string'); +require('../modules/es.aggregate-error'); +require('../modules/es.aggregate-error.cause'); +require('../modules/es.array.at'); +require('../modules/es.array.concat'); +require('../modules/es.array.copy-within'); +require('../modules/es.array.every'); +require('../modules/es.array.fill'); +require('../modules/es.array.filter'); +require('../modules/es.array.find'); +require('../modules/es.array.find-index'); +require('../modules/es.array.find-last'); +require('../modules/es.array.find-last-index'); +require('../modules/es.array.flat'); +require('../modules/es.array.flat-map'); +require('../modules/es.array.for-each'); +require('../modules/es.array.from'); +require('../modules/es.array.includes'); +require('../modules/es.array.index-of'); +require('../modules/es.array.is-array'); +require('../modules/es.array.iterator'); +require('../modules/es.array.join'); +require('../modules/es.array.last-index-of'); +require('../modules/es.array.map'); +require('../modules/es.array.of'); +require('../modules/es.array.push'); +require('../modules/es.array.reduce'); +require('../modules/es.array.reduce-right'); +require('../modules/es.array.reverse'); +require('../modules/es.array.slice'); +require('../modules/es.array.some'); +require('../modules/es.array.sort'); +require('../modules/es.array.species'); +require('../modules/es.array.splice'); +require('../modules/es.array.to-reversed'); +require('../modules/es.array.to-sorted'); +require('../modules/es.array.to-spliced'); +require('../modules/es.array.unscopables.flat'); +require('../modules/es.array.unscopables.flat-map'); +require('../modules/es.array.unshift'); +require('../modules/es.array.with'); +require('../modules/es.array-buffer.constructor'); +require('../modules/es.array-buffer.is-view'); +require('../modules/es.array-buffer.slice'); +require('../modules/es.data-view'); +require('../modules/es.date.get-year'); +require('../modules/es.date.now'); +require('../modules/es.date.set-year'); +require('../modules/es.date.to-gmt-string'); +require('../modules/es.date.to-iso-string'); +require('../modules/es.date.to-json'); +require('../modules/es.date.to-primitive'); +require('../modules/es.date.to-string'); +require('../modules/es.escape'); +require('../modules/es.function.bind'); +require('../modules/es.function.has-instance'); +require('../modules/es.function.name'); +require('../modules/es.global-this'); +require('../modules/es.json.stringify'); +require('../modules/es.json.to-string-tag'); +require('../modules/es.map'); +require('../modules/es.math.acosh'); +require('../modules/es.math.asinh'); +require('../modules/es.math.atanh'); +require('../modules/es.math.cbrt'); +require('../modules/es.math.clz32'); +require('../modules/es.math.cosh'); +require('../modules/es.math.expm1'); +require('../modules/es.math.fround'); +require('../modules/es.math.hypot'); +require('../modules/es.math.imul'); +require('../modules/es.math.log10'); +require('../modules/es.math.log1p'); +require('../modules/es.math.log2'); +require('../modules/es.math.sign'); +require('../modules/es.math.sinh'); +require('../modules/es.math.tanh'); +require('../modules/es.math.to-string-tag'); +require('../modules/es.math.trunc'); +require('../modules/es.number.constructor'); +require('../modules/es.number.epsilon'); +require('../modules/es.number.is-finite'); +require('../modules/es.number.is-integer'); +require('../modules/es.number.is-nan'); +require('../modules/es.number.is-safe-integer'); +require('../modules/es.number.max-safe-integer'); +require('../modules/es.number.min-safe-integer'); +require('../modules/es.number.parse-float'); +require('../modules/es.number.parse-int'); +require('../modules/es.number.to-exponential'); +require('../modules/es.number.to-fixed'); +require('../modules/es.number.to-precision'); +require('../modules/es.object.assign'); +require('../modules/es.object.create'); +require('../modules/es.object.define-getter'); +require('../modules/es.object.define-properties'); +require('../modules/es.object.define-property'); +require('../modules/es.object.define-setter'); +require('../modules/es.object.entries'); +require('../modules/es.object.freeze'); +require('../modules/es.object.from-entries'); +require('../modules/es.object.get-own-property-descriptor'); +require('../modules/es.object.get-own-property-descriptors'); +require('../modules/es.object.get-own-property-names'); +require('../modules/es.object.get-prototype-of'); +require('../modules/es.object.has-own'); +require('../modules/es.object.is'); +require('../modules/es.object.is-extensible'); +require('../modules/es.object.is-frozen'); +require('../modules/es.object.is-sealed'); +require('../modules/es.object.keys'); +require('../modules/es.object.lookup-getter'); +require('../modules/es.object.lookup-setter'); +require('../modules/es.object.prevent-extensions'); +require('../modules/es.object.proto'); +require('../modules/es.object.seal'); +require('../modules/es.object.set-prototype-of'); +require('../modules/es.object.to-string'); +require('../modules/es.object.values'); +require('../modules/es.parse-float'); +require('../modules/es.parse-int'); +require('../modules/es.promise'); +require('../modules/es.promise.all-settled'); +require('../modules/es.promise.any'); +require('../modules/es.promise.finally'); +require('../modules/es.reflect.apply'); +require('../modules/es.reflect.construct'); +require('../modules/es.reflect.define-property'); +require('../modules/es.reflect.delete-property'); +require('../modules/es.reflect.get'); +require('../modules/es.reflect.get-own-property-descriptor'); +require('../modules/es.reflect.get-prototype-of'); +require('../modules/es.reflect.has'); +require('../modules/es.reflect.is-extensible'); +require('../modules/es.reflect.own-keys'); +require('../modules/es.reflect.prevent-extensions'); +require('../modules/es.reflect.set'); +require('../modules/es.reflect.set-prototype-of'); +require('../modules/es.reflect.to-string-tag'); +require('../modules/es.regexp.constructor'); +require('../modules/es.regexp.dot-all'); +require('../modules/es.regexp.exec'); +require('../modules/es.regexp.flags'); +require('../modules/es.regexp.sticky'); +require('../modules/es.regexp.test'); +require('../modules/es.regexp.to-string'); +require('../modules/es.set'); +require('../modules/es.string.at-alternative'); +require('../modules/es.string.code-point-at'); +require('../modules/es.string.ends-with'); +require('../modules/es.string.from-code-point'); +require('../modules/es.string.includes'); +require('../modules/es.string.is-well-formed'); +require('../modules/es.string.iterator'); +require('../modules/es.string.match'); +require('../modules/es.string.match-all'); +require('../modules/es.string.pad-end'); +require('../modules/es.string.pad-start'); +require('../modules/es.string.raw'); +require('../modules/es.string.repeat'); +require('../modules/es.string.replace'); +require('../modules/es.string.replace-all'); +require('../modules/es.string.search'); +require('../modules/es.string.split'); +require('../modules/es.string.starts-with'); +require('../modules/es.string.substr'); +require('../modules/es.string.to-well-formed'); +require('../modules/es.string.trim'); +require('../modules/es.string.trim-end'); +require('../modules/es.string.trim-start'); +require('../modules/es.string.anchor'); +require('../modules/es.string.big'); +require('../modules/es.string.blink'); +require('../modules/es.string.bold'); +require('../modules/es.string.fixed'); +require('../modules/es.string.fontcolor'); +require('../modules/es.string.fontsize'); +require('../modules/es.string.italics'); +require('../modules/es.string.link'); +require('../modules/es.string.small'); +require('../modules/es.string.strike'); +require('../modules/es.string.sub'); +require('../modules/es.string.sup'); +require('../modules/es.typed-array.float32-array'); +require('../modules/es.typed-array.float64-array'); +require('../modules/es.typed-array.int8-array'); +require('../modules/es.typed-array.int16-array'); +require('../modules/es.typed-array.int32-array'); +require('../modules/es.typed-array.uint8-array'); +require('../modules/es.typed-array.uint8-clamped-array'); +require('../modules/es.typed-array.uint16-array'); +require('../modules/es.typed-array.uint32-array'); +require('../modules/es.typed-array.at'); +require('../modules/es.typed-array.copy-within'); +require('../modules/es.typed-array.every'); +require('../modules/es.typed-array.fill'); +require('../modules/es.typed-array.filter'); +require('../modules/es.typed-array.find'); +require('../modules/es.typed-array.find-index'); +require('../modules/es.typed-array.find-last'); +require('../modules/es.typed-array.find-last-index'); +require('../modules/es.typed-array.for-each'); +require('../modules/es.typed-array.from'); +require('../modules/es.typed-array.includes'); +require('../modules/es.typed-array.index-of'); +require('../modules/es.typed-array.iterator'); +require('../modules/es.typed-array.join'); +require('../modules/es.typed-array.last-index-of'); +require('../modules/es.typed-array.map'); +require('../modules/es.typed-array.of'); +require('../modules/es.typed-array.reduce'); +require('../modules/es.typed-array.reduce-right'); +require('../modules/es.typed-array.reverse'); +require('../modules/es.typed-array.set'); +require('../modules/es.typed-array.slice'); +require('../modules/es.typed-array.some'); +require('../modules/es.typed-array.sort'); +require('../modules/es.typed-array.subarray'); +require('../modules/es.typed-array.to-locale-string'); +require('../modules/es.typed-array.to-reversed'); +require('../modules/es.typed-array.to-sorted'); +require('../modules/es.typed-array.to-string'); +require('../modules/es.typed-array.with'); +require('../modules/es.unescape'); +require('../modules/es.weak-map'); +require('../modules/es.weak-set'); + +module.exports = require('../internals/path'); diff --git a/node_modules/core-js/es/instance/at.js b/node_modules/core-js/es/instance/at.js new file mode 100644 index 00000000..75de4fc2 --- /dev/null +++ b/node_modules/core-js/es/instance/at.js @@ -0,0 +1,15 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var arrayMethod = require('../array/virtual/at'); +var stringMethod = require('../string/virtual/at'); + +var ArrayPrototype = Array.prototype; +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.at; + if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.at)) return arrayMethod; + if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.at)) { + return stringMethod; + } return own; +}; diff --git a/node_modules/core-js/es/instance/bind.js b/node_modules/core-js/es/instance/bind.js new file mode 100644 index 00000000..e8fb66fc --- /dev/null +++ b/node_modules/core-js/es/instance/bind.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../function/virtual/bind'); + +var FunctionPrototype = Function.prototype; + +module.exports = function (it) { + var own = it.bind; + return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.bind) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/code-point-at.js b/node_modules/core-js/es/instance/code-point-at.js new file mode 100644 index 00000000..5be3cd33 --- /dev/null +++ b/node_modules/core-js/es/instance/code-point-at.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/code-point-at'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.codePointAt; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.codePointAt) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/concat.js b/node_modules/core-js/es/instance/concat.js new file mode 100644 index 00000000..64740414 --- /dev/null +++ b/node_modules/core-js/es/instance/concat.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/concat'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.concat; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/copy-within.js b/node_modules/core-js/es/instance/copy-within.js new file mode 100644 index 00000000..9b16fe01 --- /dev/null +++ b/node_modules/core-js/es/instance/copy-within.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/copy-within'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.copyWithin; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.copyWithin) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/ends-with.js b/node_modules/core-js/es/instance/ends-with.js new file mode 100644 index 00000000..ca2af508 --- /dev/null +++ b/node_modules/core-js/es/instance/ends-with.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/ends-with'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.endsWith; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.endsWith) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/entries.js b/node_modules/core-js/es/instance/entries.js new file mode 100644 index 00000000..e900c67d --- /dev/null +++ b/node_modules/core-js/es/instance/entries.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/entries'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.entries; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.entries) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/every.js b/node_modules/core-js/es/instance/every.js new file mode 100644 index 00000000..0e3bc52a --- /dev/null +++ b/node_modules/core-js/es/instance/every.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/every'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.every; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.every) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/fill.js b/node_modules/core-js/es/instance/fill.js new file mode 100644 index 00000000..5bf862c2 --- /dev/null +++ b/node_modules/core-js/es/instance/fill.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/fill'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.fill; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.fill) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/filter.js b/node_modules/core-js/es/instance/filter.js new file mode 100644 index 00000000..7e0a348d --- /dev/null +++ b/node_modules/core-js/es/instance/filter.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/filter'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.filter; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/find-index.js b/node_modules/core-js/es/instance/find-index.js new file mode 100644 index 00000000..862344f8 --- /dev/null +++ b/node_modules/core-js/es/instance/find-index.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/find-index'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.findIndex; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findIndex) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/find-last-index.js b/node_modules/core-js/es/instance/find-last-index.js new file mode 100644 index 00000000..4c7cfcbc --- /dev/null +++ b/node_modules/core-js/es/instance/find-last-index.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/find-last-index'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.findLastIndex; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLastIndex) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/find-last.js b/node_modules/core-js/es/instance/find-last.js new file mode 100644 index 00000000..7d30e0b0 --- /dev/null +++ b/node_modules/core-js/es/instance/find-last.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/find-last'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.findLast; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findLast) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/find.js b/node_modules/core-js/es/instance/find.js new file mode 100644 index 00000000..2511c3b7 --- /dev/null +++ b/node_modules/core-js/es/instance/find.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/find'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.find; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.find) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/flags.js b/node_modules/core-js/es/instance/flags.js new file mode 100644 index 00000000..66b08c44 --- /dev/null +++ b/node_modules/core-js/es/instance/flags.js @@ -0,0 +1,9 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var flags = require('../regexp/flags'); + +var RegExpPrototype = RegExp.prototype; + +module.exports = function (it) { + return (it === RegExpPrototype || isPrototypeOf(RegExpPrototype, it)) ? flags(it) : it.flags; +}; diff --git a/node_modules/core-js/es/instance/flat-map.js b/node_modules/core-js/es/instance/flat-map.js new file mode 100644 index 00000000..d406dd9d --- /dev/null +++ b/node_modules/core-js/es/instance/flat-map.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/flat-map'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.flatMap; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.flatMap) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/flat.js b/node_modules/core-js/es/instance/flat.js new file mode 100644 index 00000000..5b168646 --- /dev/null +++ b/node_modules/core-js/es/instance/flat.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/flat'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.flat; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.flat) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/for-each.js b/node_modules/core-js/es/instance/for-each.js new file mode 100644 index 00000000..58566e6e --- /dev/null +++ b/node_modules/core-js/es/instance/for-each.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/for-each'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.forEach; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/includes.js b/node_modules/core-js/es/instance/includes.js new file mode 100644 index 00000000..d2daf8ca --- /dev/null +++ b/node_modules/core-js/es/instance/includes.js @@ -0,0 +1,15 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var arrayMethod = require('../array/virtual/includes'); +var stringMethod = require('../string/virtual/includes'); + +var ArrayPrototype = Array.prototype; +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.includes; + if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod; + if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) { + return stringMethod; + } return own; +}; diff --git a/node_modules/core-js/es/instance/index-of.js b/node_modules/core-js/es/instance/index-of.js new file mode 100644 index 00000000..bcd0898c --- /dev/null +++ b/node_modules/core-js/es/instance/index-of.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/index-of'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.indexOf; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/is-well-formed.js b/node_modules/core-js/es/instance/is-well-formed.js new file mode 100644 index 00000000..728fdc55 --- /dev/null +++ b/node_modules/core-js/es/instance/is-well-formed.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/is-well-formed'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.isWellFormed; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.isWellFormed) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/keys.js b/node_modules/core-js/es/instance/keys.js new file mode 100644 index 00000000..b535ac28 --- /dev/null +++ b/node_modules/core-js/es/instance/keys.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/keys'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.keys; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.keys) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/last-index-of.js b/node_modules/core-js/es/instance/last-index-of.js new file mode 100644 index 00000000..633d1206 --- /dev/null +++ b/node_modules/core-js/es/instance/last-index-of.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/last-index-of'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.lastIndexOf; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.lastIndexOf) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/map.js b/node_modules/core-js/es/instance/map.js new file mode 100644 index 00000000..43b9fcac --- /dev/null +++ b/node_modules/core-js/es/instance/map.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/map'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.map; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/match-all.js b/node_modules/core-js/es/instance/match-all.js new file mode 100644 index 00000000..251a5be8 --- /dev/null +++ b/node_modules/core-js/es/instance/match-all.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/match-all'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.matchAll; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.matchAll) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/pad-end.js b/node_modules/core-js/es/instance/pad-end.js new file mode 100644 index 00000000..bb5dd805 --- /dev/null +++ b/node_modules/core-js/es/instance/pad-end.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/pad-end'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.padEnd; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.padEnd) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/pad-start.js b/node_modules/core-js/es/instance/pad-start.js new file mode 100644 index 00000000..94a73a97 --- /dev/null +++ b/node_modules/core-js/es/instance/pad-start.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/pad-start'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.padStart; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.padStart) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/push.js b/node_modules/core-js/es/instance/push.js new file mode 100644 index 00000000..1796ff05 --- /dev/null +++ b/node_modules/core-js/es/instance/push.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/push'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.push; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.push) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/reduce-right.js b/node_modules/core-js/es/instance/reduce-right.js new file mode 100644 index 00000000..25c6118a --- /dev/null +++ b/node_modules/core-js/es/instance/reduce-right.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/reduce-right'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.reduceRight; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reduceRight) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/reduce.js b/node_modules/core-js/es/instance/reduce.js new file mode 100644 index 00000000..0f8f4148 --- /dev/null +++ b/node_modules/core-js/es/instance/reduce.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/reduce'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.reduce; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reduce) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/repeat.js b/node_modules/core-js/es/instance/repeat.js new file mode 100644 index 00000000..ab7e4976 --- /dev/null +++ b/node_modules/core-js/es/instance/repeat.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/repeat'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.repeat; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.repeat) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/replace-all.js b/node_modules/core-js/es/instance/replace-all.js new file mode 100644 index 00000000..f5b2146c --- /dev/null +++ b/node_modules/core-js/es/instance/replace-all.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/replace-all'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.replaceAll; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.replaceAll) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/reverse.js b/node_modules/core-js/es/instance/reverse.js new file mode 100644 index 00000000..bf00f66d --- /dev/null +++ b/node_modules/core-js/es/instance/reverse.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/reverse'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.reverse; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reverse) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/slice.js b/node_modules/core-js/es/instance/slice.js new file mode 100644 index 00000000..369ea0a8 --- /dev/null +++ b/node_modules/core-js/es/instance/slice.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/slice'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.slice; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/some.js b/node_modules/core-js/es/instance/some.js new file mode 100644 index 00000000..3eddc1b7 --- /dev/null +++ b/node_modules/core-js/es/instance/some.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/some'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.some; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.some) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/sort.js b/node_modules/core-js/es/instance/sort.js new file mode 100644 index 00000000..a6c21f6b --- /dev/null +++ b/node_modules/core-js/es/instance/sort.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/sort'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.sort; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/splice.js b/node_modules/core-js/es/instance/splice.js new file mode 100644 index 00000000..e7e715f5 --- /dev/null +++ b/node_modules/core-js/es/instance/splice.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/splice'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.splice; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.splice) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/starts-with.js b/node_modules/core-js/es/instance/starts-with.js new file mode 100644 index 00000000..2185de7f --- /dev/null +++ b/node_modules/core-js/es/instance/starts-with.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/starts-with'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.startsWith; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/to-reversed.js b/node_modules/core-js/es/instance/to-reversed.js new file mode 100644 index 00000000..5cfb459d --- /dev/null +++ b/node_modules/core-js/es/instance/to-reversed.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/to-reversed'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.toReversed; + return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.toReversed)) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/to-sorted.js b/node_modules/core-js/es/instance/to-sorted.js new file mode 100644 index 00000000..a059c6f7 --- /dev/null +++ b/node_modules/core-js/es/instance/to-sorted.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/to-sorted'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.toSorted; + return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.toSorted)) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/to-spliced.js b/node_modules/core-js/es/instance/to-spliced.js new file mode 100644 index 00000000..9e67474f --- /dev/null +++ b/node_modules/core-js/es/instance/to-spliced.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/to-spliced'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.toSpliced; + return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.toSpliced)) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/to-well-formed.js b/node_modules/core-js/es/instance/to-well-formed.js new file mode 100644 index 00000000..29701d8b --- /dev/null +++ b/node_modules/core-js/es/instance/to-well-formed.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/to-well-formed'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.toWellFormed; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.toWellFormed) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/trim-end.js b/node_modules/core-js/es/instance/trim-end.js new file mode 100644 index 00000000..4688be62 --- /dev/null +++ b/node_modules/core-js/es/instance/trim-end.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/trim-end'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.trimEnd; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimEnd) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/trim-left.js b/node_modules/core-js/es/instance/trim-left.js new file mode 100644 index 00000000..9657cebe --- /dev/null +++ b/node_modules/core-js/es/instance/trim-left.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/trim-left'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.trimLeft; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimLeft) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/trim-right.js b/node_modules/core-js/es/instance/trim-right.js new file mode 100644 index 00000000..16eb9e3c --- /dev/null +++ b/node_modules/core-js/es/instance/trim-right.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/trim-right'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.trimRight; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimRight) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/trim-start.js b/node_modules/core-js/es/instance/trim-start.js new file mode 100644 index 00000000..baf15997 --- /dev/null +++ b/node_modules/core-js/es/instance/trim-start.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/trim-start'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.trimStart; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimStart) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/trim.js b/node_modules/core-js/es/instance/trim.js new file mode 100644 index 00000000..6983995d --- /dev/null +++ b/node_modules/core-js/es/instance/trim.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/trim'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.trim; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trim) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/unshift.js b/node_modules/core-js/es/instance/unshift.js new file mode 100644 index 00000000..e30c7148 --- /dev/null +++ b/node_modules/core-js/es/instance/unshift.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/unshift'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.unshift; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.unshift) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/values.js b/node_modules/core-js/es/instance/values.js new file mode 100644 index 00000000..0573ad44 --- /dev/null +++ b/node_modules/core-js/es/instance/values.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/values'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.values; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.values) ? method : own; +}; diff --git a/node_modules/core-js/es/instance/with.js b/node_modules/core-js/es/instance/with.js new file mode 100644 index 00000000..f3db9f47 --- /dev/null +++ b/node_modules/core-js/es/instance/with.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/with'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it['with']; + return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype['with'])) ? method : own; +}; diff --git a/node_modules/core-js/es/is-iterable.js b/node_modules/core-js/es/is-iterable.js new file mode 100644 index 00000000..7a531143 --- /dev/null +++ b/node_modules/core-js/es/is-iterable.js @@ -0,0 +1,6 @@ +'use strict'; +require('../modules/es.array.iterator'); +require('../modules/es.string.iterator'); +var isIterable = require('../internals/is-iterable'); + +module.exports = isIterable; diff --git a/node_modules/core-js/es/json/index.js b/node_modules/core-js/es/json/index.js new file mode 100644 index 00000000..f6e59421 --- /dev/null +++ b/node_modules/core-js/es/json/index.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.json.stringify'); +require('../../modules/es.json.to-string-tag'); +var path = require('../../internals/path'); + +// eslint-disable-next-line es/no-json -- safe +module.exports = path.JSON || (path.JSON = { stringify: JSON.stringify }); diff --git a/node_modules/core-js/es/json/stringify.js b/node_modules/core-js/es/json/stringify.js new file mode 100644 index 00000000..76000e78 --- /dev/null +++ b/node_modules/core-js/es/json/stringify.js @@ -0,0 +1,12 @@ +'use strict'; +require('../../modules/es.json.stringify'); +var path = require('../../internals/path'); +var apply = require('../../internals/function-apply'); + +// eslint-disable-next-line es/no-json -- safe +if (!path.JSON) path.JSON = { stringify: JSON.stringify }; + +// eslint-disable-next-line no-unused-vars -- required for `.length` +module.exports = function stringify(it, replacer, space) { + return apply(path.JSON.stringify, null, arguments); +}; diff --git a/node_modules/core-js/es/json/to-string-tag.js b/node_modules/core-js/es/json/to-string-tag.js new file mode 100644 index 00000000..8a8fbcd4 --- /dev/null +++ b/node_modules/core-js/es/json/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.json.to-string-tag'); + +module.exports = 'JSON'; diff --git a/node_modules/core-js/es/map/index.js b/node_modules/core-js/es/map/index.js new file mode 100644 index 00000000..ba7336b1 --- /dev/null +++ b/node_modules/core-js/es/map/index.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.map'); +require('../../modules/es.object.to-string'); +require('../../modules/es.string.iterator'); +var path = require('../../internals/path'); + +module.exports = path.Map; diff --git a/node_modules/core-js/es/math/acosh.js b/node_modules/core-js/es/math/acosh.js new file mode 100644 index 00000000..f9f77970 --- /dev/null +++ b/node_modules/core-js/es/math/acosh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.acosh'); +var path = require('../../internals/path'); + +module.exports = path.Math.acosh; diff --git a/node_modules/core-js/es/math/asinh.js b/node_modules/core-js/es/math/asinh.js new file mode 100644 index 00000000..fcbc193a --- /dev/null +++ b/node_modules/core-js/es/math/asinh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.asinh'); +var path = require('../../internals/path'); + +module.exports = path.Math.asinh; diff --git a/node_modules/core-js/es/math/atanh.js b/node_modules/core-js/es/math/atanh.js new file mode 100644 index 00000000..cab7848c --- /dev/null +++ b/node_modules/core-js/es/math/atanh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.atanh'); +var path = require('../../internals/path'); + +module.exports = path.Math.atanh; diff --git a/node_modules/core-js/es/math/cbrt.js b/node_modules/core-js/es/math/cbrt.js new file mode 100644 index 00000000..2760a52d --- /dev/null +++ b/node_modules/core-js/es/math/cbrt.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.cbrt'); +var path = require('../../internals/path'); + +module.exports = path.Math.cbrt; diff --git a/node_modules/core-js/es/math/clz32.js b/node_modules/core-js/es/math/clz32.js new file mode 100644 index 00000000..ba550ae2 --- /dev/null +++ b/node_modules/core-js/es/math/clz32.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.clz32'); +var path = require('../../internals/path'); + +module.exports = path.Math.clz32; diff --git a/node_modules/core-js/es/math/cosh.js b/node_modules/core-js/es/math/cosh.js new file mode 100644 index 00000000..73f9ada1 --- /dev/null +++ b/node_modules/core-js/es/math/cosh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.cosh'); +var path = require('../../internals/path'); + +module.exports = path.Math.cosh; diff --git a/node_modules/core-js/es/math/expm1.js b/node_modules/core-js/es/math/expm1.js new file mode 100644 index 00000000..909cb458 --- /dev/null +++ b/node_modules/core-js/es/math/expm1.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.expm1'); +var path = require('../../internals/path'); + +module.exports = path.Math.expm1; diff --git a/node_modules/core-js/es/math/fround.js b/node_modules/core-js/es/math/fround.js new file mode 100644 index 00000000..25e17ca6 --- /dev/null +++ b/node_modules/core-js/es/math/fround.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.fround'); +var path = require('../../internals/path'); + +module.exports = path.Math.fround; diff --git a/node_modules/core-js/es/math/hypot.js b/node_modules/core-js/es/math/hypot.js new file mode 100644 index 00000000..9d476c81 --- /dev/null +++ b/node_modules/core-js/es/math/hypot.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.hypot'); +var path = require('../../internals/path'); + +module.exports = path.Math.hypot; diff --git a/node_modules/core-js/es/math/imul.js b/node_modules/core-js/es/math/imul.js new file mode 100644 index 00000000..4962f305 --- /dev/null +++ b/node_modules/core-js/es/math/imul.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.imul'); +var path = require('../../internals/path'); + +module.exports = path.Math.imul; diff --git a/node_modules/core-js/es/math/index.js b/node_modules/core-js/es/math/index.js new file mode 100644 index 00000000..a9e7aa96 --- /dev/null +++ b/node_modules/core-js/es/math/index.js @@ -0,0 +1,22 @@ +'use strict'; +require('../../modules/es.math.acosh'); +require('../../modules/es.math.asinh'); +require('../../modules/es.math.atanh'); +require('../../modules/es.math.cbrt'); +require('../../modules/es.math.clz32'); +require('../../modules/es.math.cosh'); +require('../../modules/es.math.expm1'); +require('../../modules/es.math.fround'); +require('../../modules/es.math.hypot'); +require('../../modules/es.math.imul'); +require('../../modules/es.math.log10'); +require('../../modules/es.math.log1p'); +require('../../modules/es.math.log2'); +require('../../modules/es.math.sign'); +require('../../modules/es.math.sinh'); +require('../../modules/es.math.tanh'); +require('../../modules/es.math.to-string-tag'); +require('../../modules/es.math.trunc'); +var path = require('../../internals/path'); + +module.exports = path.Math; diff --git a/node_modules/core-js/es/math/log10.js b/node_modules/core-js/es/math/log10.js new file mode 100644 index 00000000..abe36158 --- /dev/null +++ b/node_modules/core-js/es/math/log10.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.log10'); +var path = require('../../internals/path'); + +module.exports = path.Math.log10; diff --git a/node_modules/core-js/es/math/log1p.js b/node_modules/core-js/es/math/log1p.js new file mode 100644 index 00000000..ea24c241 --- /dev/null +++ b/node_modules/core-js/es/math/log1p.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.log1p'); +var path = require('../../internals/path'); + +module.exports = path.Math.log1p; diff --git a/node_modules/core-js/es/math/log2.js b/node_modules/core-js/es/math/log2.js new file mode 100644 index 00000000..39aca146 --- /dev/null +++ b/node_modules/core-js/es/math/log2.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.log2'); +var path = require('../../internals/path'); + +module.exports = path.Math.log2; diff --git a/node_modules/core-js/es/math/sign.js b/node_modules/core-js/es/math/sign.js new file mode 100644 index 00000000..7d3c8353 --- /dev/null +++ b/node_modules/core-js/es/math/sign.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.sign'); +var path = require('../../internals/path'); + +module.exports = path.Math.sign; diff --git a/node_modules/core-js/es/math/sinh.js b/node_modules/core-js/es/math/sinh.js new file mode 100644 index 00000000..07412d61 --- /dev/null +++ b/node_modules/core-js/es/math/sinh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.sinh'); +var path = require('../../internals/path'); + +module.exports = path.Math.sinh; diff --git a/node_modules/core-js/es/math/tanh.js b/node_modules/core-js/es/math/tanh.js new file mode 100644 index 00000000..906be86e --- /dev/null +++ b/node_modules/core-js/es/math/tanh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.tanh'); +var path = require('../../internals/path'); + +module.exports = path.Math.tanh; diff --git a/node_modules/core-js/es/math/to-string-tag.js b/node_modules/core-js/es/math/to-string-tag.js new file mode 100644 index 00000000..f59580ac --- /dev/null +++ b/node_modules/core-js/es/math/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.math.to-string-tag'); + +module.exports = 'Math'; diff --git a/node_modules/core-js/es/math/trunc.js b/node_modules/core-js/es/math/trunc.js new file mode 100644 index 00000000..491a41a2 --- /dev/null +++ b/node_modules/core-js/es/math/trunc.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.math.trunc'); +var path = require('../../internals/path'); + +module.exports = path.Math.trunc; diff --git a/node_modules/core-js/es/number/constructor.js b/node_modules/core-js/es/number/constructor.js new file mode 100644 index 00000000..77d9d6d9 --- /dev/null +++ b/node_modules/core-js/es/number/constructor.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.constructor'); +var path = require('../../internals/path'); + +module.exports = path.Number; diff --git a/node_modules/core-js/es/number/epsilon.js b/node_modules/core-js/es/number/epsilon.js new file mode 100644 index 00000000..a0405ff4 --- /dev/null +++ b/node_modules/core-js/es/number/epsilon.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.number.epsilon'); + +module.exports = Math.pow(2, -52); diff --git a/node_modules/core-js/es/number/index.js b/node_modules/core-js/es/number/index.js new file mode 100644 index 00000000..f1eaa61e --- /dev/null +++ b/node_modules/core-js/es/number/index.js @@ -0,0 +1,17 @@ +'use strict'; +require('../../modules/es.number.constructor'); +require('../../modules/es.number.epsilon'); +require('../../modules/es.number.is-finite'); +require('../../modules/es.number.is-integer'); +require('../../modules/es.number.is-nan'); +require('../../modules/es.number.is-safe-integer'); +require('../../modules/es.number.max-safe-integer'); +require('../../modules/es.number.min-safe-integer'); +require('../../modules/es.number.parse-float'); +require('../../modules/es.number.parse-int'); +require('../../modules/es.number.to-exponential'); +require('../../modules/es.number.to-fixed'); +require('../../modules/es.number.to-precision'); +var path = require('../../internals/path'); + +module.exports = path.Number; diff --git a/node_modules/core-js/es/number/is-finite.js b/node_modules/core-js/es/number/is-finite.js new file mode 100644 index 00000000..c57cd98a --- /dev/null +++ b/node_modules/core-js/es/number/is-finite.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.is-finite'); +var path = require('../../internals/path'); + +module.exports = path.Number.isFinite; diff --git a/node_modules/core-js/es/number/is-integer.js b/node_modules/core-js/es/number/is-integer.js new file mode 100644 index 00000000..9c1e3ce2 --- /dev/null +++ b/node_modules/core-js/es/number/is-integer.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.is-integer'); +var path = require('../../internals/path'); + +module.exports = path.Number.isInteger; diff --git a/node_modules/core-js/es/number/is-nan.js b/node_modules/core-js/es/number/is-nan.js new file mode 100644 index 00000000..e55780fd --- /dev/null +++ b/node_modules/core-js/es/number/is-nan.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.is-nan'); +var path = require('../../internals/path'); + +module.exports = path.Number.isNaN; diff --git a/node_modules/core-js/es/number/is-safe-integer.js b/node_modules/core-js/es/number/is-safe-integer.js new file mode 100644 index 00000000..a83cb0f0 --- /dev/null +++ b/node_modules/core-js/es/number/is-safe-integer.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.is-safe-integer'); +var path = require('../../internals/path'); + +module.exports = path.Number.isSafeInteger; diff --git a/node_modules/core-js/es/number/max-safe-integer.js b/node_modules/core-js/es/number/max-safe-integer.js new file mode 100644 index 00000000..68c978c9 --- /dev/null +++ b/node_modules/core-js/es/number/max-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.number.max-safe-integer'); + +module.exports = 0x1FFFFFFFFFFFFF; diff --git a/node_modules/core-js/es/number/min-safe-integer.js b/node_modules/core-js/es/number/min-safe-integer.js new file mode 100644 index 00000000..03545663 --- /dev/null +++ b/node_modules/core-js/es/number/min-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.number.min-safe-integer'); + +module.exports = -0x1FFFFFFFFFFFFF; diff --git a/node_modules/core-js/es/number/parse-float.js b/node_modules/core-js/es/number/parse-float.js new file mode 100644 index 00000000..43015af6 --- /dev/null +++ b/node_modules/core-js/es/number/parse-float.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.parse-float'); +var path = require('../../internals/path'); + +module.exports = path.Number.parseFloat; diff --git a/node_modules/core-js/es/number/parse-int.js b/node_modules/core-js/es/number/parse-int.js new file mode 100644 index 00000000..90660fc5 --- /dev/null +++ b/node_modules/core-js/es/number/parse-int.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.parse-int'); +var path = require('../../internals/path'); + +module.exports = path.Number.parseInt; diff --git a/node_modules/core-js/es/number/to-exponential.js b/node_modules/core-js/es/number/to-exponential.js new file mode 100644 index 00000000..cb5f64e6 --- /dev/null +++ b/node_modules/core-js/es/number/to-exponential.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.to-exponential'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Number', 'toExponential'); diff --git a/node_modules/core-js/es/number/to-fixed.js b/node_modules/core-js/es/number/to-fixed.js new file mode 100644 index 00000000..f96050d7 --- /dev/null +++ b/node_modules/core-js/es/number/to-fixed.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.to-fixed'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Number', 'toFixed'); diff --git a/node_modules/core-js/es/number/to-precision.js b/node_modules/core-js/es/number/to-precision.js new file mode 100644 index 00000000..395353d9 --- /dev/null +++ b/node_modules/core-js/es/number/to-precision.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.number.to-precision'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Number', 'toPrecision'); diff --git a/node_modules/core-js/es/number/virtual/index.js b/node_modules/core-js/es/number/virtual/index.js new file mode 100644 index 00000000..14140394 --- /dev/null +++ b/node_modules/core-js/es/number/virtual/index.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../../modules/es.number.to-exponential'); +require('../../../modules/es.number.to-fixed'); +require('../../../modules/es.number.to-precision'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Number'); diff --git a/node_modules/core-js/es/number/virtual/to-exponential.js b/node_modules/core-js/es/number/virtual/to-exponential.js new file mode 100644 index 00000000..effce95f --- /dev/null +++ b/node_modules/core-js/es/number/virtual/to-exponential.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.number.to-exponential'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Number').toExponential; diff --git a/node_modules/core-js/es/number/virtual/to-fixed.js b/node_modules/core-js/es/number/virtual/to-fixed.js new file mode 100644 index 00000000..52f9041d --- /dev/null +++ b/node_modules/core-js/es/number/virtual/to-fixed.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.number.to-fixed'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Number').toFixed; diff --git a/node_modules/core-js/es/number/virtual/to-precision.js b/node_modules/core-js/es/number/virtual/to-precision.js new file mode 100644 index 00000000..ab15e255 --- /dev/null +++ b/node_modules/core-js/es/number/virtual/to-precision.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.number.to-precision'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Number').toPrecision; diff --git a/node_modules/core-js/es/object/assign.js b/node_modules/core-js/es/object/assign.js new file mode 100644 index 00000000..a65486bc --- /dev/null +++ b/node_modules/core-js/es/object/assign.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.assign'); +var path = require('../../internals/path'); + +module.exports = path.Object.assign; diff --git a/node_modules/core-js/es/object/create.js b/node_modules/core-js/es/object/create.js new file mode 100644 index 00000000..4c8ed6d9 --- /dev/null +++ b/node_modules/core-js/es/object/create.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.create'); +var path = require('../../internals/path'); + +var Object = path.Object; + +module.exports = function create(P, D) { + return Object.create(P, D); +}; diff --git a/node_modules/core-js/es/object/define-getter.js b/node_modules/core-js/es/object/define-getter.js new file mode 100644 index 00000000..a7073b97 --- /dev/null +++ b/node_modules/core-js/es/object/define-getter.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.define-getter'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Object', '__defineGetter__'); diff --git a/node_modules/core-js/es/object/define-properties.js b/node_modules/core-js/es/object/define-properties.js new file mode 100644 index 00000000..6b3959e7 --- /dev/null +++ b/node_modules/core-js/es/object/define-properties.js @@ -0,0 +1,11 @@ +'use strict'; +require('../../modules/es.object.define-properties'); +var path = require('../../internals/path'); + +var Object = path.Object; + +var defineProperties = module.exports = function defineProperties(T, D) { + return Object.defineProperties(T, D); +}; + +if (Object.defineProperties.sham) defineProperties.sham = true; diff --git a/node_modules/core-js/es/object/define-property.js b/node_modules/core-js/es/object/define-property.js new file mode 100644 index 00000000..26b927b3 --- /dev/null +++ b/node_modules/core-js/es/object/define-property.js @@ -0,0 +1,11 @@ +'use strict'; +require('../../modules/es.object.define-property'); +var path = require('../../internals/path'); + +var Object = path.Object; + +var defineProperty = module.exports = function defineProperty(it, key, desc) { + return Object.defineProperty(it, key, desc); +}; + +if (Object.defineProperty.sham) defineProperty.sham = true; diff --git a/node_modules/core-js/es/object/define-setter.js b/node_modules/core-js/es/object/define-setter.js new file mode 100644 index 00000000..0b35deca --- /dev/null +++ b/node_modules/core-js/es/object/define-setter.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.define-setter'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Object', '__defineSetter__'); diff --git a/node_modules/core-js/es/object/entries.js b/node_modules/core-js/es/object/entries.js new file mode 100644 index 00000000..5670fe3b --- /dev/null +++ b/node_modules/core-js/es/object/entries.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.entries'); +var path = require('../../internals/path'); + +module.exports = path.Object.entries; diff --git a/node_modules/core-js/es/object/freeze.js b/node_modules/core-js/es/object/freeze.js new file mode 100644 index 00000000..f0bc19a4 --- /dev/null +++ b/node_modules/core-js/es/object/freeze.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.freeze'); +var path = require('../../internals/path'); + +module.exports = path.Object.freeze; diff --git a/node_modules/core-js/es/object/from-entries.js b/node_modules/core-js/es/object/from-entries.js new file mode 100644 index 00000000..9177fecd --- /dev/null +++ b/node_modules/core-js/es/object/from-entries.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.from-entries'); +var path = require('../../internals/path'); + +module.exports = path.Object.fromEntries; diff --git a/node_modules/core-js/es/object/get-own-property-descriptor.js b/node_modules/core-js/es/object/get-own-property-descriptor.js new file mode 100644 index 00000000..069b1514 --- /dev/null +++ b/node_modules/core-js/es/object/get-own-property-descriptor.js @@ -0,0 +1,11 @@ +'use strict'; +require('../../modules/es.object.get-own-property-descriptor'); +var path = require('../../internals/path'); + +var Object = path.Object; + +var getOwnPropertyDescriptor = module.exports = function getOwnPropertyDescriptor(it, key) { + return Object.getOwnPropertyDescriptor(it, key); +}; + +if (Object.getOwnPropertyDescriptor.sham) getOwnPropertyDescriptor.sham = true; diff --git a/node_modules/core-js/es/object/get-own-property-descriptors.js b/node_modules/core-js/es/object/get-own-property-descriptors.js new file mode 100644 index 00000000..71551921 --- /dev/null +++ b/node_modules/core-js/es/object/get-own-property-descriptors.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.get-own-property-descriptors'); +var path = require('../../internals/path'); + +module.exports = path.Object.getOwnPropertyDescriptors; diff --git a/node_modules/core-js/es/object/get-own-property-names.js b/node_modules/core-js/es/object/get-own-property-names.js new file mode 100644 index 00000000..fe438dd7 --- /dev/null +++ b/node_modules/core-js/es/object/get-own-property-names.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.get-own-property-names'); +var path = require('../../internals/path'); + +var Object = path.Object; + +module.exports = function getOwnPropertyNames(it) { + return Object.getOwnPropertyNames(it); +}; diff --git a/node_modules/core-js/es/object/get-own-property-symbols.js b/node_modules/core-js/es/object/get-own-property-symbols.js new file mode 100644 index 00000000..5238c786 --- /dev/null +++ b/node_modules/core-js/es/object/get-own-property-symbols.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.symbol'); +var path = require('../../internals/path'); + +module.exports = path.Object.getOwnPropertySymbols; diff --git a/node_modules/core-js/es/object/get-prototype-of.js b/node_modules/core-js/es/object/get-prototype-of.js new file mode 100644 index 00000000..a0af9c62 --- /dev/null +++ b/node_modules/core-js/es/object/get-prototype-of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.get-prototype-of'); +var path = require('../../internals/path'); + +module.exports = path.Object.getPrototypeOf; diff --git a/node_modules/core-js/es/object/has-own.js b/node_modules/core-js/es/object/has-own.js new file mode 100644 index 00000000..bf8685c2 --- /dev/null +++ b/node_modules/core-js/es/object/has-own.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.has-own'); +var path = require('../../internals/path'); + +module.exports = path.Object.hasOwn; diff --git a/node_modules/core-js/es/object/index.js b/node_modules/core-js/es/object/index.js new file mode 100644 index 00000000..d32f3256 --- /dev/null +++ b/node_modules/core-js/es/object/index.js @@ -0,0 +1,35 @@ +'use strict'; +require('../../modules/es.symbol'); +require('../../modules/es.object.assign'); +require('../../modules/es.object.create'); +require('../../modules/es.object.define-property'); +require('../../modules/es.object.define-properties'); +require('../../modules/es.object.entries'); +require('../../modules/es.object.freeze'); +require('../../modules/es.object.from-entries'); +require('../../modules/es.object.get-own-property-descriptor'); +require('../../modules/es.object.get-own-property-descriptors'); +require('../../modules/es.object.get-own-property-names'); +require('../../modules/es.object.get-prototype-of'); +require('../../modules/es.object.has-own'); +require('../../modules/es.object.is'); +require('../../modules/es.object.is-extensible'); +require('../../modules/es.object.is-frozen'); +require('../../modules/es.object.is-sealed'); +require('../../modules/es.object.keys'); +require('../../modules/es.object.prevent-extensions'); +require('../../modules/es.object.proto'); +require('../../modules/es.object.seal'); +require('../../modules/es.object.set-prototype-of'); +require('../../modules/es.object.values'); +require('../../modules/es.object.to-string'); +require('../../modules/es.object.define-getter'); +require('../../modules/es.object.define-setter'); +require('../../modules/es.object.lookup-getter'); +require('../../modules/es.object.lookup-setter'); +require('../../modules/es.json.to-string-tag'); +require('../../modules/es.math.to-string-tag'); +require('../../modules/es.reflect.to-string-tag'); +var path = require('../../internals/path'); + +module.exports = path.Object; diff --git a/node_modules/core-js/es/object/is-extensible.js b/node_modules/core-js/es/object/is-extensible.js new file mode 100644 index 00000000..8472a831 --- /dev/null +++ b/node_modules/core-js/es/object/is-extensible.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.is-extensible'); +var path = require('../../internals/path'); + +module.exports = path.Object.isExtensible; diff --git a/node_modules/core-js/es/object/is-frozen.js b/node_modules/core-js/es/object/is-frozen.js new file mode 100644 index 00000000..7ce78483 --- /dev/null +++ b/node_modules/core-js/es/object/is-frozen.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.is-frozen'); +var path = require('../../internals/path'); + +module.exports = path.Object.isFrozen; diff --git a/node_modules/core-js/es/object/is-sealed.js b/node_modules/core-js/es/object/is-sealed.js new file mode 100644 index 00000000..d7f4b3d0 --- /dev/null +++ b/node_modules/core-js/es/object/is-sealed.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.is-sealed'); +var path = require('../../internals/path'); + +module.exports = path.Object.isSealed; diff --git a/node_modules/core-js/es/object/is.js b/node_modules/core-js/es/object/is.js new file mode 100644 index 00000000..9b0dbc36 --- /dev/null +++ b/node_modules/core-js/es/object/is.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.is'); +var path = require('../../internals/path'); + +module.exports = path.Object.is; diff --git a/node_modules/core-js/es/object/keys.js b/node_modules/core-js/es/object/keys.js new file mode 100644 index 00000000..e0c01431 --- /dev/null +++ b/node_modules/core-js/es/object/keys.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.keys'); +var path = require('../../internals/path'); + +module.exports = path.Object.keys; diff --git a/node_modules/core-js/es/object/lookup-getter.js b/node_modules/core-js/es/object/lookup-getter.js new file mode 100644 index 00000000..cadd1f36 --- /dev/null +++ b/node_modules/core-js/es/object/lookup-getter.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.lookup-getter'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Object', '__lookupGetter__'); diff --git a/node_modules/core-js/es/object/lookup-setter.js b/node_modules/core-js/es/object/lookup-setter.js new file mode 100644 index 00000000..6afc30f1 --- /dev/null +++ b/node_modules/core-js/es/object/lookup-setter.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.lookup-setter'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Object', '__lookupSetter__'); diff --git a/node_modules/core-js/es/object/prevent-extensions.js b/node_modules/core-js/es/object/prevent-extensions.js new file mode 100644 index 00000000..4c0a44ab --- /dev/null +++ b/node_modules/core-js/es/object/prevent-extensions.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.prevent-extensions'); +var path = require('../../internals/path'); + +module.exports = path.Object.preventExtensions; diff --git a/node_modules/core-js/es/object/proto.js b/node_modules/core-js/es/object/proto.js new file mode 100644 index 00000000..611f1683 --- /dev/null +++ b/node_modules/core-js/es/object/proto.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.object.proto'); diff --git a/node_modules/core-js/es/object/seal.js b/node_modules/core-js/es/object/seal.js new file mode 100644 index 00000000..4da8ba8a --- /dev/null +++ b/node_modules/core-js/es/object/seal.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.seal'); +var path = require('../../internals/path'); + +module.exports = path.Object.seal; diff --git a/node_modules/core-js/es/object/set-prototype-of.js b/node_modules/core-js/es/object/set-prototype-of.js new file mode 100644 index 00000000..29200893 --- /dev/null +++ b/node_modules/core-js/es/object/set-prototype-of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.set-prototype-of'); +var path = require('../../internals/path'); + +module.exports = path.Object.setPrototypeOf; diff --git a/node_modules/core-js/es/object/to-string.js b/node_modules/core-js/es/object/to-string.js new file mode 100644 index 00000000..76f65f6d --- /dev/null +++ b/node_modules/core-js/es/object/to-string.js @@ -0,0 +1,10 @@ +'use strict'; +require('../../modules/es.json.to-string-tag'); +require('../../modules/es.math.to-string-tag'); +require('../../modules/es.object.to-string'); +require('../../modules/es.reflect.to-string-tag'); +var classof = require('../../internals/classof'); + +module.exports = function (it) { + return '[object ' + classof(it) + ']'; +}; diff --git a/node_modules/core-js/es/object/values.js b/node_modules/core-js/es/object/values.js new file mode 100644 index 00000000..6c4f188a --- /dev/null +++ b/node_modules/core-js/es/object/values.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.values'); +var path = require('../../internals/path'); + +module.exports = path.Object.values; diff --git a/node_modules/core-js/es/parse-float.js b/node_modules/core-js/es/parse-float.js new file mode 100644 index 00000000..38fcad1f --- /dev/null +++ b/node_modules/core-js/es/parse-float.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/es.parse-float'); +var path = require('../internals/path'); + +module.exports = path.parseFloat; diff --git a/node_modules/core-js/es/parse-int.js b/node_modules/core-js/es/parse-int.js new file mode 100644 index 00000000..9859572f --- /dev/null +++ b/node_modules/core-js/es/parse-int.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/es.parse-int'); +var path = require('../internals/path'); + +module.exports = path.parseInt; diff --git a/node_modules/core-js/es/promise/all-settled.js b/node_modules/core-js/es/promise/all-settled.js new file mode 100644 index 00000000..9f9875e7 --- /dev/null +++ b/node_modules/core-js/es/promise/all-settled.js @@ -0,0 +1,16 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.promise.all-settled'); +require('../../modules/es.string.iterator'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var Promise = path.Promise; +var $allSettled = Promise.allSettled; + +module.exports = function allSettled(iterable) { + return call($allSettled, isCallable(this) ? this : Promise, iterable); +}; diff --git a/node_modules/core-js/es/promise/any.js b/node_modules/core-js/es/promise/any.js new file mode 100644 index 00000000..8e49250c --- /dev/null +++ b/node_modules/core-js/es/promise/any.js @@ -0,0 +1,17 @@ +'use strict'; +require('../../modules/es.aggregate-error'); +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.promise.any'); +require('../../modules/es.string.iterator'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var Promise = path.Promise; +var $any = Promise.any; + +module.exports = function any(iterable) { + return call($any, isCallable(this) ? this : Promise, iterable); +}; diff --git a/node_modules/core-js/es/promise/finally.js b/node_modules/core-js/es/promise/finally.js new file mode 100644 index 00000000..6a07c1a2 --- /dev/null +++ b/node_modules/core-js/es/promise/finally.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.promise.finally'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Promise', 'finally'); diff --git a/node_modules/core-js/es/promise/index.js b/node_modules/core-js/es/promise/index.js new file mode 100644 index 00000000..652b6230 --- /dev/null +++ b/node_modules/core-js/es/promise/index.js @@ -0,0 +1,12 @@ +'use strict'; +require('../../modules/es.aggregate-error'); +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/es.promise.all-settled'); +require('../../modules/es.promise.any'); +require('../../modules/es.promise.finally'); +require('../../modules/es.string.iterator'); +var path = require('../../internals/path'); + +module.exports = path.Promise; diff --git a/node_modules/core-js/es/reflect/apply.js b/node_modules/core-js/es/reflect/apply.js new file mode 100644 index 00000000..3e20a2d5 --- /dev/null +++ b/node_modules/core-js/es/reflect/apply.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.apply'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.apply; diff --git a/node_modules/core-js/es/reflect/construct.js b/node_modules/core-js/es/reflect/construct.js new file mode 100644 index 00000000..c2118b2b --- /dev/null +++ b/node_modules/core-js/es/reflect/construct.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.construct'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.construct; diff --git a/node_modules/core-js/es/reflect/define-property.js b/node_modules/core-js/es/reflect/define-property.js new file mode 100644 index 00000000..b2366a70 --- /dev/null +++ b/node_modules/core-js/es/reflect/define-property.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.define-property'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.defineProperty; diff --git a/node_modules/core-js/es/reflect/delete-property.js b/node_modules/core-js/es/reflect/delete-property.js new file mode 100644 index 00000000..43f7cc3d --- /dev/null +++ b/node_modules/core-js/es/reflect/delete-property.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.delete-property'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.deleteProperty; diff --git a/node_modules/core-js/es/reflect/get-own-property-descriptor.js b/node_modules/core-js/es/reflect/get-own-property-descriptor.js new file mode 100644 index 00000000..24260523 --- /dev/null +++ b/node_modules/core-js/es/reflect/get-own-property-descriptor.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.get-own-property-descriptor'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.getOwnPropertyDescriptor; diff --git a/node_modules/core-js/es/reflect/get-prototype-of.js b/node_modules/core-js/es/reflect/get-prototype-of.js new file mode 100644 index 00000000..a53ab730 --- /dev/null +++ b/node_modules/core-js/es/reflect/get-prototype-of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.get-prototype-of'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.getPrototypeOf; diff --git a/node_modules/core-js/es/reflect/get.js b/node_modules/core-js/es/reflect/get.js new file mode 100644 index 00000000..ec57c086 --- /dev/null +++ b/node_modules/core-js/es/reflect/get.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.get'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.get; diff --git a/node_modules/core-js/es/reflect/has.js b/node_modules/core-js/es/reflect/has.js new file mode 100644 index 00000000..70f721ba --- /dev/null +++ b/node_modules/core-js/es/reflect/has.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.has'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.has; diff --git a/node_modules/core-js/es/reflect/index.js b/node_modules/core-js/es/reflect/index.js new file mode 100644 index 00000000..0916f6ae --- /dev/null +++ b/node_modules/core-js/es/reflect/index.js @@ -0,0 +1,19 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.reflect.apply'); +require('../../modules/es.reflect.construct'); +require('../../modules/es.reflect.define-property'); +require('../../modules/es.reflect.delete-property'); +require('../../modules/es.reflect.get'); +require('../../modules/es.reflect.get-own-property-descriptor'); +require('../../modules/es.reflect.get-prototype-of'); +require('../../modules/es.reflect.has'); +require('../../modules/es.reflect.is-extensible'); +require('../../modules/es.reflect.own-keys'); +require('../../modules/es.reflect.prevent-extensions'); +require('../../modules/es.reflect.set'); +require('../../modules/es.reflect.set-prototype-of'); +require('../../modules/es.reflect.to-string-tag'); +var path = require('../../internals/path'); + +module.exports = path.Reflect; diff --git a/node_modules/core-js/es/reflect/is-extensible.js b/node_modules/core-js/es/reflect/is-extensible.js new file mode 100644 index 00000000..c234774b --- /dev/null +++ b/node_modules/core-js/es/reflect/is-extensible.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.is-extensible'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.isExtensible; diff --git a/node_modules/core-js/es/reflect/own-keys.js b/node_modules/core-js/es/reflect/own-keys.js new file mode 100644 index 00000000..15a75b28 --- /dev/null +++ b/node_modules/core-js/es/reflect/own-keys.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.own-keys'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.ownKeys; diff --git a/node_modules/core-js/es/reflect/prevent-extensions.js b/node_modules/core-js/es/reflect/prevent-extensions.js new file mode 100644 index 00000000..e5a758eb --- /dev/null +++ b/node_modules/core-js/es/reflect/prevent-extensions.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.prevent-extensions'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.preventExtensions; diff --git a/node_modules/core-js/es/reflect/set-prototype-of.js b/node_modules/core-js/es/reflect/set-prototype-of.js new file mode 100644 index 00000000..7fa3db9a --- /dev/null +++ b/node_modules/core-js/es/reflect/set-prototype-of.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.set-prototype-of'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.setPrototypeOf; diff --git a/node_modules/core-js/es/reflect/set.js b/node_modules/core-js/es/reflect/set.js new file mode 100644 index 00000000..ffaaef7a --- /dev/null +++ b/node_modules/core-js/es/reflect/set.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.reflect.set'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.set; diff --git a/node_modules/core-js/es/reflect/to-string-tag.js b/node_modules/core-js/es/reflect/to-string-tag.js new file mode 100644 index 00000000..be533d07 --- /dev/null +++ b/node_modules/core-js/es/reflect/to-string-tag.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.reflect.to-string-tag'); + +module.exports = 'Reflect'; diff --git a/node_modules/core-js/es/regexp/constructor.js b/node_modules/core-js/es/regexp/constructor.js new file mode 100644 index 00000000..6c5d1e1e --- /dev/null +++ b/node_modules/core-js/es/regexp/constructor.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.regexp.constructor'); +require('../../modules/es.regexp.dot-all'); +require('../../modules/es.regexp.exec'); +require('../../modules/es.regexp.sticky'); + +module.exports = RegExp; diff --git a/node_modules/core-js/es/regexp/dot-all.js b/node_modules/core-js/es/regexp/dot-all.js new file mode 100644 index 00000000..10f2571b --- /dev/null +++ b/node_modules/core-js/es/regexp/dot-all.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.regexp.constructor'); +require('../../modules/es.regexp.dot-all'); +require('../../modules/es.regexp.exec'); + +module.exports = function (it) { + return it.dotAll; +}; diff --git a/node_modules/core-js/es/regexp/flags.js b/node_modules/core-js/es/regexp/flags.js new file mode 100644 index 00000000..cda54e4a --- /dev/null +++ b/node_modules/core-js/es/regexp/flags.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.regexp.flags'); +var getRegExpFlags = require('../../internals/regexp-get-flags'); + +module.exports = getRegExpFlags; diff --git a/node_modules/core-js/es/regexp/index.js b/node_modules/core-js/es/regexp/index.js new file mode 100644 index 00000000..27c4121f --- /dev/null +++ b/node_modules/core-js/es/regexp/index.js @@ -0,0 +1,12 @@ +'use strict'; +require('../../modules/es.regexp.constructor'); +require('../../modules/es.regexp.to-string'); +require('../../modules/es.regexp.dot-all'); +require('../../modules/es.regexp.exec'); +require('../../modules/es.regexp.flags'); +require('../../modules/es.regexp.sticky'); +require('../../modules/es.regexp.test'); +require('../../modules/es.string.match'); +require('../../modules/es.string.replace'); +require('../../modules/es.string.search'); +require('../../modules/es.string.split'); diff --git a/node_modules/core-js/es/regexp/match.js b/node_modules/core-js/es/regexp/match.js new file mode 100644 index 00000000..48803ceb --- /dev/null +++ b/node_modules/core-js/es/regexp/match.js @@ -0,0 +1,11 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.match'); +var call = require('../../internals/function-call'); +var wellKnownSymbol = require('../../internals/well-known-symbol'); + +var MATCH = wellKnownSymbol('match'); + +module.exports = function (it, str) { + return call(RegExp.prototype[MATCH], it, str); +}; diff --git a/node_modules/core-js/es/regexp/replace.js b/node_modules/core-js/es/regexp/replace.js new file mode 100644 index 00000000..f1182047 --- /dev/null +++ b/node_modules/core-js/es/regexp/replace.js @@ -0,0 +1,11 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.replace'); +var call = require('../../internals/function-call'); +var wellKnownSymbol = require('../../internals/well-known-symbol'); + +var REPLACE = wellKnownSymbol('replace'); + +module.exports = function (it, str, replacer) { + return call(RegExp.prototype[REPLACE], it, str, replacer); +}; diff --git a/node_modules/core-js/es/regexp/search.js b/node_modules/core-js/es/regexp/search.js new file mode 100644 index 00000000..ef3edf03 --- /dev/null +++ b/node_modules/core-js/es/regexp/search.js @@ -0,0 +1,11 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.search'); +var call = require('../../internals/function-call'); +var wellKnownSymbol = require('../../internals/well-known-symbol'); + +var SEARCH = wellKnownSymbol('search'); + +module.exports = function (it, str) { + return call(RegExp.prototype[SEARCH], it, str); +}; diff --git a/node_modules/core-js/es/regexp/split.js b/node_modules/core-js/es/regexp/split.js new file mode 100644 index 00000000..91cbd2cb --- /dev/null +++ b/node_modules/core-js/es/regexp/split.js @@ -0,0 +1,11 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.split'); +var call = require('../../internals/function-call'); +var wellKnownSymbol = require('../../internals/well-known-symbol'); + +var SPLIT = wellKnownSymbol('split'); + +module.exports = function (it, str, limit) { + return call(RegExp.prototype[SPLIT], it, str, limit); +}; diff --git a/node_modules/core-js/es/regexp/sticky.js b/node_modules/core-js/es/regexp/sticky.js new file mode 100644 index 00000000..9726f3d5 --- /dev/null +++ b/node_modules/core-js/es/regexp/sticky.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.regexp.constructor'); +require('../../modules/es.regexp.exec'); +require('../../modules/es.regexp.sticky'); + +module.exports = function (it) { + return it.sticky; +}; diff --git a/node_modules/core-js/es/regexp/test.js b/node_modules/core-js/es/regexp/test.js new file mode 100644 index 00000000..cc779f4e --- /dev/null +++ b/node_modules/core-js/es/regexp/test.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.regexp.test'); +var uncurryThis = require('../../internals/function-uncurry-this'); + +module.exports = uncurryThis(/./.test); diff --git a/node_modules/core-js/es/regexp/to-string.js b/node_modules/core-js/es/regexp/to-string.js new file mode 100644 index 00000000..c42ce3ee --- /dev/null +++ b/node_modules/core-js/es/regexp/to-string.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.regexp.to-string'); +var uncurryThis = require('../../internals/function-uncurry-this'); + +module.exports = uncurryThis(/./.toString); diff --git a/node_modules/core-js/es/set/index.js b/node_modules/core-js/es/set/index.js new file mode 100644 index 00000000..b1b8f00c --- /dev/null +++ b/node_modules/core-js/es/set/index.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.set'); +require('../../modules/es.string.iterator'); +var path = require('../../internals/path'); + +module.exports = path.Set; diff --git a/node_modules/core-js/es/string/anchor.js b/node_modules/core-js/es/string/anchor.js new file mode 100644 index 00000000..627f397a --- /dev/null +++ b/node_modules/core-js/es/string/anchor.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.anchor'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'anchor'); diff --git a/node_modules/core-js/es/string/at.js b/node_modules/core-js/es/string/at.js new file mode 100644 index 00000000..1183270b --- /dev/null +++ b/node_modules/core-js/es/string/at.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.at-alternative'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'at'); diff --git a/node_modules/core-js/es/string/big.js b/node_modules/core-js/es/string/big.js new file mode 100644 index 00000000..08cc112c --- /dev/null +++ b/node_modules/core-js/es/string/big.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.big'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'big'); diff --git a/node_modules/core-js/es/string/blink.js b/node_modules/core-js/es/string/blink.js new file mode 100644 index 00000000..2741fb4f --- /dev/null +++ b/node_modules/core-js/es/string/blink.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.blink'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'blink'); diff --git a/node_modules/core-js/es/string/bold.js b/node_modules/core-js/es/string/bold.js new file mode 100644 index 00000000..24065f77 --- /dev/null +++ b/node_modules/core-js/es/string/bold.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.bold'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'bold'); diff --git a/node_modules/core-js/es/string/code-point-at.js b/node_modules/core-js/es/string/code-point-at.js new file mode 100644 index 00000000..7a6bc5c9 --- /dev/null +++ b/node_modules/core-js/es/string/code-point-at.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.code-point-at'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'codePointAt'); diff --git a/node_modules/core-js/es/string/ends-with.js b/node_modules/core-js/es/string/ends-with.js new file mode 100644 index 00000000..d5980203 --- /dev/null +++ b/node_modules/core-js/es/string/ends-with.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.ends-with'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'endsWith'); diff --git a/node_modules/core-js/es/string/fixed.js b/node_modules/core-js/es/string/fixed.js new file mode 100644 index 00000000..9d703482 --- /dev/null +++ b/node_modules/core-js/es/string/fixed.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.fixed'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'fixed'); diff --git a/node_modules/core-js/es/string/fontcolor.js b/node_modules/core-js/es/string/fontcolor.js new file mode 100644 index 00000000..056c07d9 --- /dev/null +++ b/node_modules/core-js/es/string/fontcolor.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.fontcolor'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'fontcolor'); diff --git a/node_modules/core-js/es/string/fontsize.js b/node_modules/core-js/es/string/fontsize.js new file mode 100644 index 00000000..8784d06c --- /dev/null +++ b/node_modules/core-js/es/string/fontsize.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.fontsize'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'fontsize'); diff --git a/node_modules/core-js/es/string/from-code-point.js b/node_modules/core-js/es/string/from-code-point.js new file mode 100644 index 00000000..93ba4ce7 --- /dev/null +++ b/node_modules/core-js/es/string/from-code-point.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.from-code-point'); +var path = require('../../internals/path'); + +module.exports = path.String.fromCodePoint; diff --git a/node_modules/core-js/es/string/includes.js b/node_modules/core-js/es/string/includes.js new file mode 100644 index 00000000..0b6f480f --- /dev/null +++ b/node_modules/core-js/es/string/includes.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.includes'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'includes'); diff --git a/node_modules/core-js/es/string/index.js b/node_modules/core-js/es/string/index.js new file mode 100644 index 00000000..6529e2d7 --- /dev/null +++ b/node_modules/core-js/es/string/index.js @@ -0,0 +1,42 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.from-code-point'); +require('../../modules/es.string.raw'); +require('../../modules/es.string.code-point-at'); +require('../../modules/es.string.at-alternative'); +require('../../modules/es.string.ends-with'); +require('../../modules/es.string.includes'); +require('../../modules/es.string.is-well-formed'); +require('../../modules/es.string.match'); +require('../../modules/es.string.match-all'); +require('../../modules/es.string.pad-end'); +require('../../modules/es.string.pad-start'); +require('../../modules/es.string.repeat'); +require('../../modules/es.string.replace'); +require('../../modules/es.string.replace-all'); +require('../../modules/es.string.search'); +require('../../modules/es.string.split'); +require('../../modules/es.string.starts-with'); +require('../../modules/es.string.substr'); +require('../../modules/es.string.to-well-formed'); +require('../../modules/es.string.trim'); +require('../../modules/es.string.trim-start'); +require('../../modules/es.string.trim-end'); +require('../../modules/es.string.iterator'); +require('../../modules/es.string.anchor'); +require('../../modules/es.string.big'); +require('../../modules/es.string.blink'); +require('../../modules/es.string.bold'); +require('../../modules/es.string.fixed'); +require('../../modules/es.string.fontcolor'); +require('../../modules/es.string.fontsize'); +require('../../modules/es.string.italics'); +require('../../modules/es.string.link'); +require('../../modules/es.string.small'); +require('../../modules/es.string.strike'); +require('../../modules/es.string.sub'); +require('../../modules/es.string.sup'); +var path = require('../../internals/path'); + +module.exports = path.String; diff --git a/node_modules/core-js/es/string/is-well-formed.js b/node_modules/core-js/es/string/is-well-formed.js new file mode 100644 index 00000000..6504ed06 --- /dev/null +++ b/node_modules/core-js/es/string/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.string.is-well-formed'); + +module.exports = require('../../internals/entry-unbind')('String', 'isWellFormed'); diff --git a/node_modules/core-js/es/string/italics.js b/node_modules/core-js/es/string/italics.js new file mode 100644 index 00000000..0d5b42c3 --- /dev/null +++ b/node_modules/core-js/es/string/italics.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.italics'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'italics'); diff --git a/node_modules/core-js/es/string/iterator.js b/node_modules/core-js/es/string/iterator.js new file mode 100644 index 00000000..3b1e83b2 --- /dev/null +++ b/node_modules/core-js/es/string/iterator.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.string.iterator'); +var uncurryThis = require('../../internals/function-uncurry-this'); +var Iterators = require('../../internals/iterators'); + +module.exports = uncurryThis(Iterators.String); diff --git a/node_modules/core-js/es/string/link.js b/node_modules/core-js/es/string/link.js new file mode 100644 index 00000000..d40cc6df --- /dev/null +++ b/node_modules/core-js/es/string/link.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.link'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'link'); diff --git a/node_modules/core-js/es/string/match-all.js b/node_modules/core-js/es/string/match-all.js new file mode 100644 index 00000000..d51c037f --- /dev/null +++ b/node_modules/core-js/es/string/match-all.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.match-all'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'matchAll'); diff --git a/node_modules/core-js/es/string/match.js b/node_modules/core-js/es/string/match.js new file mode 100644 index 00000000..2aeded5a --- /dev/null +++ b/node_modules/core-js/es/string/match.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.match'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'match'); diff --git a/node_modules/core-js/es/string/pad-end.js b/node_modules/core-js/es/string/pad-end.js new file mode 100644 index 00000000..f6316351 --- /dev/null +++ b/node_modules/core-js/es/string/pad-end.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.pad-end'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'padEnd'); diff --git a/node_modules/core-js/es/string/pad-start.js b/node_modules/core-js/es/string/pad-start.js new file mode 100644 index 00000000..e4e2e4de --- /dev/null +++ b/node_modules/core-js/es/string/pad-start.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.pad-start'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'padStart'); diff --git a/node_modules/core-js/es/string/raw.js b/node_modules/core-js/es/string/raw.js new file mode 100644 index 00000000..3da97615 --- /dev/null +++ b/node_modules/core-js/es/string/raw.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.raw'); +var path = require('../../internals/path'); + +module.exports = path.String.raw; diff --git a/node_modules/core-js/es/string/repeat.js b/node_modules/core-js/es/string/repeat.js new file mode 100644 index 00000000..dd725d25 --- /dev/null +++ b/node_modules/core-js/es/string/repeat.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.repeat'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'repeat'); diff --git a/node_modules/core-js/es/string/replace-all.js b/node_modules/core-js/es/string/replace-all.js new file mode 100644 index 00000000..36ff09f3 --- /dev/null +++ b/node_modules/core-js/es/string/replace-all.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.replace'); +require('../../modules/es.string.replace-all'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'replaceAll'); diff --git a/node_modules/core-js/es/string/replace.js b/node_modules/core-js/es/string/replace.js new file mode 100644 index 00000000..724b8118 --- /dev/null +++ b/node_modules/core-js/es/string/replace.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.replace'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'replace'); diff --git a/node_modules/core-js/es/string/search.js b/node_modules/core-js/es/string/search.js new file mode 100644 index 00000000..d85960cb --- /dev/null +++ b/node_modules/core-js/es/string/search.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.search'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'search'); diff --git a/node_modules/core-js/es/string/small.js b/node_modules/core-js/es/string/small.js new file mode 100644 index 00000000..1d5bd501 --- /dev/null +++ b/node_modules/core-js/es/string/small.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.small'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'small'); diff --git a/node_modules/core-js/es/string/split.js b/node_modules/core-js/es/string/split.js new file mode 100644 index 00000000..e449df0b --- /dev/null +++ b/node_modules/core-js/es/string/split.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.string.split'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'split'); diff --git a/node_modules/core-js/es/string/starts-with.js b/node_modules/core-js/es/string/starts-with.js new file mode 100644 index 00000000..ebf96ad5 --- /dev/null +++ b/node_modules/core-js/es/string/starts-with.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.starts-with'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'startsWith'); diff --git a/node_modules/core-js/es/string/strike.js b/node_modules/core-js/es/string/strike.js new file mode 100644 index 00000000..0ea8a3a8 --- /dev/null +++ b/node_modules/core-js/es/string/strike.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.strike'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'strike'); diff --git a/node_modules/core-js/es/string/sub.js b/node_modules/core-js/es/string/sub.js new file mode 100644 index 00000000..9ba0d459 --- /dev/null +++ b/node_modules/core-js/es/string/sub.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.sub'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'sub'); diff --git a/node_modules/core-js/es/string/substr.js b/node_modules/core-js/es/string/substr.js new file mode 100644 index 00000000..6159b9ec --- /dev/null +++ b/node_modules/core-js/es/string/substr.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.substr'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'substr'); diff --git a/node_modules/core-js/es/string/sup.js b/node_modules/core-js/es/string/sup.js new file mode 100644 index 00000000..fd0a477e --- /dev/null +++ b/node_modules/core-js/es/string/sup.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.sup'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'sup'); diff --git a/node_modules/core-js/es/string/to-well-formed.js b/node_modules/core-js/es/string/to-well-formed.js new file mode 100644 index 00000000..151870ad --- /dev/null +++ b/node_modules/core-js/es/string/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.string.to-well-formed'); + +module.exports = require('../../internals/entry-unbind')('String', 'toWellFormed'); diff --git a/node_modules/core-js/es/string/trim-end.js b/node_modules/core-js/es/string/trim-end.js new file mode 100644 index 00000000..1ca5a974 --- /dev/null +++ b/node_modules/core-js/es/string/trim-end.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.trim-end'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'trimRight'); diff --git a/node_modules/core-js/es/string/trim-left.js b/node_modules/core-js/es/string/trim-left.js new file mode 100644 index 00000000..ea85dd93 --- /dev/null +++ b/node_modules/core-js/es/string/trim-left.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.trim-start'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'trimLeft'); diff --git a/node_modules/core-js/es/string/trim-right.js b/node_modules/core-js/es/string/trim-right.js new file mode 100644 index 00000000..1ca5a974 --- /dev/null +++ b/node_modules/core-js/es/string/trim-right.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.trim-end'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'trimRight'); diff --git a/node_modules/core-js/es/string/trim-start.js b/node_modules/core-js/es/string/trim-start.js new file mode 100644 index 00000000..ea85dd93 --- /dev/null +++ b/node_modules/core-js/es/string/trim-start.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.trim-start'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'trimLeft'); diff --git a/node_modules/core-js/es/string/trim.js b/node_modules/core-js/es/string/trim.js new file mode 100644 index 00000000..4ae27eb4 --- /dev/null +++ b/node_modules/core-js/es/string/trim.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.string.trim'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('String', 'trim'); diff --git a/node_modules/core-js/es/string/virtual/anchor.js b/node_modules/core-js/es/string/virtual/anchor.js new file mode 100644 index 00000000..33470c2d --- /dev/null +++ b/node_modules/core-js/es/string/virtual/anchor.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.anchor'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').anchor; diff --git a/node_modules/core-js/es/string/virtual/at.js b/node_modules/core-js/es/string/virtual/at.js new file mode 100644 index 00000000..f257fc6a --- /dev/null +++ b/node_modules/core-js/es/string/virtual/at.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.at-alternative'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').at; diff --git a/node_modules/core-js/es/string/virtual/big.js b/node_modules/core-js/es/string/virtual/big.js new file mode 100644 index 00000000..c708b3ff --- /dev/null +++ b/node_modules/core-js/es/string/virtual/big.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.big'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').big; diff --git a/node_modules/core-js/es/string/virtual/blink.js b/node_modules/core-js/es/string/virtual/blink.js new file mode 100644 index 00000000..a9834096 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/blink.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.blink'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').blink; diff --git a/node_modules/core-js/es/string/virtual/bold.js b/node_modules/core-js/es/string/virtual/bold.js new file mode 100644 index 00000000..500d47b1 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/bold.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.bold'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').bold; diff --git a/node_modules/core-js/es/string/virtual/code-point-at.js b/node_modules/core-js/es/string/virtual/code-point-at.js new file mode 100644 index 00000000..f6046324 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/code-point-at.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.code-point-at'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').codePointAt; diff --git a/node_modules/core-js/es/string/virtual/ends-with.js b/node_modules/core-js/es/string/virtual/ends-with.js new file mode 100644 index 00000000..e18687e8 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/ends-with.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.ends-with'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').endsWith; diff --git a/node_modules/core-js/es/string/virtual/fixed.js b/node_modules/core-js/es/string/virtual/fixed.js new file mode 100644 index 00000000..e2c97d17 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/fixed.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.fixed'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').fixed; diff --git a/node_modules/core-js/es/string/virtual/fontcolor.js b/node_modules/core-js/es/string/virtual/fontcolor.js new file mode 100644 index 00000000..c45a9173 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/fontcolor.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.fontcolor'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').fontcolor; diff --git a/node_modules/core-js/es/string/virtual/fontsize.js b/node_modules/core-js/es/string/virtual/fontsize.js new file mode 100644 index 00000000..71045277 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/fontsize.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.fontsize'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').fontsize; diff --git a/node_modules/core-js/es/string/virtual/includes.js b/node_modules/core-js/es/string/virtual/includes.js new file mode 100644 index 00000000..9cbfac93 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/includes.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.includes'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').includes; diff --git a/node_modules/core-js/es/string/virtual/index.js b/node_modules/core-js/es/string/virtual/index.js new file mode 100644 index 00000000..70199c93 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/index.js @@ -0,0 +1,38 @@ +'use strict'; +require('../../../modules/es.object.to-string'); +require('../../../modules/es.regexp.exec'); +require('../../../modules/es.string.at-alternative'); +require('../../../modules/es.string.code-point-at'); +require('../../../modules/es.string.ends-with'); +require('../../../modules/es.string.includes'); +require('../../../modules/es.string.match'); +require('../../../modules/es.string.match-all'); +require('../../../modules/es.string.pad-end'); +require('../../../modules/es.string.pad-start'); +require('../../../modules/es.string.repeat'); +require('../../../modules/es.string.replace'); +require('../../../modules/es.string.replace-all'); +require('../../../modules/es.string.search'); +require('../../../modules/es.string.split'); +require('../../../modules/es.string.starts-with'); +require('../../../modules/es.string.substr'); +require('../../../modules/es.string.trim'); +require('../../../modules/es.string.trim-start'); +require('../../../modules/es.string.trim-end'); +require('../../../modules/es.string.iterator'); +require('../../../modules/es.string.anchor'); +require('../../../modules/es.string.big'); +require('../../../modules/es.string.blink'); +require('../../../modules/es.string.bold'); +require('../../../modules/es.string.fixed'); +require('../../../modules/es.string.fontcolor'); +require('../../../modules/es.string.fontsize'); +require('../../../modules/es.string.italics'); +require('../../../modules/es.string.link'); +require('../../../modules/es.string.small'); +require('../../../modules/es.string.strike'); +require('../../../modules/es.string.sub'); +require('../../../modules/es.string.sup'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String'); diff --git a/node_modules/core-js/es/string/virtual/is-well-formed.js b/node_modules/core-js/es/string/virtual/is-well-formed.js new file mode 100644 index 00000000..af7b7c8b --- /dev/null +++ b/node_modules/core-js/es/string/virtual/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../../modules/es.string.is-well-formed'); + +module.exports = require('../../../internals/entry-virtual')('String').isWellFormed; diff --git a/node_modules/core-js/es/string/virtual/italics.js b/node_modules/core-js/es/string/virtual/italics.js new file mode 100644 index 00000000..6b329e2c --- /dev/null +++ b/node_modules/core-js/es/string/virtual/italics.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.italics'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').italics; diff --git a/node_modules/core-js/es/string/virtual/iterator.js b/node_modules/core-js/es/string/virtual/iterator.js new file mode 100644 index 00000000..613d81d2 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/iterator.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.object.to-string'); +require('../../../modules/es.string.iterator'); +var Iterators = require('../../../internals/iterators'); + +module.exports = Iterators.String; diff --git a/node_modules/core-js/es/string/virtual/link.js b/node_modules/core-js/es/string/virtual/link.js new file mode 100644 index 00000000..5a8b9254 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/link.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.link'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').link; diff --git a/node_modules/core-js/es/string/virtual/match-all.js b/node_modules/core-js/es/string/virtual/match-all.js new file mode 100644 index 00000000..c8da052c --- /dev/null +++ b/node_modules/core-js/es/string/virtual/match-all.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../../modules/es.object.to-string'); +require('../../../modules/es.regexp.exec'); +require('../../../modules/es.string.match-all'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').matchAll; diff --git a/node_modules/core-js/es/string/virtual/pad-end.js b/node_modules/core-js/es/string/virtual/pad-end.js new file mode 100644 index 00000000..7fadc528 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/pad-end.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.pad-end'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').padEnd; diff --git a/node_modules/core-js/es/string/virtual/pad-start.js b/node_modules/core-js/es/string/virtual/pad-start.js new file mode 100644 index 00000000..8e2002e2 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/pad-start.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.pad-start'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').padStart; diff --git a/node_modules/core-js/es/string/virtual/repeat.js b/node_modules/core-js/es/string/virtual/repeat.js new file mode 100644 index 00000000..33a626d8 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/repeat.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.repeat'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').repeat; diff --git a/node_modules/core-js/es/string/virtual/replace-all.js b/node_modules/core-js/es/string/virtual/replace-all.js new file mode 100644 index 00000000..47ce5e6f --- /dev/null +++ b/node_modules/core-js/es/string/virtual/replace-all.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../../modules/es.regexp.exec'); +require('../../../modules/es.string.replace'); +require('../../../modules/es.string.replace-all'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').replaceAll; diff --git a/node_modules/core-js/es/string/virtual/small.js b/node_modules/core-js/es/string/virtual/small.js new file mode 100644 index 00000000..edb8ba2e --- /dev/null +++ b/node_modules/core-js/es/string/virtual/small.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.small'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').small; diff --git a/node_modules/core-js/es/string/virtual/starts-with.js b/node_modules/core-js/es/string/virtual/starts-with.js new file mode 100644 index 00000000..e03aecba --- /dev/null +++ b/node_modules/core-js/es/string/virtual/starts-with.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.starts-with'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').startsWith; diff --git a/node_modules/core-js/es/string/virtual/strike.js b/node_modules/core-js/es/string/virtual/strike.js new file mode 100644 index 00000000..72d169b4 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/strike.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.strike'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').strike; diff --git a/node_modules/core-js/es/string/virtual/sub.js b/node_modules/core-js/es/string/virtual/sub.js new file mode 100644 index 00000000..fa89525d --- /dev/null +++ b/node_modules/core-js/es/string/virtual/sub.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.sub'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').sub; diff --git a/node_modules/core-js/es/string/virtual/substr.js b/node_modules/core-js/es/string/virtual/substr.js new file mode 100644 index 00000000..8a6a3f99 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/substr.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.substr'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').substr; diff --git a/node_modules/core-js/es/string/virtual/sup.js b/node_modules/core-js/es/string/virtual/sup.js new file mode 100644 index 00000000..661982f5 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/sup.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.sup'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').sup; diff --git a/node_modules/core-js/es/string/virtual/to-well-formed.js b/node_modules/core-js/es/string/virtual/to-well-formed.js new file mode 100644 index 00000000..19a56f38 --- /dev/null +++ b/node_modules/core-js/es/string/virtual/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../../modules/es.string.to-well-formed'); + +module.exports = require('../../../internals/entry-virtual')('String').toWellFormed; diff --git a/node_modules/core-js/es/string/virtual/trim-end.js b/node_modules/core-js/es/string/virtual/trim-end.js new file mode 100644 index 00000000..029b9fff --- /dev/null +++ b/node_modules/core-js/es/string/virtual/trim-end.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.trim-end'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').trimRight; diff --git a/node_modules/core-js/es/string/virtual/trim-left.js b/node_modules/core-js/es/string/virtual/trim-left.js new file mode 100644 index 00000000..0f76c06f --- /dev/null +++ b/node_modules/core-js/es/string/virtual/trim-left.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.trim-start'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').trimLeft; diff --git a/node_modules/core-js/es/string/virtual/trim-right.js b/node_modules/core-js/es/string/virtual/trim-right.js new file mode 100644 index 00000000..029b9fff --- /dev/null +++ b/node_modules/core-js/es/string/virtual/trim-right.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.trim-end'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').trimRight; diff --git a/node_modules/core-js/es/string/virtual/trim-start.js b/node_modules/core-js/es/string/virtual/trim-start.js new file mode 100644 index 00000000..0f76c06f --- /dev/null +++ b/node_modules/core-js/es/string/virtual/trim-start.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.trim-start'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').trimLeft; diff --git a/node_modules/core-js/es/string/virtual/trim.js b/node_modules/core-js/es/string/virtual/trim.js new file mode 100644 index 00000000..cefbd15e --- /dev/null +++ b/node_modules/core-js/es/string/virtual/trim.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.string.trim'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').trim; diff --git a/node_modules/core-js/es/symbol/async-iterator.js b/node_modules/core-js/es/symbol/async-iterator.js new file mode 100644 index 00000000..64b80aea --- /dev/null +++ b/node_modules/core-js/es/symbol/async-iterator.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.symbol.async-iterator'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('asyncIterator'); diff --git a/node_modules/core-js/es/symbol/description.js b/node_modules/core-js/es/symbol/description.js new file mode 100644 index 00000000..01ce17a6 --- /dev/null +++ b/node_modules/core-js/es/symbol/description.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.symbol.description'); diff --git a/node_modules/core-js/es/symbol/for.js b/node_modules/core-js/es/symbol/for.js new file mode 100644 index 00000000..9c0a7d09 --- /dev/null +++ b/node_modules/core-js/es/symbol/for.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.symbol'); +var path = require('../../internals/path'); + +module.exports = path.Symbol['for']; diff --git a/node_modules/core-js/es/symbol/has-instance.js b/node_modules/core-js/es/symbol/has-instance.js new file mode 100644 index 00000000..a588394b --- /dev/null +++ b/node_modules/core-js/es/symbol/has-instance.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.symbol.has-instance'); +require('../../modules/es.function.has-instance'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('hasInstance'); diff --git a/node_modules/core-js/es/symbol/index.js b/node_modules/core-js/es/symbol/index.js new file mode 100644 index 00000000..80226abc --- /dev/null +++ b/node_modules/core-js/es/symbol/index.js @@ -0,0 +1,24 @@ +'use strict'; +require('../../modules/es.array.concat'); +require('../../modules/es.object.to-string'); +require('../../modules/es.symbol'); +require('../../modules/es.symbol.async-iterator'); +require('../../modules/es.symbol.description'); +require('../../modules/es.symbol.has-instance'); +require('../../modules/es.symbol.is-concat-spreadable'); +require('../../modules/es.symbol.iterator'); +require('../../modules/es.symbol.match'); +require('../../modules/es.symbol.match-all'); +require('../../modules/es.symbol.replace'); +require('../../modules/es.symbol.search'); +require('../../modules/es.symbol.species'); +require('../../modules/es.symbol.split'); +require('../../modules/es.symbol.to-primitive'); +require('../../modules/es.symbol.to-string-tag'); +require('../../modules/es.symbol.unscopables'); +require('../../modules/es.json.to-string-tag'); +require('../../modules/es.math.to-string-tag'); +require('../../modules/es.reflect.to-string-tag'); +var path = require('../../internals/path'); + +module.exports = path.Symbol; diff --git a/node_modules/core-js/es/symbol/is-concat-spreadable.js b/node_modules/core-js/es/symbol/is-concat-spreadable.js new file mode 100644 index 00000000..dbf9a5ba --- /dev/null +++ b/node_modules/core-js/es/symbol/is-concat-spreadable.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.array.concat'); +require('../../modules/es.symbol.is-concat-spreadable'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('isConcatSpreadable'); diff --git a/node_modules/core-js/es/symbol/iterator.js b/node_modules/core-js/es/symbol/iterator.js new file mode 100644 index 00000000..dfddcf81 --- /dev/null +++ b/node_modules/core-js/es/symbol/iterator.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.string.iterator'); +require('../../modules/es.symbol.iterator'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('iterator'); diff --git a/node_modules/core-js/es/symbol/key-for.js b/node_modules/core-js/es/symbol/key-for.js new file mode 100644 index 00000000..d04d3d0d --- /dev/null +++ b/node_modules/core-js/es/symbol/key-for.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.symbol'); +var path = require('../../internals/path'); + +module.exports = path.Symbol.keyFor; diff --git a/node_modules/core-js/es/symbol/match-all.js b/node_modules/core-js/es/symbol/match-all.js new file mode 100644 index 00000000..295d0db1 --- /dev/null +++ b/node_modules/core-js/es/symbol/match-all.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.regexp.exec'); +require('../../modules/es.symbol.match-all'); +require('../../modules/es.string.match-all'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('matchAll'); diff --git a/node_modules/core-js/es/symbol/match.js b/node_modules/core-js/es/symbol/match.js new file mode 100644 index 00000000..7047f3d2 --- /dev/null +++ b/node_modules/core-js/es/symbol/match.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.symbol.match'); +require('../../modules/es.string.match'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('match'); diff --git a/node_modules/core-js/es/symbol/replace.js b/node_modules/core-js/es/symbol/replace.js new file mode 100644 index 00000000..8ebfd578 --- /dev/null +++ b/node_modules/core-js/es/symbol/replace.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.symbol.replace'); +require('../../modules/es.string.replace'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('replace'); diff --git a/node_modules/core-js/es/symbol/search.js b/node_modules/core-js/es/symbol/search.js new file mode 100644 index 00000000..2510cd65 --- /dev/null +++ b/node_modules/core-js/es/symbol/search.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.symbol.search'); +require('../../modules/es.string.search'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('search'); diff --git a/node_modules/core-js/es/symbol/species.js b/node_modules/core-js/es/symbol/species.js new file mode 100644 index 00000000..12f064a9 --- /dev/null +++ b/node_modules/core-js/es/symbol/species.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.symbol.species'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('species'); diff --git a/node_modules/core-js/es/symbol/split.js b/node_modules/core-js/es/symbol/split.js new file mode 100644 index 00000000..da2c04b8 --- /dev/null +++ b/node_modules/core-js/es/symbol/split.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.regexp.exec'); +require('../../modules/es.symbol.split'); +require('../../modules/es.string.split'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('split'); diff --git a/node_modules/core-js/es/symbol/to-primitive.js b/node_modules/core-js/es/symbol/to-primitive.js new file mode 100644 index 00000000..c5fde8da --- /dev/null +++ b/node_modules/core-js/es/symbol/to-primitive.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.date.to-primitive'); +require('../../modules/es.symbol.to-primitive'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('toPrimitive'); diff --git a/node_modules/core-js/es/symbol/to-string-tag.js b/node_modules/core-js/es/symbol/to-string-tag.js new file mode 100644 index 00000000..1bf12843 --- /dev/null +++ b/node_modules/core-js/es/symbol/to-string-tag.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.json.to-string-tag'); +require('../../modules/es.math.to-string-tag'); +require('../../modules/es.object.to-string'); +require('../../modules/es.reflect.to-string-tag'); +require('../../modules/es.symbol.to-string-tag'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('toStringTag'); diff --git a/node_modules/core-js/es/symbol/unscopables.js b/node_modules/core-js/es/symbol/unscopables.js new file mode 100644 index 00000000..5d7799c9 --- /dev/null +++ b/node_modules/core-js/es/symbol/unscopables.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.symbol.unscopables'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('unscopables'); diff --git a/node_modules/core-js/es/typed-array/at.js b/node_modules/core-js/es/typed-array/at.js new file mode 100644 index 00000000..17ed4534 --- /dev/null +++ b/node_modules/core-js/es/typed-array/at.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.at'); diff --git a/node_modules/core-js/es/typed-array/copy-within.js b/node_modules/core-js/es/typed-array/copy-within.js new file mode 100644 index 00000000..1381bac0 --- /dev/null +++ b/node_modules/core-js/es/typed-array/copy-within.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.copy-within'); diff --git a/node_modules/core-js/es/typed-array/entries.js b/node_modules/core-js/es/typed-array/entries.js new file mode 100644 index 00000000..918a9b36 --- /dev/null +++ b/node_modules/core-js/es/typed-array/entries.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.typed-array.iterator'); diff --git a/node_modules/core-js/es/typed-array/every.js b/node_modules/core-js/es/typed-array/every.js new file mode 100644 index 00000000..530fbbbb --- /dev/null +++ b/node_modules/core-js/es/typed-array/every.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.every'); diff --git a/node_modules/core-js/es/typed-array/fill.js b/node_modules/core-js/es/typed-array/fill.js new file mode 100644 index 00000000..0f13bf5a --- /dev/null +++ b/node_modules/core-js/es/typed-array/fill.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.fill'); diff --git a/node_modules/core-js/es/typed-array/filter.js b/node_modules/core-js/es/typed-array/filter.js new file mode 100644 index 00000000..40bbc516 --- /dev/null +++ b/node_modules/core-js/es/typed-array/filter.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.filter'); diff --git a/node_modules/core-js/es/typed-array/find-index.js b/node_modules/core-js/es/typed-array/find-index.js new file mode 100644 index 00000000..e5e3a332 --- /dev/null +++ b/node_modules/core-js/es/typed-array/find-index.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.find-index'); diff --git a/node_modules/core-js/es/typed-array/find-last-index.js b/node_modules/core-js/es/typed-array/find-last-index.js new file mode 100644 index 00000000..e2c58bf9 --- /dev/null +++ b/node_modules/core-js/es/typed-array/find-last-index.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.find-last-index'); diff --git a/node_modules/core-js/es/typed-array/find-last.js b/node_modules/core-js/es/typed-array/find-last.js new file mode 100644 index 00000000..95e41171 --- /dev/null +++ b/node_modules/core-js/es/typed-array/find-last.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.find-last'); diff --git a/node_modules/core-js/es/typed-array/find.js b/node_modules/core-js/es/typed-array/find.js new file mode 100644 index 00000000..1d89e095 --- /dev/null +++ b/node_modules/core-js/es/typed-array/find.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.find'); diff --git a/node_modules/core-js/es/typed-array/float32-array.js b/node_modules/core-js/es/typed-array/float32-array.js new file mode 100644 index 00000000..6ea2df17 --- /dev/null +++ b/node_modules/core-js/es/typed-array/float32-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.float32-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Float32Array; diff --git a/node_modules/core-js/es/typed-array/float64-array.js b/node_modules/core-js/es/typed-array/float64-array.js new file mode 100644 index 00000000..fa5d0396 --- /dev/null +++ b/node_modules/core-js/es/typed-array/float64-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.float64-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Float64Array; diff --git a/node_modules/core-js/es/typed-array/for-each.js b/node_modules/core-js/es/typed-array/for-each.js new file mode 100644 index 00000000..95452249 --- /dev/null +++ b/node_modules/core-js/es/typed-array/for-each.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.for-each'); diff --git a/node_modules/core-js/es/typed-array/from.js b/node_modules/core-js/es/typed-array/from.js new file mode 100644 index 00000000..b38f31cc --- /dev/null +++ b/node_modules/core-js/es/typed-array/from.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.from'); diff --git a/node_modules/core-js/es/typed-array/includes.js b/node_modules/core-js/es/typed-array/includes.js new file mode 100644 index 00000000..0c825a46 --- /dev/null +++ b/node_modules/core-js/es/typed-array/includes.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.includes'); diff --git a/node_modules/core-js/es/typed-array/index-of.js b/node_modules/core-js/es/typed-array/index-of.js new file mode 100644 index 00000000..5e78bf0a --- /dev/null +++ b/node_modules/core-js/es/typed-array/index-of.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.index-of'); diff --git a/node_modules/core-js/es/typed-array/index.js b/node_modules/core-js/es/typed-array/index.js new file mode 100644 index 00000000..4db1597c --- /dev/null +++ b/node_modules/core-js/es/typed-array/index.js @@ -0,0 +1,13 @@ +'use strict'; +require('../../modules/es.typed-array.int8-array'); +require('../../modules/es.typed-array.uint8-array'); +require('../../modules/es.typed-array.uint8-clamped-array'); +require('../../modules/es.typed-array.int16-array'); +require('../../modules/es.typed-array.uint16-array'); +require('../../modules/es.typed-array.int32-array'); +require('../../modules/es.typed-array.uint32-array'); +require('../../modules/es.typed-array.float32-array'); +require('../../modules/es.typed-array.float64-array'); +require('./methods'); + +module.exports = require('../../internals/global'); diff --git a/node_modules/core-js/es/typed-array/int16-array.js b/node_modules/core-js/es/typed-array/int16-array.js new file mode 100644 index 00000000..d75ba118 --- /dev/null +++ b/node_modules/core-js/es/typed-array/int16-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.int16-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Int16Array; diff --git a/node_modules/core-js/es/typed-array/int32-array.js b/node_modules/core-js/es/typed-array/int32-array.js new file mode 100644 index 00000000..61436471 --- /dev/null +++ b/node_modules/core-js/es/typed-array/int32-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.int32-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Int32Array; diff --git a/node_modules/core-js/es/typed-array/int8-array.js b/node_modules/core-js/es/typed-array/int8-array.js new file mode 100644 index 00000000..29cd3bb5 --- /dev/null +++ b/node_modules/core-js/es/typed-array/int8-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.int8-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Int8Array; diff --git a/node_modules/core-js/es/typed-array/iterator.js b/node_modules/core-js/es/typed-array/iterator.js new file mode 100644 index 00000000..918a9b36 --- /dev/null +++ b/node_modules/core-js/es/typed-array/iterator.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.typed-array.iterator'); diff --git a/node_modules/core-js/es/typed-array/join.js b/node_modules/core-js/es/typed-array/join.js new file mode 100644 index 00000000..70465b8d --- /dev/null +++ b/node_modules/core-js/es/typed-array/join.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.join'); diff --git a/node_modules/core-js/es/typed-array/keys.js b/node_modules/core-js/es/typed-array/keys.js new file mode 100644 index 00000000..918a9b36 --- /dev/null +++ b/node_modules/core-js/es/typed-array/keys.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.typed-array.iterator'); diff --git a/node_modules/core-js/es/typed-array/last-index-of.js b/node_modules/core-js/es/typed-array/last-index-of.js new file mode 100644 index 00000000..4babd1e7 --- /dev/null +++ b/node_modules/core-js/es/typed-array/last-index-of.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.last-index-of'); diff --git a/node_modules/core-js/es/typed-array/map.js b/node_modules/core-js/es/typed-array/map.js new file mode 100644 index 00000000..059366c3 --- /dev/null +++ b/node_modules/core-js/es/typed-array/map.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.map'); diff --git a/node_modules/core-js/es/typed-array/methods.js b/node_modules/core-js/es/typed-array/methods.js new file mode 100644 index 00000000..22b5d7ca --- /dev/null +++ b/node_modules/core-js/es/typed-array/methods.js @@ -0,0 +1,34 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.string.iterator'); +require('../../modules/es.typed-array.from'); +require('../../modules/es.typed-array.of'); +require('../../modules/es.typed-array.at'); +require('../../modules/es.typed-array.copy-within'); +require('../../modules/es.typed-array.every'); +require('../../modules/es.typed-array.fill'); +require('../../modules/es.typed-array.filter'); +require('../../modules/es.typed-array.find'); +require('../../modules/es.typed-array.find-index'); +require('../../modules/es.typed-array.find-last'); +require('../../modules/es.typed-array.find-last-index'); +require('../../modules/es.typed-array.for-each'); +require('../../modules/es.typed-array.includes'); +require('../../modules/es.typed-array.index-of'); +require('../../modules/es.typed-array.join'); +require('../../modules/es.typed-array.last-index-of'); +require('../../modules/es.typed-array.map'); +require('../../modules/es.typed-array.reduce'); +require('../../modules/es.typed-array.reduce-right'); +require('../../modules/es.typed-array.reverse'); +require('../../modules/es.typed-array.set'); +require('../../modules/es.typed-array.slice'); +require('../../modules/es.typed-array.some'); +require('../../modules/es.typed-array.sort'); +require('../../modules/es.typed-array.subarray'); +require('../../modules/es.typed-array.to-locale-string'); +require('../../modules/es.typed-array.to-string'); +require('../../modules/es.typed-array.to-reversed'); +require('../../modules/es.typed-array.to-sorted'); +require('../../modules/es.typed-array.with'); +require('../../modules/es.typed-array.iterator'); diff --git a/node_modules/core-js/es/typed-array/of.js b/node_modules/core-js/es/typed-array/of.js new file mode 100644 index 00000000..dc572fb4 --- /dev/null +++ b/node_modules/core-js/es/typed-array/of.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.of'); diff --git a/node_modules/core-js/es/typed-array/reduce-right.js b/node_modules/core-js/es/typed-array/reduce-right.js new file mode 100644 index 00000000..9acb3e7b --- /dev/null +++ b/node_modules/core-js/es/typed-array/reduce-right.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.reduce-right'); diff --git a/node_modules/core-js/es/typed-array/reduce.js b/node_modules/core-js/es/typed-array/reduce.js new file mode 100644 index 00000000..59b3f781 --- /dev/null +++ b/node_modules/core-js/es/typed-array/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.reduce'); diff --git a/node_modules/core-js/es/typed-array/reverse.js b/node_modules/core-js/es/typed-array/reverse.js new file mode 100644 index 00000000..00d8399f --- /dev/null +++ b/node_modules/core-js/es/typed-array/reverse.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.reverse'); diff --git a/node_modules/core-js/es/typed-array/set.js b/node_modules/core-js/es/typed-array/set.js new file mode 100644 index 00000000..3394aae9 --- /dev/null +++ b/node_modules/core-js/es/typed-array/set.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.set'); diff --git a/node_modules/core-js/es/typed-array/slice.js b/node_modules/core-js/es/typed-array/slice.js new file mode 100644 index 00000000..5b074a10 --- /dev/null +++ b/node_modules/core-js/es/typed-array/slice.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.slice'); diff --git a/node_modules/core-js/es/typed-array/some.js b/node_modules/core-js/es/typed-array/some.js new file mode 100644 index 00000000..bfc4f4fe --- /dev/null +++ b/node_modules/core-js/es/typed-array/some.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.some'); diff --git a/node_modules/core-js/es/typed-array/sort.js b/node_modules/core-js/es/typed-array/sort.js new file mode 100644 index 00000000..a3cf1c8c --- /dev/null +++ b/node_modules/core-js/es/typed-array/sort.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.sort'); diff --git a/node_modules/core-js/es/typed-array/subarray.js b/node_modules/core-js/es/typed-array/subarray.js new file mode 100644 index 00000000..5314642f --- /dev/null +++ b/node_modules/core-js/es/typed-array/subarray.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.subarray'); diff --git a/node_modules/core-js/es/typed-array/to-locale-string.js b/node_modules/core-js/es/typed-array/to-locale-string.js new file mode 100644 index 00000000..aa77e74a --- /dev/null +++ b/node_modules/core-js/es/typed-array/to-locale-string.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.to-locale-string'); diff --git a/node_modules/core-js/es/typed-array/to-reversed.js b/node_modules/core-js/es/typed-array/to-reversed.js new file mode 100644 index 00000000..2bd631ab --- /dev/null +++ b/node_modules/core-js/es/typed-array/to-reversed.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.to-reversed'); diff --git a/node_modules/core-js/es/typed-array/to-sorted.js b/node_modules/core-js/es/typed-array/to-sorted.js new file mode 100644 index 00000000..9ab0f2b1 --- /dev/null +++ b/node_modules/core-js/es/typed-array/to-sorted.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../modules/es.typed-array.sort'); +require('../../modules/es.typed-array.to-sorted'); diff --git a/node_modules/core-js/es/typed-array/to-string.js b/node_modules/core-js/es/typed-array/to-string.js new file mode 100644 index 00000000..86142adb --- /dev/null +++ b/node_modules/core-js/es/typed-array/to-string.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.to-string'); diff --git a/node_modules/core-js/es/typed-array/uint16-array.js b/node_modules/core-js/es/typed-array/uint16-array.js new file mode 100644 index 00000000..0300add8 --- /dev/null +++ b/node_modules/core-js/es/typed-array/uint16-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.uint16-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Uint16Array; diff --git a/node_modules/core-js/es/typed-array/uint32-array.js b/node_modules/core-js/es/typed-array/uint32-array.js new file mode 100644 index 00000000..28fe8f0a --- /dev/null +++ b/node_modules/core-js/es/typed-array/uint32-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.uint32-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Uint32Array; diff --git a/node_modules/core-js/es/typed-array/uint8-array.js b/node_modules/core-js/es/typed-array/uint8-array.js new file mode 100644 index 00000000..968c57ab --- /dev/null +++ b/node_modules/core-js/es/typed-array/uint8-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.uint8-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Uint8Array; diff --git a/node_modules/core-js/es/typed-array/uint8-clamped-array.js b/node_modules/core-js/es/typed-array/uint8-clamped-array.js new file mode 100644 index 00000000..1ce93fd3 --- /dev/null +++ b/node_modules/core-js/es/typed-array/uint8-clamped-array.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.array-buffer.constructor'); +require('../../modules/es.array-buffer.slice'); +require('../../modules/es.typed-array.uint8-clamped-array'); +require('./methods'); +var global = require('../../internals/global'); + +module.exports = global.Uint8ClampedArray; diff --git a/node_modules/core-js/es/typed-array/values.js b/node_modules/core-js/es/typed-array/values.js new file mode 100644 index 00000000..918a9b36 --- /dev/null +++ b/node_modules/core-js/es/typed-array/values.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.typed-array.iterator'); diff --git a/node_modules/core-js/es/typed-array/with.js b/node_modules/core-js/es/typed-array/with.js new file mode 100644 index 00000000..25d0047c --- /dev/null +++ b/node_modules/core-js/es/typed-array/with.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.typed-array.with'); diff --git a/node_modules/core-js/es/unescape.js b/node_modules/core-js/es/unescape.js new file mode 100644 index 00000000..94829451 --- /dev/null +++ b/node_modules/core-js/es/unescape.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/es.unescape'); +var path = require('../internals/path'); + +module.exports = path.unescape; diff --git a/node_modules/core-js/es/weak-map/index.js b/node_modules/core-js/es/weak-map/index.js new file mode 100644 index 00000000..591e5b8a --- /dev/null +++ b/node_modules/core-js/es/weak-map/index.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.weak-map'); +var path = require('../../internals/path'); + +module.exports = path.WeakMap; diff --git a/node_modules/core-js/es/weak-set/index.js b/node_modules/core-js/es/weak-set/index.js new file mode 100644 index 00000000..39079e35 --- /dev/null +++ b/node_modules/core-js/es/weak-set/index.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.object.to-string'); +require('../../modules/es.weak-set'); +var path = require('../../internals/path'); + +module.exports = path.WeakSet; diff --git a/node_modules/core-js/features/aggregate-error.js b/node_modules/core-js/features/aggregate-error.js new file mode 100644 index 00000000..dc651f8b --- /dev/null +++ b/node_modules/core-js/features/aggregate-error.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/aggregate-error'); diff --git a/node_modules/core-js/features/array-buffer/constructor.js b/node_modules/core-js/features/array-buffer/constructor.js new file mode 100644 index 00000000..5a04836d --- /dev/null +++ b/node_modules/core-js/features/array-buffer/constructor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array-buffer/constructor'); diff --git a/node_modules/core-js/features/array-buffer/detached.js b/node_modules/core-js/features/array-buffer/detached.js new file mode 100644 index 00000000..9f086b38 --- /dev/null +++ b/node_modules/core-js/features/array-buffer/detached.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array-buffer/detached'); diff --git a/node_modules/core-js/features/array-buffer/index.js b/node_modules/core-js/features/array-buffer/index.js new file mode 100644 index 00000000..c7422100 --- /dev/null +++ b/node_modules/core-js/features/array-buffer/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array-buffer'); diff --git a/node_modules/core-js/features/array-buffer/is-view.js b/node_modules/core-js/features/array-buffer/is-view.js new file mode 100644 index 00000000..32ac3547 --- /dev/null +++ b/node_modules/core-js/features/array-buffer/is-view.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array-buffer/is-view'); diff --git a/node_modules/core-js/features/array-buffer/slice.js b/node_modules/core-js/features/array-buffer/slice.js new file mode 100644 index 00000000..dc4551f5 --- /dev/null +++ b/node_modules/core-js/features/array-buffer/slice.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array-buffer/slice'); diff --git a/node_modules/core-js/features/array-buffer/transfer-to-fixed-length.js b/node_modules/core-js/features/array-buffer/transfer-to-fixed-length.js new file mode 100644 index 00000000..0820c7b7 --- /dev/null +++ b/node_modules/core-js/features/array-buffer/transfer-to-fixed-length.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array-buffer/transfer-to-fixed-length'); diff --git a/node_modules/core-js/features/array-buffer/transfer.js b/node_modules/core-js/features/array-buffer/transfer.js new file mode 100644 index 00000000..f34385e8 --- /dev/null +++ b/node_modules/core-js/features/array-buffer/transfer.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array-buffer/transfer'); diff --git a/node_modules/core-js/features/array/at.js b/node_modules/core-js/features/array/at.js new file mode 100644 index 00000000..28ad63a9 --- /dev/null +++ b/node_modules/core-js/features/array/at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/at'); diff --git a/node_modules/core-js/features/array/concat.js b/node_modules/core-js/features/array/concat.js new file mode 100644 index 00000000..a4d93010 --- /dev/null +++ b/node_modules/core-js/features/array/concat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/concat'); diff --git a/node_modules/core-js/features/array/copy-within.js b/node_modules/core-js/features/array/copy-within.js new file mode 100644 index 00000000..22359da4 --- /dev/null +++ b/node_modules/core-js/features/array/copy-within.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/copy-within'); diff --git a/node_modules/core-js/features/array/entries.js b/node_modules/core-js/features/array/entries.js new file mode 100644 index 00000000..b7e134a2 --- /dev/null +++ b/node_modules/core-js/features/array/entries.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/entries'); diff --git a/node_modules/core-js/features/array/every.js b/node_modules/core-js/features/array/every.js new file mode 100644 index 00000000..5a6748d3 --- /dev/null +++ b/node_modules/core-js/features/array/every.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/every'); diff --git a/node_modules/core-js/features/array/fill.js b/node_modules/core-js/features/array/fill.js new file mode 100644 index 00000000..e4e02786 --- /dev/null +++ b/node_modules/core-js/features/array/fill.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/fill'); diff --git a/node_modules/core-js/features/array/filter-out.js b/node_modules/core-js/features/array/filter-out.js new file mode 100644 index 00000000..3a82aff5 --- /dev/null +++ b/node_modules/core-js/features/array/filter-out.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/filter-out'); diff --git a/node_modules/core-js/features/array/filter-reject.js b/node_modules/core-js/features/array/filter-reject.js new file mode 100644 index 00000000..497c19a2 --- /dev/null +++ b/node_modules/core-js/features/array/filter-reject.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/filter-reject'); diff --git a/node_modules/core-js/features/array/filter.js b/node_modules/core-js/features/array/filter.js new file mode 100644 index 00000000..79fb0b9d --- /dev/null +++ b/node_modules/core-js/features/array/filter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/filter'); diff --git a/node_modules/core-js/features/array/find-index.js b/node_modules/core-js/features/array/find-index.js new file mode 100644 index 00000000..119f698b --- /dev/null +++ b/node_modules/core-js/features/array/find-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/find-index'); diff --git a/node_modules/core-js/features/array/find-last-index.js b/node_modules/core-js/features/array/find-last-index.js new file mode 100644 index 00000000..0a760db8 --- /dev/null +++ b/node_modules/core-js/features/array/find-last-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/find-last-index'); diff --git a/node_modules/core-js/features/array/find-last.js b/node_modules/core-js/features/array/find-last.js new file mode 100644 index 00000000..49f9d2fc --- /dev/null +++ b/node_modules/core-js/features/array/find-last.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/find-last'); diff --git a/node_modules/core-js/features/array/find.js b/node_modules/core-js/features/array/find.js new file mode 100644 index 00000000..eac11478 --- /dev/null +++ b/node_modules/core-js/features/array/find.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/find'); diff --git a/node_modules/core-js/features/array/flat-map.js b/node_modules/core-js/features/array/flat-map.js new file mode 100644 index 00000000..db4a7d7b --- /dev/null +++ b/node_modules/core-js/features/array/flat-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/flat-map'); diff --git a/node_modules/core-js/features/array/flat.js b/node_modules/core-js/features/array/flat.js new file mode 100644 index 00000000..45797e02 --- /dev/null +++ b/node_modules/core-js/features/array/flat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/flat'); diff --git a/node_modules/core-js/features/array/for-each.js b/node_modules/core-js/features/array/for-each.js new file mode 100644 index 00000000..b823be57 --- /dev/null +++ b/node_modules/core-js/features/array/for-each.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/for-each'); diff --git a/node_modules/core-js/features/array/from-async.js b/node_modules/core-js/features/array/from-async.js new file mode 100644 index 00000000..63c1931b --- /dev/null +++ b/node_modules/core-js/features/array/from-async.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/from-async'); diff --git a/node_modules/core-js/features/array/from.js b/node_modules/core-js/features/array/from.js new file mode 100644 index 00000000..752da11b --- /dev/null +++ b/node_modules/core-js/features/array/from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/from'); diff --git a/node_modules/core-js/features/array/group-by-to-map.js b/node_modules/core-js/features/array/group-by-to-map.js new file mode 100644 index 00000000..559d4588 --- /dev/null +++ b/node_modules/core-js/features/array/group-by-to-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/group-by-to-map'); diff --git a/node_modules/core-js/features/array/group-by.js b/node_modules/core-js/features/array/group-by.js new file mode 100644 index 00000000..66f66a5e --- /dev/null +++ b/node_modules/core-js/features/array/group-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/group-by'); diff --git a/node_modules/core-js/features/array/group-to-map.js b/node_modules/core-js/features/array/group-to-map.js new file mode 100644 index 00000000..9bf0af46 --- /dev/null +++ b/node_modules/core-js/features/array/group-to-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/group-to-map'); diff --git a/node_modules/core-js/features/array/group.js b/node_modules/core-js/features/array/group.js new file mode 100644 index 00000000..8e587059 --- /dev/null +++ b/node_modules/core-js/features/array/group.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/group'); diff --git a/node_modules/core-js/features/array/includes.js b/node_modules/core-js/features/array/includes.js new file mode 100644 index 00000000..b70af4cb --- /dev/null +++ b/node_modules/core-js/features/array/includes.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/includes'); diff --git a/node_modules/core-js/features/array/index-of.js b/node_modules/core-js/features/array/index-of.js new file mode 100644 index 00000000..c088e002 --- /dev/null +++ b/node_modules/core-js/features/array/index-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/index-of'); diff --git a/node_modules/core-js/features/array/index.js b/node_modules/core-js/features/array/index.js new file mode 100644 index 00000000..7b95b431 --- /dev/null +++ b/node_modules/core-js/features/array/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array'); diff --git a/node_modules/core-js/features/array/is-array.js b/node_modules/core-js/features/array/is-array.js new file mode 100644 index 00000000..119116ad --- /dev/null +++ b/node_modules/core-js/features/array/is-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/is-array'); diff --git a/node_modules/core-js/features/array/is-template-object.js b/node_modules/core-js/features/array/is-template-object.js new file mode 100644 index 00000000..25ec3f78 --- /dev/null +++ b/node_modules/core-js/features/array/is-template-object.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/is-template-object'); diff --git a/node_modules/core-js/features/array/iterator.js b/node_modules/core-js/features/array/iterator.js new file mode 100644 index 00000000..322b558e --- /dev/null +++ b/node_modules/core-js/features/array/iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/iterator'); diff --git a/node_modules/core-js/features/array/join.js b/node_modules/core-js/features/array/join.js new file mode 100644 index 00000000..c0532444 --- /dev/null +++ b/node_modules/core-js/features/array/join.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/join'); diff --git a/node_modules/core-js/features/array/keys.js b/node_modules/core-js/features/array/keys.js new file mode 100644 index 00000000..fd4c6f8e --- /dev/null +++ b/node_modules/core-js/features/array/keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/keys'); diff --git a/node_modules/core-js/features/array/last-index-of.js b/node_modules/core-js/features/array/last-index-of.js new file mode 100644 index 00000000..1a4b7d03 --- /dev/null +++ b/node_modules/core-js/features/array/last-index-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/last-index-of'); diff --git a/node_modules/core-js/features/array/last-index.js b/node_modules/core-js/features/array/last-index.js new file mode 100644 index 00000000..c8133001 --- /dev/null +++ b/node_modules/core-js/features/array/last-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/last-index'); diff --git a/node_modules/core-js/features/array/last-item.js b/node_modules/core-js/features/array/last-item.js new file mode 100644 index 00000000..264d1091 --- /dev/null +++ b/node_modules/core-js/features/array/last-item.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/last-item'); diff --git a/node_modules/core-js/features/array/map.js b/node_modules/core-js/features/array/map.js new file mode 100644 index 00000000..755baa09 --- /dev/null +++ b/node_modules/core-js/features/array/map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/map'); diff --git a/node_modules/core-js/features/array/of.js b/node_modules/core-js/features/array/of.js new file mode 100644 index 00000000..aa27fbef --- /dev/null +++ b/node_modules/core-js/features/array/of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/of'); diff --git a/node_modules/core-js/features/array/push.js b/node_modules/core-js/features/array/push.js new file mode 100644 index 00000000..e445e851 --- /dev/null +++ b/node_modules/core-js/features/array/push.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/push'); diff --git a/node_modules/core-js/features/array/reduce-right.js b/node_modules/core-js/features/array/reduce-right.js new file mode 100644 index 00000000..0a81e533 --- /dev/null +++ b/node_modules/core-js/features/array/reduce-right.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/reduce-right'); diff --git a/node_modules/core-js/features/array/reduce.js b/node_modules/core-js/features/array/reduce.js new file mode 100644 index 00000000..be5dcc40 --- /dev/null +++ b/node_modules/core-js/features/array/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/reduce'); diff --git a/node_modules/core-js/features/array/reverse.js b/node_modules/core-js/features/array/reverse.js new file mode 100644 index 00000000..13ffa306 --- /dev/null +++ b/node_modules/core-js/features/array/reverse.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/reverse'); diff --git a/node_modules/core-js/features/array/slice.js b/node_modules/core-js/features/array/slice.js new file mode 100644 index 00000000..23617249 --- /dev/null +++ b/node_modules/core-js/features/array/slice.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/slice'); diff --git a/node_modules/core-js/features/array/some.js b/node_modules/core-js/features/array/some.js new file mode 100644 index 00000000..70ef42a5 --- /dev/null +++ b/node_modules/core-js/features/array/some.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/some'); diff --git a/node_modules/core-js/features/array/sort.js b/node_modules/core-js/features/array/sort.js new file mode 100644 index 00000000..51542be7 --- /dev/null +++ b/node_modules/core-js/features/array/sort.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/sort'); diff --git a/node_modules/core-js/features/array/splice.js b/node_modules/core-js/features/array/splice.js new file mode 100644 index 00000000..435477a2 --- /dev/null +++ b/node_modules/core-js/features/array/splice.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/splice'); diff --git a/node_modules/core-js/features/array/to-reversed.js b/node_modules/core-js/features/array/to-reversed.js new file mode 100644 index 00000000..4d5e3e85 --- /dev/null +++ b/node_modules/core-js/features/array/to-reversed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/to-reversed'); diff --git a/node_modules/core-js/features/array/to-sorted.js b/node_modules/core-js/features/array/to-sorted.js new file mode 100644 index 00000000..78634138 --- /dev/null +++ b/node_modules/core-js/features/array/to-sorted.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/to-sorted'); diff --git a/node_modules/core-js/features/array/to-spliced.js b/node_modules/core-js/features/array/to-spliced.js new file mode 100644 index 00000000..573563cd --- /dev/null +++ b/node_modules/core-js/features/array/to-spliced.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/to-spliced'); diff --git a/node_modules/core-js/features/array/unique-by.js b/node_modules/core-js/features/array/unique-by.js new file mode 100644 index 00000000..f45a3d18 --- /dev/null +++ b/node_modules/core-js/features/array/unique-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/unique-by'); diff --git a/node_modules/core-js/features/array/unshift.js b/node_modules/core-js/features/array/unshift.js new file mode 100644 index 00000000..0b2cc19f --- /dev/null +++ b/node_modules/core-js/features/array/unshift.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/unshift'); diff --git a/node_modules/core-js/features/array/values.js b/node_modules/core-js/features/array/values.js new file mode 100644 index 00000000..a07deb74 --- /dev/null +++ b/node_modules/core-js/features/array/values.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/values'); diff --git a/node_modules/core-js/features/array/virtual/at.js b/node_modules/core-js/features/array/virtual/at.js new file mode 100644 index 00000000..0df97568 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/at'); diff --git a/node_modules/core-js/features/array/virtual/concat.js b/node_modules/core-js/features/array/virtual/concat.js new file mode 100644 index 00000000..1c92a12c --- /dev/null +++ b/node_modules/core-js/features/array/virtual/concat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/concat'); diff --git a/node_modules/core-js/features/array/virtual/copy-within.js b/node_modules/core-js/features/array/virtual/copy-within.js new file mode 100644 index 00000000..ece58e60 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/copy-within.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/copy-within'); diff --git a/node_modules/core-js/features/array/virtual/entries.js b/node_modules/core-js/features/array/virtual/entries.js new file mode 100644 index 00000000..ad7f4f52 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/entries.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/entries'); diff --git a/node_modules/core-js/features/array/virtual/every.js b/node_modules/core-js/features/array/virtual/every.js new file mode 100644 index 00000000..228d31bb --- /dev/null +++ b/node_modules/core-js/features/array/virtual/every.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/every'); diff --git a/node_modules/core-js/features/array/virtual/fill.js b/node_modules/core-js/features/array/virtual/fill.js new file mode 100644 index 00000000..066ebc13 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/fill.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/fill'); diff --git a/node_modules/core-js/features/array/virtual/filter-out.js b/node_modules/core-js/features/array/virtual/filter-out.js new file mode 100644 index 00000000..c01b3c48 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/filter-out.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/filter-out'); diff --git a/node_modules/core-js/features/array/virtual/filter-reject.js b/node_modules/core-js/features/array/virtual/filter-reject.js new file mode 100644 index 00000000..e361da3c --- /dev/null +++ b/node_modules/core-js/features/array/virtual/filter-reject.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/filter-reject'); diff --git a/node_modules/core-js/features/array/virtual/filter.js b/node_modules/core-js/features/array/virtual/filter.js new file mode 100644 index 00000000..b037cf9a --- /dev/null +++ b/node_modules/core-js/features/array/virtual/filter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/filter'); diff --git a/node_modules/core-js/features/array/virtual/find-index.js b/node_modules/core-js/features/array/virtual/find-index.js new file mode 100644 index 00000000..73532981 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/find-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/find-index'); diff --git a/node_modules/core-js/features/array/virtual/find-last-index.js b/node_modules/core-js/features/array/virtual/find-last-index.js new file mode 100644 index 00000000..fd157f2f --- /dev/null +++ b/node_modules/core-js/features/array/virtual/find-last-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/find-last-index'); diff --git a/node_modules/core-js/features/array/virtual/find-last.js b/node_modules/core-js/features/array/virtual/find-last.js new file mode 100644 index 00000000..4f7456b8 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/find-last.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/find-last'); diff --git a/node_modules/core-js/features/array/virtual/find.js b/node_modules/core-js/features/array/virtual/find.js new file mode 100644 index 00000000..d87b83e7 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/find.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/find'); diff --git a/node_modules/core-js/features/array/virtual/flat-map.js b/node_modules/core-js/features/array/virtual/flat-map.js new file mode 100644 index 00000000..eb6010c2 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/flat-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/flat-map'); diff --git a/node_modules/core-js/features/array/virtual/flat.js b/node_modules/core-js/features/array/virtual/flat.js new file mode 100644 index 00000000..b13e32d7 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/flat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/flat'); diff --git a/node_modules/core-js/features/array/virtual/for-each.js b/node_modules/core-js/features/array/virtual/for-each.js new file mode 100644 index 00000000..36a63e20 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/for-each.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/for-each'); diff --git a/node_modules/core-js/features/array/virtual/group-by-to-map.js b/node_modules/core-js/features/array/virtual/group-by-to-map.js new file mode 100644 index 00000000..e6e35006 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/group-by-to-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/group-by-to-map'); diff --git a/node_modules/core-js/features/array/virtual/group-by.js b/node_modules/core-js/features/array/virtual/group-by.js new file mode 100644 index 00000000..cb7b4250 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/group-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/group-by'); diff --git a/node_modules/core-js/features/array/virtual/group-to-map.js b/node_modules/core-js/features/array/virtual/group-to-map.js new file mode 100644 index 00000000..45794688 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/group-to-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/group-to-map'); diff --git a/node_modules/core-js/features/array/virtual/group.js b/node_modules/core-js/features/array/virtual/group.js new file mode 100644 index 00000000..d74be5cd --- /dev/null +++ b/node_modules/core-js/features/array/virtual/group.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/group'); diff --git a/node_modules/core-js/features/array/virtual/includes.js b/node_modules/core-js/features/array/virtual/includes.js new file mode 100644 index 00000000..b9587454 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/includes.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/includes'); diff --git a/node_modules/core-js/features/array/virtual/index-of.js b/node_modules/core-js/features/array/virtual/index-of.js new file mode 100644 index 00000000..c662ba16 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/index-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/index-of'); diff --git a/node_modules/core-js/features/array/virtual/index.js b/node_modules/core-js/features/array/virtual/index.js new file mode 100644 index 00000000..dee1f549 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual'); diff --git a/node_modules/core-js/features/array/virtual/iterator.js b/node_modules/core-js/features/array/virtual/iterator.js new file mode 100644 index 00000000..557e31b2 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/iterator'); diff --git a/node_modules/core-js/features/array/virtual/join.js b/node_modules/core-js/features/array/virtual/join.js new file mode 100644 index 00000000..62bf5b9d --- /dev/null +++ b/node_modules/core-js/features/array/virtual/join.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/join'); diff --git a/node_modules/core-js/features/array/virtual/keys.js b/node_modules/core-js/features/array/virtual/keys.js new file mode 100644 index 00000000..1e088ef4 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/keys'); diff --git a/node_modules/core-js/features/array/virtual/last-index-of.js b/node_modules/core-js/features/array/virtual/last-index-of.js new file mode 100644 index 00000000..f275e49f --- /dev/null +++ b/node_modules/core-js/features/array/virtual/last-index-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/last-index-of'); diff --git a/node_modules/core-js/features/array/virtual/map.js b/node_modules/core-js/features/array/virtual/map.js new file mode 100644 index 00000000..af801d8b --- /dev/null +++ b/node_modules/core-js/features/array/virtual/map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/map'); diff --git a/node_modules/core-js/features/array/virtual/push.js b/node_modules/core-js/features/array/virtual/push.js new file mode 100644 index 00000000..b25cc382 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/push.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/push'); diff --git a/node_modules/core-js/features/array/virtual/reduce-right.js b/node_modules/core-js/features/array/virtual/reduce-right.js new file mode 100644 index 00000000..896942f1 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/reduce-right.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/reduce-right'); diff --git a/node_modules/core-js/features/array/virtual/reduce.js b/node_modules/core-js/features/array/virtual/reduce.js new file mode 100644 index 00000000..479ec564 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/reduce'); diff --git a/node_modules/core-js/features/array/virtual/reverse.js b/node_modules/core-js/features/array/virtual/reverse.js new file mode 100644 index 00000000..94b6ab8f --- /dev/null +++ b/node_modules/core-js/features/array/virtual/reverse.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/reverse'); diff --git a/node_modules/core-js/features/array/virtual/slice.js b/node_modules/core-js/features/array/virtual/slice.js new file mode 100644 index 00000000..4cb10c6f --- /dev/null +++ b/node_modules/core-js/features/array/virtual/slice.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/slice'); diff --git a/node_modules/core-js/features/array/virtual/some.js b/node_modules/core-js/features/array/virtual/some.js new file mode 100644 index 00000000..12cd60c5 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/some.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/some'); diff --git a/node_modules/core-js/features/array/virtual/sort.js b/node_modules/core-js/features/array/virtual/sort.js new file mode 100644 index 00000000..db45d315 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/sort.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/sort'); diff --git a/node_modules/core-js/features/array/virtual/splice.js b/node_modules/core-js/features/array/virtual/splice.js new file mode 100644 index 00000000..e1485f0b --- /dev/null +++ b/node_modules/core-js/features/array/virtual/splice.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/splice'); diff --git a/node_modules/core-js/features/array/virtual/to-reversed.js b/node_modules/core-js/features/array/virtual/to-reversed.js new file mode 100644 index 00000000..d6c9044d --- /dev/null +++ b/node_modules/core-js/features/array/virtual/to-reversed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/to-reversed'); diff --git a/node_modules/core-js/features/array/virtual/to-sorted.js b/node_modules/core-js/features/array/virtual/to-sorted.js new file mode 100644 index 00000000..2c9ccf26 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/to-sorted.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/to-sorted'); diff --git a/node_modules/core-js/features/array/virtual/to-spliced.js b/node_modules/core-js/features/array/virtual/to-spliced.js new file mode 100644 index 00000000..785933f9 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/to-spliced.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/to-spliced'); diff --git a/node_modules/core-js/features/array/virtual/unique-by.js b/node_modules/core-js/features/array/virtual/unique-by.js new file mode 100644 index 00000000..178bd56c --- /dev/null +++ b/node_modules/core-js/features/array/virtual/unique-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/unique-by'); diff --git a/node_modules/core-js/features/array/virtual/unshift.js b/node_modules/core-js/features/array/virtual/unshift.js new file mode 100644 index 00000000..c9761cb9 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/unshift.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/unshift'); diff --git a/node_modules/core-js/features/array/virtual/values.js b/node_modules/core-js/features/array/virtual/values.js new file mode 100644 index 00000000..c39701e2 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/values.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/values'); diff --git a/node_modules/core-js/features/array/virtual/with.js b/node_modules/core-js/features/array/virtual/with.js new file mode 100644 index 00000000..5b3f3a97 --- /dev/null +++ b/node_modules/core-js/features/array/virtual/with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/array/virtual/with'); diff --git a/node_modules/core-js/features/array/with.js b/node_modules/core-js/features/array/with.js new file mode 100644 index 00000000..dea83a76 --- /dev/null +++ b/node_modules/core-js/features/array/with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/array/with'); diff --git a/node_modules/core-js/features/async-disposable-stack/constructor.js b/node_modules/core-js/features/async-disposable-stack/constructor.js new file mode 100644 index 00000000..2adfd3e5 --- /dev/null +++ b/node_modules/core-js/features/async-disposable-stack/constructor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-disposable-stack/constructor'); diff --git a/node_modules/core-js/features/async-disposable-stack/index.js b/node_modules/core-js/features/async-disposable-stack/index.js new file mode 100644 index 00000000..e45aa25a --- /dev/null +++ b/node_modules/core-js/features/async-disposable-stack/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-disposable-stack'); diff --git a/node_modules/core-js/features/async-iterator/as-indexed-pairs.js b/node_modules/core-js/features/async-iterator/as-indexed-pairs.js new file mode 100644 index 00000000..8f479ff4 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/as-indexed-pairs.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/as-indexed-pairs'); diff --git a/node_modules/core-js/features/async-iterator/async-dispose.js b/node_modules/core-js/features/async-iterator/async-dispose.js new file mode 100644 index 00000000..ac376102 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/async-dispose.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/async-dispose'); diff --git a/node_modules/core-js/features/async-iterator/drop.js b/node_modules/core-js/features/async-iterator/drop.js new file mode 100644 index 00000000..12e52a34 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/drop.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/drop'); diff --git a/node_modules/core-js/features/async-iterator/every.js b/node_modules/core-js/features/async-iterator/every.js new file mode 100644 index 00000000..eb74c22d --- /dev/null +++ b/node_modules/core-js/features/async-iterator/every.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/every'); diff --git a/node_modules/core-js/features/async-iterator/filter.js b/node_modules/core-js/features/async-iterator/filter.js new file mode 100644 index 00000000..eaef99aa --- /dev/null +++ b/node_modules/core-js/features/async-iterator/filter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/filter'); diff --git a/node_modules/core-js/features/async-iterator/find.js b/node_modules/core-js/features/async-iterator/find.js new file mode 100644 index 00000000..3b5a8ea1 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/find.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/find'); diff --git a/node_modules/core-js/features/async-iterator/flat-map.js b/node_modules/core-js/features/async-iterator/flat-map.js new file mode 100644 index 00000000..dbfc9c7b --- /dev/null +++ b/node_modules/core-js/features/async-iterator/flat-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/flat-map'); diff --git a/node_modules/core-js/features/async-iterator/for-each.js b/node_modules/core-js/features/async-iterator/for-each.js new file mode 100644 index 00000000..3ff764a5 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/for-each.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/for-each'); diff --git a/node_modules/core-js/features/async-iterator/from.js b/node_modules/core-js/features/async-iterator/from.js new file mode 100644 index 00000000..1fcdec14 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/from'); diff --git a/node_modules/core-js/features/async-iterator/index.js b/node_modules/core-js/features/async-iterator/index.js new file mode 100644 index 00000000..7aaf549b --- /dev/null +++ b/node_modules/core-js/features/async-iterator/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator'); diff --git a/node_modules/core-js/features/async-iterator/indexed.js b/node_modules/core-js/features/async-iterator/indexed.js new file mode 100644 index 00000000..b8403f65 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/indexed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/indexed'); diff --git a/node_modules/core-js/features/async-iterator/map.js b/node_modules/core-js/features/async-iterator/map.js new file mode 100644 index 00000000..9de4ae33 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/map'); diff --git a/node_modules/core-js/features/async-iterator/reduce.js b/node_modules/core-js/features/async-iterator/reduce.js new file mode 100644 index 00000000..8050d22c --- /dev/null +++ b/node_modules/core-js/features/async-iterator/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/reduce'); diff --git a/node_modules/core-js/features/async-iterator/some.js b/node_modules/core-js/features/async-iterator/some.js new file mode 100644 index 00000000..eeeff5d3 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/some.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/some'); diff --git a/node_modules/core-js/features/async-iterator/take.js b/node_modules/core-js/features/async-iterator/take.js new file mode 100644 index 00000000..17d1a634 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/take.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/take'); diff --git a/node_modules/core-js/features/async-iterator/to-array.js b/node_modules/core-js/features/async-iterator/to-array.js new file mode 100644 index 00000000..cf421985 --- /dev/null +++ b/node_modules/core-js/features/async-iterator/to-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/async-iterator/to-array'); diff --git a/node_modules/core-js/features/atob.js b/node_modules/core-js/features/atob.js new file mode 100644 index 00000000..52745556 --- /dev/null +++ b/node_modules/core-js/features/atob.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/atob'); diff --git a/node_modules/core-js/features/bigint/index.js b/node_modules/core-js/features/bigint/index.js new file mode 100644 index 00000000..c634a7c8 --- /dev/null +++ b/node_modules/core-js/features/bigint/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/bigint'); diff --git a/node_modules/core-js/features/bigint/range.js b/node_modules/core-js/features/bigint/range.js new file mode 100644 index 00000000..b40003df --- /dev/null +++ b/node_modules/core-js/features/bigint/range.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/bigint/range'); diff --git a/node_modules/core-js/features/btoa.js b/node_modules/core-js/features/btoa.js new file mode 100644 index 00000000..a3eeb281 --- /dev/null +++ b/node_modules/core-js/features/btoa.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/btoa'); diff --git a/node_modules/core-js/features/clear-immediate.js b/node_modules/core-js/features/clear-immediate.js new file mode 100644 index 00000000..670e2ac8 --- /dev/null +++ b/node_modules/core-js/features/clear-immediate.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/clear-immediate'); diff --git a/node_modules/core-js/features/composite-key.js b/node_modules/core-js/features/composite-key.js new file mode 100644 index 00000000..0aa534d0 --- /dev/null +++ b/node_modules/core-js/features/composite-key.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/composite-key'); diff --git a/node_modules/core-js/features/composite-symbol.js b/node_modules/core-js/features/composite-symbol.js new file mode 100644 index 00000000..870aaf3a --- /dev/null +++ b/node_modules/core-js/features/composite-symbol.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/composite-symbol'); diff --git a/node_modules/core-js/features/data-view/get-float16.js b/node_modules/core-js/features/data-view/get-float16.js new file mode 100644 index 00000000..d53e289c --- /dev/null +++ b/node_modules/core-js/features/data-view/get-float16.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/data-view/get-float16'); diff --git a/node_modules/core-js/features/data-view/get-uint8-clamped.js b/node_modules/core-js/features/data-view/get-uint8-clamped.js new file mode 100644 index 00000000..6b2e0e3e --- /dev/null +++ b/node_modules/core-js/features/data-view/get-uint8-clamped.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/data-view/get-uint8-clamped'); diff --git a/node_modules/core-js/features/data-view/index.js b/node_modules/core-js/features/data-view/index.js new file mode 100644 index 00000000..3ee3e882 --- /dev/null +++ b/node_modules/core-js/features/data-view/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/data-view'); diff --git a/node_modules/core-js/features/data-view/set-float16.js b/node_modules/core-js/features/data-view/set-float16.js new file mode 100644 index 00000000..2c0c9af4 --- /dev/null +++ b/node_modules/core-js/features/data-view/set-float16.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/data-view/set-float16'); diff --git a/node_modules/core-js/features/data-view/set-uint8-clamped.js b/node_modules/core-js/features/data-view/set-uint8-clamped.js new file mode 100644 index 00000000..27e928f7 --- /dev/null +++ b/node_modules/core-js/features/data-view/set-uint8-clamped.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/data-view/set-uint8-clamped'); diff --git a/node_modules/core-js/features/date/get-year.js b/node_modules/core-js/features/date/get-year.js new file mode 100644 index 00000000..01748db0 --- /dev/null +++ b/node_modules/core-js/features/date/get-year.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date/get-year'); diff --git a/node_modules/core-js/features/date/index.js b/node_modules/core-js/features/date/index.js new file mode 100644 index 00000000..00763b16 --- /dev/null +++ b/node_modules/core-js/features/date/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date'); diff --git a/node_modules/core-js/features/date/now.js b/node_modules/core-js/features/date/now.js new file mode 100644 index 00000000..456f0927 --- /dev/null +++ b/node_modules/core-js/features/date/now.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date/now'); diff --git a/node_modules/core-js/features/date/set-year.js b/node_modules/core-js/features/date/set-year.js new file mode 100644 index 00000000..b1eb5b63 --- /dev/null +++ b/node_modules/core-js/features/date/set-year.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date/set-year'); diff --git a/node_modules/core-js/features/date/to-gmt-string.js b/node_modules/core-js/features/date/to-gmt-string.js new file mode 100644 index 00000000..1a8cf3d7 --- /dev/null +++ b/node_modules/core-js/features/date/to-gmt-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date/to-gmt-string'); diff --git a/node_modules/core-js/features/date/to-iso-string.js b/node_modules/core-js/features/date/to-iso-string.js new file mode 100644 index 00000000..4351df85 --- /dev/null +++ b/node_modules/core-js/features/date/to-iso-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date/to-iso-string'); diff --git a/node_modules/core-js/features/date/to-json.js b/node_modules/core-js/features/date/to-json.js new file mode 100644 index 00000000..eb1f0731 --- /dev/null +++ b/node_modules/core-js/features/date/to-json.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date/to-json'); diff --git a/node_modules/core-js/features/date/to-primitive.js b/node_modules/core-js/features/date/to-primitive.js new file mode 100644 index 00000000..c04d5ffe --- /dev/null +++ b/node_modules/core-js/features/date/to-primitive.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date/to-primitive'); diff --git a/node_modules/core-js/features/date/to-string.js b/node_modules/core-js/features/date/to-string.js new file mode 100644 index 00000000..138ac942 --- /dev/null +++ b/node_modules/core-js/features/date/to-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/date/to-string'); diff --git a/node_modules/core-js/features/disposable-stack/constructor.js b/node_modules/core-js/features/disposable-stack/constructor.js new file mode 100644 index 00000000..be69e371 --- /dev/null +++ b/node_modules/core-js/features/disposable-stack/constructor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/disposable-stack/constructor'); diff --git a/node_modules/core-js/features/disposable-stack/index.js b/node_modules/core-js/features/disposable-stack/index.js new file mode 100644 index 00000000..5bbacfb2 --- /dev/null +++ b/node_modules/core-js/features/disposable-stack/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/disposable-stack'); diff --git a/node_modules/core-js/features/dom-collections/for-each.js b/node_modules/core-js/features/dom-collections/for-each.js new file mode 100644 index 00000000..4e349198 --- /dev/null +++ b/node_modules/core-js/features/dom-collections/for-each.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/dom-collections/for-each'); diff --git a/node_modules/core-js/features/dom-collections/index.js b/node_modules/core-js/features/dom-collections/index.js new file mode 100644 index 00000000..a2b1318f --- /dev/null +++ b/node_modules/core-js/features/dom-collections/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/dom-collections'); diff --git a/node_modules/core-js/features/dom-collections/iterator.js b/node_modules/core-js/features/dom-collections/iterator.js new file mode 100644 index 00000000..6b51ef06 --- /dev/null +++ b/node_modules/core-js/features/dom-collections/iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/dom-collections/iterator'); diff --git a/node_modules/core-js/features/dom-exception/constructor.js b/node_modules/core-js/features/dom-exception/constructor.js new file mode 100644 index 00000000..54c37aa0 --- /dev/null +++ b/node_modules/core-js/features/dom-exception/constructor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/dom-exception/constructor'); diff --git a/node_modules/core-js/features/dom-exception/index.js b/node_modules/core-js/features/dom-exception/index.js new file mode 100644 index 00000000..d047ee8b --- /dev/null +++ b/node_modules/core-js/features/dom-exception/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/dom-exception'); diff --git a/node_modules/core-js/features/dom-exception/to-string-tag.js b/node_modules/core-js/features/dom-exception/to-string-tag.js new file mode 100644 index 00000000..a578f445 --- /dev/null +++ b/node_modules/core-js/features/dom-exception/to-string-tag.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/dom-exception/to-string-tag'); diff --git a/node_modules/core-js/features/error/constructor.js b/node_modules/core-js/features/error/constructor.js new file mode 100644 index 00000000..73f2cbcf --- /dev/null +++ b/node_modules/core-js/features/error/constructor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/error/constructor'); diff --git a/node_modules/core-js/features/error/index.js b/node_modules/core-js/features/error/index.js new file mode 100644 index 00000000..5a0f6b01 --- /dev/null +++ b/node_modules/core-js/features/error/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/error'); diff --git a/node_modules/core-js/features/error/to-string.js b/node_modules/core-js/features/error/to-string.js new file mode 100644 index 00000000..47b15512 --- /dev/null +++ b/node_modules/core-js/features/error/to-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/error/to-string'); diff --git a/node_modules/core-js/features/escape.js b/node_modules/core-js/features/escape.js new file mode 100644 index 00000000..be0474ba --- /dev/null +++ b/node_modules/core-js/features/escape.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/escape'); diff --git a/node_modules/core-js/features/function/bind.js b/node_modules/core-js/features/function/bind.js new file mode 100644 index 00000000..8281dcbd --- /dev/null +++ b/node_modules/core-js/features/function/bind.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function/bind'); diff --git a/node_modules/core-js/features/function/demethodize.js b/node_modules/core-js/features/function/demethodize.js new file mode 100644 index 00000000..cf093c33 --- /dev/null +++ b/node_modules/core-js/features/function/demethodize.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function/demethodize'); diff --git a/node_modules/core-js/features/function/has-instance.js b/node_modules/core-js/features/function/has-instance.js new file mode 100644 index 00000000..4fc1051d --- /dev/null +++ b/node_modules/core-js/features/function/has-instance.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function/has-instance'); diff --git a/node_modules/core-js/features/function/index.js b/node_modules/core-js/features/function/index.js new file mode 100644 index 00000000..0ba08dfc --- /dev/null +++ b/node_modules/core-js/features/function/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function'); diff --git a/node_modules/core-js/features/function/is-callable.js b/node_modules/core-js/features/function/is-callable.js new file mode 100644 index 00000000..b624162e --- /dev/null +++ b/node_modules/core-js/features/function/is-callable.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function/is-callable'); diff --git a/node_modules/core-js/features/function/is-constructor.js b/node_modules/core-js/features/function/is-constructor.js new file mode 100644 index 00000000..46c92085 --- /dev/null +++ b/node_modules/core-js/features/function/is-constructor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function/is-constructor'); diff --git a/node_modules/core-js/features/function/metadata.js b/node_modules/core-js/features/function/metadata.js new file mode 100644 index 00000000..31e8feab --- /dev/null +++ b/node_modules/core-js/features/function/metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function/metadata'); diff --git a/node_modules/core-js/features/function/name.js b/node_modules/core-js/features/function/name.js new file mode 100644 index 00000000..e5facbc3 --- /dev/null +++ b/node_modules/core-js/features/function/name.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function/name'); diff --git a/node_modules/core-js/features/function/un-this.js b/node_modules/core-js/features/function/un-this.js new file mode 100644 index 00000000..bc6f5191 --- /dev/null +++ b/node_modules/core-js/features/function/un-this.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/function/un-this'); diff --git a/node_modules/core-js/features/function/virtual/bind.js b/node_modules/core-js/features/function/virtual/bind.js new file mode 100644 index 00000000..f0da5dee --- /dev/null +++ b/node_modules/core-js/features/function/virtual/bind.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/function/virtual/bind'); diff --git a/node_modules/core-js/features/function/virtual/demethodize.js b/node_modules/core-js/features/function/virtual/demethodize.js new file mode 100644 index 00000000..a9e64032 --- /dev/null +++ b/node_modules/core-js/features/function/virtual/demethodize.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/function/virtual/demethodize'); diff --git a/node_modules/core-js/features/function/virtual/index.js b/node_modules/core-js/features/function/virtual/index.js new file mode 100644 index 00000000..cbfa55ec --- /dev/null +++ b/node_modules/core-js/features/function/virtual/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/function/virtual'); diff --git a/node_modules/core-js/features/function/virtual/un-this.js b/node_modules/core-js/features/function/virtual/un-this.js new file mode 100644 index 00000000..d5344920 --- /dev/null +++ b/node_modules/core-js/features/function/virtual/un-this.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/function/virtual/un-this'); diff --git a/node_modules/core-js/features/get-iterator-method.js b/node_modules/core-js/features/get-iterator-method.js new file mode 100644 index 00000000..2ee2e325 --- /dev/null +++ b/node_modules/core-js/features/get-iterator-method.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/get-iterator-method'); diff --git a/node_modules/core-js/features/get-iterator.js b/node_modules/core-js/features/get-iterator.js new file mode 100644 index 00000000..0e973661 --- /dev/null +++ b/node_modules/core-js/features/get-iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/get-iterator'); diff --git a/node_modules/core-js/features/global-this.js b/node_modules/core-js/features/global-this.js new file mode 100644 index 00000000..7ef6e00a --- /dev/null +++ b/node_modules/core-js/features/global-this.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/global-this'); diff --git a/node_modules/core-js/features/index.js b/node_modules/core-js/features/index.js new file mode 100644 index 00000000..862f06c4 --- /dev/null +++ b/node_modules/core-js/features/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full'); diff --git a/node_modules/core-js/features/instance/at.js b/node_modules/core-js/features/instance/at.js new file mode 100644 index 00000000..63ee4e0f --- /dev/null +++ b/node_modules/core-js/features/instance/at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/at'); diff --git a/node_modules/core-js/features/instance/bind.js b/node_modules/core-js/features/instance/bind.js new file mode 100644 index 00000000..a4df4440 --- /dev/null +++ b/node_modules/core-js/features/instance/bind.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/bind'); diff --git a/node_modules/core-js/features/instance/code-point-at.js b/node_modules/core-js/features/instance/code-point-at.js new file mode 100644 index 00000000..ac8f54a0 --- /dev/null +++ b/node_modules/core-js/features/instance/code-point-at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/code-point-at'); diff --git a/node_modules/core-js/features/instance/code-points.js b/node_modules/core-js/features/instance/code-points.js new file mode 100644 index 00000000..250b28ce --- /dev/null +++ b/node_modules/core-js/features/instance/code-points.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/code-points'); diff --git a/node_modules/core-js/features/instance/concat.js b/node_modules/core-js/features/instance/concat.js new file mode 100644 index 00000000..70fe0072 --- /dev/null +++ b/node_modules/core-js/features/instance/concat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/concat'); diff --git a/node_modules/core-js/features/instance/copy-within.js b/node_modules/core-js/features/instance/copy-within.js new file mode 100644 index 00000000..b8337397 --- /dev/null +++ b/node_modules/core-js/features/instance/copy-within.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/copy-within'); diff --git a/node_modules/core-js/features/instance/demethodize.js b/node_modules/core-js/features/instance/demethodize.js new file mode 100644 index 00000000..3d5d9a44 --- /dev/null +++ b/node_modules/core-js/features/instance/demethodize.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/demethodize'); diff --git a/node_modules/core-js/features/instance/ends-with.js b/node_modules/core-js/features/instance/ends-with.js new file mode 100644 index 00000000..e6abcf7f --- /dev/null +++ b/node_modules/core-js/features/instance/ends-with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/ends-with'); diff --git a/node_modules/core-js/features/instance/entries.js b/node_modules/core-js/features/instance/entries.js new file mode 100644 index 00000000..23486b25 --- /dev/null +++ b/node_modules/core-js/features/instance/entries.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/entries'); diff --git a/node_modules/core-js/features/instance/every.js b/node_modules/core-js/features/instance/every.js new file mode 100644 index 00000000..d9b53c99 --- /dev/null +++ b/node_modules/core-js/features/instance/every.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/every'); diff --git a/node_modules/core-js/features/instance/fill.js b/node_modules/core-js/features/instance/fill.js new file mode 100644 index 00000000..17d1f576 --- /dev/null +++ b/node_modules/core-js/features/instance/fill.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/fill'); diff --git a/node_modules/core-js/features/instance/filter-out.js b/node_modules/core-js/features/instance/filter-out.js new file mode 100644 index 00000000..12191d63 --- /dev/null +++ b/node_modules/core-js/features/instance/filter-out.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/filter-out'); diff --git a/node_modules/core-js/features/instance/filter-reject.js b/node_modules/core-js/features/instance/filter-reject.js new file mode 100644 index 00000000..c52ceaba --- /dev/null +++ b/node_modules/core-js/features/instance/filter-reject.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/filter-reject'); diff --git a/node_modules/core-js/features/instance/filter.js b/node_modules/core-js/features/instance/filter.js new file mode 100644 index 00000000..75faee11 --- /dev/null +++ b/node_modules/core-js/features/instance/filter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/filter'); diff --git a/node_modules/core-js/features/instance/find-index.js b/node_modules/core-js/features/instance/find-index.js new file mode 100644 index 00000000..843a5f06 --- /dev/null +++ b/node_modules/core-js/features/instance/find-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/find-index'); diff --git a/node_modules/core-js/features/instance/find-last-index.js b/node_modules/core-js/features/instance/find-last-index.js new file mode 100644 index 00000000..9e121287 --- /dev/null +++ b/node_modules/core-js/features/instance/find-last-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/find-last-index'); diff --git a/node_modules/core-js/features/instance/find-last.js b/node_modules/core-js/features/instance/find-last.js new file mode 100644 index 00000000..f3e952e7 --- /dev/null +++ b/node_modules/core-js/features/instance/find-last.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/find-last'); diff --git a/node_modules/core-js/features/instance/find.js b/node_modules/core-js/features/instance/find.js new file mode 100644 index 00000000..2b4eece0 --- /dev/null +++ b/node_modules/core-js/features/instance/find.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/find'); diff --git a/node_modules/core-js/features/instance/flags.js b/node_modules/core-js/features/instance/flags.js new file mode 100644 index 00000000..5d51e282 --- /dev/null +++ b/node_modules/core-js/features/instance/flags.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/flags'); diff --git a/node_modules/core-js/features/instance/flat-map.js b/node_modules/core-js/features/instance/flat-map.js new file mode 100644 index 00000000..9de4385e --- /dev/null +++ b/node_modules/core-js/features/instance/flat-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/flat-map'); diff --git a/node_modules/core-js/features/instance/flat.js b/node_modules/core-js/features/instance/flat.js new file mode 100644 index 00000000..caceea43 --- /dev/null +++ b/node_modules/core-js/features/instance/flat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/flat'); diff --git a/node_modules/core-js/features/instance/for-each.js b/node_modules/core-js/features/instance/for-each.js new file mode 100644 index 00000000..160548f6 --- /dev/null +++ b/node_modules/core-js/features/instance/for-each.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/for-each'); diff --git a/node_modules/core-js/features/instance/group-by-to-map.js b/node_modules/core-js/features/instance/group-by-to-map.js new file mode 100644 index 00000000..0a27360f --- /dev/null +++ b/node_modules/core-js/features/instance/group-by-to-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/group-by-to-map'); diff --git a/node_modules/core-js/features/instance/group-by.js b/node_modules/core-js/features/instance/group-by.js new file mode 100644 index 00000000..fc9c9cce --- /dev/null +++ b/node_modules/core-js/features/instance/group-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/group-by'); diff --git a/node_modules/core-js/features/instance/group-to-map.js b/node_modules/core-js/features/instance/group-to-map.js new file mode 100644 index 00000000..010a97e0 --- /dev/null +++ b/node_modules/core-js/features/instance/group-to-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/group-to-map'); diff --git a/node_modules/core-js/features/instance/group.js b/node_modules/core-js/features/instance/group.js new file mode 100644 index 00000000..4479a8a1 --- /dev/null +++ b/node_modules/core-js/features/instance/group.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/group'); diff --git a/node_modules/core-js/features/instance/includes.js b/node_modules/core-js/features/instance/includes.js new file mode 100644 index 00000000..845b7285 --- /dev/null +++ b/node_modules/core-js/features/instance/includes.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/includes'); diff --git a/node_modules/core-js/features/instance/index-of.js b/node_modules/core-js/features/instance/index-of.js new file mode 100644 index 00000000..39d1aa03 --- /dev/null +++ b/node_modules/core-js/features/instance/index-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/index-of'); diff --git a/node_modules/core-js/features/instance/is-well-formed.js b/node_modules/core-js/features/instance/is-well-formed.js new file mode 100644 index 00000000..50253dca --- /dev/null +++ b/node_modules/core-js/features/instance/is-well-formed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/is-well-formed'); diff --git a/node_modules/core-js/features/instance/keys.js b/node_modules/core-js/features/instance/keys.js new file mode 100644 index 00000000..2def5f59 --- /dev/null +++ b/node_modules/core-js/features/instance/keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/keys'); diff --git a/node_modules/core-js/features/instance/last-index-of.js b/node_modules/core-js/features/instance/last-index-of.js new file mode 100644 index 00000000..03502cc9 --- /dev/null +++ b/node_modules/core-js/features/instance/last-index-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/last-index-of'); diff --git a/node_modules/core-js/features/instance/map.js b/node_modules/core-js/features/instance/map.js new file mode 100644 index 00000000..01086068 --- /dev/null +++ b/node_modules/core-js/features/instance/map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/map'); diff --git a/node_modules/core-js/features/instance/match-all.js b/node_modules/core-js/features/instance/match-all.js new file mode 100644 index 00000000..41dd3e4f --- /dev/null +++ b/node_modules/core-js/features/instance/match-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/match-all'); diff --git a/node_modules/core-js/features/instance/pad-end.js b/node_modules/core-js/features/instance/pad-end.js new file mode 100644 index 00000000..d7d01c5e --- /dev/null +++ b/node_modules/core-js/features/instance/pad-end.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/pad-end'); diff --git a/node_modules/core-js/features/instance/pad-start.js b/node_modules/core-js/features/instance/pad-start.js new file mode 100644 index 00000000..c96ea43b --- /dev/null +++ b/node_modules/core-js/features/instance/pad-start.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/pad-start'); diff --git a/node_modules/core-js/features/instance/push.js b/node_modules/core-js/features/instance/push.js new file mode 100644 index 00000000..3d1703f1 --- /dev/null +++ b/node_modules/core-js/features/instance/push.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/push'); diff --git a/node_modules/core-js/features/instance/reduce-right.js b/node_modules/core-js/features/instance/reduce-right.js new file mode 100644 index 00000000..024f17b1 --- /dev/null +++ b/node_modules/core-js/features/instance/reduce-right.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/reduce-right'); diff --git a/node_modules/core-js/features/instance/reduce.js b/node_modules/core-js/features/instance/reduce.js new file mode 100644 index 00000000..895fc2f7 --- /dev/null +++ b/node_modules/core-js/features/instance/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/reduce'); diff --git a/node_modules/core-js/features/instance/repeat.js b/node_modules/core-js/features/instance/repeat.js new file mode 100644 index 00000000..8664359e --- /dev/null +++ b/node_modules/core-js/features/instance/repeat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/repeat'); diff --git a/node_modules/core-js/features/instance/replace-all.js b/node_modules/core-js/features/instance/replace-all.js new file mode 100644 index 00000000..90185918 --- /dev/null +++ b/node_modules/core-js/features/instance/replace-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/replace-all'); diff --git a/node_modules/core-js/features/instance/reverse.js b/node_modules/core-js/features/instance/reverse.js new file mode 100644 index 00000000..d7173ec7 --- /dev/null +++ b/node_modules/core-js/features/instance/reverse.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/reverse'); diff --git a/node_modules/core-js/features/instance/slice.js b/node_modules/core-js/features/instance/slice.js new file mode 100644 index 00000000..550de9b2 --- /dev/null +++ b/node_modules/core-js/features/instance/slice.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/slice'); diff --git a/node_modules/core-js/features/instance/some.js b/node_modules/core-js/features/instance/some.js new file mode 100644 index 00000000..a03bf9a3 --- /dev/null +++ b/node_modules/core-js/features/instance/some.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/some'); diff --git a/node_modules/core-js/features/instance/sort.js b/node_modules/core-js/features/instance/sort.js new file mode 100644 index 00000000..a7368e07 --- /dev/null +++ b/node_modules/core-js/features/instance/sort.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/sort'); diff --git a/node_modules/core-js/features/instance/splice.js b/node_modules/core-js/features/instance/splice.js new file mode 100644 index 00000000..0527d4f5 --- /dev/null +++ b/node_modules/core-js/features/instance/splice.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/splice'); diff --git a/node_modules/core-js/features/instance/starts-with.js b/node_modules/core-js/features/instance/starts-with.js new file mode 100644 index 00000000..fc41430e --- /dev/null +++ b/node_modules/core-js/features/instance/starts-with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/starts-with'); diff --git a/node_modules/core-js/features/instance/to-reversed.js b/node_modules/core-js/features/instance/to-reversed.js new file mode 100644 index 00000000..e89a837a --- /dev/null +++ b/node_modules/core-js/features/instance/to-reversed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/to-reversed'); diff --git a/node_modules/core-js/features/instance/to-sorted.js b/node_modules/core-js/features/instance/to-sorted.js new file mode 100644 index 00000000..52d079aa --- /dev/null +++ b/node_modules/core-js/features/instance/to-sorted.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/to-sorted'); diff --git a/node_modules/core-js/features/instance/to-spliced.js b/node_modules/core-js/features/instance/to-spliced.js new file mode 100644 index 00000000..bcca07d9 --- /dev/null +++ b/node_modules/core-js/features/instance/to-spliced.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/to-spliced'); diff --git a/node_modules/core-js/features/instance/to-well-formed.js b/node_modules/core-js/features/instance/to-well-formed.js new file mode 100644 index 00000000..b689d9fa --- /dev/null +++ b/node_modules/core-js/features/instance/to-well-formed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/to-well-formed'); diff --git a/node_modules/core-js/features/instance/trim-end.js b/node_modules/core-js/features/instance/trim-end.js new file mode 100644 index 00000000..3cc70302 --- /dev/null +++ b/node_modules/core-js/features/instance/trim-end.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/trim-end'); diff --git a/node_modules/core-js/features/instance/trim-left.js b/node_modules/core-js/features/instance/trim-left.js new file mode 100644 index 00000000..212ab15d --- /dev/null +++ b/node_modules/core-js/features/instance/trim-left.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/trim-left'); diff --git a/node_modules/core-js/features/instance/trim-right.js b/node_modules/core-js/features/instance/trim-right.js new file mode 100644 index 00000000..f264fe68 --- /dev/null +++ b/node_modules/core-js/features/instance/trim-right.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/trim-right'); diff --git a/node_modules/core-js/features/instance/trim-start.js b/node_modules/core-js/features/instance/trim-start.js new file mode 100644 index 00000000..f3a64e5e --- /dev/null +++ b/node_modules/core-js/features/instance/trim-start.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/trim-start'); diff --git a/node_modules/core-js/features/instance/trim.js b/node_modules/core-js/features/instance/trim.js new file mode 100644 index 00000000..1f4c525b --- /dev/null +++ b/node_modules/core-js/features/instance/trim.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/trim'); diff --git a/node_modules/core-js/features/instance/un-this.js b/node_modules/core-js/features/instance/un-this.js new file mode 100644 index 00000000..d66d389b --- /dev/null +++ b/node_modules/core-js/features/instance/un-this.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/un-this'); diff --git a/node_modules/core-js/features/instance/unique-by.js b/node_modules/core-js/features/instance/unique-by.js new file mode 100644 index 00000000..cd88bc77 --- /dev/null +++ b/node_modules/core-js/features/instance/unique-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/unique-by'); diff --git a/node_modules/core-js/features/instance/unshift.js b/node_modules/core-js/features/instance/unshift.js new file mode 100644 index 00000000..e5e66aa4 --- /dev/null +++ b/node_modules/core-js/features/instance/unshift.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/unshift'); diff --git a/node_modules/core-js/features/instance/values.js b/node_modules/core-js/features/instance/values.js new file mode 100644 index 00000000..9052a5d1 --- /dev/null +++ b/node_modules/core-js/features/instance/values.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/values'); diff --git a/node_modules/core-js/features/instance/with.js b/node_modules/core-js/features/instance/with.js new file mode 100644 index 00000000..286b09d6 --- /dev/null +++ b/node_modules/core-js/features/instance/with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/instance/with'); diff --git a/node_modules/core-js/features/is-iterable.js b/node_modules/core-js/features/is-iterable.js new file mode 100644 index 00000000..766bd5ff --- /dev/null +++ b/node_modules/core-js/features/is-iterable.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/is-iterable'); diff --git a/node_modules/core-js/features/iterator/as-indexed-pairs.js b/node_modules/core-js/features/iterator/as-indexed-pairs.js new file mode 100644 index 00000000..9364305c --- /dev/null +++ b/node_modules/core-js/features/iterator/as-indexed-pairs.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/as-indexed-pairs'); diff --git a/node_modules/core-js/features/iterator/dispose.js b/node_modules/core-js/features/iterator/dispose.js new file mode 100644 index 00000000..fcd35396 --- /dev/null +++ b/node_modules/core-js/features/iterator/dispose.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/dispose'); diff --git a/node_modules/core-js/features/iterator/drop.js b/node_modules/core-js/features/iterator/drop.js new file mode 100644 index 00000000..bbcff357 --- /dev/null +++ b/node_modules/core-js/features/iterator/drop.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/drop'); diff --git a/node_modules/core-js/features/iterator/every.js b/node_modules/core-js/features/iterator/every.js new file mode 100644 index 00000000..ecc41f29 --- /dev/null +++ b/node_modules/core-js/features/iterator/every.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/every'); diff --git a/node_modules/core-js/features/iterator/filter.js b/node_modules/core-js/features/iterator/filter.js new file mode 100644 index 00000000..0f7c200c --- /dev/null +++ b/node_modules/core-js/features/iterator/filter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/filter'); diff --git a/node_modules/core-js/features/iterator/find.js b/node_modules/core-js/features/iterator/find.js new file mode 100644 index 00000000..cc311fa5 --- /dev/null +++ b/node_modules/core-js/features/iterator/find.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/find'); diff --git a/node_modules/core-js/features/iterator/flat-map.js b/node_modules/core-js/features/iterator/flat-map.js new file mode 100644 index 00000000..a7380445 --- /dev/null +++ b/node_modules/core-js/features/iterator/flat-map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/flat-map'); diff --git a/node_modules/core-js/features/iterator/for-each.js b/node_modules/core-js/features/iterator/for-each.js new file mode 100644 index 00000000..21c2f997 --- /dev/null +++ b/node_modules/core-js/features/iterator/for-each.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/for-each'); diff --git a/node_modules/core-js/features/iterator/from.js b/node_modules/core-js/features/iterator/from.js new file mode 100644 index 00000000..92d71c4f --- /dev/null +++ b/node_modules/core-js/features/iterator/from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/from'); diff --git a/node_modules/core-js/features/iterator/index.js b/node_modules/core-js/features/iterator/index.js new file mode 100644 index 00000000..fef2b873 --- /dev/null +++ b/node_modules/core-js/features/iterator/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator'); diff --git a/node_modules/core-js/features/iterator/indexed.js b/node_modules/core-js/features/iterator/indexed.js new file mode 100644 index 00000000..e4440d01 --- /dev/null +++ b/node_modules/core-js/features/iterator/indexed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/indexed'); diff --git a/node_modules/core-js/features/iterator/map.js b/node_modules/core-js/features/iterator/map.js new file mode 100644 index 00000000..4428c6bb --- /dev/null +++ b/node_modules/core-js/features/iterator/map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/map'); diff --git a/node_modules/core-js/features/iterator/range.js b/node_modules/core-js/features/iterator/range.js new file mode 100644 index 00000000..ae809a54 --- /dev/null +++ b/node_modules/core-js/features/iterator/range.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/range'); diff --git a/node_modules/core-js/features/iterator/reduce.js b/node_modules/core-js/features/iterator/reduce.js new file mode 100644 index 00000000..6e397c10 --- /dev/null +++ b/node_modules/core-js/features/iterator/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/reduce'); diff --git a/node_modules/core-js/features/iterator/some.js b/node_modules/core-js/features/iterator/some.js new file mode 100644 index 00000000..4a3b82bd --- /dev/null +++ b/node_modules/core-js/features/iterator/some.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/some'); diff --git a/node_modules/core-js/features/iterator/take.js b/node_modules/core-js/features/iterator/take.js new file mode 100644 index 00000000..0f046268 --- /dev/null +++ b/node_modules/core-js/features/iterator/take.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/take'); diff --git a/node_modules/core-js/features/iterator/to-array.js b/node_modules/core-js/features/iterator/to-array.js new file mode 100644 index 00000000..fa386a01 --- /dev/null +++ b/node_modules/core-js/features/iterator/to-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/to-array'); diff --git a/node_modules/core-js/features/iterator/to-async.js b/node_modules/core-js/features/iterator/to-async.js new file mode 100644 index 00000000..0feb8461 --- /dev/null +++ b/node_modules/core-js/features/iterator/to-async.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/iterator/to-async'); diff --git a/node_modules/core-js/features/json/index.js b/node_modules/core-js/features/json/index.js new file mode 100644 index 00000000..4148d309 --- /dev/null +++ b/node_modules/core-js/features/json/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/json'); diff --git a/node_modules/core-js/features/json/is-raw-json.js b/node_modules/core-js/features/json/is-raw-json.js new file mode 100644 index 00000000..602cee79 --- /dev/null +++ b/node_modules/core-js/features/json/is-raw-json.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/json/is-raw-json'); diff --git a/node_modules/core-js/features/json/parse.js b/node_modules/core-js/features/json/parse.js new file mode 100644 index 00000000..f65730c9 --- /dev/null +++ b/node_modules/core-js/features/json/parse.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/json/parse'); diff --git a/node_modules/core-js/features/json/raw-json.js b/node_modules/core-js/features/json/raw-json.js new file mode 100644 index 00000000..7b1ba01d --- /dev/null +++ b/node_modules/core-js/features/json/raw-json.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/json/raw-json'); diff --git a/node_modules/core-js/features/json/stringify.js b/node_modules/core-js/features/json/stringify.js new file mode 100644 index 00000000..026d8715 --- /dev/null +++ b/node_modules/core-js/features/json/stringify.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/json/stringify'); diff --git a/node_modules/core-js/features/json/to-string-tag.js b/node_modules/core-js/features/json/to-string-tag.js new file mode 100644 index 00000000..68c5d832 --- /dev/null +++ b/node_modules/core-js/features/json/to-string-tag.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/json/to-string-tag'); diff --git a/node_modules/core-js/features/map/delete-all.js b/node_modules/core-js/features/map/delete-all.js new file mode 100644 index 00000000..a80185dc --- /dev/null +++ b/node_modules/core-js/features/map/delete-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/delete-all'); diff --git a/node_modules/core-js/features/map/emplace.js b/node_modules/core-js/features/map/emplace.js new file mode 100644 index 00000000..91430cf0 --- /dev/null +++ b/node_modules/core-js/features/map/emplace.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/emplace'); diff --git a/node_modules/core-js/features/map/every.js b/node_modules/core-js/features/map/every.js new file mode 100644 index 00000000..f9061c00 --- /dev/null +++ b/node_modules/core-js/features/map/every.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/every'); diff --git a/node_modules/core-js/features/map/filter.js b/node_modules/core-js/features/map/filter.js new file mode 100644 index 00000000..c2e9babc --- /dev/null +++ b/node_modules/core-js/features/map/filter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/filter'); diff --git a/node_modules/core-js/features/map/find-key.js b/node_modules/core-js/features/map/find-key.js new file mode 100644 index 00000000..f279fcd1 --- /dev/null +++ b/node_modules/core-js/features/map/find-key.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/find-key'); diff --git a/node_modules/core-js/features/map/find.js b/node_modules/core-js/features/map/find.js new file mode 100644 index 00000000..1e59378d --- /dev/null +++ b/node_modules/core-js/features/map/find.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/find'); diff --git a/node_modules/core-js/features/map/from.js b/node_modules/core-js/features/map/from.js new file mode 100644 index 00000000..ec52d18f --- /dev/null +++ b/node_modules/core-js/features/map/from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/from'); diff --git a/node_modules/core-js/features/map/group-by.js b/node_modules/core-js/features/map/group-by.js new file mode 100644 index 00000000..63b9c7a9 --- /dev/null +++ b/node_modules/core-js/features/map/group-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/group-by'); diff --git a/node_modules/core-js/features/map/includes.js b/node_modules/core-js/features/map/includes.js new file mode 100644 index 00000000..fb664b9f --- /dev/null +++ b/node_modules/core-js/features/map/includes.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/includes'); diff --git a/node_modules/core-js/features/map/index.js b/node_modules/core-js/features/map/index.js new file mode 100644 index 00000000..2a8a0b9f --- /dev/null +++ b/node_modules/core-js/features/map/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map'); diff --git a/node_modules/core-js/features/map/key-by.js b/node_modules/core-js/features/map/key-by.js new file mode 100644 index 00000000..2e8ee66c --- /dev/null +++ b/node_modules/core-js/features/map/key-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/key-by'); diff --git a/node_modules/core-js/features/map/key-of.js b/node_modules/core-js/features/map/key-of.js new file mode 100644 index 00000000..9beb0594 --- /dev/null +++ b/node_modules/core-js/features/map/key-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/key-of'); diff --git a/node_modules/core-js/features/map/map-keys.js b/node_modules/core-js/features/map/map-keys.js new file mode 100644 index 00000000..bfb33d34 --- /dev/null +++ b/node_modules/core-js/features/map/map-keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/map-keys'); diff --git a/node_modules/core-js/features/map/map-values.js b/node_modules/core-js/features/map/map-values.js new file mode 100644 index 00000000..2c304cee --- /dev/null +++ b/node_modules/core-js/features/map/map-values.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/map-values'); diff --git a/node_modules/core-js/features/map/merge.js b/node_modules/core-js/features/map/merge.js new file mode 100644 index 00000000..fdd5c808 --- /dev/null +++ b/node_modules/core-js/features/map/merge.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/merge'); diff --git a/node_modules/core-js/features/map/of.js b/node_modules/core-js/features/map/of.js new file mode 100644 index 00000000..d8f58a51 --- /dev/null +++ b/node_modules/core-js/features/map/of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/of'); diff --git a/node_modules/core-js/features/map/reduce.js b/node_modules/core-js/features/map/reduce.js new file mode 100644 index 00000000..e5cd5df4 --- /dev/null +++ b/node_modules/core-js/features/map/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/reduce'); diff --git a/node_modules/core-js/features/map/some.js b/node_modules/core-js/features/map/some.js new file mode 100644 index 00000000..2512dd21 --- /dev/null +++ b/node_modules/core-js/features/map/some.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/some'); diff --git a/node_modules/core-js/features/map/update-or-insert.js b/node_modules/core-js/features/map/update-or-insert.js new file mode 100644 index 00000000..a18ccb40 --- /dev/null +++ b/node_modules/core-js/features/map/update-or-insert.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/update-or-insert'); diff --git a/node_modules/core-js/features/map/update.js b/node_modules/core-js/features/map/update.js new file mode 100644 index 00000000..440c7405 --- /dev/null +++ b/node_modules/core-js/features/map/update.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/update'); diff --git a/node_modules/core-js/features/map/upsert.js b/node_modules/core-js/features/map/upsert.js new file mode 100644 index 00000000..04ffb64a --- /dev/null +++ b/node_modules/core-js/features/map/upsert.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/map/upsert'); diff --git a/node_modules/core-js/features/math/acosh.js b/node_modules/core-js/features/math/acosh.js new file mode 100644 index 00000000..c9bfc00a --- /dev/null +++ b/node_modules/core-js/features/math/acosh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/acosh'); diff --git a/node_modules/core-js/features/math/asinh.js b/node_modules/core-js/features/math/asinh.js new file mode 100644 index 00000000..6b9eb957 --- /dev/null +++ b/node_modules/core-js/features/math/asinh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/asinh'); diff --git a/node_modules/core-js/features/math/atanh.js b/node_modules/core-js/features/math/atanh.js new file mode 100644 index 00000000..82177115 --- /dev/null +++ b/node_modules/core-js/features/math/atanh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/atanh'); diff --git a/node_modules/core-js/features/math/cbrt.js b/node_modules/core-js/features/math/cbrt.js new file mode 100644 index 00000000..f9b9faa7 --- /dev/null +++ b/node_modules/core-js/features/math/cbrt.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/cbrt'); diff --git a/node_modules/core-js/features/math/clamp.js b/node_modules/core-js/features/math/clamp.js new file mode 100644 index 00000000..c2f81741 --- /dev/null +++ b/node_modules/core-js/features/math/clamp.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/clamp'); diff --git a/node_modules/core-js/features/math/clz32.js b/node_modules/core-js/features/math/clz32.js new file mode 100644 index 00000000..2841081e --- /dev/null +++ b/node_modules/core-js/features/math/clz32.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/clz32'); diff --git a/node_modules/core-js/features/math/cosh.js b/node_modules/core-js/features/math/cosh.js new file mode 100644 index 00000000..65e26619 --- /dev/null +++ b/node_modules/core-js/features/math/cosh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/cosh'); diff --git a/node_modules/core-js/features/math/deg-per-rad.js b/node_modules/core-js/features/math/deg-per-rad.js new file mode 100644 index 00000000..110d845f --- /dev/null +++ b/node_modules/core-js/features/math/deg-per-rad.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/deg-per-rad'); diff --git a/node_modules/core-js/features/math/degrees.js b/node_modules/core-js/features/math/degrees.js new file mode 100644 index 00000000..76853a83 --- /dev/null +++ b/node_modules/core-js/features/math/degrees.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/degrees'); diff --git a/node_modules/core-js/features/math/expm1.js b/node_modules/core-js/features/math/expm1.js new file mode 100644 index 00000000..800178ad --- /dev/null +++ b/node_modules/core-js/features/math/expm1.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/expm1'); diff --git a/node_modules/core-js/features/math/f16round.js b/node_modules/core-js/features/math/f16round.js new file mode 100644 index 00000000..ef460573 --- /dev/null +++ b/node_modules/core-js/features/math/f16round.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/f16round'); diff --git a/node_modules/core-js/features/math/fround.js b/node_modules/core-js/features/math/fround.js new file mode 100644 index 00000000..2d0ffb98 --- /dev/null +++ b/node_modules/core-js/features/math/fround.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/fround'); diff --git a/node_modules/core-js/features/math/fscale.js b/node_modules/core-js/features/math/fscale.js new file mode 100644 index 00000000..a3c810ea --- /dev/null +++ b/node_modules/core-js/features/math/fscale.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/fscale'); diff --git a/node_modules/core-js/features/math/hypot.js b/node_modules/core-js/features/math/hypot.js new file mode 100644 index 00000000..440e05bc --- /dev/null +++ b/node_modules/core-js/features/math/hypot.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/hypot'); diff --git a/node_modules/core-js/features/math/iaddh.js b/node_modules/core-js/features/math/iaddh.js new file mode 100644 index 00000000..41b60229 --- /dev/null +++ b/node_modules/core-js/features/math/iaddh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/iaddh'); diff --git a/node_modules/core-js/features/math/imul.js b/node_modules/core-js/features/math/imul.js new file mode 100644 index 00000000..6ea4a598 --- /dev/null +++ b/node_modules/core-js/features/math/imul.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/imul'); diff --git a/node_modules/core-js/features/math/imulh.js b/node_modules/core-js/features/math/imulh.js new file mode 100644 index 00000000..8d3aa00b --- /dev/null +++ b/node_modules/core-js/features/math/imulh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/imulh'); diff --git a/node_modules/core-js/features/math/index.js b/node_modules/core-js/features/math/index.js new file mode 100644 index 00000000..a81bf120 --- /dev/null +++ b/node_modules/core-js/features/math/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math'); diff --git a/node_modules/core-js/features/math/isubh.js b/node_modules/core-js/features/math/isubh.js new file mode 100644 index 00000000..230ac6d6 --- /dev/null +++ b/node_modules/core-js/features/math/isubh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/isubh'); diff --git a/node_modules/core-js/features/math/log10.js b/node_modules/core-js/features/math/log10.js new file mode 100644 index 00000000..318026b4 --- /dev/null +++ b/node_modules/core-js/features/math/log10.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/log10'); diff --git a/node_modules/core-js/features/math/log1p.js b/node_modules/core-js/features/math/log1p.js new file mode 100644 index 00000000..6ba95b3e --- /dev/null +++ b/node_modules/core-js/features/math/log1p.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/log1p'); diff --git a/node_modules/core-js/features/math/log2.js b/node_modules/core-js/features/math/log2.js new file mode 100644 index 00000000..58646701 --- /dev/null +++ b/node_modules/core-js/features/math/log2.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/log2'); diff --git a/node_modules/core-js/features/math/rad-per-deg.js b/node_modules/core-js/features/math/rad-per-deg.js new file mode 100644 index 00000000..58356031 --- /dev/null +++ b/node_modules/core-js/features/math/rad-per-deg.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/rad-per-deg'); diff --git a/node_modules/core-js/features/math/radians.js b/node_modules/core-js/features/math/radians.js new file mode 100644 index 00000000..24b0d60c --- /dev/null +++ b/node_modules/core-js/features/math/radians.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/radians'); diff --git a/node_modules/core-js/features/math/scale.js b/node_modules/core-js/features/math/scale.js new file mode 100644 index 00000000..5ab06d2c --- /dev/null +++ b/node_modules/core-js/features/math/scale.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/scale'); diff --git a/node_modules/core-js/features/math/seeded-prng.js b/node_modules/core-js/features/math/seeded-prng.js new file mode 100644 index 00000000..2974ed0b --- /dev/null +++ b/node_modules/core-js/features/math/seeded-prng.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/seeded-prng'); diff --git a/node_modules/core-js/features/math/sign.js b/node_modules/core-js/features/math/sign.js new file mode 100644 index 00000000..f7d2f5ba --- /dev/null +++ b/node_modules/core-js/features/math/sign.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/sign'); diff --git a/node_modules/core-js/features/math/signbit.js b/node_modules/core-js/features/math/signbit.js new file mode 100644 index 00000000..04d90f3c --- /dev/null +++ b/node_modules/core-js/features/math/signbit.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/signbit'); diff --git a/node_modules/core-js/features/math/sinh.js b/node_modules/core-js/features/math/sinh.js new file mode 100644 index 00000000..efa726f6 --- /dev/null +++ b/node_modules/core-js/features/math/sinh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/sinh'); diff --git a/node_modules/core-js/features/math/tanh.js b/node_modules/core-js/features/math/tanh.js new file mode 100644 index 00000000..64b2af9e --- /dev/null +++ b/node_modules/core-js/features/math/tanh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/tanh'); diff --git a/node_modules/core-js/features/math/to-string-tag.js b/node_modules/core-js/features/math/to-string-tag.js new file mode 100644 index 00000000..1e098bcc --- /dev/null +++ b/node_modules/core-js/features/math/to-string-tag.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/to-string-tag'); diff --git a/node_modules/core-js/features/math/trunc.js b/node_modules/core-js/features/math/trunc.js new file mode 100644 index 00000000..5e0503ee --- /dev/null +++ b/node_modules/core-js/features/math/trunc.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/trunc'); diff --git a/node_modules/core-js/features/math/umulh.js b/node_modules/core-js/features/math/umulh.js new file mode 100644 index 00000000..a75cfb2c --- /dev/null +++ b/node_modules/core-js/features/math/umulh.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/math/umulh'); diff --git a/node_modules/core-js/features/number/constructor.js b/node_modules/core-js/features/number/constructor.js new file mode 100644 index 00000000..c8b7fd29 --- /dev/null +++ b/node_modules/core-js/features/number/constructor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/constructor'); diff --git a/node_modules/core-js/features/number/epsilon.js b/node_modules/core-js/features/number/epsilon.js new file mode 100644 index 00000000..3ef93888 --- /dev/null +++ b/node_modules/core-js/features/number/epsilon.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/epsilon'); diff --git a/node_modules/core-js/features/number/from-string.js b/node_modules/core-js/features/number/from-string.js new file mode 100644 index 00000000..94449dc5 --- /dev/null +++ b/node_modules/core-js/features/number/from-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/from-string'); diff --git a/node_modules/core-js/features/number/index.js b/node_modules/core-js/features/number/index.js new file mode 100644 index 00000000..cc284ab4 --- /dev/null +++ b/node_modules/core-js/features/number/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number'); diff --git a/node_modules/core-js/features/number/is-finite.js b/node_modules/core-js/features/number/is-finite.js new file mode 100644 index 00000000..6b4d6861 --- /dev/null +++ b/node_modules/core-js/features/number/is-finite.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/is-finite'); diff --git a/node_modules/core-js/features/number/is-integer.js b/node_modules/core-js/features/number/is-integer.js new file mode 100644 index 00000000..875de436 --- /dev/null +++ b/node_modules/core-js/features/number/is-integer.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/is-integer'); diff --git a/node_modules/core-js/features/number/is-nan.js b/node_modules/core-js/features/number/is-nan.js new file mode 100644 index 00000000..3d04b6c9 --- /dev/null +++ b/node_modules/core-js/features/number/is-nan.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/is-nan'); diff --git a/node_modules/core-js/features/number/is-safe-integer.js b/node_modules/core-js/features/number/is-safe-integer.js new file mode 100644 index 00000000..80138ab7 --- /dev/null +++ b/node_modules/core-js/features/number/is-safe-integer.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/is-safe-integer'); diff --git a/node_modules/core-js/features/number/max-safe-integer.js b/node_modules/core-js/features/number/max-safe-integer.js new file mode 100644 index 00000000..f197c193 --- /dev/null +++ b/node_modules/core-js/features/number/max-safe-integer.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/max-safe-integer'); diff --git a/node_modules/core-js/features/number/min-safe-integer.js b/node_modules/core-js/features/number/min-safe-integer.js new file mode 100644 index 00000000..eb2f1cc0 --- /dev/null +++ b/node_modules/core-js/features/number/min-safe-integer.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/min-safe-integer'); diff --git a/node_modules/core-js/features/number/parse-float.js b/node_modules/core-js/features/number/parse-float.js new file mode 100644 index 00000000..f7a26ad1 --- /dev/null +++ b/node_modules/core-js/features/number/parse-float.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/parse-float'); diff --git a/node_modules/core-js/features/number/parse-int.js b/node_modules/core-js/features/number/parse-int.js new file mode 100644 index 00000000..73867930 --- /dev/null +++ b/node_modules/core-js/features/number/parse-int.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/parse-int'); diff --git a/node_modules/core-js/features/number/range.js b/node_modules/core-js/features/number/range.js new file mode 100644 index 00000000..baaff2d1 --- /dev/null +++ b/node_modules/core-js/features/number/range.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/range'); diff --git a/node_modules/core-js/features/number/to-exponential.js b/node_modules/core-js/features/number/to-exponential.js new file mode 100644 index 00000000..d43a5cbd --- /dev/null +++ b/node_modules/core-js/features/number/to-exponential.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/to-exponential'); diff --git a/node_modules/core-js/features/number/to-fixed.js b/node_modules/core-js/features/number/to-fixed.js new file mode 100644 index 00000000..2bfde187 --- /dev/null +++ b/node_modules/core-js/features/number/to-fixed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/to-fixed'); diff --git a/node_modules/core-js/features/number/to-precision.js b/node_modules/core-js/features/number/to-precision.js new file mode 100644 index 00000000..7b114618 --- /dev/null +++ b/node_modules/core-js/features/number/to-precision.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/number/to-precision'); diff --git a/node_modules/core-js/features/number/virtual/index.js b/node_modules/core-js/features/number/virtual/index.js new file mode 100644 index 00000000..ecbe6825 --- /dev/null +++ b/node_modules/core-js/features/number/virtual/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/number/virtual'); diff --git a/node_modules/core-js/features/number/virtual/to-exponential.js b/node_modules/core-js/features/number/virtual/to-exponential.js new file mode 100644 index 00000000..cfea35c4 --- /dev/null +++ b/node_modules/core-js/features/number/virtual/to-exponential.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/number/virtual/to-exponential'); diff --git a/node_modules/core-js/features/number/virtual/to-fixed.js b/node_modules/core-js/features/number/virtual/to-fixed.js new file mode 100644 index 00000000..1189dde2 --- /dev/null +++ b/node_modules/core-js/features/number/virtual/to-fixed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/number/virtual/to-fixed'); diff --git a/node_modules/core-js/features/number/virtual/to-precision.js b/node_modules/core-js/features/number/virtual/to-precision.js new file mode 100644 index 00000000..ae1ecf02 --- /dev/null +++ b/node_modules/core-js/features/number/virtual/to-precision.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/number/virtual/to-precision'); diff --git a/node_modules/core-js/features/object/assign.js b/node_modules/core-js/features/object/assign.js new file mode 100644 index 00000000..5683ee58 --- /dev/null +++ b/node_modules/core-js/features/object/assign.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/assign'); diff --git a/node_modules/core-js/features/object/create.js b/node_modules/core-js/features/object/create.js new file mode 100644 index 00000000..64219bab --- /dev/null +++ b/node_modules/core-js/features/object/create.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/create'); diff --git a/node_modules/core-js/features/object/define-getter.js b/node_modules/core-js/features/object/define-getter.js new file mode 100644 index 00000000..ca4f069d --- /dev/null +++ b/node_modules/core-js/features/object/define-getter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/define-getter'); diff --git a/node_modules/core-js/features/object/define-properties.js b/node_modules/core-js/features/object/define-properties.js new file mode 100644 index 00000000..9304e18f --- /dev/null +++ b/node_modules/core-js/features/object/define-properties.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/define-properties'); diff --git a/node_modules/core-js/features/object/define-property.js b/node_modules/core-js/features/object/define-property.js new file mode 100644 index 00000000..73e600e1 --- /dev/null +++ b/node_modules/core-js/features/object/define-property.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/define-property'); diff --git a/node_modules/core-js/features/object/define-setter.js b/node_modules/core-js/features/object/define-setter.js new file mode 100644 index 00000000..433c6dbb --- /dev/null +++ b/node_modules/core-js/features/object/define-setter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/define-setter'); diff --git a/node_modules/core-js/features/object/entries.js b/node_modules/core-js/features/object/entries.js new file mode 100644 index 00000000..571de8a9 --- /dev/null +++ b/node_modules/core-js/features/object/entries.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/entries'); diff --git a/node_modules/core-js/features/object/freeze.js b/node_modules/core-js/features/object/freeze.js new file mode 100644 index 00000000..16498ebc --- /dev/null +++ b/node_modules/core-js/features/object/freeze.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/freeze'); diff --git a/node_modules/core-js/features/object/from-entries.js b/node_modules/core-js/features/object/from-entries.js new file mode 100644 index 00000000..ba13c500 --- /dev/null +++ b/node_modules/core-js/features/object/from-entries.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/from-entries'); diff --git a/node_modules/core-js/features/object/get-own-property-descriptor.js b/node_modules/core-js/features/object/get-own-property-descriptor.js new file mode 100644 index 00000000..8830ad1e --- /dev/null +++ b/node_modules/core-js/features/object/get-own-property-descriptor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/get-own-property-descriptor'); diff --git a/node_modules/core-js/features/object/get-own-property-descriptors.js b/node_modules/core-js/features/object/get-own-property-descriptors.js new file mode 100644 index 00000000..387f6bac --- /dev/null +++ b/node_modules/core-js/features/object/get-own-property-descriptors.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/get-own-property-descriptors'); diff --git a/node_modules/core-js/features/object/get-own-property-names.js b/node_modules/core-js/features/object/get-own-property-names.js new file mode 100644 index 00000000..908d1bc2 --- /dev/null +++ b/node_modules/core-js/features/object/get-own-property-names.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/get-own-property-names'); diff --git a/node_modules/core-js/features/object/get-own-property-symbols.js b/node_modules/core-js/features/object/get-own-property-symbols.js new file mode 100644 index 00000000..5c07b43f --- /dev/null +++ b/node_modules/core-js/features/object/get-own-property-symbols.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/get-own-property-symbols'); diff --git a/node_modules/core-js/features/object/get-prototype-of.js b/node_modules/core-js/features/object/get-prototype-of.js new file mode 100644 index 00000000..42892a90 --- /dev/null +++ b/node_modules/core-js/features/object/get-prototype-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/get-prototype-of'); diff --git a/node_modules/core-js/features/object/group-by.js b/node_modules/core-js/features/object/group-by.js new file mode 100644 index 00000000..0453c41c --- /dev/null +++ b/node_modules/core-js/features/object/group-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/group-by'); diff --git a/node_modules/core-js/features/object/has-own.js b/node_modules/core-js/features/object/has-own.js new file mode 100644 index 00000000..54f123ad --- /dev/null +++ b/node_modules/core-js/features/object/has-own.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/has-own'); diff --git a/node_modules/core-js/features/object/index.js b/node_modules/core-js/features/object/index.js new file mode 100644 index 00000000..5c340fa1 --- /dev/null +++ b/node_modules/core-js/features/object/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object'); diff --git a/node_modules/core-js/features/object/is-extensible.js b/node_modules/core-js/features/object/is-extensible.js new file mode 100644 index 00000000..9c5cf712 --- /dev/null +++ b/node_modules/core-js/features/object/is-extensible.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/is-extensible'); diff --git a/node_modules/core-js/features/object/is-frozen.js b/node_modules/core-js/features/object/is-frozen.js new file mode 100644 index 00000000..5b55ff2e --- /dev/null +++ b/node_modules/core-js/features/object/is-frozen.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/is-frozen'); diff --git a/node_modules/core-js/features/object/is-sealed.js b/node_modules/core-js/features/object/is-sealed.js new file mode 100644 index 00000000..ca9b6d57 --- /dev/null +++ b/node_modules/core-js/features/object/is-sealed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/is-sealed'); diff --git a/node_modules/core-js/features/object/is.js b/node_modules/core-js/features/object/is.js new file mode 100644 index 00000000..3c1cc375 --- /dev/null +++ b/node_modules/core-js/features/object/is.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/is'); diff --git a/node_modules/core-js/features/object/iterate-entries.js b/node_modules/core-js/features/object/iterate-entries.js new file mode 100644 index 00000000..9062fd96 --- /dev/null +++ b/node_modules/core-js/features/object/iterate-entries.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/iterate-entries'); diff --git a/node_modules/core-js/features/object/iterate-keys.js b/node_modules/core-js/features/object/iterate-keys.js new file mode 100644 index 00000000..399bf68c --- /dev/null +++ b/node_modules/core-js/features/object/iterate-keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/iterate-keys'); diff --git a/node_modules/core-js/features/object/iterate-values.js b/node_modules/core-js/features/object/iterate-values.js new file mode 100644 index 00000000..90711193 --- /dev/null +++ b/node_modules/core-js/features/object/iterate-values.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/iterate-values'); diff --git a/node_modules/core-js/features/object/keys.js b/node_modules/core-js/features/object/keys.js new file mode 100644 index 00000000..96c50aa7 --- /dev/null +++ b/node_modules/core-js/features/object/keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/keys'); diff --git a/node_modules/core-js/features/object/lookup-getter.js b/node_modules/core-js/features/object/lookup-getter.js new file mode 100644 index 00000000..adb1c5f0 --- /dev/null +++ b/node_modules/core-js/features/object/lookup-getter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/lookup-getter'); diff --git a/node_modules/core-js/features/object/lookup-setter.js b/node_modules/core-js/features/object/lookup-setter.js new file mode 100644 index 00000000..2f5f762e --- /dev/null +++ b/node_modules/core-js/features/object/lookup-setter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/lookup-setter'); diff --git a/node_modules/core-js/features/object/prevent-extensions.js b/node_modules/core-js/features/object/prevent-extensions.js new file mode 100644 index 00000000..82d6ec64 --- /dev/null +++ b/node_modules/core-js/features/object/prevent-extensions.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/prevent-extensions'); diff --git a/node_modules/core-js/features/object/proto.js b/node_modules/core-js/features/object/proto.js new file mode 100644 index 00000000..19d734ab --- /dev/null +++ b/node_modules/core-js/features/object/proto.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/proto'); diff --git a/node_modules/core-js/features/object/seal.js b/node_modules/core-js/features/object/seal.js new file mode 100644 index 00000000..938fdea6 --- /dev/null +++ b/node_modules/core-js/features/object/seal.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/seal'); diff --git a/node_modules/core-js/features/object/set-prototype-of.js b/node_modules/core-js/features/object/set-prototype-of.js new file mode 100644 index 00000000..c6752499 --- /dev/null +++ b/node_modules/core-js/features/object/set-prototype-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/set-prototype-of'); diff --git a/node_modules/core-js/features/object/to-string.js b/node_modules/core-js/features/object/to-string.js new file mode 100644 index 00000000..dfe3d9a6 --- /dev/null +++ b/node_modules/core-js/features/object/to-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/to-string'); diff --git a/node_modules/core-js/features/object/values.js b/node_modules/core-js/features/object/values.js new file mode 100644 index 00000000..a24b011a --- /dev/null +++ b/node_modules/core-js/features/object/values.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/object/values'); diff --git a/node_modules/core-js/features/observable/index.js b/node_modules/core-js/features/observable/index.js new file mode 100644 index 00000000..8a6a1344 --- /dev/null +++ b/node_modules/core-js/features/observable/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/observable'); diff --git a/node_modules/core-js/features/parse-float.js b/node_modules/core-js/features/parse-float.js new file mode 100644 index 00000000..c4f9729b --- /dev/null +++ b/node_modules/core-js/features/parse-float.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/parse-float'); diff --git a/node_modules/core-js/features/parse-int.js b/node_modules/core-js/features/parse-int.js new file mode 100644 index 00000000..ed5510f3 --- /dev/null +++ b/node_modules/core-js/features/parse-int.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/parse-int'); diff --git a/node_modules/core-js/features/promise/all-settled.js b/node_modules/core-js/features/promise/all-settled.js new file mode 100644 index 00000000..4a11ad8f --- /dev/null +++ b/node_modules/core-js/features/promise/all-settled.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/promise/all-settled'); diff --git a/node_modules/core-js/features/promise/any.js b/node_modules/core-js/features/promise/any.js new file mode 100644 index 00000000..8aca2101 --- /dev/null +++ b/node_modules/core-js/features/promise/any.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/promise/any'); diff --git a/node_modules/core-js/features/promise/finally.js b/node_modules/core-js/features/promise/finally.js new file mode 100644 index 00000000..597665b8 --- /dev/null +++ b/node_modules/core-js/features/promise/finally.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/promise/finally'); diff --git a/node_modules/core-js/features/promise/index.js b/node_modules/core-js/features/promise/index.js new file mode 100644 index 00000000..087ef056 --- /dev/null +++ b/node_modules/core-js/features/promise/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/promise'); diff --git a/node_modules/core-js/features/promise/try.js b/node_modules/core-js/features/promise/try.js new file mode 100644 index 00000000..51e03f32 --- /dev/null +++ b/node_modules/core-js/features/promise/try.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/promise/try'); diff --git a/node_modules/core-js/features/promise/with-resolvers.js b/node_modules/core-js/features/promise/with-resolvers.js new file mode 100644 index 00000000..d605d927 --- /dev/null +++ b/node_modules/core-js/features/promise/with-resolvers.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/promise/with-resolvers'); diff --git a/node_modules/core-js/features/queue-microtask.js b/node_modules/core-js/features/queue-microtask.js new file mode 100644 index 00000000..2eba40c6 --- /dev/null +++ b/node_modules/core-js/features/queue-microtask.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/queue-microtask'); diff --git a/node_modules/core-js/features/reflect/apply.js b/node_modules/core-js/features/reflect/apply.js new file mode 100644 index 00000000..91bd4b7a --- /dev/null +++ b/node_modules/core-js/features/reflect/apply.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/apply'); diff --git a/node_modules/core-js/features/reflect/construct.js b/node_modules/core-js/features/reflect/construct.js new file mode 100644 index 00000000..0cac364f --- /dev/null +++ b/node_modules/core-js/features/reflect/construct.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/construct'); diff --git a/node_modules/core-js/features/reflect/define-metadata.js b/node_modules/core-js/features/reflect/define-metadata.js new file mode 100644 index 00000000..ebae09ef --- /dev/null +++ b/node_modules/core-js/features/reflect/define-metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/define-metadata'); diff --git a/node_modules/core-js/features/reflect/define-property.js b/node_modules/core-js/features/reflect/define-property.js new file mode 100644 index 00000000..4505faa7 --- /dev/null +++ b/node_modules/core-js/features/reflect/define-property.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/define-property'); diff --git a/node_modules/core-js/features/reflect/delete-metadata.js b/node_modules/core-js/features/reflect/delete-metadata.js new file mode 100644 index 00000000..a7a5de52 --- /dev/null +++ b/node_modules/core-js/features/reflect/delete-metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/delete-metadata'); diff --git a/node_modules/core-js/features/reflect/delete-property.js b/node_modules/core-js/features/reflect/delete-property.js new file mode 100644 index 00000000..30f0bcbb --- /dev/null +++ b/node_modules/core-js/features/reflect/delete-property.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/delete-property'); diff --git a/node_modules/core-js/features/reflect/get-metadata-keys.js b/node_modules/core-js/features/reflect/get-metadata-keys.js new file mode 100644 index 00000000..ddb80960 --- /dev/null +++ b/node_modules/core-js/features/reflect/get-metadata-keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/get-metadata-keys'); diff --git a/node_modules/core-js/features/reflect/get-metadata.js b/node_modules/core-js/features/reflect/get-metadata.js new file mode 100644 index 00000000..df1a5057 --- /dev/null +++ b/node_modules/core-js/features/reflect/get-metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/get-metadata'); diff --git a/node_modules/core-js/features/reflect/get-own-metadata-keys.js b/node_modules/core-js/features/reflect/get-own-metadata-keys.js new file mode 100644 index 00000000..900520a0 --- /dev/null +++ b/node_modules/core-js/features/reflect/get-own-metadata-keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/get-own-metadata-keys'); diff --git a/node_modules/core-js/features/reflect/get-own-metadata.js b/node_modules/core-js/features/reflect/get-own-metadata.js new file mode 100644 index 00000000..4a57ec59 --- /dev/null +++ b/node_modules/core-js/features/reflect/get-own-metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/get-own-metadata'); diff --git a/node_modules/core-js/features/reflect/get-own-property-descriptor.js b/node_modules/core-js/features/reflect/get-own-property-descriptor.js new file mode 100644 index 00000000..37621675 --- /dev/null +++ b/node_modules/core-js/features/reflect/get-own-property-descriptor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/get-own-property-descriptor'); diff --git a/node_modules/core-js/features/reflect/get-prototype-of.js b/node_modules/core-js/features/reflect/get-prototype-of.js new file mode 100644 index 00000000..e9e5ccce --- /dev/null +++ b/node_modules/core-js/features/reflect/get-prototype-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/get-prototype-of'); diff --git a/node_modules/core-js/features/reflect/get.js b/node_modules/core-js/features/reflect/get.js new file mode 100644 index 00000000..208ac212 --- /dev/null +++ b/node_modules/core-js/features/reflect/get.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/get'); diff --git a/node_modules/core-js/features/reflect/has-metadata.js b/node_modules/core-js/features/reflect/has-metadata.js new file mode 100644 index 00000000..4672bb18 --- /dev/null +++ b/node_modules/core-js/features/reflect/has-metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/has-metadata'); diff --git a/node_modules/core-js/features/reflect/has-own-metadata.js b/node_modules/core-js/features/reflect/has-own-metadata.js new file mode 100644 index 00000000..312bbcda --- /dev/null +++ b/node_modules/core-js/features/reflect/has-own-metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/has-own-metadata'); diff --git a/node_modules/core-js/features/reflect/has.js b/node_modules/core-js/features/reflect/has.js new file mode 100644 index 00000000..cce123eb --- /dev/null +++ b/node_modules/core-js/features/reflect/has.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/has'); diff --git a/node_modules/core-js/features/reflect/index.js b/node_modules/core-js/features/reflect/index.js new file mode 100644 index 00000000..71c2937c --- /dev/null +++ b/node_modules/core-js/features/reflect/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect'); diff --git a/node_modules/core-js/features/reflect/is-extensible.js b/node_modules/core-js/features/reflect/is-extensible.js new file mode 100644 index 00000000..0505e0d4 --- /dev/null +++ b/node_modules/core-js/features/reflect/is-extensible.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/is-extensible'); diff --git a/node_modules/core-js/features/reflect/metadata.js b/node_modules/core-js/features/reflect/metadata.js new file mode 100644 index 00000000..0be92392 --- /dev/null +++ b/node_modules/core-js/features/reflect/metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/metadata'); diff --git a/node_modules/core-js/features/reflect/own-keys.js b/node_modules/core-js/features/reflect/own-keys.js new file mode 100644 index 00000000..92abc14e --- /dev/null +++ b/node_modules/core-js/features/reflect/own-keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/own-keys'); diff --git a/node_modules/core-js/features/reflect/prevent-extensions.js b/node_modules/core-js/features/reflect/prevent-extensions.js new file mode 100644 index 00000000..2ff709ac --- /dev/null +++ b/node_modules/core-js/features/reflect/prevent-extensions.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/prevent-extensions'); diff --git a/node_modules/core-js/features/reflect/set-prototype-of.js b/node_modules/core-js/features/reflect/set-prototype-of.js new file mode 100644 index 00000000..0de0f6ff --- /dev/null +++ b/node_modules/core-js/features/reflect/set-prototype-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/set-prototype-of'); diff --git a/node_modules/core-js/features/reflect/set.js b/node_modules/core-js/features/reflect/set.js new file mode 100644 index 00000000..64d2f259 --- /dev/null +++ b/node_modules/core-js/features/reflect/set.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/set'); diff --git a/node_modules/core-js/features/reflect/to-string-tag.js b/node_modules/core-js/features/reflect/to-string-tag.js new file mode 100644 index 00000000..80250775 --- /dev/null +++ b/node_modules/core-js/features/reflect/to-string-tag.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/reflect/to-string-tag'); diff --git a/node_modules/core-js/features/regexp/constructor.js b/node_modules/core-js/features/regexp/constructor.js new file mode 100644 index 00000000..4ebcde90 --- /dev/null +++ b/node_modules/core-js/features/regexp/constructor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/constructor'); diff --git a/node_modules/core-js/features/regexp/dot-all.js b/node_modules/core-js/features/regexp/dot-all.js new file mode 100644 index 00000000..54e2001b --- /dev/null +++ b/node_modules/core-js/features/regexp/dot-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/dot-all'); diff --git a/node_modules/core-js/features/regexp/flags.js b/node_modules/core-js/features/regexp/flags.js new file mode 100644 index 00000000..7f42d4c2 --- /dev/null +++ b/node_modules/core-js/features/regexp/flags.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/flags'); diff --git a/node_modules/core-js/features/regexp/index.js b/node_modules/core-js/features/regexp/index.js new file mode 100644 index 00000000..c0ac4a69 --- /dev/null +++ b/node_modules/core-js/features/regexp/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp'); diff --git a/node_modules/core-js/features/regexp/match.js b/node_modules/core-js/features/regexp/match.js new file mode 100644 index 00000000..ee1ff236 --- /dev/null +++ b/node_modules/core-js/features/regexp/match.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/match'); diff --git a/node_modules/core-js/features/regexp/replace.js b/node_modules/core-js/features/regexp/replace.js new file mode 100644 index 00000000..ec82d104 --- /dev/null +++ b/node_modules/core-js/features/regexp/replace.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/replace'); diff --git a/node_modules/core-js/features/regexp/search.js b/node_modules/core-js/features/regexp/search.js new file mode 100644 index 00000000..81bf05a0 --- /dev/null +++ b/node_modules/core-js/features/regexp/search.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/search'); diff --git a/node_modules/core-js/features/regexp/split.js b/node_modules/core-js/features/regexp/split.js new file mode 100644 index 00000000..de101d18 --- /dev/null +++ b/node_modules/core-js/features/regexp/split.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/split'); diff --git a/node_modules/core-js/features/regexp/sticky.js b/node_modules/core-js/features/regexp/sticky.js new file mode 100644 index 00000000..a126677e --- /dev/null +++ b/node_modules/core-js/features/regexp/sticky.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/sticky'); diff --git a/node_modules/core-js/features/regexp/test.js b/node_modules/core-js/features/regexp/test.js new file mode 100644 index 00000000..4a712724 --- /dev/null +++ b/node_modules/core-js/features/regexp/test.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/test'); diff --git a/node_modules/core-js/features/regexp/to-string.js b/node_modules/core-js/features/regexp/to-string.js new file mode 100644 index 00000000..231dd7f9 --- /dev/null +++ b/node_modules/core-js/features/regexp/to-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/regexp/to-string'); diff --git a/node_modules/core-js/features/self.js b/node_modules/core-js/features/self.js new file mode 100644 index 00000000..8d6cc483 --- /dev/null +++ b/node_modules/core-js/features/self.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/self'); diff --git a/node_modules/core-js/features/set-immediate.js b/node_modules/core-js/features/set-immediate.js new file mode 100644 index 00000000..596f1742 --- /dev/null +++ b/node_modules/core-js/features/set-immediate.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/set-immediate'); diff --git a/node_modules/core-js/features/set-interval.js b/node_modules/core-js/features/set-interval.js new file mode 100644 index 00000000..87f9063e --- /dev/null +++ b/node_modules/core-js/features/set-interval.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/set-interval'); diff --git a/node_modules/core-js/features/set-timeout.js b/node_modules/core-js/features/set-timeout.js new file mode 100644 index 00000000..572fe7c4 --- /dev/null +++ b/node_modules/core-js/features/set-timeout.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/set-timeout'); diff --git a/node_modules/core-js/features/set/add-all.js b/node_modules/core-js/features/set/add-all.js new file mode 100644 index 00000000..9483e5e9 --- /dev/null +++ b/node_modules/core-js/features/set/add-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/add-all'); diff --git a/node_modules/core-js/features/set/delete-all.js b/node_modules/core-js/features/set/delete-all.js new file mode 100644 index 00000000..bbc2a2dd --- /dev/null +++ b/node_modules/core-js/features/set/delete-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/delete-all'); diff --git a/node_modules/core-js/features/set/difference.js b/node_modules/core-js/features/set/difference.js new file mode 100644 index 00000000..bd086a8a --- /dev/null +++ b/node_modules/core-js/features/set/difference.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/difference'); diff --git a/node_modules/core-js/features/set/every.js b/node_modules/core-js/features/set/every.js new file mode 100644 index 00000000..ee6f35a7 --- /dev/null +++ b/node_modules/core-js/features/set/every.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/every'); diff --git a/node_modules/core-js/features/set/filter.js b/node_modules/core-js/features/set/filter.js new file mode 100644 index 00000000..9f15da06 --- /dev/null +++ b/node_modules/core-js/features/set/filter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/filter'); diff --git a/node_modules/core-js/features/set/find.js b/node_modules/core-js/features/set/find.js new file mode 100644 index 00000000..d3345d55 --- /dev/null +++ b/node_modules/core-js/features/set/find.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/find'); diff --git a/node_modules/core-js/features/set/from.js b/node_modules/core-js/features/set/from.js new file mode 100644 index 00000000..fcf53c40 --- /dev/null +++ b/node_modules/core-js/features/set/from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/from'); diff --git a/node_modules/core-js/features/set/index.js b/node_modules/core-js/features/set/index.js new file mode 100644 index 00000000..b014ccf8 --- /dev/null +++ b/node_modules/core-js/features/set/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set'); diff --git a/node_modules/core-js/features/set/intersection.js b/node_modules/core-js/features/set/intersection.js new file mode 100644 index 00000000..013eccf9 --- /dev/null +++ b/node_modules/core-js/features/set/intersection.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/intersection'); diff --git a/node_modules/core-js/features/set/is-disjoint-from.js b/node_modules/core-js/features/set/is-disjoint-from.js new file mode 100644 index 00000000..45b1726d --- /dev/null +++ b/node_modules/core-js/features/set/is-disjoint-from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/is-disjoint-from'); diff --git a/node_modules/core-js/features/set/is-subset-of.js b/node_modules/core-js/features/set/is-subset-of.js new file mode 100644 index 00000000..02766652 --- /dev/null +++ b/node_modules/core-js/features/set/is-subset-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/is-subset-of'); diff --git a/node_modules/core-js/features/set/is-superset-of.js b/node_modules/core-js/features/set/is-superset-of.js new file mode 100644 index 00000000..d90cf53a --- /dev/null +++ b/node_modules/core-js/features/set/is-superset-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/is-superset-of'); diff --git a/node_modules/core-js/features/set/join.js b/node_modules/core-js/features/set/join.js new file mode 100644 index 00000000..74be35e1 --- /dev/null +++ b/node_modules/core-js/features/set/join.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/join'); diff --git a/node_modules/core-js/features/set/map.js b/node_modules/core-js/features/set/map.js new file mode 100644 index 00000000..4a8d4311 --- /dev/null +++ b/node_modules/core-js/features/set/map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/map'); diff --git a/node_modules/core-js/features/set/of.js b/node_modules/core-js/features/set/of.js new file mode 100644 index 00000000..07c4b51e --- /dev/null +++ b/node_modules/core-js/features/set/of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/of'); diff --git a/node_modules/core-js/features/set/reduce.js b/node_modules/core-js/features/set/reduce.js new file mode 100644 index 00000000..9a916176 --- /dev/null +++ b/node_modules/core-js/features/set/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/reduce'); diff --git a/node_modules/core-js/features/set/some.js b/node_modules/core-js/features/set/some.js new file mode 100644 index 00000000..cf445d56 --- /dev/null +++ b/node_modules/core-js/features/set/some.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/some'); diff --git a/node_modules/core-js/features/set/symmetric-difference.js b/node_modules/core-js/features/set/symmetric-difference.js new file mode 100644 index 00000000..66dbeb3b --- /dev/null +++ b/node_modules/core-js/features/set/symmetric-difference.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/symmetric-difference'); diff --git a/node_modules/core-js/features/set/union.js b/node_modules/core-js/features/set/union.js new file mode 100644 index 00000000..56b88c71 --- /dev/null +++ b/node_modules/core-js/features/set/union.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/set/union'); diff --git a/node_modules/core-js/features/string/anchor.js b/node_modules/core-js/features/string/anchor.js new file mode 100644 index 00000000..e319c4cd --- /dev/null +++ b/node_modules/core-js/features/string/anchor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/anchor'); diff --git a/node_modules/core-js/features/string/at.js b/node_modules/core-js/features/string/at.js new file mode 100644 index 00000000..f052a4b2 --- /dev/null +++ b/node_modules/core-js/features/string/at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/at'); diff --git a/node_modules/core-js/features/string/big.js b/node_modules/core-js/features/string/big.js new file mode 100644 index 00000000..25db1cd3 --- /dev/null +++ b/node_modules/core-js/features/string/big.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/big'); diff --git a/node_modules/core-js/features/string/blink.js b/node_modules/core-js/features/string/blink.js new file mode 100644 index 00000000..198acfb0 --- /dev/null +++ b/node_modules/core-js/features/string/blink.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/blink'); diff --git a/node_modules/core-js/features/string/bold.js b/node_modules/core-js/features/string/bold.js new file mode 100644 index 00000000..12e3a98e --- /dev/null +++ b/node_modules/core-js/features/string/bold.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/bold'); diff --git a/node_modules/core-js/features/string/code-point-at.js b/node_modules/core-js/features/string/code-point-at.js new file mode 100644 index 00000000..21a1efc3 --- /dev/null +++ b/node_modules/core-js/features/string/code-point-at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/code-point-at'); diff --git a/node_modules/core-js/features/string/code-points.js b/node_modules/core-js/features/string/code-points.js new file mode 100644 index 00000000..aa721d7e --- /dev/null +++ b/node_modules/core-js/features/string/code-points.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/code-points'); diff --git a/node_modules/core-js/features/string/cooked.js b/node_modules/core-js/features/string/cooked.js new file mode 100644 index 00000000..cc7d80b3 --- /dev/null +++ b/node_modules/core-js/features/string/cooked.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/cooked'); diff --git a/node_modules/core-js/features/string/dedent.js b/node_modules/core-js/features/string/dedent.js new file mode 100644 index 00000000..1417fea3 --- /dev/null +++ b/node_modules/core-js/features/string/dedent.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/dedent'); diff --git a/node_modules/core-js/features/string/ends-with.js b/node_modules/core-js/features/string/ends-with.js new file mode 100644 index 00000000..82c8de3a --- /dev/null +++ b/node_modules/core-js/features/string/ends-with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/ends-with'); diff --git a/node_modules/core-js/features/string/fixed.js b/node_modules/core-js/features/string/fixed.js new file mode 100644 index 00000000..18e3d12d --- /dev/null +++ b/node_modules/core-js/features/string/fixed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/fixed'); diff --git a/node_modules/core-js/features/string/fontcolor.js b/node_modules/core-js/features/string/fontcolor.js new file mode 100644 index 00000000..d2173ad5 --- /dev/null +++ b/node_modules/core-js/features/string/fontcolor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/fontcolor'); diff --git a/node_modules/core-js/features/string/fontsize.js b/node_modules/core-js/features/string/fontsize.js new file mode 100644 index 00000000..60ed0de1 --- /dev/null +++ b/node_modules/core-js/features/string/fontsize.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/fontsize'); diff --git a/node_modules/core-js/features/string/from-code-point.js b/node_modules/core-js/features/string/from-code-point.js new file mode 100644 index 00000000..4ae1760f --- /dev/null +++ b/node_modules/core-js/features/string/from-code-point.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/from-code-point'); diff --git a/node_modules/core-js/features/string/includes.js b/node_modules/core-js/features/string/includes.js new file mode 100644 index 00000000..a38daaee --- /dev/null +++ b/node_modules/core-js/features/string/includes.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/includes'); diff --git a/node_modules/core-js/features/string/index.js b/node_modules/core-js/features/string/index.js new file mode 100644 index 00000000..39dec7f1 --- /dev/null +++ b/node_modules/core-js/features/string/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string'); diff --git a/node_modules/core-js/features/string/is-well-formed.js b/node_modules/core-js/features/string/is-well-formed.js new file mode 100644 index 00000000..8a3222eb --- /dev/null +++ b/node_modules/core-js/features/string/is-well-formed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/is-well-formed'); diff --git a/node_modules/core-js/features/string/italics.js b/node_modules/core-js/features/string/italics.js new file mode 100644 index 00000000..2662142a --- /dev/null +++ b/node_modules/core-js/features/string/italics.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/italics'); diff --git a/node_modules/core-js/features/string/iterator.js b/node_modules/core-js/features/string/iterator.js new file mode 100644 index 00000000..e947c4c3 --- /dev/null +++ b/node_modules/core-js/features/string/iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/iterator'); diff --git a/node_modules/core-js/features/string/link.js b/node_modules/core-js/features/string/link.js new file mode 100644 index 00000000..ce03a708 --- /dev/null +++ b/node_modules/core-js/features/string/link.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/link'); diff --git a/node_modules/core-js/features/string/match-all.js b/node_modules/core-js/features/string/match-all.js new file mode 100644 index 00000000..cff637b3 --- /dev/null +++ b/node_modules/core-js/features/string/match-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/match-all'); diff --git a/node_modules/core-js/features/string/match.js b/node_modules/core-js/features/string/match.js new file mode 100644 index 00000000..fcdc6381 --- /dev/null +++ b/node_modules/core-js/features/string/match.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/match'); diff --git a/node_modules/core-js/features/string/pad-end.js b/node_modules/core-js/features/string/pad-end.js new file mode 100644 index 00000000..87afd0b0 --- /dev/null +++ b/node_modules/core-js/features/string/pad-end.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/pad-end'); diff --git a/node_modules/core-js/features/string/pad-start.js b/node_modules/core-js/features/string/pad-start.js new file mode 100644 index 00000000..6381fbd4 --- /dev/null +++ b/node_modules/core-js/features/string/pad-start.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/pad-start'); diff --git a/node_modules/core-js/features/string/raw.js b/node_modules/core-js/features/string/raw.js new file mode 100644 index 00000000..99219608 --- /dev/null +++ b/node_modules/core-js/features/string/raw.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/raw'); diff --git a/node_modules/core-js/features/string/repeat.js b/node_modules/core-js/features/string/repeat.js new file mode 100644 index 00000000..e9549f35 --- /dev/null +++ b/node_modules/core-js/features/string/repeat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/repeat'); diff --git a/node_modules/core-js/features/string/replace-all.js b/node_modules/core-js/features/string/replace-all.js new file mode 100644 index 00000000..8cb01ea5 --- /dev/null +++ b/node_modules/core-js/features/string/replace-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/replace-all'); diff --git a/node_modules/core-js/features/string/replace.js b/node_modules/core-js/features/string/replace.js new file mode 100644 index 00000000..cfbbbdb0 --- /dev/null +++ b/node_modules/core-js/features/string/replace.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/replace'); diff --git a/node_modules/core-js/features/string/search.js b/node_modules/core-js/features/string/search.js new file mode 100644 index 00000000..7f44ebaa --- /dev/null +++ b/node_modules/core-js/features/string/search.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/search'); diff --git a/node_modules/core-js/features/string/small.js b/node_modules/core-js/features/string/small.js new file mode 100644 index 00000000..83371d4d --- /dev/null +++ b/node_modules/core-js/features/string/small.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/small'); diff --git a/node_modules/core-js/features/string/split.js b/node_modules/core-js/features/string/split.js new file mode 100644 index 00000000..df53ddeb --- /dev/null +++ b/node_modules/core-js/features/string/split.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/split'); diff --git a/node_modules/core-js/features/string/starts-with.js b/node_modules/core-js/features/string/starts-with.js new file mode 100644 index 00000000..c36f72b6 --- /dev/null +++ b/node_modules/core-js/features/string/starts-with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/starts-with'); diff --git a/node_modules/core-js/features/string/strike.js b/node_modules/core-js/features/string/strike.js new file mode 100644 index 00000000..5931582b --- /dev/null +++ b/node_modules/core-js/features/string/strike.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/strike'); diff --git a/node_modules/core-js/features/string/sub.js b/node_modules/core-js/features/string/sub.js new file mode 100644 index 00000000..ee9be2d8 --- /dev/null +++ b/node_modules/core-js/features/string/sub.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/sub'); diff --git a/node_modules/core-js/features/string/substr.js b/node_modules/core-js/features/string/substr.js new file mode 100644 index 00000000..3a0d9964 --- /dev/null +++ b/node_modules/core-js/features/string/substr.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/substr'); diff --git a/node_modules/core-js/features/string/sup.js b/node_modules/core-js/features/string/sup.js new file mode 100644 index 00000000..fafa2e51 --- /dev/null +++ b/node_modules/core-js/features/string/sup.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/sup'); diff --git a/node_modules/core-js/features/string/to-well-formed.js b/node_modules/core-js/features/string/to-well-formed.js new file mode 100644 index 00000000..318acd27 --- /dev/null +++ b/node_modules/core-js/features/string/to-well-formed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/to-well-formed'); diff --git a/node_modules/core-js/features/string/trim-end.js b/node_modules/core-js/features/string/trim-end.js new file mode 100644 index 00000000..6913dab6 --- /dev/null +++ b/node_modules/core-js/features/string/trim-end.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/trim-end'); diff --git a/node_modules/core-js/features/string/trim-left.js b/node_modules/core-js/features/string/trim-left.js new file mode 100644 index 00000000..729d4d44 --- /dev/null +++ b/node_modules/core-js/features/string/trim-left.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/trim-left'); diff --git a/node_modules/core-js/features/string/trim-right.js b/node_modules/core-js/features/string/trim-right.js new file mode 100644 index 00000000..5bb915cc --- /dev/null +++ b/node_modules/core-js/features/string/trim-right.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/trim-right'); diff --git a/node_modules/core-js/features/string/trim-start.js b/node_modules/core-js/features/string/trim-start.js new file mode 100644 index 00000000..9288f6c4 --- /dev/null +++ b/node_modules/core-js/features/string/trim-start.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/trim-start'); diff --git a/node_modules/core-js/features/string/trim.js b/node_modules/core-js/features/string/trim.js new file mode 100644 index 00000000..d5cdd8ef --- /dev/null +++ b/node_modules/core-js/features/string/trim.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/string/trim'); diff --git a/node_modules/core-js/features/string/virtual/anchor.js b/node_modules/core-js/features/string/virtual/anchor.js new file mode 100644 index 00000000..ef0030d1 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/anchor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/anchor'); diff --git a/node_modules/core-js/features/string/virtual/at.js b/node_modules/core-js/features/string/virtual/at.js new file mode 100644 index 00000000..cf004d89 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/at'); diff --git a/node_modules/core-js/features/string/virtual/big.js b/node_modules/core-js/features/string/virtual/big.js new file mode 100644 index 00000000..bb7af64d --- /dev/null +++ b/node_modules/core-js/features/string/virtual/big.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/big'); diff --git a/node_modules/core-js/features/string/virtual/blink.js b/node_modules/core-js/features/string/virtual/blink.js new file mode 100644 index 00000000..13c183f0 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/blink.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/blink'); diff --git a/node_modules/core-js/features/string/virtual/bold.js b/node_modules/core-js/features/string/virtual/bold.js new file mode 100644 index 00000000..b18c2dca --- /dev/null +++ b/node_modules/core-js/features/string/virtual/bold.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/bold'); diff --git a/node_modules/core-js/features/string/virtual/code-point-at.js b/node_modules/core-js/features/string/virtual/code-point-at.js new file mode 100644 index 00000000..d96f5445 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/code-point-at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/code-point-at'); diff --git a/node_modules/core-js/features/string/virtual/code-points.js b/node_modules/core-js/features/string/virtual/code-points.js new file mode 100644 index 00000000..fdbd7a47 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/code-points.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/code-points'); diff --git a/node_modules/core-js/features/string/virtual/ends-with.js b/node_modules/core-js/features/string/virtual/ends-with.js new file mode 100644 index 00000000..232aaa77 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/ends-with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/ends-with'); diff --git a/node_modules/core-js/features/string/virtual/fixed.js b/node_modules/core-js/features/string/virtual/fixed.js new file mode 100644 index 00000000..4d405781 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/fixed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/fixed'); diff --git a/node_modules/core-js/features/string/virtual/fontcolor.js b/node_modules/core-js/features/string/virtual/fontcolor.js new file mode 100644 index 00000000..2d37d0e9 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/fontcolor.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/fontcolor'); diff --git a/node_modules/core-js/features/string/virtual/fontsize.js b/node_modules/core-js/features/string/virtual/fontsize.js new file mode 100644 index 00000000..9a106100 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/fontsize.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/fontsize'); diff --git a/node_modules/core-js/features/string/virtual/includes.js b/node_modules/core-js/features/string/virtual/includes.js new file mode 100644 index 00000000..0c77bc76 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/includes.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/includes'); diff --git a/node_modules/core-js/features/string/virtual/index.js b/node_modules/core-js/features/string/virtual/index.js new file mode 100644 index 00000000..4dbf80b9 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual'); diff --git a/node_modules/core-js/features/string/virtual/is-well-formed.js b/node_modules/core-js/features/string/virtual/is-well-formed.js new file mode 100644 index 00000000..7a46df33 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/is-well-formed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/is-well-formed'); diff --git a/node_modules/core-js/features/string/virtual/italics.js b/node_modules/core-js/features/string/virtual/italics.js new file mode 100644 index 00000000..a3597916 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/italics.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/italics'); diff --git a/node_modules/core-js/features/string/virtual/iterator.js b/node_modules/core-js/features/string/virtual/iterator.js new file mode 100644 index 00000000..070896f5 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/iterator'); diff --git a/node_modules/core-js/features/string/virtual/link.js b/node_modules/core-js/features/string/virtual/link.js new file mode 100644 index 00000000..4caad6c5 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/link.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/link'); diff --git a/node_modules/core-js/features/string/virtual/match-all.js b/node_modules/core-js/features/string/virtual/match-all.js new file mode 100644 index 00000000..f1a16e51 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/match-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/match-all'); diff --git a/node_modules/core-js/features/string/virtual/pad-end.js b/node_modules/core-js/features/string/virtual/pad-end.js new file mode 100644 index 00000000..b197b82f --- /dev/null +++ b/node_modules/core-js/features/string/virtual/pad-end.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/pad-end'); diff --git a/node_modules/core-js/features/string/virtual/pad-start.js b/node_modules/core-js/features/string/virtual/pad-start.js new file mode 100644 index 00000000..0d9f7906 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/pad-start.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/pad-start'); diff --git a/node_modules/core-js/features/string/virtual/repeat.js b/node_modules/core-js/features/string/virtual/repeat.js new file mode 100644 index 00000000..c9bd2b19 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/repeat.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/repeat'); diff --git a/node_modules/core-js/features/string/virtual/replace-all.js b/node_modules/core-js/features/string/virtual/replace-all.js new file mode 100644 index 00000000..5c41a81f --- /dev/null +++ b/node_modules/core-js/features/string/virtual/replace-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/replace-all'); diff --git a/node_modules/core-js/features/string/virtual/small.js b/node_modules/core-js/features/string/virtual/small.js new file mode 100644 index 00000000..41830fd9 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/small.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/small'); diff --git a/node_modules/core-js/features/string/virtual/starts-with.js b/node_modules/core-js/features/string/virtual/starts-with.js new file mode 100644 index 00000000..faf7f9af --- /dev/null +++ b/node_modules/core-js/features/string/virtual/starts-with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/starts-with'); diff --git a/node_modules/core-js/features/string/virtual/strike.js b/node_modules/core-js/features/string/virtual/strike.js new file mode 100644 index 00000000..4aa6aab0 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/strike.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/strike'); diff --git a/node_modules/core-js/features/string/virtual/sub.js b/node_modules/core-js/features/string/virtual/sub.js new file mode 100644 index 00000000..0406b512 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/sub.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/sub'); diff --git a/node_modules/core-js/features/string/virtual/substr.js b/node_modules/core-js/features/string/virtual/substr.js new file mode 100644 index 00000000..bff178af --- /dev/null +++ b/node_modules/core-js/features/string/virtual/substr.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/substr'); diff --git a/node_modules/core-js/features/string/virtual/sup.js b/node_modules/core-js/features/string/virtual/sup.js new file mode 100644 index 00000000..ea4b0869 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/sup.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/sup'); diff --git a/node_modules/core-js/features/string/virtual/to-well-formed.js b/node_modules/core-js/features/string/virtual/to-well-formed.js new file mode 100644 index 00000000..fb106bcb --- /dev/null +++ b/node_modules/core-js/features/string/virtual/to-well-formed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/to-well-formed'); diff --git a/node_modules/core-js/features/string/virtual/trim-end.js b/node_modules/core-js/features/string/virtual/trim-end.js new file mode 100644 index 00000000..d90c02dd --- /dev/null +++ b/node_modules/core-js/features/string/virtual/trim-end.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/trim-end'); diff --git a/node_modules/core-js/features/string/virtual/trim-left.js b/node_modules/core-js/features/string/virtual/trim-left.js new file mode 100644 index 00000000..407b11ff --- /dev/null +++ b/node_modules/core-js/features/string/virtual/trim-left.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/trim-left'); diff --git a/node_modules/core-js/features/string/virtual/trim-right.js b/node_modules/core-js/features/string/virtual/trim-right.js new file mode 100644 index 00000000..8e6fd4db --- /dev/null +++ b/node_modules/core-js/features/string/virtual/trim-right.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/trim-right'); diff --git a/node_modules/core-js/features/string/virtual/trim-start.js b/node_modules/core-js/features/string/virtual/trim-start.js new file mode 100644 index 00000000..0c3545a4 --- /dev/null +++ b/node_modules/core-js/features/string/virtual/trim-start.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/trim-start'); diff --git a/node_modules/core-js/features/string/virtual/trim.js b/node_modules/core-js/features/string/virtual/trim.js new file mode 100644 index 00000000..da33237a --- /dev/null +++ b/node_modules/core-js/features/string/virtual/trim.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../full/string/virtual/trim'); diff --git a/node_modules/core-js/features/structured-clone.js b/node_modules/core-js/features/structured-clone.js new file mode 100644 index 00000000..3f23d559 --- /dev/null +++ b/node_modules/core-js/features/structured-clone.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/structured-clone'); diff --git a/node_modules/core-js/features/suppressed-error.js b/node_modules/core-js/features/suppressed-error.js new file mode 100644 index 00000000..331939cd --- /dev/null +++ b/node_modules/core-js/features/suppressed-error.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/suppressed-error'); diff --git a/node_modules/core-js/features/symbol/async-dispose.js b/node_modules/core-js/features/symbol/async-dispose.js new file mode 100644 index 00000000..e31c76d6 --- /dev/null +++ b/node_modules/core-js/features/symbol/async-dispose.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/async-dispose'); diff --git a/node_modules/core-js/features/symbol/async-iterator.js b/node_modules/core-js/features/symbol/async-iterator.js new file mode 100644 index 00000000..6951daec --- /dev/null +++ b/node_modules/core-js/features/symbol/async-iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/async-iterator'); diff --git a/node_modules/core-js/features/symbol/description.js b/node_modules/core-js/features/symbol/description.js new file mode 100644 index 00000000..dacdab2a --- /dev/null +++ b/node_modules/core-js/features/symbol/description.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/description'); diff --git a/node_modules/core-js/features/symbol/dispose.js b/node_modules/core-js/features/symbol/dispose.js new file mode 100644 index 00000000..270f7291 --- /dev/null +++ b/node_modules/core-js/features/symbol/dispose.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/dispose'); diff --git a/node_modules/core-js/features/symbol/for.js b/node_modules/core-js/features/symbol/for.js new file mode 100644 index 00000000..69a35553 --- /dev/null +++ b/node_modules/core-js/features/symbol/for.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/for'); diff --git a/node_modules/core-js/features/symbol/has-instance.js b/node_modules/core-js/features/symbol/has-instance.js new file mode 100644 index 00000000..fc003b38 --- /dev/null +++ b/node_modules/core-js/features/symbol/has-instance.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/has-instance'); diff --git a/node_modules/core-js/features/symbol/index.js b/node_modules/core-js/features/symbol/index.js new file mode 100644 index 00000000..02c9e00a --- /dev/null +++ b/node_modules/core-js/features/symbol/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol'); diff --git a/node_modules/core-js/features/symbol/is-concat-spreadable.js b/node_modules/core-js/features/symbol/is-concat-spreadable.js new file mode 100644 index 00000000..190c326d --- /dev/null +++ b/node_modules/core-js/features/symbol/is-concat-spreadable.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/is-concat-spreadable'); diff --git a/node_modules/core-js/features/symbol/is-registered-symbol.js b/node_modules/core-js/features/symbol/is-registered-symbol.js new file mode 100644 index 00000000..abc6281a --- /dev/null +++ b/node_modules/core-js/features/symbol/is-registered-symbol.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/is-registered-symbol'); diff --git a/node_modules/core-js/features/symbol/is-registered.js b/node_modules/core-js/features/symbol/is-registered.js new file mode 100644 index 00000000..59545193 --- /dev/null +++ b/node_modules/core-js/features/symbol/is-registered.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/is-registered'); diff --git a/node_modules/core-js/features/symbol/is-well-known-symbol.js b/node_modules/core-js/features/symbol/is-well-known-symbol.js new file mode 100644 index 00000000..71f6a9d6 --- /dev/null +++ b/node_modules/core-js/features/symbol/is-well-known-symbol.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/is-well-known-symbol'); diff --git a/node_modules/core-js/features/symbol/is-well-known.js b/node_modules/core-js/features/symbol/is-well-known.js new file mode 100644 index 00000000..3c6270e6 --- /dev/null +++ b/node_modules/core-js/features/symbol/is-well-known.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/is-well-known'); diff --git a/node_modules/core-js/features/symbol/iterator.js b/node_modules/core-js/features/symbol/iterator.js new file mode 100644 index 00000000..01690d8c --- /dev/null +++ b/node_modules/core-js/features/symbol/iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/iterator'); diff --git a/node_modules/core-js/features/symbol/key-for.js b/node_modules/core-js/features/symbol/key-for.js new file mode 100644 index 00000000..b8d20616 --- /dev/null +++ b/node_modules/core-js/features/symbol/key-for.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/key-for'); diff --git a/node_modules/core-js/features/symbol/match-all.js b/node_modules/core-js/features/symbol/match-all.js new file mode 100644 index 00000000..d9218822 --- /dev/null +++ b/node_modules/core-js/features/symbol/match-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/match-all'); diff --git a/node_modules/core-js/features/symbol/match.js b/node_modules/core-js/features/symbol/match.js new file mode 100644 index 00000000..52f36d4e --- /dev/null +++ b/node_modules/core-js/features/symbol/match.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/match'); diff --git a/node_modules/core-js/features/symbol/matcher.js b/node_modules/core-js/features/symbol/matcher.js new file mode 100644 index 00000000..a5950854 --- /dev/null +++ b/node_modules/core-js/features/symbol/matcher.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/matcher'); diff --git a/node_modules/core-js/features/symbol/metadata-key.js b/node_modules/core-js/features/symbol/metadata-key.js new file mode 100644 index 00000000..8f0b0267 --- /dev/null +++ b/node_modules/core-js/features/symbol/metadata-key.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/metadata-key'); diff --git a/node_modules/core-js/features/symbol/metadata.js b/node_modules/core-js/features/symbol/metadata.js new file mode 100644 index 00000000..af7fdd19 --- /dev/null +++ b/node_modules/core-js/features/symbol/metadata.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/metadata'); diff --git a/node_modules/core-js/features/symbol/observable.js b/node_modules/core-js/features/symbol/observable.js new file mode 100644 index 00000000..991b7f97 --- /dev/null +++ b/node_modules/core-js/features/symbol/observable.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/observable'); diff --git a/node_modules/core-js/features/symbol/pattern-match.js b/node_modules/core-js/features/symbol/pattern-match.js new file mode 100644 index 00000000..74a6bba5 --- /dev/null +++ b/node_modules/core-js/features/symbol/pattern-match.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/pattern-match'); diff --git a/node_modules/core-js/features/symbol/replace-all.js b/node_modules/core-js/features/symbol/replace-all.js new file mode 100644 index 00000000..e6b3eabd --- /dev/null +++ b/node_modules/core-js/features/symbol/replace-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/replace-all'); diff --git a/node_modules/core-js/features/symbol/replace.js b/node_modules/core-js/features/symbol/replace.js new file mode 100644 index 00000000..890d0fc4 --- /dev/null +++ b/node_modules/core-js/features/symbol/replace.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/replace'); diff --git a/node_modules/core-js/features/symbol/search.js b/node_modules/core-js/features/symbol/search.js new file mode 100644 index 00000000..b888afcb --- /dev/null +++ b/node_modules/core-js/features/symbol/search.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/search'); diff --git a/node_modules/core-js/features/symbol/species.js b/node_modules/core-js/features/symbol/species.js new file mode 100644 index 00000000..e7e4e28f --- /dev/null +++ b/node_modules/core-js/features/symbol/species.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/species'); diff --git a/node_modules/core-js/features/symbol/split.js b/node_modules/core-js/features/symbol/split.js new file mode 100644 index 00000000..8c4b7a55 --- /dev/null +++ b/node_modules/core-js/features/symbol/split.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/split'); diff --git a/node_modules/core-js/features/symbol/to-primitive.js b/node_modules/core-js/features/symbol/to-primitive.js new file mode 100644 index 00000000..d3b7a0d6 --- /dev/null +++ b/node_modules/core-js/features/symbol/to-primitive.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/to-primitive'); diff --git a/node_modules/core-js/features/symbol/to-string-tag.js b/node_modules/core-js/features/symbol/to-string-tag.js new file mode 100644 index 00000000..b08cc0fe --- /dev/null +++ b/node_modules/core-js/features/symbol/to-string-tag.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/to-string-tag'); diff --git a/node_modules/core-js/features/symbol/unscopables.js b/node_modules/core-js/features/symbol/unscopables.js new file mode 100644 index 00000000..f3363145 --- /dev/null +++ b/node_modules/core-js/features/symbol/unscopables.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/symbol/unscopables'); diff --git a/node_modules/core-js/features/typed-array/at.js b/node_modules/core-js/features/typed-array/at.js new file mode 100644 index 00000000..dbda0f23 --- /dev/null +++ b/node_modules/core-js/features/typed-array/at.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/at'); diff --git a/node_modules/core-js/features/typed-array/copy-within.js b/node_modules/core-js/features/typed-array/copy-within.js new file mode 100644 index 00000000..5cd49d9c --- /dev/null +++ b/node_modules/core-js/features/typed-array/copy-within.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/copy-within'); diff --git a/node_modules/core-js/features/typed-array/entries.js b/node_modules/core-js/features/typed-array/entries.js new file mode 100644 index 00000000..d7fb6352 --- /dev/null +++ b/node_modules/core-js/features/typed-array/entries.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/entries'); diff --git a/node_modules/core-js/features/typed-array/every.js b/node_modules/core-js/features/typed-array/every.js new file mode 100644 index 00000000..4d9f4946 --- /dev/null +++ b/node_modules/core-js/features/typed-array/every.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/every'); diff --git a/node_modules/core-js/features/typed-array/fill.js b/node_modules/core-js/features/typed-array/fill.js new file mode 100644 index 00000000..987b2c63 --- /dev/null +++ b/node_modules/core-js/features/typed-array/fill.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/fill'); diff --git a/node_modules/core-js/features/typed-array/filter-out.js b/node_modules/core-js/features/typed-array/filter-out.js new file mode 100644 index 00000000..4ebe2585 --- /dev/null +++ b/node_modules/core-js/features/typed-array/filter-out.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/filter-out'); diff --git a/node_modules/core-js/features/typed-array/filter-reject.js b/node_modules/core-js/features/typed-array/filter-reject.js new file mode 100644 index 00000000..1eca98cd --- /dev/null +++ b/node_modules/core-js/features/typed-array/filter-reject.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/filter-reject'); diff --git a/node_modules/core-js/features/typed-array/filter.js b/node_modules/core-js/features/typed-array/filter.js new file mode 100644 index 00000000..e8004b26 --- /dev/null +++ b/node_modules/core-js/features/typed-array/filter.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/filter'); diff --git a/node_modules/core-js/features/typed-array/find-index.js b/node_modules/core-js/features/typed-array/find-index.js new file mode 100644 index 00000000..a1de959f --- /dev/null +++ b/node_modules/core-js/features/typed-array/find-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/find-index'); diff --git a/node_modules/core-js/features/typed-array/find-last-index.js b/node_modules/core-js/features/typed-array/find-last-index.js new file mode 100644 index 00000000..de77d08f --- /dev/null +++ b/node_modules/core-js/features/typed-array/find-last-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/find-last-index'); diff --git a/node_modules/core-js/features/typed-array/find-last.js b/node_modules/core-js/features/typed-array/find-last.js new file mode 100644 index 00000000..d224ab30 --- /dev/null +++ b/node_modules/core-js/features/typed-array/find-last.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/find-last'); diff --git a/node_modules/core-js/features/typed-array/find.js b/node_modules/core-js/features/typed-array/find.js new file mode 100644 index 00000000..40cc4964 --- /dev/null +++ b/node_modules/core-js/features/typed-array/find.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/find'); diff --git a/node_modules/core-js/features/typed-array/float32-array.js b/node_modules/core-js/features/typed-array/float32-array.js new file mode 100644 index 00000000..4d48fa1d --- /dev/null +++ b/node_modules/core-js/features/typed-array/float32-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/float32-array'); diff --git a/node_modules/core-js/features/typed-array/float64-array.js b/node_modules/core-js/features/typed-array/float64-array.js new file mode 100644 index 00000000..64bdedfa --- /dev/null +++ b/node_modules/core-js/features/typed-array/float64-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/float64-array'); diff --git a/node_modules/core-js/features/typed-array/for-each.js b/node_modules/core-js/features/typed-array/for-each.js new file mode 100644 index 00000000..f2e50735 --- /dev/null +++ b/node_modules/core-js/features/typed-array/for-each.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/for-each'); diff --git a/node_modules/core-js/features/typed-array/from-async.js b/node_modules/core-js/features/typed-array/from-async.js new file mode 100644 index 00000000..c19d08c4 --- /dev/null +++ b/node_modules/core-js/features/typed-array/from-async.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/from-async'); diff --git a/node_modules/core-js/features/typed-array/from.js b/node_modules/core-js/features/typed-array/from.js new file mode 100644 index 00000000..a0488efd --- /dev/null +++ b/node_modules/core-js/features/typed-array/from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/from'); diff --git a/node_modules/core-js/features/typed-array/group-by.js b/node_modules/core-js/features/typed-array/group-by.js new file mode 100644 index 00000000..946f22c3 --- /dev/null +++ b/node_modules/core-js/features/typed-array/group-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/group-by'); diff --git a/node_modules/core-js/features/typed-array/includes.js b/node_modules/core-js/features/typed-array/includes.js new file mode 100644 index 00000000..1af591fe --- /dev/null +++ b/node_modules/core-js/features/typed-array/includes.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/includes'); diff --git a/node_modules/core-js/features/typed-array/index-of.js b/node_modules/core-js/features/typed-array/index-of.js new file mode 100644 index 00000000..d1009187 --- /dev/null +++ b/node_modules/core-js/features/typed-array/index-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/index-of'); diff --git a/node_modules/core-js/features/typed-array/index.js b/node_modules/core-js/features/typed-array/index.js new file mode 100644 index 00000000..84e38dd8 --- /dev/null +++ b/node_modules/core-js/features/typed-array/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array'); diff --git a/node_modules/core-js/features/typed-array/int16-array.js b/node_modules/core-js/features/typed-array/int16-array.js new file mode 100644 index 00000000..8b90d1a7 --- /dev/null +++ b/node_modules/core-js/features/typed-array/int16-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/int16-array'); diff --git a/node_modules/core-js/features/typed-array/int32-array.js b/node_modules/core-js/features/typed-array/int32-array.js new file mode 100644 index 00000000..0bc324b7 --- /dev/null +++ b/node_modules/core-js/features/typed-array/int32-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/int32-array'); diff --git a/node_modules/core-js/features/typed-array/int8-array.js b/node_modules/core-js/features/typed-array/int8-array.js new file mode 100644 index 00000000..3d30c414 --- /dev/null +++ b/node_modules/core-js/features/typed-array/int8-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/int8-array'); diff --git a/node_modules/core-js/features/typed-array/iterator.js b/node_modules/core-js/features/typed-array/iterator.js new file mode 100644 index 00000000..02623eaf --- /dev/null +++ b/node_modules/core-js/features/typed-array/iterator.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/iterator'); diff --git a/node_modules/core-js/features/typed-array/join.js b/node_modules/core-js/features/typed-array/join.js new file mode 100644 index 00000000..8c1a74f8 --- /dev/null +++ b/node_modules/core-js/features/typed-array/join.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/join'); diff --git a/node_modules/core-js/features/typed-array/keys.js b/node_modules/core-js/features/typed-array/keys.js new file mode 100644 index 00000000..b90483fd --- /dev/null +++ b/node_modules/core-js/features/typed-array/keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/keys'); diff --git a/node_modules/core-js/features/typed-array/last-index-of.js b/node_modules/core-js/features/typed-array/last-index-of.js new file mode 100644 index 00000000..c1708482 --- /dev/null +++ b/node_modules/core-js/features/typed-array/last-index-of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/last-index-of'); diff --git a/node_modules/core-js/features/typed-array/map.js b/node_modules/core-js/features/typed-array/map.js new file mode 100644 index 00000000..cb73c09b --- /dev/null +++ b/node_modules/core-js/features/typed-array/map.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/map'); diff --git a/node_modules/core-js/features/typed-array/methods.js b/node_modules/core-js/features/typed-array/methods.js new file mode 100644 index 00000000..9f8db1e5 --- /dev/null +++ b/node_modules/core-js/features/typed-array/methods.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/methods'); diff --git a/node_modules/core-js/features/typed-array/of.js b/node_modules/core-js/features/typed-array/of.js new file mode 100644 index 00000000..52663f4e --- /dev/null +++ b/node_modules/core-js/features/typed-array/of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/of'); diff --git a/node_modules/core-js/features/typed-array/reduce-right.js b/node_modules/core-js/features/typed-array/reduce-right.js new file mode 100644 index 00000000..d258dcd9 --- /dev/null +++ b/node_modules/core-js/features/typed-array/reduce-right.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/reduce-right'); diff --git a/node_modules/core-js/features/typed-array/reduce.js b/node_modules/core-js/features/typed-array/reduce.js new file mode 100644 index 00000000..bdb91067 --- /dev/null +++ b/node_modules/core-js/features/typed-array/reduce.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/reduce'); diff --git a/node_modules/core-js/features/typed-array/reverse.js b/node_modules/core-js/features/typed-array/reverse.js new file mode 100644 index 00000000..7923e59e --- /dev/null +++ b/node_modules/core-js/features/typed-array/reverse.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/reverse'); diff --git a/node_modules/core-js/features/typed-array/set.js b/node_modules/core-js/features/typed-array/set.js new file mode 100644 index 00000000..5f126824 --- /dev/null +++ b/node_modules/core-js/features/typed-array/set.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/set'); diff --git a/node_modules/core-js/features/typed-array/slice.js b/node_modules/core-js/features/typed-array/slice.js new file mode 100644 index 00000000..e0d0811e --- /dev/null +++ b/node_modules/core-js/features/typed-array/slice.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/slice'); diff --git a/node_modules/core-js/features/typed-array/some.js b/node_modules/core-js/features/typed-array/some.js new file mode 100644 index 00000000..7d3bf5a7 --- /dev/null +++ b/node_modules/core-js/features/typed-array/some.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/some'); diff --git a/node_modules/core-js/features/typed-array/sort.js b/node_modules/core-js/features/typed-array/sort.js new file mode 100644 index 00000000..8af7761b --- /dev/null +++ b/node_modules/core-js/features/typed-array/sort.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/sort'); diff --git a/node_modules/core-js/features/typed-array/subarray.js b/node_modules/core-js/features/typed-array/subarray.js new file mode 100644 index 00000000..aba0b31f --- /dev/null +++ b/node_modules/core-js/features/typed-array/subarray.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/subarray'); diff --git a/node_modules/core-js/features/typed-array/to-locale-string.js b/node_modules/core-js/features/typed-array/to-locale-string.js new file mode 100644 index 00000000..96ec8917 --- /dev/null +++ b/node_modules/core-js/features/typed-array/to-locale-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/to-locale-string'); diff --git a/node_modules/core-js/features/typed-array/to-reversed.js b/node_modules/core-js/features/typed-array/to-reversed.js new file mode 100644 index 00000000..1d163ed0 --- /dev/null +++ b/node_modules/core-js/features/typed-array/to-reversed.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/to-reversed'); diff --git a/node_modules/core-js/features/typed-array/to-sorted.js b/node_modules/core-js/features/typed-array/to-sorted.js new file mode 100644 index 00000000..06ee8a6c --- /dev/null +++ b/node_modules/core-js/features/typed-array/to-sorted.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/to-sorted'); diff --git a/node_modules/core-js/features/typed-array/to-spliced.js b/node_modules/core-js/features/typed-array/to-spliced.js new file mode 100644 index 00000000..4bc82461 --- /dev/null +++ b/node_modules/core-js/features/typed-array/to-spliced.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/to-spliced'); diff --git a/node_modules/core-js/features/typed-array/to-string.js b/node_modules/core-js/features/typed-array/to-string.js new file mode 100644 index 00000000..564dec72 --- /dev/null +++ b/node_modules/core-js/features/typed-array/to-string.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/to-string'); diff --git a/node_modules/core-js/features/typed-array/uint16-array.js b/node_modules/core-js/features/typed-array/uint16-array.js new file mode 100644 index 00000000..3c139722 --- /dev/null +++ b/node_modules/core-js/features/typed-array/uint16-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/uint16-array'); diff --git a/node_modules/core-js/features/typed-array/uint32-array.js b/node_modules/core-js/features/typed-array/uint32-array.js new file mode 100644 index 00000000..57d4db5e --- /dev/null +++ b/node_modules/core-js/features/typed-array/uint32-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/uint32-array'); diff --git a/node_modules/core-js/features/typed-array/uint8-array.js b/node_modules/core-js/features/typed-array/uint8-array.js new file mode 100644 index 00000000..7d50a3d9 --- /dev/null +++ b/node_modules/core-js/features/typed-array/uint8-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/uint8-array'); diff --git a/node_modules/core-js/features/typed-array/uint8-clamped-array.js b/node_modules/core-js/features/typed-array/uint8-clamped-array.js new file mode 100644 index 00000000..6a82ffbc --- /dev/null +++ b/node_modules/core-js/features/typed-array/uint8-clamped-array.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/uint8-clamped-array'); diff --git a/node_modules/core-js/features/typed-array/unique-by.js b/node_modules/core-js/features/typed-array/unique-by.js new file mode 100644 index 00000000..8ee5b6e4 --- /dev/null +++ b/node_modules/core-js/features/typed-array/unique-by.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/unique-by'); diff --git a/node_modules/core-js/features/typed-array/values.js b/node_modules/core-js/features/typed-array/values.js new file mode 100644 index 00000000..c2d2e94d --- /dev/null +++ b/node_modules/core-js/features/typed-array/values.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/values'); diff --git a/node_modules/core-js/features/typed-array/with.js b/node_modules/core-js/features/typed-array/with.js new file mode 100644 index 00000000..93b9f514 --- /dev/null +++ b/node_modules/core-js/features/typed-array/with.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/typed-array/with'); diff --git a/node_modules/core-js/features/unescape.js b/node_modules/core-js/features/unescape.js new file mode 100644 index 00000000..2627b4a1 --- /dev/null +++ b/node_modules/core-js/features/unescape.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../full/unescape'); diff --git a/node_modules/core-js/features/url-search-params/index.js b/node_modules/core-js/features/url-search-params/index.js new file mode 100644 index 00000000..a8205455 --- /dev/null +++ b/node_modules/core-js/features/url-search-params/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/url-search-params'); diff --git a/node_modules/core-js/features/url/can-parse.js b/node_modules/core-js/features/url/can-parse.js new file mode 100644 index 00000000..3d69ec55 --- /dev/null +++ b/node_modules/core-js/features/url/can-parse.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/url/can-parse'); diff --git a/node_modules/core-js/features/url/index.js b/node_modules/core-js/features/url/index.js new file mode 100644 index 00000000..d7202ad7 --- /dev/null +++ b/node_modules/core-js/features/url/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/url'); diff --git a/node_modules/core-js/features/url/to-json.js b/node_modules/core-js/features/url/to-json.js new file mode 100644 index 00000000..6cf7a77c --- /dev/null +++ b/node_modules/core-js/features/url/to-json.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/url/to-json'); diff --git a/node_modules/core-js/features/weak-map/delete-all.js b/node_modules/core-js/features/weak-map/delete-all.js new file mode 100644 index 00000000..a19160b0 --- /dev/null +++ b/node_modules/core-js/features/weak-map/delete-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-map/delete-all'); diff --git a/node_modules/core-js/features/weak-map/emplace.js b/node_modules/core-js/features/weak-map/emplace.js new file mode 100644 index 00000000..ac398472 --- /dev/null +++ b/node_modules/core-js/features/weak-map/emplace.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-map/emplace'); diff --git a/node_modules/core-js/features/weak-map/from.js b/node_modules/core-js/features/weak-map/from.js new file mode 100644 index 00000000..4dbec012 --- /dev/null +++ b/node_modules/core-js/features/weak-map/from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-map/from'); diff --git a/node_modules/core-js/features/weak-map/index.js b/node_modules/core-js/features/weak-map/index.js new file mode 100644 index 00000000..d5bceded --- /dev/null +++ b/node_modules/core-js/features/weak-map/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-map'); diff --git a/node_modules/core-js/features/weak-map/of.js b/node_modules/core-js/features/weak-map/of.js new file mode 100644 index 00000000..73021e61 --- /dev/null +++ b/node_modules/core-js/features/weak-map/of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-map/of'); diff --git a/node_modules/core-js/features/weak-map/upsert.js b/node_modules/core-js/features/weak-map/upsert.js new file mode 100644 index 00000000..6582591d --- /dev/null +++ b/node_modules/core-js/features/weak-map/upsert.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-map/upsert'); diff --git a/node_modules/core-js/features/weak-set/add-all.js b/node_modules/core-js/features/weak-set/add-all.js new file mode 100644 index 00000000..f537412e --- /dev/null +++ b/node_modules/core-js/features/weak-set/add-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-set/add-all'); diff --git a/node_modules/core-js/features/weak-set/delete-all.js b/node_modules/core-js/features/weak-set/delete-all.js new file mode 100644 index 00000000..3da6c756 --- /dev/null +++ b/node_modules/core-js/features/weak-set/delete-all.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-set/delete-all'); diff --git a/node_modules/core-js/features/weak-set/from.js b/node_modules/core-js/features/weak-set/from.js new file mode 100644 index 00000000..d300e224 --- /dev/null +++ b/node_modules/core-js/features/weak-set/from.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-set/from'); diff --git a/node_modules/core-js/features/weak-set/index.js b/node_modules/core-js/features/weak-set/index.js new file mode 100644 index 00000000..7da09c84 --- /dev/null +++ b/node_modules/core-js/features/weak-set/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-set'); diff --git a/node_modules/core-js/features/weak-set/of.js b/node_modules/core-js/features/weak-set/of.js new file mode 100644 index 00000000..7070230d --- /dev/null +++ b/node_modules/core-js/features/weak-set/of.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../full/weak-set/of'); diff --git a/node_modules/core-js/full/README.md b/node_modules/core-js/full/README.md new file mode 100644 index 00000000..62c88a0d --- /dev/null +++ b/node_modules/core-js/full/README.md @@ -0,0 +1 @@ +This folder contains entry points for all `core-js` features with dependencies. It's the recommended way for usage only required features. diff --git a/node_modules/core-js/full/aggregate-error.js b/node_modules/core-js/full/aggregate-error.js new file mode 100644 index 00000000..53ba5cf5 --- /dev/null +++ b/node_modules/core-js/full/aggregate-error.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../modules/esnext.aggregate-error'); + +var parent = require('../actual/aggregate-error'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array-buffer/constructor.js b/node_modules/core-js/full/array-buffer/constructor.js new file mode 100644 index 00000000..fc0efd2f --- /dev/null +++ b/node_modules/core-js/full/array-buffer/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array-buffer/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array-buffer/detached.js b/node_modules/core-js/full/array-buffer/detached.js new file mode 100644 index 00000000..08bff30f --- /dev/null +++ b/node_modules/core-js/full/array-buffer/detached.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array-buffer/detached'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array-buffer/index.js b/node_modules/core-js/full/array-buffer/index.js new file mode 100644 index 00000000..6f64913a --- /dev/null +++ b/node_modules/core-js/full/array-buffer/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array-buffer'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array-buffer/is-view.js b/node_modules/core-js/full/array-buffer/is-view.js new file mode 100644 index 00000000..ae1a5466 --- /dev/null +++ b/node_modules/core-js/full/array-buffer/is-view.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array-buffer/is-view'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array-buffer/slice.js b/node_modules/core-js/full/array-buffer/slice.js new file mode 100644 index 00000000..1886c1ef --- /dev/null +++ b/node_modules/core-js/full/array-buffer/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array-buffer/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array-buffer/transfer-to-fixed-length.js b/node_modules/core-js/full/array-buffer/transfer-to-fixed-length.js new file mode 100644 index 00000000..8eb8cc91 --- /dev/null +++ b/node_modules/core-js/full/array-buffer/transfer-to-fixed-length.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array-buffer/transfer-to-fixed-length'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array-buffer/transfer.js b/node_modules/core-js/full/array-buffer/transfer.js new file mode 100644 index 00000000..2906f133 --- /dev/null +++ b/node_modules/core-js/full/array-buffer/transfer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array-buffer/transfer'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/at.js b/node_modules/core-js/full/array/at.js new file mode 100644 index 00000000..edc75eac --- /dev/null +++ b/node_modules/core-js/full/array/at.js @@ -0,0 +1,7 @@ +'use strict'; +var parent = require('../../actual/array/at'); + +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.at'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/concat.js b/node_modules/core-js/full/array/concat.js new file mode 100644 index 00000000..249f6711 --- /dev/null +++ b/node_modules/core-js/full/array/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/copy-within.js b/node_modules/core-js/full/array/copy-within.js new file mode 100644 index 00000000..e6f7e0e6 --- /dev/null +++ b/node_modules/core-js/full/array/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/entries.js b/node_modules/core-js/full/array/entries.js new file mode 100644 index 00000000..cca5eaf1 --- /dev/null +++ b/node_modules/core-js/full/array/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/every.js b/node_modules/core-js/full/array/every.js new file mode 100644 index 00000000..d82e61dd --- /dev/null +++ b/node_modules/core-js/full/array/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/every'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/fill.js b/node_modules/core-js/full/array/fill.js new file mode 100644 index 00000000..7ed4273d --- /dev/null +++ b/node_modules/core-js/full/array/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/filter-out.js b/node_modules/core-js/full/array/filter-out.js new file mode 100644 index 00000000..21169a1c --- /dev/null +++ b/node_modules/core-js/full/array/filter-out.js @@ -0,0 +1,6 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.filter-out'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'filterOut'); diff --git a/node_modules/core-js/full/array/filter-reject.js b/node_modules/core-js/full/array/filter-reject.js new file mode 100644 index 00000000..b346de7e --- /dev/null +++ b/node_modules/core-js/full/array/filter-reject.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.array.filter-reject'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'filterReject'); diff --git a/node_modules/core-js/full/array/filter.js b/node_modules/core-js/full/array/filter.js new file mode 100644 index 00000000..910ac63a --- /dev/null +++ b/node_modules/core-js/full/array/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/find-index.js b/node_modules/core-js/full/array/find-index.js new file mode 100644 index 00000000..b3b00d6a --- /dev/null +++ b/node_modules/core-js/full/array/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/find-last-index.js b/node_modules/core-js/full/array/find-last-index.js new file mode 100644 index 00000000..6dbba159 --- /dev/null +++ b/node_modules/core-js/full/array/find-last-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/find-last-index'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/find-last.js b/node_modules/core-js/full/array/find-last.js new file mode 100644 index 00000000..60a41af8 --- /dev/null +++ b/node_modules/core-js/full/array/find-last.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/find-last'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/find.js b/node_modules/core-js/full/array/find.js new file mode 100644 index 00000000..48dfb637 --- /dev/null +++ b/node_modules/core-js/full/array/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/find'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/flat-map.js b/node_modules/core-js/full/array/flat-map.js new file mode 100644 index 00000000..f610ccd7 --- /dev/null +++ b/node_modules/core-js/full/array/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/flat.js b/node_modules/core-js/full/array/flat.js new file mode 100644 index 00000000..db1d5566 --- /dev/null +++ b/node_modules/core-js/full/array/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/for-each.js b/node_modules/core-js/full/array/for-each.js new file mode 100644 index 00000000..8b5c6840 --- /dev/null +++ b/node_modules/core-js/full/array/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/from-async.js b/node_modules/core-js/full/array/from-async.js new file mode 100644 index 00000000..667964a9 --- /dev/null +++ b/node_modules/core-js/full/array/from-async.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/from-async'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/from.js b/node_modules/core-js/full/array/from.js new file mode 100644 index 00000000..b6eda777 --- /dev/null +++ b/node_modules/core-js/full/array/from.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/from'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/group-by-to-map.js b/node_modules/core-js/full/array/group-by-to-map.js new file mode 100644 index 00000000..70ca4cc8 --- /dev/null +++ b/node_modules/core-js/full/array/group-by-to-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/group-by-to-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/group-by.js b/node_modules/core-js/full/array/group-by.js new file mode 100644 index 00000000..12da2650 --- /dev/null +++ b/node_modules/core-js/full/array/group-by.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/group-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/group-to-map.js b/node_modules/core-js/full/array/group-to-map.js new file mode 100644 index 00000000..46b881d1 --- /dev/null +++ b/node_modules/core-js/full/array/group-to-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/group-to-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/group.js b/node_modules/core-js/full/array/group.js new file mode 100644 index 00000000..597fe8ea --- /dev/null +++ b/node_modules/core-js/full/array/group.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/group'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/includes.js b/node_modules/core-js/full/array/includes.js new file mode 100644 index 00000000..445a9888 --- /dev/null +++ b/node_modules/core-js/full/array/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/index-of.js b/node_modules/core-js/full/array/index-of.js new file mode 100644 index 00000000..6974884b --- /dev/null +++ b/node_modules/core-js/full/array/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/index.js b/node_modules/core-js/full/array/index.js new file mode 100644 index 00000000..a6de170f --- /dev/null +++ b/node_modules/core-js/full/array/index.js @@ -0,0 +1,14 @@ +'use strict'; +var parent = require('../../actual/array'); +require('../../modules/es.map'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.at'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.array.filter-out'); +require('../../modules/esnext.array.filter-reject'); +require('../../modules/esnext.array.is-template-object'); +require('../../modules/esnext.array.last-item'); +require('../../modules/esnext.array.last-index'); +require('../../modules/esnext.array.unique-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/is-array.js b/node_modules/core-js/full/array/is-array.js new file mode 100644 index 00000000..5d277cb8 --- /dev/null +++ b/node_modules/core-js/full/array/is-array.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/is-array'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/is-template-object.js b/node_modules/core-js/full/array/is-template-object.js new file mode 100644 index 00000000..30fe977a --- /dev/null +++ b/node_modules/core-js/full/array/is-template-object.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.array.is-template-object'); +var path = require('../../internals/path'); + +module.exports = path.Array.isTemplateObject; diff --git a/node_modules/core-js/full/array/iterator.js b/node_modules/core-js/full/array/iterator.js new file mode 100644 index 00000000..3ab47e32 --- /dev/null +++ b/node_modules/core-js/full/array/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/join.js b/node_modules/core-js/full/array/join.js new file mode 100644 index 00000000..63f9458c --- /dev/null +++ b/node_modules/core-js/full/array/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/join'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/keys.js b/node_modules/core-js/full/array/keys.js new file mode 100644 index 00000000..fb0bfd25 --- /dev/null +++ b/node_modules/core-js/full/array/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/last-index-of.js b/node_modules/core-js/full/array/last-index-of.js new file mode 100644 index 00000000..c013671c --- /dev/null +++ b/node_modules/core-js/full/array/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/last-index.js b/node_modules/core-js/full/array/last-index.js new file mode 100644 index 00000000..2f49d082 --- /dev/null +++ b/node_modules/core-js/full/array/last-index.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.array.last-index'); diff --git a/node_modules/core-js/full/array/last-item.js b/node_modules/core-js/full/array/last-item.js new file mode 100644 index 00000000..be6b3d66 --- /dev/null +++ b/node_modules/core-js/full/array/last-item.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.array.last-item'); diff --git a/node_modules/core-js/full/array/map.js b/node_modules/core-js/full/array/map.js new file mode 100644 index 00000000..d26b99e7 --- /dev/null +++ b/node_modules/core-js/full/array/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/of.js b/node_modules/core-js/full/array/of.js new file mode 100644 index 00000000..ada7f025 --- /dev/null +++ b/node_modules/core-js/full/array/of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/push.js b/node_modules/core-js/full/array/push.js new file mode 100644 index 00000000..f0d432ab --- /dev/null +++ b/node_modules/core-js/full/array/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/push'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/reduce-right.js b/node_modules/core-js/full/array/reduce-right.js new file mode 100644 index 00000000..d060ec90 --- /dev/null +++ b/node_modules/core-js/full/array/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/reduce.js b/node_modules/core-js/full/array/reduce.js new file mode 100644 index 00000000..31389bd4 --- /dev/null +++ b/node_modules/core-js/full/array/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/reverse.js b/node_modules/core-js/full/array/reverse.js new file mode 100644 index 00000000..8841bf72 --- /dev/null +++ b/node_modules/core-js/full/array/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/slice.js b/node_modules/core-js/full/array/slice.js new file mode 100644 index 00000000..b113e06b --- /dev/null +++ b/node_modules/core-js/full/array/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/some.js b/node_modules/core-js/full/array/some.js new file mode 100644 index 00000000..21360ffc --- /dev/null +++ b/node_modules/core-js/full/array/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/some'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/sort.js b/node_modules/core-js/full/array/sort.js new file mode 100644 index 00000000..05edb2fc --- /dev/null +++ b/node_modules/core-js/full/array/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/splice.js b/node_modules/core-js/full/array/splice.js new file mode 100644 index 00000000..9bdd09c0 --- /dev/null +++ b/node_modules/core-js/full/array/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/to-reversed.js b/node_modules/core-js/full/array/to-reversed.js new file mode 100644 index 00000000..ac88cd18 --- /dev/null +++ b/node_modules/core-js/full/array/to-reversed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/to-sorted.js b/node_modules/core-js/full/array/to-sorted.js new file mode 100644 index 00000000..45e8491a --- /dev/null +++ b/node_modules/core-js/full/array/to-sorted.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/to-spliced.js b/node_modules/core-js/full/array/to-spliced.js new file mode 100644 index 00000000..219c3ef3 --- /dev/null +++ b/node_modules/core-js/full/array/to-spliced.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/unique-by.js b/node_modules/core-js/full/array/unique-by.js new file mode 100644 index 00000000..8bb3b36e --- /dev/null +++ b/node_modules/core-js/full/array/unique-by.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.array.unique-by'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'uniqueBy'); diff --git a/node_modules/core-js/full/array/unshift.js b/node_modules/core-js/full/array/unshift.js new file mode 100644 index 00000000..ab7ecb83 --- /dev/null +++ b/node_modules/core-js/full/array/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/values.js b/node_modules/core-js/full/array/values.js new file mode 100644 index 00000000..61ee0a97 --- /dev/null +++ b/node_modules/core-js/full/array/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/values'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/at.js b/node_modules/core-js/full/array/virtual/at.js new file mode 100644 index 00000000..3780e741 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/at.js @@ -0,0 +1,7 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/at'); + +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.at'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/concat.js b/node_modules/core-js/full/array/virtual/concat.js new file mode 100644 index 00000000..5909ae13 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/copy-within.js b/node_modules/core-js/full/array/virtual/copy-within.js new file mode 100644 index 00000000..da9f25b6 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/entries.js b/node_modules/core-js/full/array/virtual/entries.js new file mode 100644 index 00000000..e8d34082 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/every.js b/node_modules/core-js/full/array/virtual/every.js new file mode 100644 index 00000000..03650700 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/every'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/fill.js b/node_modules/core-js/full/array/virtual/fill.js new file mode 100644 index 00000000..7c554517 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/filter-out.js b/node_modules/core-js/full/array/virtual/filter-out.js new file mode 100644 index 00000000..7c98ac31 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/filter-out.js @@ -0,0 +1,6 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.filter-out'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').filterOut; diff --git a/node_modules/core-js/full/array/virtual/filter-reject.js b/node_modules/core-js/full/array/virtual/filter-reject.js new file mode 100644 index 00000000..e97cfc94 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/filter-reject.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/esnext.array.filter-reject'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').filterReject; diff --git a/node_modules/core-js/full/array/virtual/filter.js b/node_modules/core-js/full/array/virtual/filter.js new file mode 100644 index 00000000..f1f47135 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/find-index.js b/node_modules/core-js/full/array/virtual/find-index.js new file mode 100644 index 00000000..78f64de6 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/find-last-index.js b/node_modules/core-js/full/array/virtual/find-last-index.js new file mode 100644 index 00000000..d681c60c --- /dev/null +++ b/node_modules/core-js/full/array/virtual/find-last-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/find-last-index'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/find-last.js b/node_modules/core-js/full/array/virtual/find-last.js new file mode 100644 index 00000000..cbe5fd08 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/find-last.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/find-last'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/find.js b/node_modules/core-js/full/array/virtual/find.js new file mode 100644 index 00000000..fda73cbd --- /dev/null +++ b/node_modules/core-js/full/array/virtual/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/find'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/flat-map.js b/node_modules/core-js/full/array/virtual/flat-map.js new file mode 100644 index 00000000..4c95ebd3 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/flat.js b/node_modules/core-js/full/array/virtual/flat.js new file mode 100644 index 00000000..801557bf --- /dev/null +++ b/node_modules/core-js/full/array/virtual/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/for-each.js b/node_modules/core-js/full/array/virtual/for-each.js new file mode 100644 index 00000000..4f3c6b4b --- /dev/null +++ b/node_modules/core-js/full/array/virtual/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/group-by-to-map.js b/node_modules/core-js/full/array/virtual/group-by-to-map.js new file mode 100644 index 00000000..5ef4d2cc --- /dev/null +++ b/node_modules/core-js/full/array/virtual/group-by-to-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/group-by-to-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/group-by.js b/node_modules/core-js/full/array/virtual/group-by.js new file mode 100644 index 00000000..69cb4325 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/group-by.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/group-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/group-to-map.js b/node_modules/core-js/full/array/virtual/group-to-map.js new file mode 100644 index 00000000..f4003926 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/group-to-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/group-to-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/group.js b/node_modules/core-js/full/array/virtual/group.js new file mode 100644 index 00000000..e207bea3 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/group.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/group'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/includes.js b/node_modules/core-js/full/array/virtual/includes.js new file mode 100644 index 00000000..87036aad --- /dev/null +++ b/node_modules/core-js/full/array/virtual/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/index-of.js b/node_modules/core-js/full/array/virtual/index-of.js new file mode 100644 index 00000000..3bed9e33 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/index.js b/node_modules/core-js/full/array/virtual/index.js new file mode 100644 index 00000000..540a9c5e --- /dev/null +++ b/node_modules/core-js/full/array/virtual/index.js @@ -0,0 +1,10 @@ +'use strict'; +var parent = require('../../../actual/array/virtual'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.at'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.array.filter-out'); +require('../../../modules/esnext.array.filter-reject'); +require('../../../modules/esnext.array.unique-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/iterator.js b/node_modules/core-js/full/array/virtual/iterator.js new file mode 100644 index 00000000..7270ac13 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/join.js b/node_modules/core-js/full/array/virtual/join.js new file mode 100644 index 00000000..da77b621 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/join'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/keys.js b/node_modules/core-js/full/array/virtual/keys.js new file mode 100644 index 00000000..d0dac797 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/last-index-of.js b/node_modules/core-js/full/array/virtual/last-index-of.js new file mode 100644 index 00000000..255dbfcf --- /dev/null +++ b/node_modules/core-js/full/array/virtual/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/map.js b/node_modules/core-js/full/array/virtual/map.js new file mode 100644 index 00000000..4c48db41 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/push.js b/node_modules/core-js/full/array/virtual/push.js new file mode 100644 index 00000000..19e76ba5 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/push'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/reduce-right.js b/node_modules/core-js/full/array/virtual/reduce-right.js new file mode 100644 index 00000000..2af9769f --- /dev/null +++ b/node_modules/core-js/full/array/virtual/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/reduce.js b/node_modules/core-js/full/array/virtual/reduce.js new file mode 100644 index 00000000..db9f0882 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/reverse.js b/node_modules/core-js/full/array/virtual/reverse.js new file mode 100644 index 00000000..68e2e482 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/slice.js b/node_modules/core-js/full/array/virtual/slice.js new file mode 100644 index 00000000..3a592891 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/some.js b/node_modules/core-js/full/array/virtual/some.js new file mode 100644 index 00000000..629feb34 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/some'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/sort.js b/node_modules/core-js/full/array/virtual/sort.js new file mode 100644 index 00000000..c10bc939 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/splice.js b/node_modules/core-js/full/array/virtual/splice.js new file mode 100644 index 00000000..f0cf4445 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/to-reversed.js b/node_modules/core-js/full/array/virtual/to-reversed.js new file mode 100644 index 00000000..7e90ce03 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/to-reversed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/to-sorted.js b/node_modules/core-js/full/array/virtual/to-sorted.js new file mode 100644 index 00000000..d7c3698c --- /dev/null +++ b/node_modules/core-js/full/array/virtual/to-sorted.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/to-spliced.js b/node_modules/core-js/full/array/virtual/to-spliced.js new file mode 100644 index 00000000..f8abf12d --- /dev/null +++ b/node_modules/core-js/full/array/virtual/to-spliced.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/unique-by.js b/node_modules/core-js/full/array/virtual/unique-by.js new file mode 100644 index 00000000..f22ad307 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/unique-by.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../../modules/es.map'); +require('../../../modules/esnext.array.unique-by'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Array').uniqueBy; diff --git a/node_modules/core-js/full/array/virtual/unshift.js b/node_modules/core-js/full/array/virtual/unshift.js new file mode 100644 index 00000000..20c10225 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/values.js b/node_modules/core-js/full/array/virtual/values.js new file mode 100644 index 00000000..d88e6f48 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/values'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/virtual/with.js b/node_modules/core-js/full/array/virtual/with.js new file mode 100644 index 00000000..51abc802 --- /dev/null +++ b/node_modules/core-js/full/array/virtual/with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/array/virtual/with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/array/with.js b/node_modules/core-js/full/array/with.js new file mode 100644 index 00000000..71c9c573 --- /dev/null +++ b/node_modules/core-js/full/array/with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/array/with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-disposable-stack/constructor.js b/node_modules/core-js/full/async-disposable-stack/constructor.js new file mode 100644 index 00000000..97269710 --- /dev/null +++ b/node_modules/core-js/full/async-disposable-stack/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-disposable-stack/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-disposable-stack/index.js b/node_modules/core-js/full/async-disposable-stack/index.js new file mode 100644 index 00000000..59583536 --- /dev/null +++ b/node_modules/core-js/full/async-disposable-stack/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-disposable-stack'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/as-indexed-pairs.js b/node_modules/core-js/full/async-iterator/as-indexed-pairs.js new file mode 100644 index 00000000..0dee7208 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/as-indexed-pairs.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.as-indexed-pairs'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'asIndexedPairs'); diff --git a/node_modules/core-js/full/async-iterator/async-dispose.js b/node_modules/core-js/full/async-iterator/async-dispose.js new file mode 100644 index 00000000..fb92148b --- /dev/null +++ b/node_modules/core-js/full/async-iterator/async-dispose.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/async-dispose'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/drop.js b/node_modules/core-js/full/async-iterator/drop.js new file mode 100644 index 00000000..7b3e510e --- /dev/null +++ b/node_modules/core-js/full/async-iterator/drop.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/drop'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/every.js b/node_modules/core-js/full/async-iterator/every.js new file mode 100644 index 00000000..22304e4a --- /dev/null +++ b/node_modules/core-js/full/async-iterator/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/every'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/filter.js b/node_modules/core-js/full/async-iterator/filter.js new file mode 100644 index 00000000..b50edd68 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/find.js b/node_modules/core-js/full/async-iterator/find.js new file mode 100644 index 00000000..9288425c --- /dev/null +++ b/node_modules/core-js/full/async-iterator/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/find'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/flat-map.js b/node_modules/core-js/full/async-iterator/flat-map.js new file mode 100644 index 00000000..8ec86565 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/for-each.js b/node_modules/core-js/full/async-iterator/for-each.js new file mode 100644 index 00000000..ae36f430 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/from.js b/node_modules/core-js/full/async-iterator/from.js new file mode 100644 index 00000000..3023df90 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/from.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/from'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/index.js b/node_modules/core-js/full/async-iterator/index.js new file mode 100644 index 00000000..2f8a40e2 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/index.js @@ -0,0 +1,7 @@ +'use strict'; +var parent = require('../../actual/async-iterator'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.async-iterator.as-indexed-pairs'); +require('../../modules/esnext.async-iterator.indexed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/indexed.js b/node_modules/core-js/full/async-iterator/indexed.js new file mode 100644 index 00000000..915bf46b --- /dev/null +++ b/node_modules/core-js/full/async-iterator/indexed.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/es.object.to-string'); +require('../../modules/es.promise'); +require('../../modules/esnext.async-iterator.constructor'); +require('../../modules/esnext.async-iterator.indexed'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('AsyncIterator', 'indexed'); diff --git a/node_modules/core-js/full/async-iterator/map.js b/node_modules/core-js/full/async-iterator/map.js new file mode 100644 index 00000000..516dd535 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/reduce.js b/node_modules/core-js/full/async-iterator/reduce.js new file mode 100644 index 00000000..eedfb776 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/some.js b/node_modules/core-js/full/async-iterator/some.js new file mode 100644 index 00000000..aec975a8 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/some'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/take.js b/node_modules/core-js/full/async-iterator/take.js new file mode 100644 index 00000000..b9212029 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/take.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/take'); + +module.exports = parent; diff --git a/node_modules/core-js/full/async-iterator/to-array.js b/node_modules/core-js/full/async-iterator/to-array.js new file mode 100644 index 00000000..df3bad61 --- /dev/null +++ b/node_modules/core-js/full/async-iterator/to-array.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/async-iterator/to-array'); + +module.exports = parent; diff --git a/node_modules/core-js/full/atob.js b/node_modules/core-js/full/atob.js new file mode 100644 index 00000000..b1331567 --- /dev/null +++ b/node_modules/core-js/full/atob.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/atob'); + +module.exports = parent; diff --git a/node_modules/core-js/full/bigint/index.js b/node_modules/core-js/full/bigint/index.js new file mode 100644 index 00000000..f00d8354 --- /dev/null +++ b/node_modules/core-js/full/bigint/index.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.bigint.range'); +var BigInt = require('../../internals/path').BigInt; + +module.exports = BigInt; diff --git a/node_modules/core-js/full/bigint/range.js b/node_modules/core-js/full/bigint/range.js new file mode 100644 index 00000000..dac08486 --- /dev/null +++ b/node_modules/core-js/full/bigint/range.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.bigint.range'); +var BigInt = require('../../internals/path').BigInt; + +module.exports = BigInt && BigInt.range; diff --git a/node_modules/core-js/full/btoa.js b/node_modules/core-js/full/btoa.js new file mode 100644 index 00000000..6dc6cdf7 --- /dev/null +++ b/node_modules/core-js/full/btoa.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/btoa'); + +module.exports = parent; diff --git a/node_modules/core-js/full/clear-immediate.js b/node_modules/core-js/full/clear-immediate.js new file mode 100644 index 00000000..34408f31 --- /dev/null +++ b/node_modules/core-js/full/clear-immediate.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/clear-immediate'); + +module.exports = parent; diff --git a/node_modules/core-js/full/composite-key.js b/node_modules/core-js/full/composite-key.js new file mode 100644 index 00000000..6da3f57b --- /dev/null +++ b/node_modules/core-js/full/composite-key.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/esnext.composite-key'); +var path = require('../internals/path'); + +module.exports = path.compositeKey; diff --git a/node_modules/core-js/full/composite-symbol.js b/node_modules/core-js/full/composite-symbol.js new file mode 100644 index 00000000..50b220cf --- /dev/null +++ b/node_modules/core-js/full/composite-symbol.js @@ -0,0 +1,6 @@ +'use strict'; +require('../modules/es.symbol'); +require('../modules/esnext.composite-symbol'); +var path = require('../internals/path'); + +module.exports = path.compositeSymbol; diff --git a/node_modules/core-js/full/data-view/get-float16.js b/node_modules/core-js/full/data-view/get-float16.js new file mode 100644 index 00000000..03caa59c --- /dev/null +++ b/node_modules/core-js/full/data-view/get-float16.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/data-view/get-float16'); + +module.exports = parent; diff --git a/node_modules/core-js/full/data-view/get-uint8-clamped.js b/node_modules/core-js/full/data-view/get-uint8-clamped.js new file mode 100644 index 00000000..8311c07c --- /dev/null +++ b/node_modules/core-js/full/data-view/get-uint8-clamped.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.data-view.get-uint8-clamped'); diff --git a/node_modules/core-js/full/data-view/index.js b/node_modules/core-js/full/data-view/index.js new file mode 100644 index 00000000..18d16c42 --- /dev/null +++ b/node_modules/core-js/full/data-view/index.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('../../actual/data-view'); +require('../../modules/esnext.data-view.get-uint8-clamped'); +require('../../modules/esnext.data-view.set-uint8-clamped'); + +module.exports = parent; diff --git a/node_modules/core-js/full/data-view/set-float16.js b/node_modules/core-js/full/data-view/set-float16.js new file mode 100644 index 00000000..e884df94 --- /dev/null +++ b/node_modules/core-js/full/data-view/set-float16.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/data-view/set-float16'); + +module.exports = parent; diff --git a/node_modules/core-js/full/data-view/set-uint8-clamped.js b/node_modules/core-js/full/data-view/set-uint8-clamped.js new file mode 100644 index 00000000..e2bbae26 --- /dev/null +++ b/node_modules/core-js/full/data-view/set-uint8-clamped.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.data-view.set-uint8-clamped'); diff --git a/node_modules/core-js/full/date/get-year.js b/node_modules/core-js/full/date/get-year.js new file mode 100644 index 00000000..4ef2dc15 --- /dev/null +++ b/node_modules/core-js/full/date/get-year.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date/get-year'); + +module.exports = parent; diff --git a/node_modules/core-js/full/date/index.js b/node_modules/core-js/full/date/index.js new file mode 100644 index 00000000..4077bdea --- /dev/null +++ b/node_modules/core-js/full/date/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date'); + +module.exports = parent; diff --git a/node_modules/core-js/full/date/now.js b/node_modules/core-js/full/date/now.js new file mode 100644 index 00000000..87da6389 --- /dev/null +++ b/node_modules/core-js/full/date/now.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date/now'); + +module.exports = parent; diff --git a/node_modules/core-js/full/date/set-year.js b/node_modules/core-js/full/date/set-year.js new file mode 100644 index 00000000..79c0ab3b --- /dev/null +++ b/node_modules/core-js/full/date/set-year.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date/set-year'); + +module.exports = parent; diff --git a/node_modules/core-js/full/date/to-gmt-string.js b/node_modules/core-js/full/date/to-gmt-string.js new file mode 100644 index 00000000..53aa6279 --- /dev/null +++ b/node_modules/core-js/full/date/to-gmt-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date/to-gmt-string'); + +module.exports = parent; diff --git a/node_modules/core-js/full/date/to-iso-string.js b/node_modules/core-js/full/date/to-iso-string.js new file mode 100644 index 00000000..c8041d0c --- /dev/null +++ b/node_modules/core-js/full/date/to-iso-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date/to-iso-string'); + +module.exports = parent; diff --git a/node_modules/core-js/full/date/to-json.js b/node_modules/core-js/full/date/to-json.js new file mode 100644 index 00000000..d80c14a3 --- /dev/null +++ b/node_modules/core-js/full/date/to-json.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date/to-json'); + +module.exports = parent; diff --git a/node_modules/core-js/full/date/to-primitive.js b/node_modules/core-js/full/date/to-primitive.js new file mode 100644 index 00000000..7e8094e3 --- /dev/null +++ b/node_modules/core-js/full/date/to-primitive.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date/to-primitive'); + +module.exports = parent; diff --git a/node_modules/core-js/full/date/to-string.js b/node_modules/core-js/full/date/to-string.js new file mode 100644 index 00000000..15f29035 --- /dev/null +++ b/node_modules/core-js/full/date/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/date/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/full/disposable-stack/constructor.js b/node_modules/core-js/full/disposable-stack/constructor.js new file mode 100644 index 00000000..4ee0a30f --- /dev/null +++ b/node_modules/core-js/full/disposable-stack/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/disposable-stack/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/disposable-stack/index.js b/node_modules/core-js/full/disposable-stack/index.js new file mode 100644 index 00000000..a0c0de99 --- /dev/null +++ b/node_modules/core-js/full/disposable-stack/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/disposable-stack'); + +module.exports = parent; diff --git a/node_modules/core-js/full/dom-collections/for-each.js b/node_modules/core-js/full/dom-collections/for-each.js new file mode 100644 index 00000000..5172d595 --- /dev/null +++ b/node_modules/core-js/full/dom-collections/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/dom-collections/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/full/dom-collections/index.js b/node_modules/core-js/full/dom-collections/index.js new file mode 100644 index 00000000..12395180 --- /dev/null +++ b/node_modules/core-js/full/dom-collections/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/dom-collections'); + +module.exports = parent; diff --git a/node_modules/core-js/full/dom-collections/iterator.js b/node_modules/core-js/full/dom-collections/iterator.js new file mode 100644 index 00000000..8c31637a --- /dev/null +++ b/node_modules/core-js/full/dom-collections/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/dom-collections/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/dom-exception/constructor.js b/node_modules/core-js/full/dom-exception/constructor.js new file mode 100644 index 00000000..873ebbf8 --- /dev/null +++ b/node_modules/core-js/full/dom-exception/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/dom-exception/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/dom-exception/index.js b/node_modules/core-js/full/dom-exception/index.js new file mode 100644 index 00000000..31290fcd --- /dev/null +++ b/node_modules/core-js/full/dom-exception/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/dom-exception'); + +module.exports = parent; diff --git a/node_modules/core-js/full/dom-exception/to-string-tag.js b/node_modules/core-js/full/dom-exception/to-string-tag.js new file mode 100644 index 00000000..50261b60 --- /dev/null +++ b/node_modules/core-js/full/dom-exception/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/dom-exception/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/full/error/constructor.js b/node_modules/core-js/full/error/constructor.js new file mode 100644 index 00000000..26a72a6c --- /dev/null +++ b/node_modules/core-js/full/error/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/error/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/error/index.js b/node_modules/core-js/full/error/index.js new file mode 100644 index 00000000..1885dea8 --- /dev/null +++ b/node_modules/core-js/full/error/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/error'); + +module.exports = parent; diff --git a/node_modules/core-js/full/error/to-string.js b/node_modules/core-js/full/error/to-string.js new file mode 100644 index 00000000..1b330525 --- /dev/null +++ b/node_modules/core-js/full/error/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/error/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/full/escape.js b/node_modules/core-js/full/escape.js new file mode 100644 index 00000000..6648b3a2 --- /dev/null +++ b/node_modules/core-js/full/escape.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/escape'); + +module.exports = parent; diff --git a/node_modules/core-js/full/function/bind.js b/node_modules/core-js/full/function/bind.js new file mode 100644 index 00000000..33687e0c --- /dev/null +++ b/node_modules/core-js/full/function/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/function/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/full/function/demethodize.js b/node_modules/core-js/full/function/demethodize.js new file mode 100644 index 00000000..6e96aa1e --- /dev/null +++ b/node_modules/core-js/full/function/demethodize.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.function.demethodize'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Function', 'demethodize'); diff --git a/node_modules/core-js/full/function/has-instance.js b/node_modules/core-js/full/function/has-instance.js new file mode 100644 index 00000000..12219cbe --- /dev/null +++ b/node_modules/core-js/full/function/has-instance.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/function/has-instance'); + +module.exports = parent; diff --git a/node_modules/core-js/full/function/index.js b/node_modules/core-js/full/function/index.js new file mode 100644 index 00000000..4ecdac5c --- /dev/null +++ b/node_modules/core-js/full/function/index.js @@ -0,0 +1,9 @@ +'use strict'; +var parent = require('../../actual/function'); +require('../../modules/esnext.function.demethodize'); +require('../../modules/esnext.function.is-callable'); +require('../../modules/esnext.function.is-constructor'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.function.un-this'); + +module.exports = parent; diff --git a/node_modules/core-js/full/function/is-callable.js b/node_modules/core-js/full/function/is-callable.js new file mode 100644 index 00000000..e481b3cc --- /dev/null +++ b/node_modules/core-js/full/function/is-callable.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.function.is-callable'); +var path = require('../../internals/path'); + +module.exports = path.Function.isCallable; diff --git a/node_modules/core-js/full/function/is-constructor.js b/node_modules/core-js/full/function/is-constructor.js new file mode 100644 index 00000000..7256eac3 --- /dev/null +++ b/node_modules/core-js/full/function/is-constructor.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.function.is-constructor'); +var path = require('../../internals/path'); + +module.exports = path.Function.isConstructor; diff --git a/node_modules/core-js/full/function/metadata.js b/node_modules/core-js/full/function/metadata.js new file mode 100644 index 00000000..5b33d152 --- /dev/null +++ b/node_modules/core-js/full/function/metadata.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/function/metadata'); + +module.exports = parent; diff --git a/node_modules/core-js/full/function/name.js b/node_modules/core-js/full/function/name.js new file mode 100644 index 00000000..80daa2d6 --- /dev/null +++ b/node_modules/core-js/full/function/name.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/function/name'); + +module.exports = parent; diff --git a/node_modules/core-js/full/function/un-this.js b/node_modules/core-js/full/function/un-this.js new file mode 100644 index 00000000..a9561ca1 --- /dev/null +++ b/node_modules/core-js/full/function/un-this.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.function.un-this'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Function', 'unThis'); diff --git a/node_modules/core-js/full/function/virtual/bind.js b/node_modules/core-js/full/function/virtual/bind.js new file mode 100644 index 00000000..2262d5f9 --- /dev/null +++ b/node_modules/core-js/full/function/virtual/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/function/virtual/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/full/function/virtual/demethodize.js b/node_modules/core-js/full/function/virtual/demethodize.js new file mode 100644 index 00000000..97330d10 --- /dev/null +++ b/node_modules/core-js/full/function/virtual/demethodize.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/esnext.function.demethodize'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Function').demethodize; diff --git a/node_modules/core-js/full/function/virtual/index.js b/node_modules/core-js/full/function/virtual/index.js new file mode 100644 index 00000000..76d59520 --- /dev/null +++ b/node_modules/core-js/full/function/virtual/index.js @@ -0,0 +1,7 @@ +'use strict'; +var parent = require('../../../actual/function/virtual'); +require('../../../modules/esnext.function.demethodize'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.function.un-this'); + +module.exports = parent; diff --git a/node_modules/core-js/full/function/virtual/un-this.js b/node_modules/core-js/full/function/virtual/un-this.js new file mode 100644 index 00000000..7752c788 --- /dev/null +++ b/node_modules/core-js/full/function/virtual/un-this.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/esnext.function.un-this'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('Function').unThis; diff --git a/node_modules/core-js/full/get-iterator-method.js b/node_modules/core-js/full/get-iterator-method.js new file mode 100644 index 00000000..803708e9 --- /dev/null +++ b/node_modules/core-js/full/get-iterator-method.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/get-iterator-method'); + +module.exports = parent; diff --git a/node_modules/core-js/full/get-iterator.js b/node_modules/core-js/full/get-iterator.js new file mode 100644 index 00000000..d22ebe33 --- /dev/null +++ b/node_modules/core-js/full/get-iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/get-iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/global-this.js b/node_modules/core-js/full/global-this.js new file mode 100644 index 00000000..fd3dec9b --- /dev/null +++ b/node_modules/core-js/full/global-this.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../modules/esnext.global-this'); + +var parent = require('../actual/global-this'); + +module.exports = parent; diff --git a/node_modules/core-js/full/index.js b/node_modules/core-js/full/index.js new file mode 100644 index 00000000..b3cbe864 --- /dev/null +++ b/node_modules/core-js/full/index.js @@ -0,0 +1,460 @@ +'use strict'; +require('../modules/es.symbol'); +require('../modules/es.symbol.description'); +require('../modules/es.symbol.async-iterator'); +require('../modules/es.symbol.has-instance'); +require('../modules/es.symbol.is-concat-spreadable'); +require('../modules/es.symbol.iterator'); +require('../modules/es.symbol.match'); +require('../modules/es.symbol.match-all'); +require('../modules/es.symbol.replace'); +require('../modules/es.symbol.search'); +require('../modules/es.symbol.species'); +require('../modules/es.symbol.split'); +require('../modules/es.symbol.to-primitive'); +require('../modules/es.symbol.to-string-tag'); +require('../modules/es.symbol.unscopables'); +require('../modules/es.error.cause'); +require('../modules/es.error.to-string'); +require('../modules/es.aggregate-error'); +require('../modules/es.aggregate-error.cause'); +require('../modules/es.array.at'); +require('../modules/es.array.concat'); +require('../modules/es.array.copy-within'); +require('../modules/es.array.every'); +require('../modules/es.array.fill'); +require('../modules/es.array.filter'); +require('../modules/es.array.find'); +require('../modules/es.array.find-index'); +require('../modules/es.array.find-last'); +require('../modules/es.array.find-last-index'); +require('../modules/es.array.flat'); +require('../modules/es.array.flat-map'); +require('../modules/es.array.for-each'); +require('../modules/es.array.from'); +require('../modules/es.array.includes'); +require('../modules/es.array.index-of'); +require('../modules/es.array.is-array'); +require('../modules/es.array.iterator'); +require('../modules/es.array.join'); +require('../modules/es.array.last-index-of'); +require('../modules/es.array.map'); +require('../modules/es.array.of'); +require('../modules/es.array.push'); +require('../modules/es.array.reduce'); +require('../modules/es.array.reduce-right'); +require('../modules/es.array.reverse'); +require('../modules/es.array.slice'); +require('../modules/es.array.some'); +require('../modules/es.array.sort'); +require('../modules/es.array.species'); +require('../modules/es.array.splice'); +require('../modules/es.array.to-reversed'); +require('../modules/es.array.to-sorted'); +require('../modules/es.array.to-spliced'); +require('../modules/es.array.unscopables.flat'); +require('../modules/es.array.unscopables.flat-map'); +require('../modules/es.array.unshift'); +require('../modules/es.array.with'); +require('../modules/es.array-buffer.constructor'); +require('../modules/es.array-buffer.is-view'); +require('../modules/es.array-buffer.slice'); +require('../modules/es.data-view'); +require('../modules/es.date.get-year'); +require('../modules/es.date.now'); +require('../modules/es.date.set-year'); +require('../modules/es.date.to-gmt-string'); +require('../modules/es.date.to-iso-string'); +require('../modules/es.date.to-json'); +require('../modules/es.date.to-primitive'); +require('../modules/es.date.to-string'); +require('../modules/es.escape'); +require('../modules/es.function.bind'); +require('../modules/es.function.has-instance'); +require('../modules/es.function.name'); +require('../modules/es.global-this'); +require('../modules/es.json.stringify'); +require('../modules/es.json.to-string-tag'); +require('../modules/es.map'); +require('../modules/es.math.acosh'); +require('../modules/es.math.asinh'); +require('../modules/es.math.atanh'); +require('../modules/es.math.cbrt'); +require('../modules/es.math.clz32'); +require('../modules/es.math.cosh'); +require('../modules/es.math.expm1'); +require('../modules/es.math.fround'); +require('../modules/es.math.hypot'); +require('../modules/es.math.imul'); +require('../modules/es.math.log10'); +require('../modules/es.math.log1p'); +require('../modules/es.math.log2'); +require('../modules/es.math.sign'); +require('../modules/es.math.sinh'); +require('../modules/es.math.tanh'); +require('../modules/es.math.to-string-tag'); +require('../modules/es.math.trunc'); +require('../modules/es.number.constructor'); +require('../modules/es.number.epsilon'); +require('../modules/es.number.is-finite'); +require('../modules/es.number.is-integer'); +require('../modules/es.number.is-nan'); +require('../modules/es.number.is-safe-integer'); +require('../modules/es.number.max-safe-integer'); +require('../modules/es.number.min-safe-integer'); +require('../modules/es.number.parse-float'); +require('../modules/es.number.parse-int'); +require('../modules/es.number.to-exponential'); +require('../modules/es.number.to-fixed'); +require('../modules/es.number.to-precision'); +require('../modules/es.object.assign'); +require('../modules/es.object.create'); +require('../modules/es.object.define-getter'); +require('../modules/es.object.define-properties'); +require('../modules/es.object.define-property'); +require('../modules/es.object.define-setter'); +require('../modules/es.object.entries'); +require('../modules/es.object.freeze'); +require('../modules/es.object.from-entries'); +require('../modules/es.object.get-own-property-descriptor'); +require('../modules/es.object.get-own-property-descriptors'); +require('../modules/es.object.get-own-property-names'); +require('../modules/es.object.get-prototype-of'); +require('../modules/es.object.has-own'); +require('../modules/es.object.is'); +require('../modules/es.object.is-extensible'); +require('../modules/es.object.is-frozen'); +require('../modules/es.object.is-sealed'); +require('../modules/es.object.keys'); +require('../modules/es.object.lookup-getter'); +require('../modules/es.object.lookup-setter'); +require('../modules/es.object.prevent-extensions'); +require('../modules/es.object.proto'); +require('../modules/es.object.seal'); +require('../modules/es.object.set-prototype-of'); +require('../modules/es.object.to-string'); +require('../modules/es.object.values'); +require('../modules/es.parse-float'); +require('../modules/es.parse-int'); +require('../modules/es.promise'); +require('../modules/es.promise.all-settled'); +require('../modules/es.promise.any'); +require('../modules/es.promise.finally'); +require('../modules/es.reflect.apply'); +require('../modules/es.reflect.construct'); +require('../modules/es.reflect.define-property'); +require('../modules/es.reflect.delete-property'); +require('../modules/es.reflect.get'); +require('../modules/es.reflect.get-own-property-descriptor'); +require('../modules/es.reflect.get-prototype-of'); +require('../modules/es.reflect.has'); +require('../modules/es.reflect.is-extensible'); +require('../modules/es.reflect.own-keys'); +require('../modules/es.reflect.prevent-extensions'); +require('../modules/es.reflect.set'); +require('../modules/es.reflect.set-prototype-of'); +require('../modules/es.reflect.to-string-tag'); +require('../modules/es.regexp.constructor'); +require('../modules/es.regexp.dot-all'); +require('../modules/es.regexp.exec'); +require('../modules/es.regexp.flags'); +require('../modules/es.regexp.sticky'); +require('../modules/es.regexp.test'); +require('../modules/es.regexp.to-string'); +require('../modules/es.set'); +require('../modules/es.string.at-alternative'); +require('../modules/es.string.code-point-at'); +require('../modules/es.string.ends-with'); +require('../modules/es.string.from-code-point'); +require('../modules/es.string.includes'); +require('../modules/es.string.is-well-formed'); +require('../modules/es.string.iterator'); +require('../modules/es.string.match'); +require('../modules/es.string.match-all'); +require('../modules/es.string.pad-end'); +require('../modules/es.string.pad-start'); +require('../modules/es.string.raw'); +require('../modules/es.string.repeat'); +require('../modules/es.string.replace'); +require('../modules/es.string.replace-all'); +require('../modules/es.string.search'); +require('../modules/es.string.split'); +require('../modules/es.string.starts-with'); +require('../modules/es.string.substr'); +require('../modules/es.string.to-well-formed'); +require('../modules/es.string.trim'); +require('../modules/es.string.trim-end'); +require('../modules/es.string.trim-start'); +require('../modules/es.string.anchor'); +require('../modules/es.string.big'); +require('../modules/es.string.blink'); +require('../modules/es.string.bold'); +require('../modules/es.string.fixed'); +require('../modules/es.string.fontcolor'); +require('../modules/es.string.fontsize'); +require('../modules/es.string.italics'); +require('../modules/es.string.link'); +require('../modules/es.string.small'); +require('../modules/es.string.strike'); +require('../modules/es.string.sub'); +require('../modules/es.string.sup'); +require('../modules/es.typed-array.float32-array'); +require('../modules/es.typed-array.float64-array'); +require('../modules/es.typed-array.int8-array'); +require('../modules/es.typed-array.int16-array'); +require('../modules/es.typed-array.int32-array'); +require('../modules/es.typed-array.uint8-array'); +require('../modules/es.typed-array.uint8-clamped-array'); +require('../modules/es.typed-array.uint16-array'); +require('../modules/es.typed-array.uint32-array'); +require('../modules/es.typed-array.at'); +require('../modules/es.typed-array.copy-within'); +require('../modules/es.typed-array.every'); +require('../modules/es.typed-array.fill'); +require('../modules/es.typed-array.filter'); +require('../modules/es.typed-array.find'); +require('../modules/es.typed-array.find-index'); +require('../modules/es.typed-array.find-last'); +require('../modules/es.typed-array.find-last-index'); +require('../modules/es.typed-array.for-each'); +require('../modules/es.typed-array.from'); +require('../modules/es.typed-array.includes'); +require('../modules/es.typed-array.index-of'); +require('../modules/es.typed-array.iterator'); +require('../modules/es.typed-array.join'); +require('../modules/es.typed-array.last-index-of'); +require('../modules/es.typed-array.map'); +require('../modules/es.typed-array.of'); +require('../modules/es.typed-array.reduce'); +require('../modules/es.typed-array.reduce-right'); +require('../modules/es.typed-array.reverse'); +require('../modules/es.typed-array.set'); +require('../modules/es.typed-array.slice'); +require('../modules/es.typed-array.some'); +require('../modules/es.typed-array.sort'); +require('../modules/es.typed-array.subarray'); +require('../modules/es.typed-array.to-locale-string'); +require('../modules/es.typed-array.to-reversed'); +require('../modules/es.typed-array.to-sorted'); +require('../modules/es.typed-array.to-string'); +require('../modules/es.typed-array.with'); +require('../modules/es.unescape'); +require('../modules/es.weak-map'); +require('../modules/es.weak-set'); +require('../modules/esnext.aggregate-error'); +require('../modules/esnext.suppressed-error.constructor'); +require('../modules/esnext.array.from-async'); +require('../modules/esnext.array.at'); +require('../modules/esnext.array.filter-out'); +require('../modules/esnext.array.filter-reject'); +require('../modules/esnext.array.find-last'); +require('../modules/esnext.array.find-last-index'); +require('../modules/esnext.array.group'); +require('../modules/esnext.array.group-by'); +require('../modules/esnext.array.group-by-to-map'); +require('../modules/esnext.array.group-to-map'); +require('../modules/esnext.array.is-template-object'); +require('../modules/esnext.array.last-index'); +require('../modules/esnext.array.last-item'); +require('../modules/esnext.array.to-reversed'); +require('../modules/esnext.array.to-sorted'); +require('../modules/esnext.array.to-spliced'); +require('../modules/esnext.array.unique-by'); +require('../modules/esnext.array.with'); +require('../modules/esnext.array-buffer.detached'); +require('../modules/esnext.array-buffer.transfer'); +require('../modules/esnext.array-buffer.transfer-to-fixed-length'); +require('../modules/esnext.async-disposable-stack.constructor'); +require('../modules/esnext.async-iterator.constructor'); +require('../modules/esnext.async-iterator.as-indexed-pairs'); +require('../modules/esnext.async-iterator.async-dispose'); +require('../modules/esnext.async-iterator.drop'); +require('../modules/esnext.async-iterator.every'); +require('../modules/esnext.async-iterator.filter'); +require('../modules/esnext.async-iterator.find'); +require('../modules/esnext.async-iterator.flat-map'); +require('../modules/esnext.async-iterator.for-each'); +require('../modules/esnext.async-iterator.from'); +require('../modules/esnext.async-iterator.indexed'); +require('../modules/esnext.async-iterator.map'); +require('../modules/esnext.async-iterator.reduce'); +require('../modules/esnext.async-iterator.some'); +require('../modules/esnext.async-iterator.take'); +require('../modules/esnext.async-iterator.to-array'); +require('../modules/esnext.bigint.range'); +require('../modules/esnext.composite-key'); +require('../modules/esnext.composite-symbol'); +require('../modules/esnext.data-view.get-float16'); +require('../modules/esnext.data-view.get-uint8-clamped'); +require('../modules/esnext.data-view.set-float16'); +require('../modules/esnext.data-view.set-uint8-clamped'); +require('../modules/esnext.disposable-stack.constructor'); +require('../modules/esnext.function.demethodize'); +require('../modules/esnext.function.is-callable'); +require('../modules/esnext.function.is-constructor'); +require('../modules/esnext.function.metadata'); +require('../modules/esnext.function.un-this'); +require('../modules/esnext.global-this'); +require('../modules/esnext.iterator.constructor'); +require('../modules/esnext.iterator.as-indexed-pairs'); +require('../modules/esnext.iterator.dispose'); +require('../modules/esnext.iterator.drop'); +require('../modules/esnext.iterator.every'); +require('../modules/esnext.iterator.filter'); +require('../modules/esnext.iterator.find'); +require('../modules/esnext.iterator.flat-map'); +require('../modules/esnext.iterator.for-each'); +require('../modules/esnext.iterator.from'); +require('../modules/esnext.iterator.indexed'); +require('../modules/esnext.iterator.map'); +require('../modules/esnext.iterator.range'); +require('../modules/esnext.iterator.reduce'); +require('../modules/esnext.iterator.some'); +require('../modules/esnext.iterator.take'); +require('../modules/esnext.iterator.to-array'); +require('../modules/esnext.iterator.to-async'); +require('../modules/esnext.json.is-raw-json'); +require('../modules/esnext.json.parse'); +require('../modules/esnext.json.raw-json'); +require('../modules/esnext.map.delete-all'); +require('../modules/esnext.map.emplace'); +require('../modules/esnext.map.every'); +require('../modules/esnext.map.filter'); +require('../modules/esnext.map.find'); +require('../modules/esnext.map.find-key'); +require('../modules/esnext.map.from'); +require('../modules/esnext.map.group-by'); +require('../modules/esnext.map.includes'); +require('../modules/esnext.map.key-by'); +require('../modules/esnext.map.key-of'); +require('../modules/esnext.map.map-keys'); +require('../modules/esnext.map.map-values'); +require('../modules/esnext.map.merge'); +require('../modules/esnext.map.of'); +require('../modules/esnext.map.reduce'); +require('../modules/esnext.map.some'); +require('../modules/esnext.map.update'); +require('../modules/esnext.map.update-or-insert'); +require('../modules/esnext.map.upsert'); +require('../modules/esnext.math.clamp'); +require('../modules/esnext.math.deg-per-rad'); +require('../modules/esnext.math.degrees'); +require('../modules/esnext.math.fscale'); +require('../modules/esnext.math.f16round'); +require('../modules/esnext.math.iaddh'); +require('../modules/esnext.math.imulh'); +require('../modules/esnext.math.isubh'); +require('../modules/esnext.math.rad-per-deg'); +require('../modules/esnext.math.radians'); +require('../modules/esnext.math.scale'); +require('../modules/esnext.math.seeded-prng'); +require('../modules/esnext.math.signbit'); +require('../modules/esnext.math.umulh'); +require('../modules/esnext.number.from-string'); +require('../modules/esnext.number.range'); +require('../modules/esnext.object.has-own'); +require('../modules/esnext.object.iterate-entries'); +require('../modules/esnext.object.iterate-keys'); +require('../modules/esnext.object.iterate-values'); +require('../modules/esnext.object.group-by'); +require('../modules/esnext.observable'); +require('../modules/esnext.promise.all-settled'); +require('../modules/esnext.promise.any'); +require('../modules/esnext.promise.try'); +require('../modules/esnext.promise.with-resolvers'); +require('../modules/esnext.reflect.define-metadata'); +require('../modules/esnext.reflect.delete-metadata'); +require('../modules/esnext.reflect.get-metadata'); +require('../modules/esnext.reflect.get-metadata-keys'); +require('../modules/esnext.reflect.get-own-metadata'); +require('../modules/esnext.reflect.get-own-metadata-keys'); +require('../modules/esnext.reflect.has-metadata'); +require('../modules/esnext.reflect.has-own-metadata'); +require('../modules/esnext.reflect.metadata'); +require('../modules/esnext.set.add-all'); +require('../modules/esnext.set.delete-all'); +require('../modules/esnext.set.difference.v2'); +require('../modules/esnext.set.difference'); +require('../modules/esnext.set.every'); +require('../modules/esnext.set.filter'); +require('../modules/esnext.set.find'); +require('../modules/esnext.set.from'); +require('../modules/esnext.set.intersection.v2'); +require('../modules/esnext.set.intersection'); +require('../modules/esnext.set.is-disjoint-from.v2'); +require('../modules/esnext.set.is-disjoint-from'); +require('../modules/esnext.set.is-subset-of.v2'); +require('../modules/esnext.set.is-subset-of'); +require('../modules/esnext.set.is-superset-of.v2'); +require('../modules/esnext.set.is-superset-of'); +require('../modules/esnext.set.join'); +require('../modules/esnext.set.map'); +require('../modules/esnext.set.of'); +require('../modules/esnext.set.reduce'); +require('../modules/esnext.set.some'); +require('../modules/esnext.set.symmetric-difference.v2'); +require('../modules/esnext.set.symmetric-difference'); +require('../modules/esnext.set.union.v2'); +require('../modules/esnext.set.union'); +require('../modules/esnext.string.at'); +require('../modules/esnext.string.cooked'); +require('../modules/esnext.string.code-points'); +require('../modules/esnext.string.dedent'); +require('../modules/esnext.string.is-well-formed'); +require('../modules/esnext.string.match-all'); +require('../modules/esnext.string.replace-all'); +require('../modules/esnext.string.to-well-formed'); +require('../modules/esnext.symbol.async-dispose'); +require('../modules/esnext.symbol.dispose'); +require('../modules/esnext.symbol.is-registered-symbol'); +require('../modules/esnext.symbol.is-registered'); +require('../modules/esnext.symbol.is-well-known-symbol'); +require('../modules/esnext.symbol.is-well-known'); +require('../modules/esnext.symbol.matcher'); +require('../modules/esnext.symbol.metadata'); +require('../modules/esnext.symbol.metadata-key'); +require('../modules/esnext.symbol.observable'); +require('../modules/esnext.symbol.pattern-match'); +require('../modules/esnext.symbol.replace-all'); +require('../modules/esnext.typed-array.from-async'); +require('../modules/esnext.typed-array.at'); +require('../modules/esnext.typed-array.filter-out'); +require('../modules/esnext.typed-array.filter-reject'); +require('../modules/esnext.typed-array.find-last'); +require('../modules/esnext.typed-array.find-last-index'); +require('../modules/esnext.typed-array.group-by'); +require('../modules/esnext.typed-array.to-reversed'); +require('../modules/esnext.typed-array.to-sorted'); +require('../modules/esnext.typed-array.to-spliced'); +require('../modules/esnext.typed-array.unique-by'); +require('../modules/esnext.typed-array.with'); +require('../modules/esnext.weak-map.delete-all'); +require('../modules/esnext.weak-map.from'); +require('../modules/esnext.weak-map.of'); +require('../modules/esnext.weak-map.emplace'); +require('../modules/esnext.weak-map.upsert'); +require('../modules/esnext.weak-set.add-all'); +require('../modules/esnext.weak-set.delete-all'); +require('../modules/esnext.weak-set.from'); +require('../modules/esnext.weak-set.of'); +require('../modules/web.atob'); +require('../modules/web.btoa'); +require('../modules/web.dom-collections.for-each'); +require('../modules/web.dom-collections.iterator'); +require('../modules/web.dom-exception.constructor'); +require('../modules/web.dom-exception.stack'); +require('../modules/web.dom-exception.to-string-tag'); +require('../modules/web.immediate'); +require('../modules/web.queue-microtask'); +require('../modules/web.self'); +require('../modules/web.structured-clone'); +require('../modules/web.timers'); +require('../modules/web.url'); +require('../modules/web.url.can-parse'); +require('../modules/web.url.to-json'); +require('../modules/web.url-search-params'); +require('../modules/web.url-search-params.delete'); +require('../modules/web.url-search-params.has'); +require('../modules/web.url-search-params.size'); + +module.exports = require('../internals/path'); diff --git a/node_modules/core-js/full/instance/at.js b/node_modules/core-js/full/instance/at.js new file mode 100644 index 00000000..75de4fc2 --- /dev/null +++ b/node_modules/core-js/full/instance/at.js @@ -0,0 +1,15 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var arrayMethod = require('../array/virtual/at'); +var stringMethod = require('../string/virtual/at'); + +var ArrayPrototype = Array.prototype; +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.at; + if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.at)) return arrayMethod; + if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.at)) { + return stringMethod; + } return own; +}; diff --git a/node_modules/core-js/full/instance/bind.js b/node_modules/core-js/full/instance/bind.js new file mode 100644 index 00000000..229d51a2 --- /dev/null +++ b/node_modules/core-js/full/instance/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/code-point-at.js b/node_modules/core-js/full/instance/code-point-at.js new file mode 100644 index 00000000..57d254a8 --- /dev/null +++ b/node_modules/core-js/full/instance/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/code-points.js b/node_modules/core-js/full/instance/code-points.js new file mode 100644 index 00000000..d2050a7e --- /dev/null +++ b/node_modules/core-js/full/instance/code-points.js @@ -0,0 +1,11 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../string/virtual/code-points'); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.codePoints; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.codePoints) ? method : own; +}; diff --git a/node_modules/core-js/full/instance/concat.js b/node_modules/core-js/full/instance/concat.js new file mode 100644 index 00000000..7efdf2ce --- /dev/null +++ b/node_modules/core-js/full/instance/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/copy-within.js b/node_modules/core-js/full/instance/copy-within.js new file mode 100644 index 00000000..3ee9dc5e --- /dev/null +++ b/node_modules/core-js/full/instance/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/demethodize.js b/node_modules/core-js/full/instance/demethodize.js new file mode 100644 index 00000000..c463e6cb --- /dev/null +++ b/node_modules/core-js/full/instance/demethodize.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../function/virtual/demethodize'); + +var FunctionPrototype = Function.prototype; + +module.exports = function (it) { + var own = it.demethodize; + return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.demethodize) ? method : own; +}; diff --git a/node_modules/core-js/full/instance/ends-with.js b/node_modules/core-js/full/instance/ends-with.js new file mode 100644 index 00000000..af148b0f --- /dev/null +++ b/node_modules/core-js/full/instance/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/entries.js b/node_modules/core-js/full/instance/entries.js new file mode 100644 index 00000000..e29f0d3a --- /dev/null +++ b/node_modules/core-js/full/instance/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/every.js b/node_modules/core-js/full/instance/every.js new file mode 100644 index 00000000..49822cbf --- /dev/null +++ b/node_modules/core-js/full/instance/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/every'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/fill.js b/node_modules/core-js/full/instance/fill.js new file mode 100644 index 00000000..d4a97d44 --- /dev/null +++ b/node_modules/core-js/full/instance/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/filter-out.js b/node_modules/core-js/full/instance/filter-out.js new file mode 100644 index 00000000..ea5fb5b6 --- /dev/null +++ b/node_modules/core-js/full/instance/filter-out.js @@ -0,0 +1,11 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/filter-out'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.filterOut; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filterOut) ? method : own; +}; diff --git a/node_modules/core-js/full/instance/filter-reject.js b/node_modules/core-js/full/instance/filter-reject.js new file mode 100644 index 00000000..fbf438d7 --- /dev/null +++ b/node_modules/core-js/full/instance/filter-reject.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/filter-reject'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.filterReject; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filterReject) ? method : own; +}; diff --git a/node_modules/core-js/full/instance/filter.js b/node_modules/core-js/full/instance/filter.js new file mode 100644 index 00000000..2f0f1b51 --- /dev/null +++ b/node_modules/core-js/full/instance/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/find-index.js b/node_modules/core-js/full/instance/find-index.js new file mode 100644 index 00000000..fb201b78 --- /dev/null +++ b/node_modules/core-js/full/instance/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/find-last-index.js b/node_modules/core-js/full/instance/find-last-index.js new file mode 100644 index 00000000..031dfc92 --- /dev/null +++ b/node_modules/core-js/full/instance/find-last-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/find-last-index'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/find-last.js b/node_modules/core-js/full/instance/find-last.js new file mode 100644 index 00000000..1f5dcc6b --- /dev/null +++ b/node_modules/core-js/full/instance/find-last.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/find-last'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/find.js b/node_modules/core-js/full/instance/find.js new file mode 100644 index 00000000..80aafe15 --- /dev/null +++ b/node_modules/core-js/full/instance/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/find'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/flags.js b/node_modules/core-js/full/instance/flags.js new file mode 100644 index 00000000..ad4640c2 --- /dev/null +++ b/node_modules/core-js/full/instance/flags.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/flags'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/flat-map.js b/node_modules/core-js/full/instance/flat-map.js new file mode 100644 index 00000000..53315a18 --- /dev/null +++ b/node_modules/core-js/full/instance/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/flat.js b/node_modules/core-js/full/instance/flat.js new file mode 100644 index 00000000..20538cd8 --- /dev/null +++ b/node_modules/core-js/full/instance/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/for-each.js b/node_modules/core-js/full/instance/for-each.js new file mode 100644 index 00000000..0fc67857 --- /dev/null +++ b/node_modules/core-js/full/instance/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/group-by-to-map.js b/node_modules/core-js/full/instance/group-by-to-map.js new file mode 100644 index 00000000..35da2a73 --- /dev/null +++ b/node_modules/core-js/full/instance/group-by-to-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/group-by-to-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/group-by.js b/node_modules/core-js/full/instance/group-by.js new file mode 100644 index 00000000..0162d6dc --- /dev/null +++ b/node_modules/core-js/full/instance/group-by.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/group-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/group-to-map.js b/node_modules/core-js/full/instance/group-to-map.js new file mode 100644 index 00000000..62d9a1fc --- /dev/null +++ b/node_modules/core-js/full/instance/group-to-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/group-to-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/group.js b/node_modules/core-js/full/instance/group.js new file mode 100644 index 00000000..9fc4fd14 --- /dev/null +++ b/node_modules/core-js/full/instance/group.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/group'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/includes.js b/node_modules/core-js/full/instance/includes.js new file mode 100644 index 00000000..a5d876e5 --- /dev/null +++ b/node_modules/core-js/full/instance/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/index-of.js b/node_modules/core-js/full/instance/index-of.js new file mode 100644 index 00000000..bbfecf2b --- /dev/null +++ b/node_modules/core-js/full/instance/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/is-well-formed.js b/node_modules/core-js/full/instance/is-well-formed.js new file mode 100644 index 00000000..2480643e --- /dev/null +++ b/node_modules/core-js/full/instance/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/keys.js b/node_modules/core-js/full/instance/keys.js new file mode 100644 index 00000000..d066c779 --- /dev/null +++ b/node_modules/core-js/full/instance/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/last-index-of.js b/node_modules/core-js/full/instance/last-index-of.js new file mode 100644 index 00000000..04d3e456 --- /dev/null +++ b/node_modules/core-js/full/instance/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/map.js b/node_modules/core-js/full/instance/map.js new file mode 100644 index 00000000..2b2d637f --- /dev/null +++ b/node_modules/core-js/full/instance/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/match-all.js b/node_modules/core-js/full/instance/match-all.js new file mode 100644 index 00000000..0207313d --- /dev/null +++ b/node_modules/core-js/full/instance/match-all.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../../modules/esnext.string.match-all'); + +var parent = require('../../actual/instance/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/pad-end.js b/node_modules/core-js/full/instance/pad-end.js new file mode 100644 index 00000000..a288446b --- /dev/null +++ b/node_modules/core-js/full/instance/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/pad-start.js b/node_modules/core-js/full/instance/pad-start.js new file mode 100644 index 00000000..1e66bd4d --- /dev/null +++ b/node_modules/core-js/full/instance/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/push.js b/node_modules/core-js/full/instance/push.js new file mode 100644 index 00000000..5b49c01f --- /dev/null +++ b/node_modules/core-js/full/instance/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/push'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/reduce-right.js b/node_modules/core-js/full/instance/reduce-right.js new file mode 100644 index 00000000..0ffbf826 --- /dev/null +++ b/node_modules/core-js/full/instance/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/reduce.js b/node_modules/core-js/full/instance/reduce.js new file mode 100644 index 00000000..ae52442b --- /dev/null +++ b/node_modules/core-js/full/instance/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/repeat.js b/node_modules/core-js/full/instance/repeat.js new file mode 100644 index 00000000..58286527 --- /dev/null +++ b/node_modules/core-js/full/instance/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/replace-all.js b/node_modules/core-js/full/instance/replace-all.js new file mode 100644 index 00000000..f218e3e9 --- /dev/null +++ b/node_modules/core-js/full/instance/replace-all.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../../modules/esnext.string.replace-all'); + +var parent = require('../../actual/instance/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/reverse.js b/node_modules/core-js/full/instance/reverse.js new file mode 100644 index 00000000..5541ac7c --- /dev/null +++ b/node_modules/core-js/full/instance/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/slice.js b/node_modules/core-js/full/instance/slice.js new file mode 100644 index 00000000..07cdbd79 --- /dev/null +++ b/node_modules/core-js/full/instance/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/some.js b/node_modules/core-js/full/instance/some.js new file mode 100644 index 00000000..c01be5f7 --- /dev/null +++ b/node_modules/core-js/full/instance/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/some'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/sort.js b/node_modules/core-js/full/instance/sort.js new file mode 100644 index 00000000..b51a3f1a --- /dev/null +++ b/node_modules/core-js/full/instance/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/splice.js b/node_modules/core-js/full/instance/splice.js new file mode 100644 index 00000000..b0fd55eb --- /dev/null +++ b/node_modules/core-js/full/instance/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/starts-with.js b/node_modules/core-js/full/instance/starts-with.js new file mode 100644 index 00000000..4d7a24e7 --- /dev/null +++ b/node_modules/core-js/full/instance/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/to-reversed.js b/node_modules/core-js/full/instance/to-reversed.js new file mode 100644 index 00000000..030a66ae --- /dev/null +++ b/node_modules/core-js/full/instance/to-reversed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/to-sorted.js b/node_modules/core-js/full/instance/to-sorted.js new file mode 100644 index 00000000..623a5357 --- /dev/null +++ b/node_modules/core-js/full/instance/to-sorted.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/to-spliced.js b/node_modules/core-js/full/instance/to-spliced.js new file mode 100644 index 00000000..92fc8379 --- /dev/null +++ b/node_modules/core-js/full/instance/to-spliced.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/to-well-formed.js b/node_modules/core-js/full/instance/to-well-formed.js new file mode 100644 index 00000000..751ce513 --- /dev/null +++ b/node_modules/core-js/full/instance/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/trim-end.js b/node_modules/core-js/full/instance/trim-end.js new file mode 100644 index 00000000..c28bf3fa --- /dev/null +++ b/node_modules/core-js/full/instance/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/trim-left.js b/node_modules/core-js/full/instance/trim-left.js new file mode 100644 index 00000000..2888ccf4 --- /dev/null +++ b/node_modules/core-js/full/instance/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/trim-right.js b/node_modules/core-js/full/instance/trim-right.js new file mode 100644 index 00000000..83c6b40e --- /dev/null +++ b/node_modules/core-js/full/instance/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/trim-start.js b/node_modules/core-js/full/instance/trim-start.js new file mode 100644 index 00000000..3e92d9f7 --- /dev/null +++ b/node_modules/core-js/full/instance/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/trim.js b/node_modules/core-js/full/instance/trim.js new file mode 100644 index 00000000..6327d402 --- /dev/null +++ b/node_modules/core-js/full/instance/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/un-this.js b/node_modules/core-js/full/instance/un-this.js new file mode 100644 index 00000000..a1d40b70 --- /dev/null +++ b/node_modules/core-js/full/instance/un-this.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../function/virtual/un-this'); + +var FunctionPrototype = Function.prototype; + +module.exports = function (it) { + var own = it.unThis; + return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.unThis) ? method : own; +}; diff --git a/node_modules/core-js/full/instance/unique-by.js b/node_modules/core-js/full/instance/unique-by.js new file mode 100644 index 00000000..faad544f --- /dev/null +++ b/node_modules/core-js/full/instance/unique-by.js @@ -0,0 +1,10 @@ +'use strict'; +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/unique-by'); + +var ArrayPrototype = Array.prototype; + +module.exports = function (it) { + var own = it.uniqueBy; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.uniqueBy) ? method : own; +}; diff --git a/node_modules/core-js/full/instance/unshift.js b/node_modules/core-js/full/instance/unshift.js new file mode 100644 index 00000000..d92d4a6e --- /dev/null +++ b/node_modules/core-js/full/instance/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/values.js b/node_modules/core-js/full/instance/values.js new file mode 100644 index 00000000..5b3a76ee --- /dev/null +++ b/node_modules/core-js/full/instance/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/values'); + +module.exports = parent; diff --git a/node_modules/core-js/full/instance/with.js b/node_modules/core-js/full/instance/with.js new file mode 100644 index 00000000..b1eb565d --- /dev/null +++ b/node_modules/core-js/full/instance/with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/instance/with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/is-iterable.js b/node_modules/core-js/full/is-iterable.js new file mode 100644 index 00000000..c8f44d7f --- /dev/null +++ b/node_modules/core-js/full/is-iterable.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/is-iterable'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/as-indexed-pairs.js b/node_modules/core-js/full/iterator/as-indexed-pairs.js new file mode 100644 index 00000000..e8504f3a --- /dev/null +++ b/node_modules/core-js/full/iterator/as-indexed-pairs.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.as-indexed-pairs'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'asIndexedPairs'); + diff --git a/node_modules/core-js/full/iterator/dispose.js b/node_modules/core-js/full/iterator/dispose.js new file mode 100644 index 00000000..6246a056 --- /dev/null +++ b/node_modules/core-js/full/iterator/dispose.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/dispose'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/drop.js b/node_modules/core-js/full/iterator/drop.js new file mode 100644 index 00000000..dc9a5489 --- /dev/null +++ b/node_modules/core-js/full/iterator/drop.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/drop'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/every.js b/node_modules/core-js/full/iterator/every.js new file mode 100644 index 00000000..3f7b3949 --- /dev/null +++ b/node_modules/core-js/full/iterator/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/every'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/filter.js b/node_modules/core-js/full/iterator/filter.js new file mode 100644 index 00000000..f19dd0fb --- /dev/null +++ b/node_modules/core-js/full/iterator/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/find.js b/node_modules/core-js/full/iterator/find.js new file mode 100644 index 00000000..e26690e5 --- /dev/null +++ b/node_modules/core-js/full/iterator/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/find'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/flat-map.js b/node_modules/core-js/full/iterator/flat-map.js new file mode 100644 index 00000000..e6d721df --- /dev/null +++ b/node_modules/core-js/full/iterator/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/for-each.js b/node_modules/core-js/full/iterator/for-each.js new file mode 100644 index 00000000..b378e329 --- /dev/null +++ b/node_modules/core-js/full/iterator/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/from.js b/node_modules/core-js/full/iterator/from.js new file mode 100644 index 00000000..57cece22 --- /dev/null +++ b/node_modules/core-js/full/iterator/from.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/from'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/index.js b/node_modules/core-js/full/iterator/index.js new file mode 100644 index 00000000..c6caf46d --- /dev/null +++ b/node_modules/core-js/full/iterator/index.js @@ -0,0 +1,8 @@ +'use strict'; +var parent = require('../../actual/iterator'); +require('../../modules/esnext.iterator.range'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.iterator.as-indexed-pairs'); +require('../../modules/esnext.iterator.indexed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/indexed.js b/node_modules/core-js/full/iterator/indexed.js new file mode 100644 index 00000000..6a2aa840 --- /dev/null +++ b/node_modules/core-js/full/iterator/indexed.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.indexed'); + +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Iterator', 'indexed'); + diff --git a/node_modules/core-js/full/iterator/map.js b/node_modules/core-js/full/iterator/map.js new file mode 100644 index 00000000..e41e3830 --- /dev/null +++ b/node_modules/core-js/full/iterator/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/range.js b/node_modules/core-js/full/iterator/range.js new file mode 100644 index 00000000..20f811bc --- /dev/null +++ b/node_modules/core-js/full/iterator/range.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.iterator.constructor'); +require('../../modules/esnext.iterator.range'); +var path = require('../../internals/path'); + +module.exports = path.Iterator.range; diff --git a/node_modules/core-js/full/iterator/reduce.js b/node_modules/core-js/full/iterator/reduce.js new file mode 100644 index 00000000..d2c30ac2 --- /dev/null +++ b/node_modules/core-js/full/iterator/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/some.js b/node_modules/core-js/full/iterator/some.js new file mode 100644 index 00000000..a6ea5972 --- /dev/null +++ b/node_modules/core-js/full/iterator/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/some'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/take.js b/node_modules/core-js/full/iterator/take.js new file mode 100644 index 00000000..6988d742 --- /dev/null +++ b/node_modules/core-js/full/iterator/take.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/take'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/to-array.js b/node_modules/core-js/full/iterator/to-array.js new file mode 100644 index 00000000..e8a923d7 --- /dev/null +++ b/node_modules/core-js/full/iterator/to-array.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/to-array'); + +module.exports = parent; diff --git a/node_modules/core-js/full/iterator/to-async.js b/node_modules/core-js/full/iterator/to-async.js new file mode 100644 index 00000000..8c6985c8 --- /dev/null +++ b/node_modules/core-js/full/iterator/to-async.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/iterator/to-async'); + +module.exports = parent; diff --git a/node_modules/core-js/full/json/index.js b/node_modules/core-js/full/json/index.js new file mode 100644 index 00000000..7f01daa6 --- /dev/null +++ b/node_modules/core-js/full/json/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/json'); + +module.exports = parent; diff --git a/node_modules/core-js/full/json/is-raw-json.js b/node_modules/core-js/full/json/is-raw-json.js new file mode 100644 index 00000000..ba34b876 --- /dev/null +++ b/node_modules/core-js/full/json/is-raw-json.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/json/is-raw-json'); + +module.exports = parent; diff --git a/node_modules/core-js/full/json/parse.js b/node_modules/core-js/full/json/parse.js new file mode 100644 index 00000000..10319ef6 --- /dev/null +++ b/node_modules/core-js/full/json/parse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/json/parse'); + +module.exports = parent; diff --git a/node_modules/core-js/full/json/raw-json.js b/node_modules/core-js/full/json/raw-json.js new file mode 100644 index 00000000..1b85bf6d --- /dev/null +++ b/node_modules/core-js/full/json/raw-json.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/json/raw-json'); + +module.exports = parent; diff --git a/node_modules/core-js/full/json/stringify.js b/node_modules/core-js/full/json/stringify.js new file mode 100644 index 00000000..4b65c677 --- /dev/null +++ b/node_modules/core-js/full/json/stringify.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/json/stringify'); + +module.exports = parent; diff --git a/node_modules/core-js/full/json/to-string-tag.js b/node_modules/core-js/full/json/to-string-tag.js new file mode 100644 index 00000000..d0eae3ce --- /dev/null +++ b/node_modules/core-js/full/json/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/json/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/full/map/delete-all.js b/node_modules/core-js/full/map/delete-all.js new file mode 100644 index 00000000..53f7532c --- /dev/null +++ b/node_modules/core-js/full/map/delete-all.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.delete-all'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'deleteAll'); diff --git a/node_modules/core-js/full/map/emplace.js b/node_modules/core-js/full/map/emplace.js new file mode 100644 index 00000000..b23b7958 --- /dev/null +++ b/node_modules/core-js/full/map/emplace.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.emplace'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'emplace'); diff --git a/node_modules/core-js/full/map/every.js b/node_modules/core-js/full/map/every.js new file mode 100644 index 00000000..cb6053bd --- /dev/null +++ b/node_modules/core-js/full/map/every.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.every'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'every'); diff --git a/node_modules/core-js/full/map/filter.js b/node_modules/core-js/full/map/filter.js new file mode 100644 index 00000000..e94aafb4 --- /dev/null +++ b/node_modules/core-js/full/map/filter.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.filter'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'filter'); diff --git a/node_modules/core-js/full/map/find-key.js b/node_modules/core-js/full/map/find-key.js new file mode 100644 index 00000000..942c4573 --- /dev/null +++ b/node_modules/core-js/full/map/find-key.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.find-key'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'findKey'); diff --git a/node_modules/core-js/full/map/find.js b/node_modules/core-js/full/map/find.js new file mode 100644 index 00000000..f1326b2d --- /dev/null +++ b/node_modules/core-js/full/map/find.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.find'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'find'); diff --git a/node_modules/core-js/full/map/from.js b/node_modules/core-js/full/map/from.js new file mode 100644 index 00000000..c3f7471a --- /dev/null +++ b/node_modules/core-js/full/map/from.js @@ -0,0 +1,16 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.map'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.map.from'); +require('../../modules/web.dom-collections.iterator'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var Map = path.Map; +var $from = Map.from; + +module.exports = function from(source, mapFn, thisArg) { + return call($from, isCallable(this) ? this : Map, source, mapFn, thisArg); +}; diff --git a/node_modules/core-js/full/map/group-by.js b/node_modules/core-js/full/map/group-by.js new file mode 100644 index 00000000..1c6c68dc --- /dev/null +++ b/node_modules/core-js/full/map/group-by.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/map/group-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/map/includes.js b/node_modules/core-js/full/map/includes.js new file mode 100644 index 00000000..52432ed0 --- /dev/null +++ b/node_modules/core-js/full/map/includes.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.includes'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'includes'); diff --git a/node_modules/core-js/full/map/index.js b/node_modules/core-js/full/map/index.js new file mode 100644 index 00000000..13bc239e --- /dev/null +++ b/node_modules/core-js/full/map/index.js @@ -0,0 +1,25 @@ +'use strict'; +var parent = require('../../actual/map'); +require('../../modules/esnext.map.from'); +require('../../modules/esnext.map.of'); +require('../../modules/esnext.map.delete-all'); +require('../../modules/esnext.map.emplace'); +require('../../modules/esnext.map.every'); +require('../../modules/esnext.map.filter'); +require('../../modules/esnext.map.find'); +require('../../modules/esnext.map.find-key'); +require('../../modules/esnext.map.includes'); +require('../../modules/esnext.map.key-by'); +require('../../modules/esnext.map.key-of'); +require('../../modules/esnext.map.map-keys'); +require('../../modules/esnext.map.map-values'); +require('../../modules/esnext.map.merge'); +require('../../modules/esnext.map.reduce'); +require('../../modules/esnext.map.some'); +require('../../modules/esnext.map.update'); +// TODO: remove from `core-js@4` +require('../../modules/esnext.map.upsert'); +// TODO: remove from `core-js@4` +require('../../modules/esnext.map.update-or-insert'); + +module.exports = parent; diff --git a/node_modules/core-js/full/map/key-by.js b/node_modules/core-js/full/map/key-by.js new file mode 100644 index 00000000..08ce140b --- /dev/null +++ b/node_modules/core-js/full/map/key-by.js @@ -0,0 +1,13 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.key-by'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var Map = path.Map; +var mapKeyBy = Map.keyBy; + +module.exports = function keyBy(source, iterable, keyDerivative) { + return call(mapKeyBy, isCallable(this) ? this : Map, source, iterable, keyDerivative); +}; diff --git a/node_modules/core-js/full/map/key-of.js b/node_modules/core-js/full/map/key-of.js new file mode 100644 index 00000000..985c2ca9 --- /dev/null +++ b/node_modules/core-js/full/map/key-of.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.key-of'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'keyOf'); diff --git a/node_modules/core-js/full/map/map-keys.js b/node_modules/core-js/full/map/map-keys.js new file mode 100644 index 00000000..168d985b --- /dev/null +++ b/node_modules/core-js/full/map/map-keys.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.map-keys'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'mapKeys'); diff --git a/node_modules/core-js/full/map/map-values.js b/node_modules/core-js/full/map/map-values.js new file mode 100644 index 00000000..2346a0b5 --- /dev/null +++ b/node_modules/core-js/full/map/map-values.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.map-values'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'mapValues'); diff --git a/node_modules/core-js/full/map/merge.js b/node_modules/core-js/full/map/merge.js new file mode 100644 index 00000000..85c0b0aa --- /dev/null +++ b/node_modules/core-js/full/map/merge.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.merge'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'merge'); diff --git a/node_modules/core-js/full/map/of.js b/node_modules/core-js/full/map/of.js new file mode 100644 index 00000000..e2ca754e --- /dev/null +++ b/node_modules/core-js/full/map/of.js @@ -0,0 +1,14 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.map'); +require('../../modules/esnext.map.of'); +var path = require('../../internals/path'); +var apply = require('../../internals/function-apply'); +var isCallable = require('../../internals/is-callable'); + +var Map = path.Map; +var mapOf = Map.of; + +module.exports = function of() { + return apply(mapOf, isCallable(this) ? this : Map, arguments); +}; diff --git a/node_modules/core-js/full/map/reduce.js b/node_modules/core-js/full/map/reduce.js new file mode 100644 index 00000000..88bf5664 --- /dev/null +++ b/node_modules/core-js/full/map/reduce.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.reduce'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'reduce'); diff --git a/node_modules/core-js/full/map/some.js b/node_modules/core-js/full/map/some.js new file mode 100644 index 00000000..fb55efbd --- /dev/null +++ b/node_modules/core-js/full/map/some.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.some'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'some'); diff --git a/node_modules/core-js/full/map/update-or-insert.js b/node_modules/core-js/full/map/update-or-insert.js new file mode 100644 index 00000000..299d9c3d --- /dev/null +++ b/node_modules/core-js/full/map/update-or-insert.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../../modules/es.map'); +require('../../modules/esnext.map.update-or-insert'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'updateOrInsert'); diff --git a/node_modules/core-js/full/map/update.js b/node_modules/core-js/full/map/update.js new file mode 100644 index 00000000..abc452c2 --- /dev/null +++ b/node_modules/core-js/full/map/update.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.update'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'update'); diff --git a/node_modules/core-js/full/map/upsert.js b/node_modules/core-js/full/map/upsert.js new file mode 100644 index 00000000..7467fe7f --- /dev/null +++ b/node_modules/core-js/full/map/upsert.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.map.upsert'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Map', 'upsert'); diff --git a/node_modules/core-js/full/math/acosh.js b/node_modules/core-js/full/math/acosh.js new file mode 100644 index 00000000..ae3e3864 --- /dev/null +++ b/node_modules/core-js/full/math/acosh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/acosh'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/asinh.js b/node_modules/core-js/full/math/asinh.js new file mode 100644 index 00000000..7771b336 --- /dev/null +++ b/node_modules/core-js/full/math/asinh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/asinh'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/atanh.js b/node_modules/core-js/full/math/atanh.js new file mode 100644 index 00000000..40ffa974 --- /dev/null +++ b/node_modules/core-js/full/math/atanh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/atanh'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/cbrt.js b/node_modules/core-js/full/math/cbrt.js new file mode 100644 index 00000000..add08876 --- /dev/null +++ b/node_modules/core-js/full/math/cbrt.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/cbrt'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/clamp.js b/node_modules/core-js/full/math/clamp.js new file mode 100644 index 00000000..fdece385 --- /dev/null +++ b/node_modules/core-js/full/math/clamp.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.clamp'); +var path = require('../../internals/path'); + +module.exports = path.Math.clamp; diff --git a/node_modules/core-js/full/math/clz32.js b/node_modules/core-js/full/math/clz32.js new file mode 100644 index 00000000..cb9c4051 --- /dev/null +++ b/node_modules/core-js/full/math/clz32.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/clz32'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/cosh.js b/node_modules/core-js/full/math/cosh.js new file mode 100644 index 00000000..16e37a5d --- /dev/null +++ b/node_modules/core-js/full/math/cosh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/cosh'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/deg-per-rad.js b/node_modules/core-js/full/math/deg-per-rad.js new file mode 100644 index 00000000..15800187 --- /dev/null +++ b/node_modules/core-js/full/math/deg-per-rad.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/esnext.math.deg-per-rad'); + +module.exports = Math.PI / 180; diff --git a/node_modules/core-js/full/math/degrees.js b/node_modules/core-js/full/math/degrees.js new file mode 100644 index 00000000..fd68e7ec --- /dev/null +++ b/node_modules/core-js/full/math/degrees.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.degrees'); +var path = require('../../internals/path'); + +module.exports = path.Math.degrees; diff --git a/node_modules/core-js/full/math/expm1.js b/node_modules/core-js/full/math/expm1.js new file mode 100644 index 00000000..29f007ea --- /dev/null +++ b/node_modules/core-js/full/math/expm1.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/expm1'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/f16round.js b/node_modules/core-js/full/math/f16round.js new file mode 100644 index 00000000..935ecf48 --- /dev/null +++ b/node_modules/core-js/full/math/f16round.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/f16round'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/fround.js b/node_modules/core-js/full/math/fround.js new file mode 100644 index 00000000..87df0b1f --- /dev/null +++ b/node_modules/core-js/full/math/fround.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/fround'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/fscale.js b/node_modules/core-js/full/math/fscale.js new file mode 100644 index 00000000..43dbe078 --- /dev/null +++ b/node_modules/core-js/full/math/fscale.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.fscale'); +var path = require('../../internals/path'); + +module.exports = path.Math.fscale; diff --git a/node_modules/core-js/full/math/hypot.js b/node_modules/core-js/full/math/hypot.js new file mode 100644 index 00000000..5b340dc3 --- /dev/null +++ b/node_modules/core-js/full/math/hypot.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/hypot'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/iaddh.js b/node_modules/core-js/full/math/iaddh.js new file mode 100644 index 00000000..a0c35436 --- /dev/null +++ b/node_modules/core-js/full/math/iaddh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.iaddh'); +var path = require('../../internals/path'); + +module.exports = path.Math.iaddh; diff --git a/node_modules/core-js/full/math/imul.js b/node_modules/core-js/full/math/imul.js new file mode 100644 index 00000000..0d0c7eb8 --- /dev/null +++ b/node_modules/core-js/full/math/imul.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/imul'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/imulh.js b/node_modules/core-js/full/math/imulh.js new file mode 100644 index 00000000..ee0b2675 --- /dev/null +++ b/node_modules/core-js/full/math/imulh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.imulh'); +var path = require('../../internals/path'); + +module.exports = path.Math.imulh; diff --git a/node_modules/core-js/full/math/index.js b/node_modules/core-js/full/math/index.js new file mode 100644 index 00000000..f1db3d46 --- /dev/null +++ b/node_modules/core-js/full/math/index.js @@ -0,0 +1,18 @@ +'use strict'; +var parent = require('../../actual/math'); +require('../../modules/esnext.math.clamp'); +require('../../modules/esnext.math.deg-per-rad'); +require('../../modules/esnext.math.degrees'); +require('../../modules/esnext.math.fscale'); +require('../../modules/esnext.math.rad-per-deg'); +require('../../modules/esnext.math.radians'); +require('../../modules/esnext.math.scale'); +require('../../modules/esnext.math.seeded-prng'); +require('../../modules/esnext.math.signbit'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.math.iaddh'); +require('../../modules/esnext.math.isubh'); +require('../../modules/esnext.math.imulh'); +require('../../modules/esnext.math.umulh'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/isubh.js b/node_modules/core-js/full/math/isubh.js new file mode 100644 index 00000000..57ff251a --- /dev/null +++ b/node_modules/core-js/full/math/isubh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.isubh'); +var path = require('../../internals/path'); + +module.exports = path.Math.isubh; diff --git a/node_modules/core-js/full/math/log10.js b/node_modules/core-js/full/math/log10.js new file mode 100644 index 00000000..32b479f2 --- /dev/null +++ b/node_modules/core-js/full/math/log10.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/log10'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/log1p.js b/node_modules/core-js/full/math/log1p.js new file mode 100644 index 00000000..06b776da --- /dev/null +++ b/node_modules/core-js/full/math/log1p.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/log1p'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/log2.js b/node_modules/core-js/full/math/log2.js new file mode 100644 index 00000000..248ff4d4 --- /dev/null +++ b/node_modules/core-js/full/math/log2.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/log2'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/rad-per-deg.js b/node_modules/core-js/full/math/rad-per-deg.js new file mode 100644 index 00000000..2f66c121 --- /dev/null +++ b/node_modules/core-js/full/math/rad-per-deg.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/esnext.math.rad-per-deg'); + +module.exports = 180 / Math.PI; diff --git a/node_modules/core-js/full/math/radians.js b/node_modules/core-js/full/math/radians.js new file mode 100644 index 00000000..27d0a672 --- /dev/null +++ b/node_modules/core-js/full/math/radians.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.radians'); +var path = require('../../internals/path'); + +module.exports = path.Math.radians; diff --git a/node_modules/core-js/full/math/scale.js b/node_modules/core-js/full/math/scale.js new file mode 100644 index 00000000..8a60a85f --- /dev/null +++ b/node_modules/core-js/full/math/scale.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.scale'); +var path = require('../../internals/path'); + +module.exports = path.Math.scale; diff --git a/node_modules/core-js/full/math/seeded-prng.js b/node_modules/core-js/full/math/seeded-prng.js new file mode 100644 index 00000000..513140a6 --- /dev/null +++ b/node_modules/core-js/full/math/seeded-prng.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.seeded-prng'); +var path = require('../../internals/path'); + +module.exports = path.Math.seededPRNG; diff --git a/node_modules/core-js/full/math/sign.js b/node_modules/core-js/full/math/sign.js new file mode 100644 index 00000000..678db985 --- /dev/null +++ b/node_modules/core-js/full/math/sign.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/sign'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/signbit.js b/node_modules/core-js/full/math/signbit.js new file mode 100644 index 00000000..e652559d --- /dev/null +++ b/node_modules/core-js/full/math/signbit.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.signbit'); +var path = require('../../internals/path'); + +module.exports = path.Math.signbit; diff --git a/node_modules/core-js/full/math/sinh.js b/node_modules/core-js/full/math/sinh.js new file mode 100644 index 00000000..6d1a4981 --- /dev/null +++ b/node_modules/core-js/full/math/sinh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/sinh'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/tanh.js b/node_modules/core-js/full/math/tanh.js new file mode 100644 index 00000000..b56c9af8 --- /dev/null +++ b/node_modules/core-js/full/math/tanh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/tanh'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/to-string-tag.js b/node_modules/core-js/full/math/to-string-tag.js new file mode 100644 index 00000000..f3913739 --- /dev/null +++ b/node_modules/core-js/full/math/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/trunc.js b/node_modules/core-js/full/math/trunc.js new file mode 100644 index 00000000..f0d3f68c --- /dev/null +++ b/node_modules/core-js/full/math/trunc.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/math/trunc'); + +module.exports = parent; diff --git a/node_modules/core-js/full/math/umulh.js b/node_modules/core-js/full/math/umulh.js new file mode 100644 index 00000000..2cdd561d --- /dev/null +++ b/node_modules/core-js/full/math/umulh.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.math.umulh'); +var path = require('../../internals/path'); + +module.exports = path.Math.umulh; diff --git a/node_modules/core-js/full/number/constructor.js b/node_modules/core-js/full/number/constructor.js new file mode 100644 index 00000000..74d82564 --- /dev/null +++ b/node_modules/core-js/full/number/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/epsilon.js b/node_modules/core-js/full/number/epsilon.js new file mode 100644 index 00000000..85eda3d5 --- /dev/null +++ b/node_modules/core-js/full/number/epsilon.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/epsilon'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/from-string.js b/node_modules/core-js/full/number/from-string.js new file mode 100644 index 00000000..334b9318 --- /dev/null +++ b/node_modules/core-js/full/number/from-string.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.number.from-string'); +var path = require('../../internals/path'); + +module.exports = path.Number.fromString; diff --git a/node_modules/core-js/full/number/index.js b/node_modules/core-js/full/number/index.js new file mode 100644 index 00000000..d06e9c1e --- /dev/null +++ b/node_modules/core-js/full/number/index.js @@ -0,0 +1,8 @@ +'use strict'; +var parent = require('../../actual/number'); + +module.exports = parent; + +require('../../modules/es.object.to-string'); +require('../../modules/esnext.number.from-string'); +require('../../modules/esnext.number.range'); diff --git a/node_modules/core-js/full/number/is-finite.js b/node_modules/core-js/full/number/is-finite.js new file mode 100644 index 00000000..160692d1 --- /dev/null +++ b/node_modules/core-js/full/number/is-finite.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/is-finite'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/is-integer.js b/node_modules/core-js/full/number/is-integer.js new file mode 100644 index 00000000..c871191b --- /dev/null +++ b/node_modules/core-js/full/number/is-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/is-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/is-nan.js b/node_modules/core-js/full/number/is-nan.js new file mode 100644 index 00000000..e5bb8d02 --- /dev/null +++ b/node_modules/core-js/full/number/is-nan.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/is-nan'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/is-safe-integer.js b/node_modules/core-js/full/number/is-safe-integer.js new file mode 100644 index 00000000..2a81972b --- /dev/null +++ b/node_modules/core-js/full/number/is-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/is-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/max-safe-integer.js b/node_modules/core-js/full/number/max-safe-integer.js new file mode 100644 index 00000000..8090e2ae --- /dev/null +++ b/node_modules/core-js/full/number/max-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/max-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/min-safe-integer.js b/node_modules/core-js/full/number/min-safe-integer.js new file mode 100644 index 00000000..9c95f274 --- /dev/null +++ b/node_modules/core-js/full/number/min-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/min-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/parse-float.js b/node_modules/core-js/full/number/parse-float.js new file mode 100644 index 00000000..0c815791 --- /dev/null +++ b/node_modules/core-js/full/number/parse-float.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/parse-float'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/parse-int.js b/node_modules/core-js/full/number/parse-int.js new file mode 100644 index 00000000..211a7032 --- /dev/null +++ b/node_modules/core-js/full/number/parse-int.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/parse-int'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/range.js b/node_modules/core-js/full/number/range.js new file mode 100644 index 00000000..5b02c43c --- /dev/null +++ b/node_modules/core-js/full/number/range.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.number.range'); +var path = require('../../internals/path'); + +module.exports = path.Number.range; diff --git a/node_modules/core-js/full/number/to-exponential.js b/node_modules/core-js/full/number/to-exponential.js new file mode 100644 index 00000000..35ecf72e --- /dev/null +++ b/node_modules/core-js/full/number/to-exponential.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/to-exponential'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/to-fixed.js b/node_modules/core-js/full/number/to-fixed.js new file mode 100644 index 00000000..4541d0e1 --- /dev/null +++ b/node_modules/core-js/full/number/to-fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/to-fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/to-precision.js b/node_modules/core-js/full/number/to-precision.js new file mode 100644 index 00000000..6a5453b7 --- /dev/null +++ b/node_modules/core-js/full/number/to-precision.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/number/to-precision'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/virtual/index.js b/node_modules/core-js/full/number/virtual/index.js new file mode 100644 index 00000000..8c21e414 --- /dev/null +++ b/node_modules/core-js/full/number/virtual/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/number/virtual'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/virtual/to-exponential.js b/node_modules/core-js/full/number/virtual/to-exponential.js new file mode 100644 index 00000000..7e9c11c8 --- /dev/null +++ b/node_modules/core-js/full/number/virtual/to-exponential.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/number/virtual/to-exponential'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/virtual/to-fixed.js b/node_modules/core-js/full/number/virtual/to-fixed.js new file mode 100644 index 00000000..fd794111 --- /dev/null +++ b/node_modules/core-js/full/number/virtual/to-fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/number/virtual/to-fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/number/virtual/to-precision.js b/node_modules/core-js/full/number/virtual/to-precision.js new file mode 100644 index 00000000..7613cbe0 --- /dev/null +++ b/node_modules/core-js/full/number/virtual/to-precision.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/number/virtual/to-precision'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/assign.js b/node_modules/core-js/full/object/assign.js new file mode 100644 index 00000000..31728d17 --- /dev/null +++ b/node_modules/core-js/full/object/assign.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/assign'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/create.js b/node_modules/core-js/full/object/create.js new file mode 100644 index 00000000..6f345f1b --- /dev/null +++ b/node_modules/core-js/full/object/create.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/create'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/define-getter.js b/node_modules/core-js/full/object/define-getter.js new file mode 100644 index 00000000..b227de08 --- /dev/null +++ b/node_modules/core-js/full/object/define-getter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/define-getter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/define-properties.js b/node_modules/core-js/full/object/define-properties.js new file mode 100644 index 00000000..4e8b0e0c --- /dev/null +++ b/node_modules/core-js/full/object/define-properties.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/define-properties'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/define-property.js b/node_modules/core-js/full/object/define-property.js new file mode 100644 index 00000000..49fbbb7b --- /dev/null +++ b/node_modules/core-js/full/object/define-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/define-property'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/define-setter.js b/node_modules/core-js/full/object/define-setter.js new file mode 100644 index 00000000..64d47ddc --- /dev/null +++ b/node_modules/core-js/full/object/define-setter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/define-setter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/entries.js b/node_modules/core-js/full/object/entries.js new file mode 100644 index 00000000..38df8a74 --- /dev/null +++ b/node_modules/core-js/full/object/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/freeze.js b/node_modules/core-js/full/object/freeze.js new file mode 100644 index 00000000..cb2d1fba --- /dev/null +++ b/node_modules/core-js/full/object/freeze.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/freeze'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/from-entries.js b/node_modules/core-js/full/object/from-entries.js new file mode 100644 index 00000000..e057e664 --- /dev/null +++ b/node_modules/core-js/full/object/from-entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/from-entries'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/get-own-property-descriptor.js b/node_modules/core-js/full/object/get-own-property-descriptor.js new file mode 100644 index 00000000..0a2d96b4 --- /dev/null +++ b/node_modules/core-js/full/object/get-own-property-descriptor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/get-own-property-descriptor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/get-own-property-descriptors.js b/node_modules/core-js/full/object/get-own-property-descriptors.js new file mode 100644 index 00000000..2d084c62 --- /dev/null +++ b/node_modules/core-js/full/object/get-own-property-descriptors.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/get-own-property-descriptors'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/get-own-property-names.js b/node_modules/core-js/full/object/get-own-property-names.js new file mode 100644 index 00000000..02d280f2 --- /dev/null +++ b/node_modules/core-js/full/object/get-own-property-names.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/get-own-property-names'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/get-own-property-symbols.js b/node_modules/core-js/full/object/get-own-property-symbols.js new file mode 100644 index 00000000..ebad5058 --- /dev/null +++ b/node_modules/core-js/full/object/get-own-property-symbols.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/get-own-property-symbols'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/get-prototype-of.js b/node_modules/core-js/full/object/get-prototype-of.js new file mode 100644 index 00000000..5cb26a87 --- /dev/null +++ b/node_modules/core-js/full/object/get-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/get-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/group-by.js b/node_modules/core-js/full/object/group-by.js new file mode 100644 index 00000000..c52c073d --- /dev/null +++ b/node_modules/core-js/full/object/group-by.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/group-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/has-own.js b/node_modules/core-js/full/object/has-own.js new file mode 100644 index 00000000..3d2c4edd --- /dev/null +++ b/node_modules/core-js/full/object/has-own.js @@ -0,0 +1,7 @@ +'use strict'; +var parent = require('../../actual/object/has-own'); + +// TODO: Remove from `core-js@4` +require('../../modules/esnext.object.has-own'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/index.js b/node_modules/core-js/full/object/index.js new file mode 100644 index 00000000..6720214e --- /dev/null +++ b/node_modules/core-js/full/object/index.js @@ -0,0 +1,9 @@ +'use strict'; +var parent = require('../../actual/object'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.object.has-own'); +require('../../modules/esnext.object.iterate-entries'); +require('../../modules/esnext.object.iterate-keys'); +require('../../modules/esnext.object.iterate-values'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/is-extensible.js b/node_modules/core-js/full/object/is-extensible.js new file mode 100644 index 00000000..7bc463ad --- /dev/null +++ b/node_modules/core-js/full/object/is-extensible.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/is-extensible'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/is-frozen.js b/node_modules/core-js/full/object/is-frozen.js new file mode 100644 index 00000000..5573c286 --- /dev/null +++ b/node_modules/core-js/full/object/is-frozen.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/is-frozen'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/is-sealed.js b/node_modules/core-js/full/object/is-sealed.js new file mode 100644 index 00000000..423fcafa --- /dev/null +++ b/node_modules/core-js/full/object/is-sealed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/is-sealed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/is.js b/node_modules/core-js/full/object/is.js new file mode 100644 index 00000000..07872605 --- /dev/null +++ b/node_modules/core-js/full/object/is.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/is'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/iterate-entries.js b/node_modules/core-js/full/object/iterate-entries.js new file mode 100644 index 00000000..e46f8810 --- /dev/null +++ b/node_modules/core-js/full/object/iterate-entries.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.object.iterate-entries'); +var path = require('../../internals/path'); + +module.exports = path.Object.iterateEntries; diff --git a/node_modules/core-js/full/object/iterate-keys.js b/node_modules/core-js/full/object/iterate-keys.js new file mode 100644 index 00000000..68afc745 --- /dev/null +++ b/node_modules/core-js/full/object/iterate-keys.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.object.iterate-keys'); +var path = require('../../internals/path'); + +module.exports = path.Object.iterateKeys; diff --git a/node_modules/core-js/full/object/iterate-values.js b/node_modules/core-js/full/object/iterate-values.js new file mode 100644 index 00000000..2a351275 --- /dev/null +++ b/node_modules/core-js/full/object/iterate-values.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.object.iterate-values'); +var path = require('../../internals/path'); + +module.exports = path.Object.iterateValues; diff --git a/node_modules/core-js/full/object/keys.js b/node_modules/core-js/full/object/keys.js new file mode 100644 index 00000000..f5e1b56d --- /dev/null +++ b/node_modules/core-js/full/object/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/lookup-getter.js b/node_modules/core-js/full/object/lookup-getter.js new file mode 100644 index 00000000..e74c064e --- /dev/null +++ b/node_modules/core-js/full/object/lookup-getter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/lookup-getter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/lookup-setter.js b/node_modules/core-js/full/object/lookup-setter.js new file mode 100644 index 00000000..7a11b4a0 --- /dev/null +++ b/node_modules/core-js/full/object/lookup-setter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/lookup-setter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/prevent-extensions.js b/node_modules/core-js/full/object/prevent-extensions.js new file mode 100644 index 00000000..55376945 --- /dev/null +++ b/node_modules/core-js/full/object/prevent-extensions.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/prevent-extensions'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/proto.js b/node_modules/core-js/full/object/proto.js new file mode 100644 index 00000000..dcf2a1ac --- /dev/null +++ b/node_modules/core-js/full/object/proto.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/proto'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/seal.js b/node_modules/core-js/full/object/seal.js new file mode 100644 index 00000000..7afd5a95 --- /dev/null +++ b/node_modules/core-js/full/object/seal.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/seal'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/set-prototype-of.js b/node_modules/core-js/full/object/set-prototype-of.js new file mode 100644 index 00000000..e3434d7b --- /dev/null +++ b/node_modules/core-js/full/object/set-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/set-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/to-string.js b/node_modules/core-js/full/object/to-string.js new file mode 100644 index 00000000..7c590c68 --- /dev/null +++ b/node_modules/core-js/full/object/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/full/object/values.js b/node_modules/core-js/full/object/values.js new file mode 100644 index 00000000..72b86911 --- /dev/null +++ b/node_modules/core-js/full/object/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/object/values'); + +module.exports = parent; diff --git a/node_modules/core-js/full/observable/index.js b/node_modules/core-js/full/observable/index.js new file mode 100644 index 00000000..c29fa73f --- /dev/null +++ b/node_modules/core-js/full/observable/index.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../modules/esnext.observable'); +require('../../modules/esnext.symbol.observable'); +require('../../modules/es.object.to-string'); +require('../../modules/es.string.iterator'); +require('../../modules/web.dom-collections.iterator'); +var path = require('../../internals/path'); + +module.exports = path.Observable; diff --git a/node_modules/core-js/full/parse-float.js b/node_modules/core-js/full/parse-float.js new file mode 100644 index 00000000..943f46e9 --- /dev/null +++ b/node_modules/core-js/full/parse-float.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/parse-float'); + +module.exports = parent; diff --git a/node_modules/core-js/full/parse-int.js b/node_modules/core-js/full/parse-int.js new file mode 100644 index 00000000..02673086 --- /dev/null +++ b/node_modules/core-js/full/parse-int.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/parse-int'); + +module.exports = parent; diff --git a/node_modules/core-js/full/promise/all-settled.js b/node_modules/core-js/full/promise/all-settled.js new file mode 100644 index 00000000..5279cbad --- /dev/null +++ b/node_modules/core-js/full/promise/all-settled.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/esnext.promise.all-settled'); + +var parent = require('../../actual/promise/all-settled'); + +module.exports = parent; diff --git a/node_modules/core-js/full/promise/any.js b/node_modules/core-js/full/promise/any.js new file mode 100644 index 00000000..ab2a7da1 --- /dev/null +++ b/node_modules/core-js/full/promise/any.js @@ -0,0 +1,8 @@ +'use strict'; +var parent = require('../../actual/promise/any'); + +// TODO: Remove from `core-js@4` +require('../../modules/esnext.aggregate-error'); +require('../../modules/esnext.promise.any'); + +module.exports = parent; diff --git a/node_modules/core-js/full/promise/finally.js b/node_modules/core-js/full/promise/finally.js new file mode 100644 index 00000000..feae5bba --- /dev/null +++ b/node_modules/core-js/full/promise/finally.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/promise/finally'); + +module.exports = parent; diff --git a/node_modules/core-js/full/promise/index.js b/node_modules/core-js/full/promise/index.js new file mode 100644 index 00000000..29740615 --- /dev/null +++ b/node_modules/core-js/full/promise/index.js @@ -0,0 +1,9 @@ +'use strict'; +var parent = require('../../actual/promise'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.aggregate-error'); +require('../../modules/esnext.promise.all-settled'); +require('../../modules/esnext.promise.try'); +require('../../modules/esnext.promise.any'); + +module.exports = parent; diff --git a/node_modules/core-js/full/promise/try.js b/node_modules/core-js/full/promise/try.js new file mode 100644 index 00000000..a35f233f --- /dev/null +++ b/node_modules/core-js/full/promise/try.js @@ -0,0 +1,13 @@ +'use strict'; +require('../../modules/es.promise'); +require('../../modules/esnext.promise.try'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var Promise = path.Promise; +var promiseTry = Promise['try']; + +module.exports = { 'try': function (callbackfn) { + return call(promiseTry, isCallable(this) ? this : Promise, callbackfn); +} }['try']; diff --git a/node_modules/core-js/full/promise/with-resolvers.js b/node_modules/core-js/full/promise/with-resolvers.js new file mode 100644 index 00000000..f1b07093 --- /dev/null +++ b/node_modules/core-js/full/promise/with-resolvers.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/promise/with-resolvers'); + +module.exports = parent; diff --git a/node_modules/core-js/full/queue-microtask.js b/node_modules/core-js/full/queue-microtask.js new file mode 100644 index 00000000..a01488ce --- /dev/null +++ b/node_modules/core-js/full/queue-microtask.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/queue-microtask'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/apply.js b/node_modules/core-js/full/reflect/apply.js new file mode 100644 index 00000000..39adbcd3 --- /dev/null +++ b/node_modules/core-js/full/reflect/apply.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/apply'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/construct.js b/node_modules/core-js/full/reflect/construct.js new file mode 100644 index 00000000..7f1bb95e --- /dev/null +++ b/node_modules/core-js/full/reflect/construct.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/construct'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/define-metadata.js b/node_modules/core-js/full/reflect/define-metadata.js new file mode 100644 index 00000000..dba9cc3b --- /dev/null +++ b/node_modules/core-js/full/reflect/define-metadata.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.define-metadata'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.defineMetadata; diff --git a/node_modules/core-js/full/reflect/define-property.js b/node_modules/core-js/full/reflect/define-property.js new file mode 100644 index 00000000..f3f7d5f8 --- /dev/null +++ b/node_modules/core-js/full/reflect/define-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/define-property'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/delete-metadata.js b/node_modules/core-js/full/reflect/delete-metadata.js new file mode 100644 index 00000000..a3a37336 --- /dev/null +++ b/node_modules/core-js/full/reflect/delete-metadata.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.delete-metadata'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.deleteMetadata; diff --git a/node_modules/core-js/full/reflect/delete-property.js b/node_modules/core-js/full/reflect/delete-property.js new file mode 100644 index 00000000..270cb5d9 --- /dev/null +++ b/node_modules/core-js/full/reflect/delete-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/delete-property'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/get-metadata-keys.js b/node_modules/core-js/full/reflect/get-metadata-keys.js new file mode 100644 index 00000000..4d671fdc --- /dev/null +++ b/node_modules/core-js/full/reflect/get-metadata-keys.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.get-metadata-keys'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.getMetadataKeys; diff --git a/node_modules/core-js/full/reflect/get-metadata.js b/node_modules/core-js/full/reflect/get-metadata.js new file mode 100644 index 00000000..738bd740 --- /dev/null +++ b/node_modules/core-js/full/reflect/get-metadata.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.get-metadata'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.getMetadata; diff --git a/node_modules/core-js/full/reflect/get-own-metadata-keys.js b/node_modules/core-js/full/reflect/get-own-metadata-keys.js new file mode 100644 index 00000000..bd33e654 --- /dev/null +++ b/node_modules/core-js/full/reflect/get-own-metadata-keys.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.get-own-metadata-keys'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.getOwnMetadataKeys; diff --git a/node_modules/core-js/full/reflect/get-own-metadata.js b/node_modules/core-js/full/reflect/get-own-metadata.js new file mode 100644 index 00000000..c8890df8 --- /dev/null +++ b/node_modules/core-js/full/reflect/get-own-metadata.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.get-own-metadata'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.getOwnMetadata; diff --git a/node_modules/core-js/full/reflect/get-own-property-descriptor.js b/node_modules/core-js/full/reflect/get-own-property-descriptor.js new file mode 100644 index 00000000..4610a0f8 --- /dev/null +++ b/node_modules/core-js/full/reflect/get-own-property-descriptor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/get-own-property-descriptor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/get-prototype-of.js b/node_modules/core-js/full/reflect/get-prototype-of.js new file mode 100644 index 00000000..e948f49a --- /dev/null +++ b/node_modules/core-js/full/reflect/get-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/get-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/get.js b/node_modules/core-js/full/reflect/get.js new file mode 100644 index 00000000..75b2c856 --- /dev/null +++ b/node_modules/core-js/full/reflect/get.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/get'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/has-metadata.js b/node_modules/core-js/full/reflect/has-metadata.js new file mode 100644 index 00000000..bd623a74 --- /dev/null +++ b/node_modules/core-js/full/reflect/has-metadata.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.has-metadata'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.hasMetadata; diff --git a/node_modules/core-js/full/reflect/has-own-metadata.js b/node_modules/core-js/full/reflect/has-own-metadata.js new file mode 100644 index 00000000..f56149fa --- /dev/null +++ b/node_modules/core-js/full/reflect/has-own-metadata.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.has-own-metadata'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.hasOwnMetadata; diff --git a/node_modules/core-js/full/reflect/has.js b/node_modules/core-js/full/reflect/has.js new file mode 100644 index 00000000..3de54d84 --- /dev/null +++ b/node_modules/core-js/full/reflect/has.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/has'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/index.js b/node_modules/core-js/full/reflect/index.js new file mode 100644 index 00000000..5ff58926 --- /dev/null +++ b/node_modules/core-js/full/reflect/index.js @@ -0,0 +1,13 @@ +'use strict'; +var parent = require('../../actual/reflect'); +require('../../modules/esnext.reflect.define-metadata'); +require('../../modules/esnext.reflect.delete-metadata'); +require('../../modules/esnext.reflect.get-metadata'); +require('../../modules/esnext.reflect.get-metadata-keys'); +require('../../modules/esnext.reflect.get-own-metadata'); +require('../../modules/esnext.reflect.get-own-metadata-keys'); +require('../../modules/esnext.reflect.has-metadata'); +require('../../modules/esnext.reflect.has-own-metadata'); +require('../../modules/esnext.reflect.metadata'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/is-extensible.js b/node_modules/core-js/full/reflect/is-extensible.js new file mode 100644 index 00000000..b6131c49 --- /dev/null +++ b/node_modules/core-js/full/reflect/is-extensible.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/is-extensible'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/metadata.js b/node_modules/core-js/full/reflect/metadata.js new file mode 100644 index 00000000..a3ff8f56 --- /dev/null +++ b/node_modules/core-js/full/reflect/metadata.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.reflect.metadata'); +var path = require('../../internals/path'); + +module.exports = path.Reflect.metadata; diff --git a/node_modules/core-js/full/reflect/own-keys.js b/node_modules/core-js/full/reflect/own-keys.js new file mode 100644 index 00000000..1bfadd3b --- /dev/null +++ b/node_modules/core-js/full/reflect/own-keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/own-keys'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/prevent-extensions.js b/node_modules/core-js/full/reflect/prevent-extensions.js new file mode 100644 index 00000000..48af9575 --- /dev/null +++ b/node_modules/core-js/full/reflect/prevent-extensions.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/prevent-extensions'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/set-prototype-of.js b/node_modules/core-js/full/reflect/set-prototype-of.js new file mode 100644 index 00000000..0d07597c --- /dev/null +++ b/node_modules/core-js/full/reflect/set-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/set-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/set.js b/node_modules/core-js/full/reflect/set.js new file mode 100644 index 00000000..a08a20d7 --- /dev/null +++ b/node_modules/core-js/full/reflect/set.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/reflect/set'); + +module.exports = parent; diff --git a/node_modules/core-js/full/reflect/to-string-tag.js b/node_modules/core-js/full/reflect/to-string-tag.js new file mode 100644 index 00000000..3908aff3 --- /dev/null +++ b/node_modules/core-js/full/reflect/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.reflect.to-string-tag'); + +module.exports = 'Reflect'; diff --git a/node_modules/core-js/full/regexp/constructor.js b/node_modules/core-js/full/regexp/constructor.js new file mode 100644 index 00000000..414c1dbc --- /dev/null +++ b/node_modules/core-js/full/regexp/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/dot-all.js b/node_modules/core-js/full/regexp/dot-all.js new file mode 100644 index 00000000..bb687d21 --- /dev/null +++ b/node_modules/core-js/full/regexp/dot-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/dot-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/flags.js b/node_modules/core-js/full/regexp/flags.js new file mode 100644 index 00000000..1356b99a --- /dev/null +++ b/node_modules/core-js/full/regexp/flags.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/flags'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/index.js b/node_modules/core-js/full/regexp/index.js new file mode 100644 index 00000000..427bbc1a --- /dev/null +++ b/node_modules/core-js/full/regexp/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/match.js b/node_modules/core-js/full/regexp/match.js new file mode 100644 index 00000000..97dcf32a --- /dev/null +++ b/node_modules/core-js/full/regexp/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/match'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/replace.js b/node_modules/core-js/full/regexp/replace.js new file mode 100644 index 00000000..5c22adb8 --- /dev/null +++ b/node_modules/core-js/full/regexp/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/search.js b/node_modules/core-js/full/regexp/search.js new file mode 100644 index 00000000..551c4039 --- /dev/null +++ b/node_modules/core-js/full/regexp/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/search'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/split.js b/node_modules/core-js/full/regexp/split.js new file mode 100644 index 00000000..2aaa16c4 --- /dev/null +++ b/node_modules/core-js/full/regexp/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/split'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/sticky.js b/node_modules/core-js/full/regexp/sticky.js new file mode 100644 index 00000000..28314252 --- /dev/null +++ b/node_modules/core-js/full/regexp/sticky.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/sticky'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/test.js b/node_modules/core-js/full/regexp/test.js new file mode 100644 index 00000000..04e5c12b --- /dev/null +++ b/node_modules/core-js/full/regexp/test.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/test'); + +module.exports = parent; diff --git a/node_modules/core-js/full/regexp/to-string.js b/node_modules/core-js/full/regexp/to-string.js new file mode 100644 index 00000000..f2a27097 --- /dev/null +++ b/node_modules/core-js/full/regexp/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/regexp/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/full/self.js b/node_modules/core-js/full/self.js new file mode 100644 index 00000000..f460150e --- /dev/null +++ b/node_modules/core-js/full/self.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/self'); + +module.exports = parent; diff --git a/node_modules/core-js/full/set-immediate.js b/node_modules/core-js/full/set-immediate.js new file mode 100644 index 00000000..8d99840b --- /dev/null +++ b/node_modules/core-js/full/set-immediate.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/set-immediate'); + +module.exports = parent; diff --git a/node_modules/core-js/full/set-interval.js b/node_modules/core-js/full/set-interval.js new file mode 100644 index 00000000..b542c54b --- /dev/null +++ b/node_modules/core-js/full/set-interval.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/set-interval'); + +module.exports = parent; diff --git a/node_modules/core-js/full/set-timeout.js b/node_modules/core-js/full/set-timeout.js new file mode 100644 index 00000000..2cc19782 --- /dev/null +++ b/node_modules/core-js/full/set-timeout.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/set-timeout'); + +module.exports = parent; diff --git a/node_modules/core-js/full/set/add-all.js b/node_modules/core-js/full/set/add-all.js new file mode 100644 index 00000000..bafef1c9 --- /dev/null +++ b/node_modules/core-js/full/set/add-all.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.add-all'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'addAll'); diff --git a/node_modules/core-js/full/set/delete-all.js b/node_modules/core-js/full/set/delete-all.js new file mode 100644 index 00000000..02336216 --- /dev/null +++ b/node_modules/core-js/full/set/delete-all.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.delete-all'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'deleteAll'); diff --git a/node_modules/core-js/full/set/difference.js b/node_modules/core-js/full/set/difference.js new file mode 100644 index 00000000..879eff13 --- /dev/null +++ b/node_modules/core-js/full/set/difference.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../actual/set/difference'); +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.set.difference'); +require('../../modules/web.dom-collections.iterator'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'difference'); diff --git a/node_modules/core-js/full/set/every.js b/node_modules/core-js/full/set/every.js new file mode 100644 index 00000000..f5c0cfb2 --- /dev/null +++ b/node_modules/core-js/full/set/every.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.every'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'every'); diff --git a/node_modules/core-js/full/set/filter.js b/node_modules/core-js/full/set/filter.js new file mode 100644 index 00000000..31500687 --- /dev/null +++ b/node_modules/core-js/full/set/filter.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.filter'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'filter'); diff --git a/node_modules/core-js/full/set/find.js b/node_modules/core-js/full/set/find.js new file mode 100644 index 00000000..9ff5b53b --- /dev/null +++ b/node_modules/core-js/full/set/find.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.find'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'find'); diff --git a/node_modules/core-js/full/set/from.js b/node_modules/core-js/full/set/from.js new file mode 100644 index 00000000..f7750512 --- /dev/null +++ b/node_modules/core-js/full/set/from.js @@ -0,0 +1,16 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.set'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.set.from'); +require('../../modules/web.dom-collections.iterator'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var Set = path.Set; +var $from = Set.from; + +module.exports = function from(source, mapFn, thisArg) { + return call($from, isCallable(this) ? this : Set, source, mapFn, thisArg); +}; diff --git a/node_modules/core-js/full/set/index.js b/node_modules/core-js/full/set/index.js new file mode 100644 index 00000000..f483f9ec --- /dev/null +++ b/node_modules/core-js/full/set/index.js @@ -0,0 +1,22 @@ +'use strict'; +var parent = require('../../actual/set'); +require('../../modules/esnext.set.from'); +require('../../modules/esnext.set.of'); +require('../../modules/esnext.set.add-all'); +require('../../modules/esnext.set.delete-all'); +require('../../modules/esnext.set.every'); +require('../../modules/esnext.set.difference'); +require('../../modules/esnext.set.filter'); +require('../../modules/esnext.set.find'); +require('../../modules/esnext.set.intersection'); +require('../../modules/esnext.set.is-disjoint-from'); +require('../../modules/esnext.set.is-subset-of'); +require('../../modules/esnext.set.is-superset-of'); +require('../../modules/esnext.set.join'); +require('../../modules/esnext.set.map'); +require('../../modules/esnext.set.reduce'); +require('../../modules/esnext.set.some'); +require('../../modules/esnext.set.symmetric-difference'); +require('../../modules/esnext.set.union'); + +module.exports = parent; diff --git a/node_modules/core-js/full/set/intersection.js b/node_modules/core-js/full/set/intersection.js new file mode 100644 index 00000000..8e96ff5f --- /dev/null +++ b/node_modules/core-js/full/set/intersection.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../actual/set/intersection'); +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.set.intersection'); +require('../../modules/web.dom-collections.iterator'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'intersection'); diff --git a/node_modules/core-js/full/set/is-disjoint-from.js b/node_modules/core-js/full/set/is-disjoint-from.js new file mode 100644 index 00000000..0eae0d6e --- /dev/null +++ b/node_modules/core-js/full/set/is-disjoint-from.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../actual/set/is-disjoint-from'); +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.set.is-disjoint-from'); +require('../../modules/web.dom-collections.iterator'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'isDisjointFrom'); diff --git a/node_modules/core-js/full/set/is-subset-of.js b/node_modules/core-js/full/set/is-subset-of.js new file mode 100644 index 00000000..6cab4250 --- /dev/null +++ b/node_modules/core-js/full/set/is-subset-of.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../actual/set/is-subset-of'); +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.set.is-subset-of'); +require('../../modules/web.dom-collections.iterator'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'isSubsetOf'); diff --git a/node_modules/core-js/full/set/is-superset-of.js b/node_modules/core-js/full/set/is-superset-of.js new file mode 100644 index 00000000..38c029ec --- /dev/null +++ b/node_modules/core-js/full/set/is-superset-of.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../actual/set/is-superset-of'); +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.set.is-superset-of'); +require('../../modules/web.dom-collections.iterator'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'isSupersetOf'); diff --git a/node_modules/core-js/full/set/join.js b/node_modules/core-js/full/set/join.js new file mode 100644 index 00000000..f50f5e2e --- /dev/null +++ b/node_modules/core-js/full/set/join.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.join'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'join'); diff --git a/node_modules/core-js/full/set/map.js b/node_modules/core-js/full/set/map.js new file mode 100644 index 00000000..0785cfc5 --- /dev/null +++ b/node_modules/core-js/full/set/map.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.map'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'map'); diff --git a/node_modules/core-js/full/set/of.js b/node_modules/core-js/full/set/of.js new file mode 100644 index 00000000..eac72b7e --- /dev/null +++ b/node_modules/core-js/full/set/of.js @@ -0,0 +1,14 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.set'); +require('../../modules/esnext.set.of'); +var path = require('../../internals/path'); +var apply = require('../../internals/function-apply'); +var isCallable = require('../../internals/is-callable'); + +var Set = path.Set; +var setOf = Set.of; + +module.exports = function of() { + return apply(setOf, isCallable(this) ? this : Set, arguments); +}; diff --git a/node_modules/core-js/full/set/reduce.js b/node_modules/core-js/full/set/reduce.js new file mode 100644 index 00000000..5e624cd6 --- /dev/null +++ b/node_modules/core-js/full/set/reduce.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.reduce'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'reduce'); diff --git a/node_modules/core-js/full/set/some.js b/node_modules/core-js/full/set/some.js new file mode 100644 index 00000000..9a7adfda --- /dev/null +++ b/node_modules/core-js/full/set/some.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.set'); +require('../../modules/esnext.set.some'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'some'); diff --git a/node_modules/core-js/full/set/symmetric-difference.js b/node_modules/core-js/full/set/symmetric-difference.js new file mode 100644 index 00000000..04b74e8b --- /dev/null +++ b/node_modules/core-js/full/set/symmetric-difference.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../actual/set/symmetric-difference'); +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.set.symmetric-difference'); +require('../../modules/web.dom-collections.iterator'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'symmetricDifference'); diff --git a/node_modules/core-js/full/set/union.js b/node_modules/core-js/full/set/union.js new file mode 100644 index 00000000..146011c3 --- /dev/null +++ b/node_modules/core-js/full/set/union.js @@ -0,0 +1,9 @@ +'use strict'; +require('../../actual/set/union'); +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.set.union'); +require('../../modules/web.dom-collections.iterator'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Set', 'union'); diff --git a/node_modules/core-js/full/string/anchor.js b/node_modules/core-js/full/string/anchor.js new file mode 100644 index 00000000..8faede4b --- /dev/null +++ b/node_modules/core-js/full/string/anchor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/anchor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/at.js b/node_modules/core-js/full/string/at.js new file mode 100644 index 00000000..a3903ea1 --- /dev/null +++ b/node_modules/core-js/full/string/at.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../actual/string/at'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.string.at'); + +module.exports = require('../../internals/entry-unbind')('String', 'at'); diff --git a/node_modules/core-js/full/string/big.js b/node_modules/core-js/full/string/big.js new file mode 100644 index 00000000..bc349a24 --- /dev/null +++ b/node_modules/core-js/full/string/big.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/big'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/blink.js b/node_modules/core-js/full/string/blink.js new file mode 100644 index 00000000..e8abf633 --- /dev/null +++ b/node_modules/core-js/full/string/blink.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/blink'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/bold.js b/node_modules/core-js/full/string/bold.js new file mode 100644 index 00000000..e7954e58 --- /dev/null +++ b/node_modules/core-js/full/string/bold.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/bold'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/code-point-at.js b/node_modules/core-js/full/string/code-point-at.js new file mode 100644 index 00000000..ade6be4d --- /dev/null +++ b/node_modules/core-js/full/string/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/code-points.js b/node_modules/core-js/full/string/code-points.js new file mode 100644 index 00000000..73bca4e5 --- /dev/null +++ b/node_modules/core-js/full/string/code-points.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/esnext.string.code-points'); + +module.exports = require('../../internals/entry-unbind')('String', 'codePoints'); diff --git a/node_modules/core-js/full/string/cooked.js b/node_modules/core-js/full/string/cooked.js new file mode 100644 index 00000000..6eddb1b7 --- /dev/null +++ b/node_modules/core-js/full/string/cooked.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.string.cooked'); +var path = require('../../internals/path'); + +module.exports = path.String.cooked; diff --git a/node_modules/core-js/full/string/dedent.js b/node_modules/core-js/full/string/dedent.js new file mode 100644 index 00000000..68eb0900 --- /dev/null +++ b/node_modules/core-js/full/string/dedent.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.string.from-code-point'); +require('../../modules/es.weak-map'); +require('../../modules/esnext.string.dedent'); +var path = require('../../internals/path'); + +module.exports = path.String.dedent; diff --git a/node_modules/core-js/full/string/ends-with.js b/node_modules/core-js/full/string/ends-with.js new file mode 100644 index 00000000..44ad69ef --- /dev/null +++ b/node_modules/core-js/full/string/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/fixed.js b/node_modules/core-js/full/string/fixed.js new file mode 100644 index 00000000..44efff25 --- /dev/null +++ b/node_modules/core-js/full/string/fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/fontcolor.js b/node_modules/core-js/full/string/fontcolor.js new file mode 100644 index 00000000..f491dfb2 --- /dev/null +++ b/node_modules/core-js/full/string/fontcolor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/fontcolor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/fontsize.js b/node_modules/core-js/full/string/fontsize.js new file mode 100644 index 00000000..0dffa6a4 --- /dev/null +++ b/node_modules/core-js/full/string/fontsize.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/fontsize'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/from-code-point.js b/node_modules/core-js/full/string/from-code-point.js new file mode 100644 index 00000000..3c2e909d --- /dev/null +++ b/node_modules/core-js/full/string/from-code-point.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/from-code-point'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/includes.js b/node_modules/core-js/full/string/includes.js new file mode 100644 index 00000000..52966da9 --- /dev/null +++ b/node_modules/core-js/full/string/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/index.js b/node_modules/core-js/full/string/index.js new file mode 100644 index 00000000..708cbe65 --- /dev/null +++ b/node_modules/core-js/full/string/index.js @@ -0,0 +1,12 @@ +'use strict'; +var parent = require('../../actual/string'); +require('../../modules/es.weak-map'); +// TODO: remove from `core-js@4` +require('../../modules/esnext.string.at'); +require('../../modules/esnext.string.cooked'); +require('../../modules/esnext.string.code-points'); +require('../../modules/esnext.string.dedent'); +require('../../modules/esnext.string.match-all'); +require('../../modules/esnext.string.replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/is-well-formed.js b/node_modules/core-js/full/string/is-well-formed.js new file mode 100644 index 00000000..c156be27 --- /dev/null +++ b/node_modules/core-js/full/string/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/italics.js b/node_modules/core-js/full/string/italics.js new file mode 100644 index 00000000..42184d37 --- /dev/null +++ b/node_modules/core-js/full/string/italics.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/italics'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/iterator.js b/node_modules/core-js/full/string/iterator.js new file mode 100644 index 00000000..fefcef63 --- /dev/null +++ b/node_modules/core-js/full/string/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/link.js b/node_modules/core-js/full/string/link.js new file mode 100644 index 00000000..3acbcfbb --- /dev/null +++ b/node_modules/core-js/full/string/link.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/link'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/match-all.js b/node_modules/core-js/full/string/match-all.js new file mode 100644 index 00000000..9d23a4af --- /dev/null +++ b/node_modules/core-js/full/string/match-all.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../../modules/esnext.string.match-all'); + +var parent = require('../../actual/string/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/match.js b/node_modules/core-js/full/string/match.js new file mode 100644 index 00000000..a3dc019a --- /dev/null +++ b/node_modules/core-js/full/string/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/match'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/pad-end.js b/node_modules/core-js/full/string/pad-end.js new file mode 100644 index 00000000..d51bd030 --- /dev/null +++ b/node_modules/core-js/full/string/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/pad-start.js b/node_modules/core-js/full/string/pad-start.js new file mode 100644 index 00000000..f93fbdcd --- /dev/null +++ b/node_modules/core-js/full/string/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/raw.js b/node_modules/core-js/full/string/raw.js new file mode 100644 index 00000000..d3041970 --- /dev/null +++ b/node_modules/core-js/full/string/raw.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/raw'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/repeat.js b/node_modules/core-js/full/string/repeat.js new file mode 100644 index 00000000..f3075ea2 --- /dev/null +++ b/node_modules/core-js/full/string/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/replace-all.js b/node_modules/core-js/full/string/replace-all.js new file mode 100644 index 00000000..1bbb6510 --- /dev/null +++ b/node_modules/core-js/full/string/replace-all.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../../modules/esnext.string.replace-all'); + +var parent = require('../../actual/string/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/replace.js b/node_modules/core-js/full/string/replace.js new file mode 100644 index 00000000..2ada8032 --- /dev/null +++ b/node_modules/core-js/full/string/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/search.js b/node_modules/core-js/full/string/search.js new file mode 100644 index 00000000..53e96af4 --- /dev/null +++ b/node_modules/core-js/full/string/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/search'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/small.js b/node_modules/core-js/full/string/small.js new file mode 100644 index 00000000..5d9b03f6 --- /dev/null +++ b/node_modules/core-js/full/string/small.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/small'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/split.js b/node_modules/core-js/full/string/split.js new file mode 100644 index 00000000..29d49206 --- /dev/null +++ b/node_modules/core-js/full/string/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/split'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/starts-with.js b/node_modules/core-js/full/string/starts-with.js new file mode 100644 index 00000000..677f13ff --- /dev/null +++ b/node_modules/core-js/full/string/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/strike.js b/node_modules/core-js/full/string/strike.js new file mode 100644 index 00000000..39ac25e5 --- /dev/null +++ b/node_modules/core-js/full/string/strike.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/strike'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/sub.js b/node_modules/core-js/full/string/sub.js new file mode 100644 index 00000000..a67dc8e0 --- /dev/null +++ b/node_modules/core-js/full/string/sub.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/sub'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/substr.js b/node_modules/core-js/full/string/substr.js new file mode 100644 index 00000000..0ffb4ae1 --- /dev/null +++ b/node_modules/core-js/full/string/substr.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/substr'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/sup.js b/node_modules/core-js/full/string/sup.js new file mode 100644 index 00000000..2ef447d0 --- /dev/null +++ b/node_modules/core-js/full/string/sup.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/sup'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/to-well-formed.js b/node_modules/core-js/full/string/to-well-formed.js new file mode 100644 index 00000000..ac5affe4 --- /dev/null +++ b/node_modules/core-js/full/string/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/trim-end.js b/node_modules/core-js/full/string/trim-end.js new file mode 100644 index 00000000..6be627fc --- /dev/null +++ b/node_modules/core-js/full/string/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/trim-left.js b/node_modules/core-js/full/string/trim-left.js new file mode 100644 index 00000000..862eb1a6 --- /dev/null +++ b/node_modules/core-js/full/string/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/trim-right.js b/node_modules/core-js/full/string/trim-right.js new file mode 100644 index 00000000..8c34d718 --- /dev/null +++ b/node_modules/core-js/full/string/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/trim-start.js b/node_modules/core-js/full/string/trim-start.js new file mode 100644 index 00000000..b6c6e135 --- /dev/null +++ b/node_modules/core-js/full/string/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/trim.js b/node_modules/core-js/full/string/trim.js new file mode 100644 index 00000000..23cd1773 --- /dev/null +++ b/node_modules/core-js/full/string/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/string/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/anchor.js b/node_modules/core-js/full/string/virtual/anchor.js new file mode 100644 index 00000000..fcd064c2 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/anchor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/anchor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/at.js b/node_modules/core-js/full/string/virtual/at.js new file mode 100644 index 00000000..0767ece8 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/at.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../../actual/string/virtual/at'); +// TODO: Remove from `core-js@4` +require('../../../modules/esnext.string.at'); +var entryVirtual = require('../../../internals/entry-virtual'); + +module.exports = entryVirtual('String').at; diff --git a/node_modules/core-js/full/string/virtual/big.js b/node_modules/core-js/full/string/virtual/big.js new file mode 100644 index 00000000..ea815ef1 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/big.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/big'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/blink.js b/node_modules/core-js/full/string/virtual/blink.js new file mode 100644 index 00000000..906bbe3e --- /dev/null +++ b/node_modules/core-js/full/string/virtual/blink.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/blink'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/bold.js b/node_modules/core-js/full/string/virtual/bold.js new file mode 100644 index 00000000..8cbfe9d9 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/bold.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/bold'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/code-point-at.js b/node_modules/core-js/full/string/virtual/code-point-at.js new file mode 100644 index 00000000..dd2db8f7 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/code-points.js b/node_modules/core-js/full/string/virtual/code-points.js new file mode 100644 index 00000000..08a32501 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/code-points.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../../modules/es.object.to-string'); +require('../../../modules/esnext.string.code-points'); + +module.exports = require('../../../internals/entry-virtual')('String').codePoints; diff --git a/node_modules/core-js/full/string/virtual/ends-with.js b/node_modules/core-js/full/string/virtual/ends-with.js new file mode 100644 index 00000000..e77ae8d1 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/fixed.js b/node_modules/core-js/full/string/virtual/fixed.js new file mode 100644 index 00000000..daf1e224 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/fontcolor.js b/node_modules/core-js/full/string/virtual/fontcolor.js new file mode 100644 index 00000000..1e9fa24f --- /dev/null +++ b/node_modules/core-js/full/string/virtual/fontcolor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/fontcolor'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/fontsize.js b/node_modules/core-js/full/string/virtual/fontsize.js new file mode 100644 index 00000000..19b2a4c6 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/fontsize.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/fontsize'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/includes.js b/node_modules/core-js/full/string/virtual/includes.js new file mode 100644 index 00000000..5057bba8 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/index.js b/node_modules/core-js/full/string/virtual/index.js new file mode 100644 index 00000000..261c940e --- /dev/null +++ b/node_modules/core-js/full/string/virtual/index.js @@ -0,0 +1,10 @@ +'use strict'; +var parent = require('../../../actual/string/virtual'); +// TODO: remove from `core-js@4` +require('../../../modules/esnext.string.at'); +require('../../../modules/esnext.string.code-points'); +// TODO: remove from `core-js@4` +require('../../../modules/esnext.string.match-all'); +require('../../../modules/esnext.string.replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/is-well-formed.js b/node_modules/core-js/full/string/virtual/is-well-formed.js new file mode 100644 index 00000000..0358bea8 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/italics.js b/node_modules/core-js/full/string/virtual/italics.js new file mode 100644 index 00000000..8714b593 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/italics.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/italics'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/iterator.js b/node_modules/core-js/full/string/virtual/iterator.js new file mode 100644 index 00000000..1878fd12 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/link.js b/node_modules/core-js/full/string/virtual/link.js new file mode 100644 index 00000000..f61a09bd --- /dev/null +++ b/node_modules/core-js/full/string/virtual/link.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/link'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/match-all.js b/node_modules/core-js/full/string/virtual/match-all.js new file mode 100644 index 00000000..26e80f63 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/match-all.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../../../modules/esnext.string.match-all'); + +var parent = require('../../../actual/string/virtual/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/pad-end.js b/node_modules/core-js/full/string/virtual/pad-end.js new file mode 100644 index 00000000..f02b9ecd --- /dev/null +++ b/node_modules/core-js/full/string/virtual/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/pad-start.js b/node_modules/core-js/full/string/virtual/pad-start.js new file mode 100644 index 00000000..f8aeed68 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/repeat.js b/node_modules/core-js/full/string/virtual/repeat.js new file mode 100644 index 00000000..4dc5718d --- /dev/null +++ b/node_modules/core-js/full/string/virtual/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/replace-all.js b/node_modules/core-js/full/string/virtual/replace-all.js new file mode 100644 index 00000000..cdf4c9d2 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/replace-all.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../../../modules/esnext.string.replace-all'); + +var parent = require('../../../actual/string/virtual/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/small.js b/node_modules/core-js/full/string/virtual/small.js new file mode 100644 index 00000000..7dd3fdf0 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/small.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/small'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/starts-with.js b/node_modules/core-js/full/string/virtual/starts-with.js new file mode 100644 index 00000000..7cda8185 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/strike.js b/node_modules/core-js/full/string/virtual/strike.js new file mode 100644 index 00000000..f1cdccb1 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/strike.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/strike'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/sub.js b/node_modules/core-js/full/string/virtual/sub.js new file mode 100644 index 00000000..10cb6c2d --- /dev/null +++ b/node_modules/core-js/full/string/virtual/sub.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/sub'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/substr.js b/node_modules/core-js/full/string/virtual/substr.js new file mode 100644 index 00000000..58703667 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/substr.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/substr'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/sup.js b/node_modules/core-js/full/string/virtual/sup.js new file mode 100644 index 00000000..132152b2 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/sup.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/sup'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/to-well-formed.js b/node_modules/core-js/full/string/virtual/to-well-formed.js new file mode 100644 index 00000000..f4f5d71b --- /dev/null +++ b/node_modules/core-js/full/string/virtual/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/trim-end.js b/node_modules/core-js/full/string/virtual/trim-end.js new file mode 100644 index 00000000..961704fa --- /dev/null +++ b/node_modules/core-js/full/string/virtual/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/trim-left.js b/node_modules/core-js/full/string/virtual/trim-left.js new file mode 100644 index 00000000..59bb506b --- /dev/null +++ b/node_modules/core-js/full/string/virtual/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/trim-right.js b/node_modules/core-js/full/string/virtual/trim-right.js new file mode 100644 index 00000000..69fe2c90 --- /dev/null +++ b/node_modules/core-js/full/string/virtual/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/trim-start.js b/node_modules/core-js/full/string/virtual/trim-start.js new file mode 100644 index 00000000..fce3e89e --- /dev/null +++ b/node_modules/core-js/full/string/virtual/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/full/string/virtual/trim.js b/node_modules/core-js/full/string/virtual/trim.js new file mode 100644 index 00000000..af5fa18f --- /dev/null +++ b/node_modules/core-js/full/string/virtual/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../actual/string/virtual/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/full/structured-clone.js b/node_modules/core-js/full/structured-clone.js new file mode 100644 index 00000000..e79f18f7 --- /dev/null +++ b/node_modules/core-js/full/structured-clone.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/structured-clone'); + +module.exports = parent; diff --git a/node_modules/core-js/full/suppressed-error.js b/node_modules/core-js/full/suppressed-error.js new file mode 100644 index 00000000..4b2905ae --- /dev/null +++ b/node_modules/core-js/full/suppressed-error.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/suppressed-error'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/async-dispose.js b/node_modules/core-js/full/symbol/async-dispose.js new file mode 100644 index 00000000..badcbcf2 --- /dev/null +++ b/node_modules/core-js/full/symbol/async-dispose.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/async-dispose'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/async-iterator.js b/node_modules/core-js/full/symbol/async-iterator.js new file mode 100644 index 00000000..fd7aa548 --- /dev/null +++ b/node_modules/core-js/full/symbol/async-iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/async-iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/description.js b/node_modules/core-js/full/symbol/description.js new file mode 100644 index 00000000..01ce17a6 --- /dev/null +++ b/node_modules/core-js/full/symbol/description.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/es.symbol.description'); diff --git a/node_modules/core-js/full/symbol/dispose.js b/node_modules/core-js/full/symbol/dispose.js new file mode 100644 index 00000000..153ed525 --- /dev/null +++ b/node_modules/core-js/full/symbol/dispose.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/dispose'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/for.js b/node_modules/core-js/full/symbol/for.js new file mode 100644 index 00000000..6e5e5c63 --- /dev/null +++ b/node_modules/core-js/full/symbol/for.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/for'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/has-instance.js b/node_modules/core-js/full/symbol/has-instance.js new file mode 100644 index 00000000..b70ed03f --- /dev/null +++ b/node_modules/core-js/full/symbol/has-instance.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/has-instance'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/index.js b/node_modules/core-js/full/symbol/index.js new file mode 100644 index 00000000..35d498cb --- /dev/null +++ b/node_modules/core-js/full/symbol/index.js @@ -0,0 +1,14 @@ +'use strict'; +var parent = require('../../actual/symbol'); +require('../../modules/esnext.symbol.is-registered-symbol'); +require('../../modules/esnext.symbol.is-well-known-symbol'); +require('../../modules/esnext.symbol.matcher'); +require('../../modules/esnext.symbol.observable'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.symbol.is-registered'); +require('../../modules/esnext.symbol.is-well-known'); +require('../../modules/esnext.symbol.metadata-key'); +require('../../modules/esnext.symbol.pattern-match'); +require('../../modules/esnext.symbol.replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/is-concat-spreadable.js b/node_modules/core-js/full/symbol/is-concat-spreadable.js new file mode 100644 index 00000000..606e169b --- /dev/null +++ b/node_modules/core-js/full/symbol/is-concat-spreadable.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/is-concat-spreadable'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/is-registered-symbol.js b/node_modules/core-js/full/symbol/is-registered-symbol.js new file mode 100644 index 00000000..7ef1f022 --- /dev/null +++ b/node_modules/core-js/full/symbol/is-registered-symbol.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.symbol'); +require('../../modules/esnext.symbol.is-registered-symbol'); +var path = require('../../internals/path'); + +module.exports = path.Symbol.isRegisteredSymbol; diff --git a/node_modules/core-js/full/symbol/is-registered.js b/node_modules/core-js/full/symbol/is-registered.js new file mode 100644 index 00000000..7a2e6d27 --- /dev/null +++ b/node_modules/core-js/full/symbol/is-registered.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.symbol'); +require('../../modules/esnext.symbol.is-registered'); +var path = require('../../internals/path'); + +module.exports = path.Symbol.isRegistered; diff --git a/node_modules/core-js/full/symbol/is-well-known-symbol.js b/node_modules/core-js/full/symbol/is-well-known-symbol.js new file mode 100644 index 00000000..51062421 --- /dev/null +++ b/node_modules/core-js/full/symbol/is-well-known-symbol.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.symbol'); +require('../../modules/esnext.symbol.is-well-known-symbol'); +var path = require('../../internals/path'); + +module.exports = path.Symbol.isWellKnownSymbol; diff --git a/node_modules/core-js/full/symbol/is-well-known.js b/node_modules/core-js/full/symbol/is-well-known.js new file mode 100644 index 00000000..9e9f648b --- /dev/null +++ b/node_modules/core-js/full/symbol/is-well-known.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.symbol'); +require('../../modules/esnext.symbol.is-well-known'); +var path = require('../../internals/path'); + +module.exports = path.Symbol.isWellKnown; diff --git a/node_modules/core-js/full/symbol/iterator.js b/node_modules/core-js/full/symbol/iterator.js new file mode 100644 index 00000000..5ed48cc0 --- /dev/null +++ b/node_modules/core-js/full/symbol/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/key-for.js b/node_modules/core-js/full/symbol/key-for.js new file mode 100644 index 00000000..a959f7f2 --- /dev/null +++ b/node_modules/core-js/full/symbol/key-for.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/key-for'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/match-all.js b/node_modules/core-js/full/symbol/match-all.js new file mode 100644 index 00000000..6ee84745 --- /dev/null +++ b/node_modules/core-js/full/symbol/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/match.js b/node_modules/core-js/full/symbol/match.js new file mode 100644 index 00000000..29f668ed --- /dev/null +++ b/node_modules/core-js/full/symbol/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/match'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/matcher.js b/node_modules/core-js/full/symbol/matcher.js new file mode 100644 index 00000000..8ae8bd1b --- /dev/null +++ b/node_modules/core-js/full/symbol/matcher.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.symbol.matcher'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('matcher'); diff --git a/node_modules/core-js/full/symbol/metadata-key.js b/node_modules/core-js/full/symbol/metadata-key.js new file mode 100644 index 00000000..a6fcd007 --- /dev/null +++ b/node_modules/core-js/full/symbol/metadata-key.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.symbol.metadata-key'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('metadataKey'); diff --git a/node_modules/core-js/full/symbol/metadata.js b/node_modules/core-js/full/symbol/metadata.js new file mode 100644 index 00000000..b44c1a54 --- /dev/null +++ b/node_modules/core-js/full/symbol/metadata.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/metadata'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/observable.js b/node_modules/core-js/full/symbol/observable.js new file mode 100644 index 00000000..3f05b281 --- /dev/null +++ b/node_modules/core-js/full/symbol/observable.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/esnext.symbol.observable'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('observable'); diff --git a/node_modules/core-js/full/symbol/pattern-match.js b/node_modules/core-js/full/symbol/pattern-match.js new file mode 100644 index 00000000..3bd8489f --- /dev/null +++ b/node_modules/core-js/full/symbol/pattern-match.js @@ -0,0 +1,6 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/esnext.symbol.pattern-match'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('patternMatch'); diff --git a/node_modules/core-js/full/symbol/replace-all.js b/node_modules/core-js/full/symbol/replace-all.js new file mode 100644 index 00000000..76a360a1 --- /dev/null +++ b/node_modules/core-js/full/symbol/replace-all.js @@ -0,0 +1,6 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/esnext.symbol.replace-all'); +var WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped'); + +module.exports = WrappedWellKnownSymbolModule.f('replaceAll'); diff --git a/node_modules/core-js/full/symbol/replace.js b/node_modules/core-js/full/symbol/replace.js new file mode 100644 index 00000000..749b2c14 --- /dev/null +++ b/node_modules/core-js/full/symbol/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/search.js b/node_modules/core-js/full/symbol/search.js new file mode 100644 index 00000000..4259531e --- /dev/null +++ b/node_modules/core-js/full/symbol/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/search'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/species.js b/node_modules/core-js/full/symbol/species.js new file mode 100644 index 00000000..970e5261 --- /dev/null +++ b/node_modules/core-js/full/symbol/species.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/species'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/split.js b/node_modules/core-js/full/symbol/split.js new file mode 100644 index 00000000..07c221d7 --- /dev/null +++ b/node_modules/core-js/full/symbol/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/split'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/to-primitive.js b/node_modules/core-js/full/symbol/to-primitive.js new file mode 100644 index 00000000..4775a13e --- /dev/null +++ b/node_modules/core-js/full/symbol/to-primitive.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/to-primitive'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/to-string-tag.js b/node_modules/core-js/full/symbol/to-string-tag.js new file mode 100644 index 00000000..3a1918b0 --- /dev/null +++ b/node_modules/core-js/full/symbol/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/full/symbol/unscopables.js b/node_modules/core-js/full/symbol/unscopables.js new file mode 100644 index 00000000..379e8b32 --- /dev/null +++ b/node_modules/core-js/full/symbol/unscopables.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/symbol/unscopables'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/at.js b/node_modules/core-js/full/typed-array/at.js new file mode 100644 index 00000000..ee0919ff --- /dev/null +++ b/node_modules/core-js/full/typed-array/at.js @@ -0,0 +1,7 @@ +'use strict'; +var parent = require('../../actual/typed-array/at'); + +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.at'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/copy-within.js b/node_modules/core-js/full/typed-array/copy-within.js new file mode 100644 index 00000000..c2228f87 --- /dev/null +++ b/node_modules/core-js/full/typed-array/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/entries.js b/node_modules/core-js/full/typed-array/entries.js new file mode 100644 index 00000000..cf3edb64 --- /dev/null +++ b/node_modules/core-js/full/typed-array/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/every.js b/node_modules/core-js/full/typed-array/every.js new file mode 100644 index 00000000..4d40f039 --- /dev/null +++ b/node_modules/core-js/full/typed-array/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/every'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/fill.js b/node_modules/core-js/full/typed-array/fill.js new file mode 100644 index 00000000..50b2d543 --- /dev/null +++ b/node_modules/core-js/full/typed-array/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/filter-out.js b/node_modules/core-js/full/typed-array/filter-out.js new file mode 100644 index 00000000..a6726b79 --- /dev/null +++ b/node_modules/core-js/full/typed-array/filter-out.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.filter-out'); diff --git a/node_modules/core-js/full/typed-array/filter-reject.js b/node_modules/core-js/full/typed-array/filter-reject.js new file mode 100644 index 00000000..c9d32756 --- /dev/null +++ b/node_modules/core-js/full/typed-array/filter-reject.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.typed-array.filter-reject'); diff --git a/node_modules/core-js/full/typed-array/filter.js b/node_modules/core-js/full/typed-array/filter.js new file mode 100644 index 00000000..0e5b3490 --- /dev/null +++ b/node_modules/core-js/full/typed-array/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/find-index.js b/node_modules/core-js/full/typed-array/find-index.js new file mode 100644 index 00000000..f770e7dc --- /dev/null +++ b/node_modules/core-js/full/typed-array/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/find-last-index.js b/node_modules/core-js/full/typed-array/find-last-index.js new file mode 100644 index 00000000..1c8ade64 --- /dev/null +++ b/node_modules/core-js/full/typed-array/find-last-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/find-last-index'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/find-last.js b/node_modules/core-js/full/typed-array/find-last.js new file mode 100644 index 00000000..5279720b --- /dev/null +++ b/node_modules/core-js/full/typed-array/find-last.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/find-last'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/find.js b/node_modules/core-js/full/typed-array/find.js new file mode 100644 index 00000000..c78edeed --- /dev/null +++ b/node_modules/core-js/full/typed-array/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/find'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/float32-array.js b/node_modules/core-js/full/typed-array/float32-array.js new file mode 100644 index 00000000..94de0e74 --- /dev/null +++ b/node_modules/core-js/full/typed-array/float32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/float32-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/float64-array.js b/node_modules/core-js/full/typed-array/float64-array.js new file mode 100644 index 00000000..88375774 --- /dev/null +++ b/node_modules/core-js/full/typed-array/float64-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/float64-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/for-each.js b/node_modules/core-js/full/typed-array/for-each.js new file mode 100644 index 00000000..8ceca88f --- /dev/null +++ b/node_modules/core-js/full/typed-array/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/from-async.js b/node_modules/core-js/full/typed-array/from-async.js new file mode 100644 index 00000000..f78f4a84 --- /dev/null +++ b/node_modules/core-js/full/typed-array/from-async.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.typed-array.from-async'); diff --git a/node_modules/core-js/full/typed-array/from.js b/node_modules/core-js/full/typed-array/from.js new file mode 100644 index 00000000..a1693c8f --- /dev/null +++ b/node_modules/core-js/full/typed-array/from.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/from'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/group-by.js b/node_modules/core-js/full/typed-array/group-by.js new file mode 100644 index 00000000..cea8d665 --- /dev/null +++ b/node_modules/core-js/full/typed-array/group-by.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/esnext.typed-array.group-by'); diff --git a/node_modules/core-js/full/typed-array/includes.js b/node_modules/core-js/full/typed-array/includes.js new file mode 100644 index 00000000..d9011038 --- /dev/null +++ b/node_modules/core-js/full/typed-array/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/index-of.js b/node_modules/core-js/full/typed-array/index-of.js new file mode 100644 index 00000000..89a1fd9d --- /dev/null +++ b/node_modules/core-js/full/typed-array/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/index.js b/node_modules/core-js/full/typed-array/index.js new file mode 100644 index 00000000..2a1f0436 --- /dev/null +++ b/node_modules/core-js/full/typed-array/index.js @@ -0,0 +1,14 @@ +'use strict'; +var parent = require('../../actual/typed-array'); +require('../../modules/es.map'); +require('../../modules/es.promise'); +require('../../modules/esnext.typed-array.from-async'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.at'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.filter-out'); +require('../../modules/esnext.typed-array.filter-reject'); +require('../../modules/esnext.typed-array.group-by'); +require('../../modules/esnext.typed-array.unique-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/int16-array.js b/node_modules/core-js/full/typed-array/int16-array.js new file mode 100644 index 00000000..b9473c60 --- /dev/null +++ b/node_modules/core-js/full/typed-array/int16-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/int16-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/int32-array.js b/node_modules/core-js/full/typed-array/int32-array.js new file mode 100644 index 00000000..283854bf --- /dev/null +++ b/node_modules/core-js/full/typed-array/int32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/int32-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/int8-array.js b/node_modules/core-js/full/typed-array/int8-array.js new file mode 100644 index 00000000..37ab3fb0 --- /dev/null +++ b/node_modules/core-js/full/typed-array/int8-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/int8-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/iterator.js b/node_modules/core-js/full/typed-array/iterator.js new file mode 100644 index 00000000..a7c10a3b --- /dev/null +++ b/node_modules/core-js/full/typed-array/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/join.js b/node_modules/core-js/full/typed-array/join.js new file mode 100644 index 00000000..cbfce882 --- /dev/null +++ b/node_modules/core-js/full/typed-array/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/join'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/keys.js b/node_modules/core-js/full/typed-array/keys.js new file mode 100644 index 00000000..369e7d49 --- /dev/null +++ b/node_modules/core-js/full/typed-array/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/last-index-of.js b/node_modules/core-js/full/typed-array/last-index-of.js new file mode 100644 index 00000000..940fb2d2 --- /dev/null +++ b/node_modules/core-js/full/typed-array/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/map.js b/node_modules/core-js/full/typed-array/map.js new file mode 100644 index 00000000..a9793632 --- /dev/null +++ b/node_modules/core-js/full/typed-array/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/map'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/methods.js b/node_modules/core-js/full/typed-array/methods.js new file mode 100644 index 00000000..1e85c5fa --- /dev/null +++ b/node_modules/core-js/full/typed-array/methods.js @@ -0,0 +1,14 @@ +'use strict'; +var parent = require('../../actual/typed-array/methods'); +require('../../modules/es.map'); +require('../../modules/es.promise'); +require('../../modules/esnext.typed-array.from-async'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.at'); +// TODO: Remove from `core-js@4` +require('../../modules/esnext.typed-array.filter-out'); +require('../../modules/esnext.typed-array.filter-reject'); +require('../../modules/esnext.typed-array.group-by'); +require('../../modules/esnext.typed-array.unique-by'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/of.js b/node_modules/core-js/full/typed-array/of.js new file mode 100644 index 00000000..8b4d0969 --- /dev/null +++ b/node_modules/core-js/full/typed-array/of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/reduce-right.js b/node_modules/core-js/full/typed-array/reduce-right.js new file mode 100644 index 00000000..350a25c4 --- /dev/null +++ b/node_modules/core-js/full/typed-array/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/reduce.js b/node_modules/core-js/full/typed-array/reduce.js new file mode 100644 index 00000000..dc2ca2d2 --- /dev/null +++ b/node_modules/core-js/full/typed-array/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/reverse.js b/node_modules/core-js/full/typed-array/reverse.js new file mode 100644 index 00000000..c6d6242b --- /dev/null +++ b/node_modules/core-js/full/typed-array/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/set.js b/node_modules/core-js/full/typed-array/set.js new file mode 100644 index 00000000..d1cf8f2d --- /dev/null +++ b/node_modules/core-js/full/typed-array/set.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/set'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/slice.js b/node_modules/core-js/full/typed-array/slice.js new file mode 100644 index 00000000..264ae0f5 --- /dev/null +++ b/node_modules/core-js/full/typed-array/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/some.js b/node_modules/core-js/full/typed-array/some.js new file mode 100644 index 00000000..32d17c26 --- /dev/null +++ b/node_modules/core-js/full/typed-array/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/some'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/sort.js b/node_modules/core-js/full/typed-array/sort.js new file mode 100644 index 00000000..cdc3de35 --- /dev/null +++ b/node_modules/core-js/full/typed-array/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/subarray.js b/node_modules/core-js/full/typed-array/subarray.js new file mode 100644 index 00000000..a638b2a1 --- /dev/null +++ b/node_modules/core-js/full/typed-array/subarray.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/subarray'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/to-locale-string.js b/node_modules/core-js/full/typed-array/to-locale-string.js new file mode 100644 index 00000000..fbc9f6f8 --- /dev/null +++ b/node_modules/core-js/full/typed-array/to-locale-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/to-locale-string'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/to-reversed.js b/node_modules/core-js/full/typed-array/to-reversed.js new file mode 100644 index 00000000..9fa431a8 --- /dev/null +++ b/node_modules/core-js/full/typed-array/to-reversed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/to-sorted.js b/node_modules/core-js/full/typed-array/to-sorted.js new file mode 100644 index 00000000..04453764 --- /dev/null +++ b/node_modules/core-js/full/typed-array/to-sorted.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/to-spliced.js b/node_modules/core-js/full/typed-array/to-spliced.js new file mode 100644 index 00000000..a21aff31 --- /dev/null +++ b/node_modules/core-js/full/typed-array/to-spliced.js @@ -0,0 +1,5 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var parent = require('../../actual/typed-array/to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/to-string.js b/node_modules/core-js/full/typed-array/to-string.js new file mode 100644 index 00000000..0c9f331b --- /dev/null +++ b/node_modules/core-js/full/typed-array/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/uint16-array.js b/node_modules/core-js/full/typed-array/uint16-array.js new file mode 100644 index 00000000..53fa8192 --- /dev/null +++ b/node_modules/core-js/full/typed-array/uint16-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/uint16-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/uint32-array.js b/node_modules/core-js/full/typed-array/uint32-array.js new file mode 100644 index 00000000..f577d7f7 --- /dev/null +++ b/node_modules/core-js/full/typed-array/uint32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/uint32-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/uint8-array.js b/node_modules/core-js/full/typed-array/uint8-array.js new file mode 100644 index 00000000..3eb28d7e --- /dev/null +++ b/node_modules/core-js/full/typed-array/uint8-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/uint8-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/uint8-clamped-array.js b/node_modules/core-js/full/typed-array/uint8-clamped-array.js new file mode 100644 index 00000000..493d611b --- /dev/null +++ b/node_modules/core-js/full/typed-array/uint8-clamped-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../actual/typed-array/uint8-clamped-array'); +require('../../full/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/unique-by.js b/node_modules/core-js/full/typed-array/unique-by.js new file mode 100644 index 00000000..43a46a71 --- /dev/null +++ b/node_modules/core-js/full/typed-array/unique-by.js @@ -0,0 +1,3 @@ +'use strict'; +require('../../modules/es.map'); +require('../../modules/esnext.typed-array.unique-by'); diff --git a/node_modules/core-js/full/typed-array/values.js b/node_modules/core-js/full/typed-array/values.js new file mode 100644 index 00000000..4ef9b9d4 --- /dev/null +++ b/node_modules/core-js/full/typed-array/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/values'); + +module.exports = parent; diff --git a/node_modules/core-js/full/typed-array/with.js b/node_modules/core-js/full/typed-array/with.js new file mode 100644 index 00000000..ec01ee55 --- /dev/null +++ b/node_modules/core-js/full/typed-array/with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/typed-array/with'); + +module.exports = parent; diff --git a/node_modules/core-js/full/unescape.js b/node_modules/core-js/full/unescape.js new file mode 100644 index 00000000..c9d614ae --- /dev/null +++ b/node_modules/core-js/full/unescape.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../actual/unescape'); + +module.exports = parent; diff --git a/node_modules/core-js/full/url-search-params/index.js b/node_modules/core-js/full/url-search-params/index.js new file mode 100644 index 00000000..d6e6df5e --- /dev/null +++ b/node_modules/core-js/full/url-search-params/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/url-search-params'); + +module.exports = parent; diff --git a/node_modules/core-js/full/url/can-parse.js b/node_modules/core-js/full/url/can-parse.js new file mode 100644 index 00000000..5b083b0e --- /dev/null +++ b/node_modules/core-js/full/url/can-parse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/url/can-parse'); + +module.exports = parent; diff --git a/node_modules/core-js/full/url/index.js b/node_modules/core-js/full/url/index.js new file mode 100644 index 00000000..59c378f2 --- /dev/null +++ b/node_modules/core-js/full/url/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/url'); + +module.exports = parent; diff --git a/node_modules/core-js/full/url/to-json.js b/node_modules/core-js/full/url/to-json.js new file mode 100644 index 00000000..c26ef4ae --- /dev/null +++ b/node_modules/core-js/full/url/to-json.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../actual/url/to-json'); + +module.exports = parent; diff --git a/node_modules/core-js/full/weak-map/delete-all.js b/node_modules/core-js/full/weak-map/delete-all.js new file mode 100644 index 00000000..76f854bc --- /dev/null +++ b/node_modules/core-js/full/weak-map/delete-all.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.weak-map'); +require('../../modules/esnext.weak-map.delete-all'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('WeakMap', 'deleteAll'); diff --git a/node_modules/core-js/full/weak-map/emplace.js b/node_modules/core-js/full/weak-map/emplace.js new file mode 100644 index 00000000..fc3844a4 --- /dev/null +++ b/node_modules/core-js/full/weak-map/emplace.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.weak-map'); +require('../../modules/esnext.weak-map.emplace'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('WeakMap', 'emplace'); diff --git a/node_modules/core-js/full/weak-map/from.js b/node_modules/core-js/full/weak-map/from.js new file mode 100644 index 00000000..d457e0fc --- /dev/null +++ b/node_modules/core-js/full/weak-map/from.js @@ -0,0 +1,16 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/es.weak-map'); +require('../../modules/esnext.weak-map.from'); +require('../../modules/web.dom-collections.iterator'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var WeakMap = path.WeakMap; +var $from = WeakMap.from; + +module.exports = function from(source, mapFn, thisArg) { + return call($from, isCallable(this) ? this : WeakMap, source, mapFn, thisArg); +}; diff --git a/node_modules/core-js/full/weak-map/index.js b/node_modules/core-js/full/weak-map/index.js new file mode 100644 index 00000000..5244cd34 --- /dev/null +++ b/node_modules/core-js/full/weak-map/index.js @@ -0,0 +1,11 @@ +'use strict'; +var parent = require('../../actual/weak-map'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.weak-map.emplace'); +require('../../modules/esnext.weak-map.from'); +require('../../modules/esnext.weak-map.of'); +require('../../modules/esnext.weak-map.delete-all'); +// TODO: remove from `core-js@4` +require('../../modules/esnext.weak-map.upsert'); + +module.exports = parent; diff --git a/node_modules/core-js/full/weak-map/of.js b/node_modules/core-js/full/weak-map/of.js new file mode 100644 index 00000000..ceb61bc0 --- /dev/null +++ b/node_modules/core-js/full/weak-map/of.js @@ -0,0 +1,14 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.weak-map'); +require('../../modules/esnext.weak-map.of'); +var path = require('../../internals/path'); +var apply = require('../../internals/function-apply'); +var isCallable = require('../../internals/is-callable'); + +var WeakMap = path.WeakMap; +var weakMapOf = WeakMap.of; + +module.exports = function of() { + return apply(weakMapOf, isCallable(this) ? this : WeakMap, arguments); +}; diff --git a/node_modules/core-js/full/weak-map/upsert.js b/node_modules/core-js/full/weak-map/upsert.js new file mode 100644 index 00000000..003098f6 --- /dev/null +++ b/node_modules/core-js/full/weak-map/upsert.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.weak-map'); +require('../../modules/esnext.weak-map.upsert'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('WeakMap', 'upsert'); diff --git a/node_modules/core-js/full/weak-set/add-all.js b/node_modules/core-js/full/weak-set/add-all.js new file mode 100644 index 00000000..4ecd10f2 --- /dev/null +++ b/node_modules/core-js/full/weak-set/add-all.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.weak-set'); +require('../../modules/esnext.weak-set.add-all'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('WeakSet', 'addAll'); diff --git a/node_modules/core-js/full/weak-set/delete-all.js b/node_modules/core-js/full/weak-set/delete-all.js new file mode 100644 index 00000000..5ddc14a1 --- /dev/null +++ b/node_modules/core-js/full/weak-set/delete-all.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.weak-set'); +require('../../modules/esnext.weak-set.delete-all'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('WeakSet', 'deleteAll'); diff --git a/node_modules/core-js/full/weak-set/from.js b/node_modules/core-js/full/weak-set/from.js new file mode 100644 index 00000000..2f7477ff --- /dev/null +++ b/node_modules/core-js/full/weak-set/from.js @@ -0,0 +1,16 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.string.iterator'); +require('../../modules/es.weak-set'); +require('../../modules/esnext.weak-set.from'); +require('../../modules/web.dom-collections.iterator'); +var call = require('../../internals/function-call'); +var isCallable = require('../../internals/is-callable'); +var path = require('../../internals/path'); + +var WeakSet = path.WeakSet; +var $from = WeakSet.from; + +module.exports = function from(source, mapFn, thisArg) { + return call($from, isCallable(this) ? this : WeakSet, source, mapFn, thisArg); +}; diff --git a/node_modules/core-js/full/weak-set/index.js b/node_modules/core-js/full/weak-set/index.js new file mode 100644 index 00000000..9d9ac8d6 --- /dev/null +++ b/node_modules/core-js/full/weak-set/index.js @@ -0,0 +1,9 @@ +'use strict'; +var parent = require('../../actual/weak-set'); +require('../../modules/es.string.iterator'); +require('../../modules/esnext.weak-set.add-all'); +require('../../modules/esnext.weak-set.delete-all'); +require('../../modules/esnext.weak-set.from'); +require('../../modules/esnext.weak-set.of'); + +module.exports = parent; diff --git a/node_modules/core-js/full/weak-set/of.js b/node_modules/core-js/full/weak-set/of.js new file mode 100644 index 00000000..b1e21e6d --- /dev/null +++ b/node_modules/core-js/full/weak-set/of.js @@ -0,0 +1,14 @@ +'use strict'; +require('../../modules/es.array.iterator'); +require('../../modules/es.weak-set'); +require('../../modules/esnext.weak-set.of'); +var path = require('../../internals/path'); +var apply = require('../../internals/function-apply'); +var isCallable = require('../../internals/is-callable'); + +var WeakSet = path.WeakSet; +var weakSetOf = WeakSet.of; + +module.exports = function of() { + return apply(weakSetOf, isCallable(this) ? this : WeakSet, arguments); +}; diff --git a/node_modules/core-js/index.js b/node_modules/core-js/index.js new file mode 100644 index 00000000..b4eca7ef --- /dev/null +++ b/node_modules/core-js/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('./full'); diff --git a/node_modules/core-js/internals/README.md b/node_modules/core-js/internals/README.md new file mode 100644 index 00000000..f5cca304 --- /dev/null +++ b/node_modules/core-js/internals/README.md @@ -0,0 +1 @@ +This folder contains internal parts of `core-js` like helpers. diff --git a/node_modules/core-js/internals/a-callable.js b/node_modules/core-js/internals/a-callable.js new file mode 100644 index 00000000..164facc1 --- /dev/null +++ b/node_modules/core-js/internals/a-callable.js @@ -0,0 +1,11 @@ +'use strict'; +var isCallable = require('../internals/is-callable'); +var tryToString = require('../internals/try-to-string'); + +var $TypeError = TypeError; + +// `Assert: IsCallable(argument) is true` +module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw $TypeError(tryToString(argument) + ' is not a function'); +}; diff --git a/node_modules/core-js/internals/a-constructor.js b/node_modules/core-js/internals/a-constructor.js new file mode 100644 index 00000000..301687be --- /dev/null +++ b/node_modules/core-js/internals/a-constructor.js @@ -0,0 +1,11 @@ +'use strict'; +var isConstructor = require('../internals/is-constructor'); +var tryToString = require('../internals/try-to-string'); + +var $TypeError = TypeError; + +// `Assert: IsConstructor(argument) is true` +module.exports = function (argument) { + if (isConstructor(argument)) return argument; + throw $TypeError(tryToString(argument) + ' is not a constructor'); +}; diff --git a/node_modules/core-js/internals/a-map.js b/node_modules/core-js/internals/a-map.js new file mode 100644 index 00000000..0b21a893 --- /dev/null +++ b/node_modules/core-js/internals/a-map.js @@ -0,0 +1,8 @@ +'use strict'; +var has = require('../internals/map-helpers').has; + +// Perform ? RequireInternalSlot(M, [[MapData]]) +module.exports = function (it) { + has(it); + return it; +}; diff --git a/node_modules/core-js/internals/a-possible-prototype.js b/node_modules/core-js/internals/a-possible-prototype.js new file mode 100644 index 00000000..5ef84a5d --- /dev/null +++ b/node_modules/core-js/internals/a-possible-prototype.js @@ -0,0 +1,10 @@ +'use strict'; +var isCallable = require('../internals/is-callable'); + +var $String = String; +var $TypeError = TypeError; + +module.exports = function (argument) { + if (typeof argument == 'object' || isCallable(argument)) return argument; + throw $TypeError("Can't set " + $String(argument) + ' as a prototype'); +}; diff --git a/node_modules/core-js/internals/a-set.js b/node_modules/core-js/internals/a-set.js new file mode 100644 index 00000000..6df1ead9 --- /dev/null +++ b/node_modules/core-js/internals/a-set.js @@ -0,0 +1,8 @@ +'use strict'; +var has = require('../internals/set-helpers').has; + +// Perform ? RequireInternalSlot(M, [[SetData]]) +module.exports = function (it) { + has(it); + return it; +}; diff --git a/node_modules/core-js/internals/a-weak-map.js b/node_modules/core-js/internals/a-weak-map.js new file mode 100644 index 00000000..5d775f13 --- /dev/null +++ b/node_modules/core-js/internals/a-weak-map.js @@ -0,0 +1,8 @@ +'use strict'; +var has = require('../internals/weak-map-helpers').has; + +// Perform ? RequireInternalSlot(M, [[WeakMapData]]) +module.exports = function (it) { + has(it); + return it; +}; diff --git a/node_modules/core-js/internals/a-weak-set.js b/node_modules/core-js/internals/a-weak-set.js new file mode 100644 index 00000000..5b0c13c4 --- /dev/null +++ b/node_modules/core-js/internals/a-weak-set.js @@ -0,0 +1,8 @@ +'use strict'; +var has = require('../internals/weak-set-helpers').has; + +// Perform ? RequireInternalSlot(M, [[WeakSetData]]) +module.exports = function (it) { + has(it); + return it; +}; diff --git a/node_modules/core-js/internals/add-disposable-resource.js b/node_modules/core-js/internals/add-disposable-resource.js new file mode 100644 index 00000000..a1a732bf --- /dev/null +++ b/node_modules/core-js/internals/add-disposable-resource.js @@ -0,0 +1,55 @@ +'use strict'; +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var bind = require('../internals/function-bind-context'); +var anObject = require('../internals/an-object'); +var aCallable = require('../internals/a-callable'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var getMethod = require('../internals/get-method'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); +var DISPOSE = wellKnownSymbol('dispose'); + +var push = uncurryThis([].push); + +// `GetDisposeMethod` abstract operation +// https://tc39.es/proposal-explicit-resource-management/#sec-getdisposemethod +var getDisposeMethod = function (V, hint) { + if (hint === 'async-dispose') { + var method = getMethod(V, ASYNC_DISPOSE); + if (method !== undefined) return method; + method = getMethod(V, DISPOSE); + return function () { + call(method, this); + }; + } return getMethod(V, DISPOSE); +}; + +// `CreateDisposableResource` abstract operation +// https://tc39.es/proposal-explicit-resource-management/#sec-createdisposableresource +var createDisposableResource = function (V, hint, method) { + if (arguments.length < 3 && !isNullOrUndefined(V)) { + method = aCallable(getDisposeMethod(anObject(V), hint)); + } + + return method === undefined ? function () { + return undefined; + } : bind(method, V); +}; + +// `AddDisposableResource` abstract operation +// https://tc39.es/proposal-explicit-resource-management/#sec-adddisposableresource +module.exports = function (disposable, V, hint, method) { + var resource; + if (arguments.length < 4) { + // When `V`` is either `null` or `undefined` and hint is `async-dispose`, + // we record that the resource was evaluated to ensure we will still perform an `Await` when resources are later disposed. + if (isNullOrUndefined(V) && hint === 'sync-dispose') return; + resource = createDisposableResource(V, hint); + } else { + resource = createDisposableResource(undefined, hint, method); + } + + push(disposable.stack, resource); +}; diff --git a/node_modules/core-js/internals/add-to-unscopables.js b/node_modules/core-js/internals/add-to-unscopables.js new file mode 100644 index 00000000..2cb0ad71 --- /dev/null +++ b/node_modules/core-js/internals/add-to-unscopables.js @@ -0,0 +1,21 @@ +'use strict'; +var wellKnownSymbol = require('../internals/well-known-symbol'); +var create = require('../internals/object-create'); +var defineProperty = require('../internals/object-define-property').f; + +var UNSCOPABLES = wellKnownSymbol('unscopables'); +var ArrayPrototype = Array.prototype; + +// Array.prototype[@@unscopables] +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +if (ArrayPrototype[UNSCOPABLES] == undefined) { + defineProperty(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create(null) + }); +} + +// add a key to Array.prototype[@@unscopables] +module.exports = function (key) { + ArrayPrototype[UNSCOPABLES][key] = true; +}; diff --git a/node_modules/core-js/internals/advance-string-index.js b/node_modules/core-js/internals/advance-string-index.js new file mode 100644 index 00000000..f104d533 --- /dev/null +++ b/node_modules/core-js/internals/advance-string-index.js @@ -0,0 +1,8 @@ +'use strict'; +var charAt = require('../internals/string-multibyte').charAt; + +// `AdvanceStringIndex` abstract operation +// https://tc39.es/ecma262/#sec-advancestringindex +module.exports = function (S, index, unicode) { + return index + (unicode ? charAt(S, index).length : 1); +}; diff --git a/node_modules/core-js/internals/an-instance.js b/node_modules/core-js/internals/an-instance.js new file mode 100644 index 00000000..ecd09e0b --- /dev/null +++ b/node_modules/core-js/internals/an-instance.js @@ -0,0 +1,9 @@ +'use strict'; +var isPrototypeOf = require('../internals/object-is-prototype-of'); + +var $TypeError = TypeError; + +module.exports = function (it, Prototype) { + if (isPrototypeOf(Prototype, it)) return it; + throw $TypeError('Incorrect invocation'); +}; diff --git a/node_modules/core-js/internals/an-object.js b/node_modules/core-js/internals/an-object.js new file mode 100644 index 00000000..76b4f5ea --- /dev/null +++ b/node_modules/core-js/internals/an-object.js @@ -0,0 +1,11 @@ +'use strict'; +var isObject = require('../internals/is-object'); + +var $String = String; +var $TypeError = TypeError; + +// `Assert: Type(argument) is Object` +module.exports = function (argument) { + if (isObject(argument)) return argument; + throw $TypeError($String(argument) + ' is not an object'); +}; diff --git a/node_modules/core-js/internals/array-buffer-basic-detection.js b/node_modules/core-js/internals/array-buffer-basic-detection.js new file mode 100644 index 00000000..8ae7d9bf --- /dev/null +++ b/node_modules/core-js/internals/array-buffer-basic-detection.js @@ -0,0 +1,3 @@ +'use strict'; +// eslint-disable-next-line es/no-typed-arrays -- safe +module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; diff --git a/node_modules/core-js/internals/array-buffer-byte-length.js b/node_modules/core-js/internals/array-buffer-byte-length.js new file mode 100644 index 00000000..a5f269b9 --- /dev/null +++ b/node_modules/core-js/internals/array-buffer-byte-length.js @@ -0,0 +1,13 @@ +'use strict'; +var uncurryThisAccessor = require('../internals/function-uncurry-this-accessor'); +var classof = require('../internals/classof-raw'); + +var $TypeError = TypeError; + +// Includes +// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]). +// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception. +module.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) { + if (classof(O) != 'ArrayBuffer') throw $TypeError('ArrayBuffer expected'); + return O.byteLength; +}; diff --git a/node_modules/core-js/internals/array-buffer-is-detached.js b/node_modules/core-js/internals/array-buffer-is-detached.js new file mode 100644 index 00000000..6a4fdfd7 --- /dev/null +++ b/node_modules/core-js/internals/array-buffer-is-detached.js @@ -0,0 +1,15 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var arrayBufferByteLength = require('../internals/array-buffer-byte-length'); + +var slice = uncurryThis(ArrayBuffer.prototype.slice); + +module.exports = function (O) { + if (arrayBufferByteLength(O) !== 0) return false; + try { + slice(O, 0, 0); + return false; + } catch (error) { + return true; + } +}; diff --git a/node_modules/core-js/internals/array-buffer-non-extensible.js b/node_modules/core-js/internals/array-buffer-non-extensible.js new file mode 100644 index 00000000..968b2d07 --- /dev/null +++ b/node_modules/core-js/internals/array-buffer-non-extensible.js @@ -0,0 +1,11 @@ +'use strict'; +// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it +var fails = require('../internals/fails'); + +module.exports = fails(function () { + if (typeof ArrayBuffer == 'function') { + var buffer = new ArrayBuffer(8); + // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe + if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 }); + } +}); diff --git a/node_modules/core-js/internals/array-buffer-transfer.js b/node_modules/core-js/internals/array-buffer-transfer.js new file mode 100644 index 00000000..c148ffa1 --- /dev/null +++ b/node_modules/core-js/internals/array-buffer-transfer.js @@ -0,0 +1,38 @@ +'use strict'; +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); +var uncurryThisAccessor = require('../internals/function-uncurry-this-accessor'); +var toIndex = require('../internals/to-index'); +var isDetached = require('../internals/array-buffer-is-detached'); +var arrayBufferByteLength = require('../internals/array-buffer-byte-length'); +var PROPER_TRANSFER = require('../internals/structured-clone-proper-transfer'); + +var TypeError = global.TypeError; +var structuredClone = global.structuredClone; +var ArrayBuffer = global.ArrayBuffer; +var DataView = global.DataView; +var min = Math.min; +var ArrayBufferPrototype = ArrayBuffer.prototype; +var DataViewPrototype = DataView.prototype; +var slice = uncurryThis(ArrayBufferPrototype.slice); +var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get'); +var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get'); +var getInt8 = uncurryThis(DataViewPrototype.getInt8); +var setInt8 = uncurryThis(DataViewPrototype.setInt8); + +module.exports = PROPER_TRANSFER && function (arrayBuffer, newLength, preserveResizability) { + var byteLength = arrayBufferByteLength(arrayBuffer); + var newByteLength = newLength === undefined ? byteLength : toIndex(newLength); + var fixedLength = !isResizable || !isResizable(arrayBuffer); + if (isDetached(arrayBuffer)) throw TypeError('ArrayBuffer is detached'); + var newBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] }); + if (byteLength == newByteLength && (preserveResizability || fixedLength)) return newBuffer; + if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) return slice(newBuffer, 0, newByteLength); + var options = (preserveResizability && !fixedLength) && maxByteLength ? { maxByteLength: maxByteLength(newBuffer) } : undefined; + var newNewBuffer = new ArrayBuffer(newByteLength, options); + var a = new DataView(newBuffer); + var b = new DataView(newNewBuffer); + var copyLength = min(newByteLength, byteLength); + for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i)); + return newNewBuffer; +}; diff --git a/node_modules/core-js/internals/array-buffer-view-core.js b/node_modules/core-js/internals/array-buffer-view-core.js new file mode 100644 index 00000000..ada9c040 --- /dev/null +++ b/node_modules/core-js/internals/array-buffer-view-core.js @@ -0,0 +1,193 @@ +'use strict'; +var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection'); +var DESCRIPTORS = require('../internals/descriptors'); +var global = require('../internals/global'); +var isCallable = require('../internals/is-callable'); +var isObject = require('../internals/is-object'); +var hasOwn = require('../internals/has-own-property'); +var classof = require('../internals/classof'); +var tryToString = require('../internals/try-to-string'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var defineBuiltIn = require('../internals/define-built-in'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var uid = require('../internals/uid'); +var InternalStateModule = require('../internals/internal-state'); + +var enforceInternalState = InternalStateModule.enforce; +var getInternalState = InternalStateModule.get; +var Int8Array = global.Int8Array; +var Int8ArrayPrototype = Int8Array && Int8Array.prototype; +var Uint8ClampedArray = global.Uint8ClampedArray; +var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; +var TypedArray = Int8Array && getPrototypeOf(Int8Array); +var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); +var ObjectPrototype = Object.prototype; +var TypeError = global.TypeError; + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); +var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor'; +// Fixing native typed arrays in Opera Presto crashes the browser, see #595 +var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; +var TYPED_ARRAY_TAG_REQUIRED = false; +var NAME, Constructor, Prototype; + +var TypedArrayConstructorsList = { + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 +}; + +var BigIntArrayConstructorsList = { + BigInt64Array: 8, + BigUint64Array: 8 +}; + +var isView = function isView(it) { + if (!isObject(it)) return false; + var klass = classof(it); + return klass === 'DataView' + || hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); +}; + +var getTypedArrayConstructor = function (it) { + var proto = getPrototypeOf(it); + if (!isObject(proto)) return; + var state = getInternalState(proto); + return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto); +}; + +var isTypedArray = function (it) { + if (!isObject(it)) return false; + var klass = classof(it); + return hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); +}; + +var aTypedArray = function (it) { + if (isTypedArray(it)) return it; + throw TypeError('Target is not a typed array'); +}; + +var aTypedArrayConstructor = function (C) { + if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; + throw TypeError(tryToString(C) + ' is not a typed array constructor'); +}; + +var exportTypedArrayMethod = function (KEY, property, forced, options) { + if (!DESCRIPTORS) return; + if (forced) for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { + delete TypedArrayConstructor.prototype[KEY]; + } catch (error) { + // old WebKit bug - some methods are non-configurable + try { + TypedArrayConstructor.prototype[KEY] = property; + } catch (error2) { /* empty */ } + } + } + if (!TypedArrayPrototype[KEY] || forced) { + defineBuiltIn(TypedArrayPrototype, KEY, forced ? property + : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); + } +}; + +var exportTypedArrayStaticMethod = function (KEY, property, forced) { + var ARRAY, TypedArrayConstructor; + if (!DESCRIPTORS) return; + if (setPrototypeOf) { + if (forced) for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { + delete TypedArrayConstructor[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArray[KEY] || forced) { + // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable + try { + return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); + } catch (error) { /* empty */ } + } else return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + defineBuiltIn(TypedArrayConstructor, KEY, property); + } + } +}; + +for (NAME in TypedArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; + else NATIVE_ARRAY_BUFFER_VIEWS = false; +} + +for (NAME in BigIntArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; +} + +// WebKit bug - typed arrays constructors prototype is Object.prototype +if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { + // eslint-disable-next-line no-shadow -- safe + TypedArray = function TypedArray() { + throw TypeError('Incorrect invocation'); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); + } +} + +if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); + } +} + +// WebKit bug - one more object in Uint8ClampedArray prototype chain +if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { + setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); +} + +if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { + TYPED_ARRAY_TAG_REQUIRED = true; + defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { + configurable: true, + get: function () { + return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; + } + }); + for (NAME in TypedArrayConstructorsList) if (global[NAME]) { + createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); + } +} + +module.exports = { + NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, + aTypedArray: aTypedArray, + aTypedArrayConstructor: aTypedArrayConstructor, + exportTypedArrayMethod: exportTypedArrayMethod, + exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, + getTypedArrayConstructor: getTypedArrayConstructor, + isView: isView, + isTypedArray: isTypedArray, + TypedArray: TypedArray, + TypedArrayPrototype: TypedArrayPrototype +}; diff --git a/node_modules/core-js/internals/array-buffer.js b/node_modules/core-js/internals/array-buffer.js new file mode 100644 index 00000000..814c48f1 --- /dev/null +++ b/node_modules/core-js/internals/array-buffer.js @@ -0,0 +1,262 @@ +'use strict'; +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); +var DESCRIPTORS = require('../internals/descriptors'); +var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection'); +var FunctionName = require('../internals/function-name'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var defineBuiltIns = require('../internals/define-built-ins'); +var fails = require('../internals/fails'); +var anInstance = require('../internals/an-instance'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toLength = require('../internals/to-length'); +var toIndex = require('../internals/to-index'); +var IEEE754 = require('../internals/ieee754'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); +var getOwnPropertyNames = require('../internals/object-get-own-property-names').f; +var arrayFill = require('../internals/array-fill'); +var arraySlice = require('../internals/array-slice-simple'); +var setToStringTag = require('../internals/set-to-string-tag'); +var InternalStateModule = require('../internals/internal-state'); + +var PROPER_FUNCTION_NAME = FunctionName.PROPER; +var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; +var ARRAY_BUFFER = 'ArrayBuffer'; +var DATA_VIEW = 'DataView'; +var PROTOTYPE = 'prototype'; +var WRONG_LENGTH = 'Wrong length'; +var WRONG_INDEX = 'Wrong index'; +var getInternalArrayBufferState = InternalStateModule.getterFor(ARRAY_BUFFER); +var getInternalDataViewState = InternalStateModule.getterFor(DATA_VIEW); +var setInternalState = InternalStateModule.set; +var NativeArrayBuffer = global[ARRAY_BUFFER]; +var $ArrayBuffer = NativeArrayBuffer; +var ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE]; +var $DataView = global[DATA_VIEW]; +var DataViewPrototype = $DataView && $DataView[PROTOTYPE]; +var ObjectPrototype = Object.prototype; +var Array = global.Array; +var RangeError = global.RangeError; +var fill = uncurryThis(arrayFill); +var reverse = uncurryThis([].reverse); + +var packIEEE754 = IEEE754.pack; +var unpackIEEE754 = IEEE754.unpack; + +var packInt8 = function (number) { + return [number & 0xFF]; +}; + +var packInt16 = function (number) { + return [number & 0xFF, number >> 8 & 0xFF]; +}; + +var packInt32 = function (number) { + return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF]; +}; + +var unpackInt32 = function (buffer) { + return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; +}; + +var packFloat32 = function (number) { + return packIEEE754(number, 23, 4); +}; + +var packFloat64 = function (number) { + return packIEEE754(number, 52, 8); +}; + +var addGetter = function (Constructor, key, getInternalState) { + defineBuiltInAccessor(Constructor[PROTOTYPE], key, { + configurable: true, + get: function () { + return getInternalState(this)[key]; + } + }); +}; + +var get = function (view, count, index, isLittleEndian) { + var store = getInternalDataViewState(view); + var intIndex = toIndex(index); + var boolIsLittleEndian = !!isLittleEndian; + if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); + var bytes = store.bytes; + var start = intIndex + store.byteOffset; + var pack = arraySlice(bytes, start, start + count); + return boolIsLittleEndian ? pack : reverse(pack); +}; + +var set = function (view, count, index, conversion, value, isLittleEndian) { + var store = getInternalDataViewState(view); + var intIndex = toIndex(index); + var pack = conversion(+value); + var boolIsLittleEndian = !!isLittleEndian; + if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); + var bytes = store.bytes; + var start = intIndex + store.byteOffset; + for (var i = 0; i < count; i++) bytes[start + i] = pack[boolIsLittleEndian ? i : count - i - 1]; +}; + +if (!NATIVE_ARRAY_BUFFER) { + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, ArrayBufferPrototype); + var byteLength = toIndex(length); + setInternalState(this, { + type: ARRAY_BUFFER, + bytes: fill(Array(byteLength), 0), + byteLength: byteLength + }); + if (!DESCRIPTORS) { + this.byteLength = byteLength; + this.detached = false; + } + }; + + ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE]; + + $DataView = function DataView(buffer, byteOffset, byteLength) { + anInstance(this, DataViewPrototype); + anInstance(buffer, ArrayBufferPrototype); + var bufferState = getInternalArrayBufferState(buffer); + var bufferLength = bufferState.byteLength; + var offset = toIntegerOrInfinity(byteOffset); + if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset'); + byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); + if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); + setInternalState(this, { + type: DATA_VIEW, + buffer: buffer, + byteLength: byteLength, + byteOffset: offset, + bytes: bufferState.bytes + }); + if (!DESCRIPTORS) { + this.buffer = buffer; + this.byteLength = byteLength; + this.byteOffset = offset; + } + }; + + DataViewPrototype = $DataView[PROTOTYPE]; + + if (DESCRIPTORS) { + addGetter($ArrayBuffer, 'byteLength', getInternalArrayBufferState); + addGetter($DataView, 'buffer', getInternalDataViewState); + addGetter($DataView, 'byteLength', getInternalDataViewState); + addGetter($DataView, 'byteOffset', getInternalDataViewState); + } + + defineBuiltIns(DataViewPrototype, { + getInt8: function getInt8(byteOffset) { + return get(this, 1, byteOffset)[0] << 24 >> 24; + }, + getUint8: function getUint8(byteOffset) { + return get(this, 1, byteOffset)[0]; + }, + getInt16: function getInt16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false); + return (bytes[1] << 8 | bytes[0]) << 16 >> 16; + }, + getUint16: function getUint16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : false); + return bytes[1] << 8 | bytes[0]; + }, + getInt32: function getInt32(byteOffset /* , littleEndian */) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)); + }, + getUint32: function getUint32(byteOffset /* , littleEndian */) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false)) >>> 0; + }, + getFloat32: function getFloat32(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : false), 23); + }, + getFloat64: function getFloat64(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : false), 52); + }, + setInt8: function setInt8(byteOffset, value) { + set(this, 1, byteOffset, packInt8, value); + }, + setUint8: function setUint8(byteOffset, value) { + set(this, 1, byteOffset, packInt8, value); + }, + setInt16: function setInt16(byteOffset, value /* , littleEndian */) { + set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false); + }, + setUint16: function setUint16(byteOffset, value /* , littleEndian */) { + set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : false); + }, + setInt32: function setInt32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false); + }, + setUint32: function setUint32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : false); + }, + setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : false); + }, + setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { + set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : false); + } + }); +} else { + var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER; + /* eslint-disable no-new -- required for testing */ + if (!fails(function () { + NativeArrayBuffer(1); + }) || !fails(function () { + new NativeArrayBuffer(-1); + }) || fails(function () { + new NativeArrayBuffer(); + new NativeArrayBuffer(1.5); + new NativeArrayBuffer(NaN); + return NativeArrayBuffer.length != 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME; + })) { + /* eslint-enable no-new -- required for testing */ + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, ArrayBufferPrototype); + return new NativeArrayBuffer(toIndex(length)); + }; + + $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype; + + for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) { + if (!((key = keys[j++]) in $ArrayBuffer)) { + createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]); + } + } + + ArrayBufferPrototype.constructor = $ArrayBuffer; + } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER); + } + + // WebKit bug - the same parent prototype for typed arrays and data view + if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) { + setPrototypeOf(DataViewPrototype, ObjectPrototype); + } + + // iOS Safari 7.x bug + var testView = new $DataView(new $ArrayBuffer(2)); + var $setInt8 = uncurryThis(DataViewPrototype.setInt8); + testView.setInt8(0, 2147483648); + testView.setInt8(1, 2147483649); + if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns(DataViewPrototype, { + setInt8: function setInt8(byteOffset, value) { + $setInt8(this, byteOffset, value << 24 >> 24); + }, + setUint8: function setUint8(byteOffset, value) { + $setInt8(this, byteOffset, value << 24 >> 24); + } + }, { unsafe: true }); +} + +setToStringTag($ArrayBuffer, ARRAY_BUFFER); +setToStringTag($DataView, DATA_VIEW); + +module.exports = { + ArrayBuffer: $ArrayBuffer, + DataView: $DataView +}; diff --git a/node_modules/core-js/internals/array-copy-within.js b/node_modules/core-js/internals/array-copy-within.js new file mode 100644 index 00000000..e1997148 --- /dev/null +++ b/node_modules/core-js/internals/array-copy-within.js @@ -0,0 +1,31 @@ +'use strict'; +var toObject = require('../internals/to-object'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var deletePropertyOrThrow = require('../internals/delete-property-or-throw'); + +var min = Math.min; + +// `Array.prototype.copyWithin` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.copywithin +// eslint-disable-next-line es/no-array-prototype-copywithin -- safe +module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var to = toAbsoluteIndex(target, len); + var from = toAbsoluteIndex(start, len); + var end = arguments.length > 2 ? arguments[2] : undefined; + var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); + var inc = 1; + if (from < to && to < from + count) { + inc = -1; + from += count - 1; + to += count - 1; + } + while (count-- > 0) { + if (from in O) O[to] = O[from]; + else deletePropertyOrThrow(O, to); + to += inc; + from += inc; + } return O; +}; diff --git a/node_modules/core-js/internals/array-fill.js b/node_modules/core-js/internals/array-fill.js new file mode 100644 index 00000000..c6b16cd0 --- /dev/null +++ b/node_modules/core-js/internals/array-fill.js @@ -0,0 +1,17 @@ +'use strict'; +var toObject = require('../internals/to-object'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); + +// `Array.prototype.fill` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.fill +module.exports = function fill(value /* , start = 0, end = @length */) { + var O = toObject(this); + var length = lengthOfArrayLike(O); + var argumentsLength = arguments.length; + var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); + var end = argumentsLength > 2 ? arguments[2] : undefined; + var endPos = end === undefined ? length : toAbsoluteIndex(end, length); + while (endPos > index) O[index++] = value; + return O; +}; diff --git a/node_modules/core-js/internals/array-for-each.js b/node_modules/core-js/internals/array-for-each.js new file mode 100644 index 00000000..22477f47 --- /dev/null +++ b/node_modules/core-js/internals/array-for-each.js @@ -0,0 +1,12 @@ +'use strict'; +var $forEach = require('../internals/array-iteration').forEach; +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); + +var STRICT_METHOD = arrayMethodIsStrict('forEach'); + +// `Array.prototype.forEach` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.foreach +module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { + return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +// eslint-disable-next-line es/no-array-prototype-foreach -- safe +} : [].forEach; diff --git a/node_modules/core-js/internals/array-from-async.js b/node_modules/core-js/internals/array-from-async.js new file mode 100644 index 00000000..683f7b61 --- /dev/null +++ b/node_modules/core-js/internals/array-from-async.js @@ -0,0 +1,51 @@ +'use strict'; +var bind = require('../internals/function-bind-context'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toObject = require('../internals/to-object'); +var isConstructor = require('../internals/is-constructor'); +var getAsyncIterator = require('../internals/get-async-iterator'); +var getIterator = require('../internals/get-iterator'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var getIteratorMethod = require('../internals/get-iterator-method'); +var getMethod = require('../internals/get-method'); +var getVirtual = require('../internals/entry-virtual'); +var getBuiltIn = require('../internals/get-built-in'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var AsyncFromSyncIterator = require('../internals/async-from-sync-iterator'); +var toArray = require('../internals/async-iterator-iteration').toArray; + +var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); +var arrayIterator = uncurryThis(getVirtual('Array').values); +var arrayIteratorNext = uncurryThis(arrayIterator([]).next); + +var safeArrayIterator = function () { + return new SafeArrayIterator(this); +}; + +var SafeArrayIterator = function (O) { + this.iterator = arrayIterator(O); +}; + +SafeArrayIterator.prototype.next = function () { + return arrayIteratorNext(this.iterator); +}; + +// `Array.fromAsync` method implementation +// https://github.com/tc39/proposal-array-from-async +module.exports = function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { + var C = this; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var thisArg = argumentsLength > 2 ? arguments[2] : undefined; + return new (getBuiltIn('Promise'))(function (resolve) { + var O = toObject(asyncItems); + if (mapfn !== undefined) mapfn = bind(mapfn, thisArg); + var usingAsyncIterator = getMethod(O, ASYNC_ITERATOR); + var usingSyncIterator = usingAsyncIterator ? undefined : getIteratorMethod(O) || safeArrayIterator; + var A = isConstructor(C) ? new C() : []; + var iterator = usingAsyncIterator + ? getAsyncIterator(O, usingAsyncIterator) + : new AsyncFromSyncIterator(getIteratorDirect(getIterator(O, usingSyncIterator))); + resolve(toArray(iterator, mapfn, A)); + }); +}; diff --git a/node_modules/core-js/internals/array-from-constructor-and-list.js b/node_modules/core-js/internals/array-from-constructor-and-list.js new file mode 100644 index 00000000..855e4b87 --- /dev/null +++ b/node_modules/core-js/internals/array-from-constructor-and-list.js @@ -0,0 +1,10 @@ +'use strict'; +var lengthOfArrayLike = require('../internals/length-of-array-like'); + +module.exports = function (Constructor, list) { + var index = 0; + var length = lengthOfArrayLike(list); + var result = new Constructor(length); + while (length > index) result[index] = list[index++]; + return result; +}; diff --git a/node_modules/core-js/internals/array-from.js b/node_modules/core-js/internals/array-from.js new file mode 100644 index 00000000..323b1832 --- /dev/null +++ b/node_modules/core-js/internals/array-from.js @@ -0,0 +1,46 @@ +'use strict'; +var bind = require('../internals/function-bind-context'); +var call = require('../internals/function-call'); +var toObject = require('../internals/to-object'); +var callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing'); +var isArrayIteratorMethod = require('../internals/is-array-iterator-method'); +var isConstructor = require('../internals/is-constructor'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var createProperty = require('../internals/create-property'); +var getIterator = require('../internals/get-iterator'); +var getIteratorMethod = require('../internals/get-iterator-method'); + +var $Array = Array; + +// `Array.from` method implementation +// https://tc39.es/ecma262/#sec-array.from +module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { + var O = toObject(arrayLike); + var IS_CONSTRUCTOR = isConstructor(this); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined); + var iteratorMethod = getIteratorMethod(O); + var index = 0; + var length, result, step, iterator, next, value; + // if the target is not iterable or it's an array with the default iterator - use a simple case + if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) { + iterator = getIterator(O, iteratorMethod); + next = iterator.next; + result = IS_CONSTRUCTOR ? new this() : []; + for (;!(step = call(next, iterator)).done; index++) { + value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; + createProperty(result, index, value); + } + } else { + length = lengthOfArrayLike(O); + result = IS_CONSTRUCTOR ? new this(length) : $Array(length); + for (;length > index; index++) { + value = mapping ? mapfn(O[index], index) : O[index]; + createProperty(result, index, value); + } + } + result.length = index; + return result; +}; diff --git a/node_modules/core-js/internals/array-group-to-map.js b/node_modules/core-js/internals/array-group-to-map.js new file mode 100644 index 00000000..608d45ad --- /dev/null +++ b/node_modules/core-js/internals/array-group-to-map.js @@ -0,0 +1,31 @@ +'use strict'; +var bind = require('../internals/function-bind-context'); +var uncurryThis = require('../internals/function-uncurry-this'); +var IndexedObject = require('../internals/indexed-object'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var MapHelpers = require('../internals/map-helpers'); + +var Map = MapHelpers.Map; +var mapGet = MapHelpers.get; +var mapHas = MapHelpers.has; +var mapSet = MapHelpers.set; +var push = uncurryThis([].push); + +// `Array.prototype.groupToMap` method +// https://github.com/tc39/proposal-array-grouping +module.exports = function groupToMap(callbackfn /* , thisArg */) { + var O = toObject(this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var map = new Map(); + var length = lengthOfArrayLike(self); + var index = 0; + var key, value; + for (;length > index; index++) { + value = self[index]; + key = boundFunction(value, index, O); + if (mapHas(map, key)) push(mapGet(map, key), value); + else mapSet(map, key, [value]); + } return map; +}; diff --git a/node_modules/core-js/internals/array-group.js b/node_modules/core-js/internals/array-group.js new file mode 100644 index 00000000..dbec5a4d --- /dev/null +++ b/node_modules/core-js/internals/array-group.js @@ -0,0 +1,37 @@ +'use strict'; +var bind = require('../internals/function-bind-context'); +var uncurryThis = require('../internals/function-uncurry-this'); +var IndexedObject = require('../internals/indexed-object'); +var toObject = require('../internals/to-object'); +var toPropertyKey = require('../internals/to-property-key'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var objectCreate = require('../internals/object-create'); +var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list'); + +var $Array = Array; +var push = uncurryThis([].push); + +module.exports = function ($this, callbackfn, that, specificConstructor) { + var O = toObject($this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var target = objectCreate(null); + var length = lengthOfArrayLike(self); + var index = 0; + var Constructor, key, value; + for (;length > index; index++) { + value = self[index]; + key = toPropertyKey(boundFunction(value, index, O)); + // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys + // but since it's a `null` prototype object, we can safely use `in` + if (key in target) push(target[key], value); + else target[key] = [value]; + } + // TODO: Remove this block from `core-js@4` + if (specificConstructor) { + Constructor = specificConstructor(O); + if (Constructor !== $Array) { + for (key in target) target[key] = arrayFromConstructorAndList(Constructor, target[key]); + } + } return target; +}; diff --git a/node_modules/core-js/internals/array-includes.js b/node_modules/core-js/internals/array-includes.js new file mode 100644 index 00000000..b713c44d --- /dev/null +++ b/node_modules/core-js/internals/array-includes.js @@ -0,0 +1,33 @@ +'use strict'; +var toIndexedObject = require('../internals/to-indexed-object'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); + +// `Array.prototype.{ indexOf, includes }` methods implementation +var createMethod = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = lengthOfArrayLike(O); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare -- NaN check + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; +}; + +module.exports = { + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + includes: createMethod(true), + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + indexOf: createMethod(false) +}; diff --git a/node_modules/core-js/internals/array-iteration-from-last.js b/node_modules/core-js/internals/array-iteration-from-last.js new file mode 100644 index 00000000..8af359cb --- /dev/null +++ b/node_modules/core-js/internals/array-iteration-from-last.js @@ -0,0 +1,35 @@ +'use strict'; +var bind = require('../internals/function-bind-context'); +var IndexedObject = require('../internals/indexed-object'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); + +// `Array.prototype.{ findLast, findLastIndex }` methods implementation +var createMethod = function (TYPE) { + var IS_FIND_LAST_INDEX = TYPE == 1; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var index = lengthOfArrayLike(self); + var value, result; + while (index-- > 0) { + value = self[index]; + result = boundFunction(value, index, O); + if (result) switch (TYPE) { + case 0: return value; // findLast + case 1: return index; // findLastIndex + } + } + return IS_FIND_LAST_INDEX ? -1 : undefined; + }; +}; + +module.exports = { + // `Array.prototype.findLast` method + // https://github.com/tc39/proposal-array-find-from-last + findLast: createMethod(0), + // `Array.prototype.findLastIndex` method + // https://github.com/tc39/proposal-array-find-from-last + findLastIndex: createMethod(1) +}; diff --git a/node_modules/core-js/internals/array-iteration.js b/node_modules/core-js/internals/array-iteration.js new file mode 100644 index 00000000..718206de --- /dev/null +++ b/node_modules/core-js/internals/array-iteration.js @@ -0,0 +1,74 @@ +'use strict'; +var bind = require('../internals/function-bind-context'); +var uncurryThis = require('../internals/function-uncurry-this'); +var IndexedObject = require('../internals/indexed-object'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var arraySpeciesCreate = require('../internals/array-species-create'); + +var push = uncurryThis([].push); + +// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation +var createMethod = function (TYPE) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var IS_FILTER_REJECT = TYPE == 7; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject($this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var length = lengthOfArrayLike(self); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push(target, value); // filterReject + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; +}; + +module.exports = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod(7) +}; diff --git a/node_modules/core-js/internals/array-last-index-of.js b/node_modules/core-js/internals/array-last-index-of.js new file mode 100644 index 00000000..e7555541 --- /dev/null +++ b/node_modules/core-js/internals/array-last-index-of.js @@ -0,0 +1,27 @@ +'use strict'; +/* eslint-disable es/no-array-prototype-lastindexof -- safe */ +var apply = require('../internals/function-apply'); +var toIndexedObject = require('../internals/to-indexed-object'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); + +var min = Math.min; +var $lastIndexOf = [].lastIndexOf; +var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; +var STRICT_METHOD = arrayMethodIsStrict('lastIndexOf'); +var FORCED = NEGATIVE_ZERO || !STRICT_METHOD; + +// `Array.prototype.lastIndexOf` method implementation +// https://tc39.es/ecma262/#sec-array.prototype.lastindexof +module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { + // convert -0 to +0 + if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0; + var O = toIndexedObject(this); + var length = lengthOfArrayLike(O); + var index = length - 1; + if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1])); + if (index < 0) index = length + index; + for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; + return -1; +} : $lastIndexOf; diff --git a/node_modules/core-js/internals/array-method-has-species-support.js b/node_modules/core-js/internals/array-method-has-species-support.js new file mode 100644 index 00000000..9c481866 --- /dev/null +++ b/node_modules/core-js/internals/array-method-has-species-support.js @@ -0,0 +1,20 @@ +'use strict'; +var fails = require('../internals/fails'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var V8_VERSION = require('../internals/engine-v8-version'); + +var SPECIES = wellKnownSymbol('species'); + +module.exports = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return V8_VERSION >= 51 || !fails(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); +}; diff --git a/node_modules/core-js/internals/array-method-is-strict.js b/node_modules/core-js/internals/array-method-is-strict.js new file mode 100644 index 00000000..8259c2fd --- /dev/null +++ b/node_modules/core-js/internals/array-method-is-strict.js @@ -0,0 +1,10 @@ +'use strict'; +var fails = require('../internals/fails'); + +module.exports = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); + }); +}; diff --git a/node_modules/core-js/internals/array-reduce.js b/node_modules/core-js/internals/array-reduce.js new file mode 100644 index 00000000..b68d04ce --- /dev/null +++ b/node_modules/core-js/internals/array-reduce.js @@ -0,0 +1,43 @@ +'use strict'; +var aCallable = require('../internals/a-callable'); +var toObject = require('../internals/to-object'); +var IndexedObject = require('../internals/indexed-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); + +var $TypeError = TypeError; + +// `Array.prototype.{ reduce, reduceRight }` methods implementation +var createMethod = function (IS_RIGHT) { + return function (that, callbackfn, argumentsLength, memo) { + aCallable(callbackfn); + var O = toObject(that); + var self = IndexedObject(O); + var length = lengthOfArrayLike(O); + var index = IS_RIGHT ? length - 1 : 0; + var i = IS_RIGHT ? -1 : 1; + if (argumentsLength < 2) while (true) { + if (index in self) { + memo = self[index]; + index += i; + break; + } + index += i; + if (IS_RIGHT ? index < 0 : length <= index) { + throw $TypeError('Reduce of empty array with no initial value'); + } + } + for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { + memo = callbackfn(memo, self[index], index, O); + } + return memo; + }; +}; + +module.exports = { + // `Array.prototype.reduce` method + // https://tc39.es/ecma262/#sec-array.prototype.reduce + left: createMethod(false), + // `Array.prototype.reduceRight` method + // https://tc39.es/ecma262/#sec-array.prototype.reduceright + right: createMethod(true) +}; diff --git a/node_modules/core-js/internals/array-set-length.js b/node_modules/core-js/internals/array-set-length.js new file mode 100644 index 00000000..08523174 --- /dev/null +++ b/node_modules/core-js/internals/array-set-length.js @@ -0,0 +1,27 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var isArray = require('../internals/is-array'); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Safari < 13 does not throw an error in this case +var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { + // makes no sense without proper strict mode support + if (this !== undefined) return true; + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } +}(); + +module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { + throw $TypeError('Cannot set read only .length'); + } return O.length = length; +} : function (O, length) { + return O.length = length; +}; diff --git a/node_modules/core-js/internals/array-slice-simple.js b/node_modules/core-js/internals/array-slice-simple.js new file mode 100644 index 00000000..19e38797 --- /dev/null +++ b/node_modules/core-js/internals/array-slice-simple.js @@ -0,0 +1,17 @@ +'use strict'; +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var createProperty = require('../internals/create-property'); + +var $Array = Array; +var max = Math.max; + +module.exports = function (O, start, end) { + var length = lengthOfArrayLike(O); + var k = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + var result = $Array(max(fin - k, 0)); + for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]); + result.length = n; + return result; +}; diff --git a/node_modules/core-js/internals/array-slice.js b/node_modules/core-js/internals/array-slice.js new file mode 100644 index 00000000..b18786f6 --- /dev/null +++ b/node_modules/core-js/internals/array-slice.js @@ -0,0 +1,4 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +module.exports = uncurryThis([].slice); diff --git a/node_modules/core-js/internals/array-sort.js b/node_modules/core-js/internals/array-sort.js new file mode 100644 index 00000000..2ee9ebab --- /dev/null +++ b/node_modules/core-js/internals/array-sort.js @@ -0,0 +1,45 @@ +'use strict'; +var arraySlice = require('../internals/array-slice-simple'); + +var floor = Math.floor; + +var mergeSort = function (array, comparefn) { + var length = array.length; + var middle = floor(length / 2); + return length < 8 ? insertionSort(array, comparefn) : merge( + array, + mergeSort(arraySlice(array, 0, middle), comparefn), + mergeSort(arraySlice(array, middle), comparefn), + comparefn + ); +}; + +var insertionSort = function (array, comparefn) { + var length = array.length; + var i = 1; + var element, j; + + while (i < length) { + j = i; + element = array[i]; + while (j && comparefn(array[j - 1], element) > 0) { + array[j] = array[--j]; + } + if (j !== i++) array[j] = element; + } return array; +}; + +var merge = function (array, left, right, comparefn) { + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + + while (lindex < llength || rindex < rlength) { + array[lindex + rindex] = (lindex < llength && rindex < rlength) + ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] + : lindex < llength ? left[lindex++] : right[rindex++]; + } return array; +}; + +module.exports = mergeSort; diff --git a/node_modules/core-js/internals/array-species-constructor.js b/node_modules/core-js/internals/array-species-constructor.js new file mode 100644 index 00000000..db2f18ca --- /dev/null +++ b/node_modules/core-js/internals/array-species-constructor.js @@ -0,0 +1,23 @@ +'use strict'; +var isArray = require('../internals/is-array'); +var isConstructor = require('../internals/is-constructor'); +var isObject = require('../internals/is-object'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var SPECIES = wellKnownSymbol('species'); +var $Array = Array; + +// a part of `ArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#sec-arrayspeciescreate +module.exports = function (originalArray) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; +}; diff --git a/node_modules/core-js/internals/array-species-create.js b/node_modules/core-js/internals/array-species-create.js new file mode 100644 index 00000000..35d02914 --- /dev/null +++ b/node_modules/core-js/internals/array-species-create.js @@ -0,0 +1,8 @@ +'use strict'; +var arraySpeciesConstructor = require('../internals/array-species-constructor'); + +// `ArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#sec-arrayspeciescreate +module.exports = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); +}; diff --git a/node_modules/core-js/internals/array-to-reversed.js b/node_modules/core-js/internals/array-to-reversed.js new file mode 100644 index 00000000..0a1e9c73 --- /dev/null +++ b/node_modules/core-js/internals/array-to-reversed.js @@ -0,0 +1,12 @@ +'use strict'; +var lengthOfArrayLike = require('../internals/length-of-array-like'); + +// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed +// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed +module.exports = function (O, C) { + var len = lengthOfArrayLike(O); + var A = new C(len); + var k = 0; + for (; k < len; k++) A[k] = O[len - k - 1]; + return A; +}; diff --git a/node_modules/core-js/internals/array-unique-by.js b/node_modules/core-js/internals/array-unique-by.js new file mode 100644 index 00000000..42f24253 --- /dev/null +++ b/node_modules/core-js/internals/array-unique-by.js @@ -0,0 +1,35 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var toObject = require('../internals/to-object'); +var MapHelpers = require('../internals/map-helpers'); +var iterate = require('../internals/map-iterate'); + +var Map = MapHelpers.Map; +var mapHas = MapHelpers.has; +var mapSet = MapHelpers.set; +var push = uncurryThis([].push); + +// `Array.prototype.uniqueBy` method +// https://github.com/tc39/proposal-array-unique +module.exports = function uniqueBy(resolver) { + var that = toObject(this); + var length = lengthOfArrayLike(that); + var result = []; + var map = new Map(); + var resolverFunction = !isNullOrUndefined(resolver) ? aCallable(resolver) : function (value) { + return value; + }; + var index, item, key; + for (index = 0; index < length; index++) { + item = that[index]; + key = resolverFunction(item); + if (!mapHas(map, key)) mapSet(map, key, item); + } + iterate(map, function (value) { + push(result, value); + }); + return result; +}; diff --git a/node_modules/core-js/internals/array-with.js b/node_modules/core-js/internals/array-with.js new file mode 100644 index 00000000..5b33bfce --- /dev/null +++ b/node_modules/core-js/internals/array-with.js @@ -0,0 +1,18 @@ +'use strict'; +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); + +var $RangeError = RangeError; + +// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with +// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with +module.exports = function (O, C, index, value) { + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; + if (actualIndex >= len || actualIndex < 0) throw $RangeError('Incorrect index'); + var A = new C(len); + var k = 0; + for (; k < len; k++) A[k] = k === actualIndex ? value : O[k]; + return A; +}; diff --git a/node_modules/core-js/internals/async-from-sync-iterator.js b/node_modules/core-js/internals/async-from-sync-iterator.js new file mode 100644 index 00000000..b4ab0179 --- /dev/null +++ b/node_modules/core-js/internals/async-from-sync-iterator.js @@ -0,0 +1,49 @@ +'use strict'; +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var create = require('../internals/object-create'); +var getMethod = require('../internals/get-method'); +var defineBuiltIns = require('../internals/define-built-ins'); +var InternalStateModule = require('../internals/internal-state'); +var getBuiltIn = require('../internals/get-built-in'); +var AsyncIteratorPrototype = require('../internals/async-iterator-prototype'); +var createIterResultObject = require('../internals/create-iter-result-object'); + +var Promise = getBuiltIn('Promise'); + +var ASYNC_FROM_SYNC_ITERATOR = 'AsyncFromSyncIterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(ASYNC_FROM_SYNC_ITERATOR); + +var asyncFromSyncIteratorContinuation = function (result, resolve, reject) { + var done = result.done; + Promise.resolve(result.value).then(function (value) { + resolve(createIterResultObject(value, done)); + }, reject); +}; + +var AsyncFromSyncIterator = function AsyncIterator(iteratorRecord) { + iteratorRecord.type = ASYNC_FROM_SYNC_ITERATOR; + setInternalState(this, iteratorRecord); +}; + +AsyncFromSyncIterator.prototype = defineBuiltIns(create(AsyncIteratorPrototype), { + next: function next() { + var state = getInternalState(this); + return new Promise(function (resolve, reject) { + var result = anObject(call(state.next, state.iterator)); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + }, + 'return': function () { + var iterator = getInternalState(this).iterator; + return new Promise(function (resolve, reject) { + var $return = getMethod(iterator, 'return'); + if ($return === undefined) return resolve(createIterResultObject(undefined, true)); + var result = anObject(call($return, iterator)); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + } +}); + +module.exports = AsyncFromSyncIterator; diff --git a/node_modules/core-js/internals/async-iterator-close.js b/node_modules/core-js/internals/async-iterator-close.js new file mode 100644 index 00000000..30cc91ab --- /dev/null +++ b/node_modules/core-js/internals/async-iterator-close.js @@ -0,0 +1,19 @@ +'use strict'; +var call = require('../internals/function-call'); +var getBuiltIn = require('../internals/get-built-in'); +var getMethod = require('../internals/get-method'); + +module.exports = function (iterator, method, argument, reject) { + try { + var returnMethod = getMethod(iterator, 'return'); + if (returnMethod) { + return getBuiltIn('Promise').resolve(call(returnMethod, iterator)).then(function () { + method(argument); + }, function (error) { + reject(error); + }); + } + } catch (error2) { + return reject(error2); + } method(argument); +}; diff --git a/node_modules/core-js/internals/async-iterator-create-proxy.js b/node_modules/core-js/internals/async-iterator-create-proxy.js new file mode 100644 index 00000000..12f7c2d7 --- /dev/null +++ b/node_modules/core-js/internals/async-iterator-create-proxy.js @@ -0,0 +1,105 @@ +'use strict'; +var call = require('../internals/function-call'); +var perform = require('../internals/perform'); +var anObject = require('../internals/an-object'); +var create = require('../internals/object-create'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var defineBuiltIns = require('../internals/define-built-ins'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var InternalStateModule = require('../internals/internal-state'); +var getBuiltIn = require('../internals/get-built-in'); +var getMethod = require('../internals/get-method'); +var AsyncIteratorPrototype = require('../internals/async-iterator-prototype'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var iteratorClose = require('../internals/iterator-close'); + +var Promise = getBuiltIn('Promise'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var ASYNC_ITERATOR_HELPER = 'AsyncIteratorHelper'; +var WRAP_FOR_VALID_ASYNC_ITERATOR = 'WrapForValidAsyncIterator'; +var setInternalState = InternalStateModule.set; + +var createAsyncIteratorProxyPrototype = function (IS_ITERATOR) { + var IS_GENERATOR = !IS_ITERATOR; + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER); + + var getStateOrEarlyExit = function (that) { + var stateCompletion = perform(function () { + return getInternalState(that); + }); + + var stateError = stateCompletion.error; + var state = stateCompletion.value; + + if (stateError || (IS_GENERATOR && state.done)) { + return { exit: true, value: stateError ? Promise.reject(state) : Promise.resolve(createIterResultObject(undefined, true)) }; + } return { exit: false, value: state }; + }; + + return defineBuiltIns(create(AsyncIteratorPrototype), { + next: function next() { + var stateCompletion = getStateOrEarlyExit(this); + var state = stateCompletion.value; + if (stateCompletion.exit) return state; + var handlerCompletion = perform(function () { + return anObject(state.nextHandler(Promise)); + }); + var handlerError = handlerCompletion.error; + var value = handlerCompletion.value; + if (handlerError) state.done = true; + return handlerError ? Promise.reject(value) : Promise.resolve(value); + }, + 'return': function () { + var stateCompletion = getStateOrEarlyExit(this); + var state = stateCompletion.value; + if (stateCompletion.exit) return state; + state.done = true; + var iterator = state.iterator; + var returnMethod, result; + var completion = perform(function () { + if (state.inner) try { + iteratorClose(state.inner.iterator, 'normal'); + } catch (error) { + return iteratorClose(iterator, 'throw', error); + } + return getMethod(iterator, 'return'); + }); + returnMethod = result = completion.value; + if (completion.error) return Promise.reject(result); + if (returnMethod === undefined) return Promise.resolve(createIterResultObject(undefined, true)); + completion = perform(function () { + return call(returnMethod, iterator); + }); + result = completion.value; + if (completion.error) return Promise.reject(result); + return IS_ITERATOR ? Promise.resolve(result) : Promise.resolve(result).then(function (resolved) { + anObject(resolved); + return createIterResultObject(undefined, true); + }); + } + }); +}; + +var WrapForValidAsyncIteratorPrototype = createAsyncIteratorProxyPrototype(true); +var AsyncIteratorHelperPrototype = createAsyncIteratorProxyPrototype(false); + +createNonEnumerableProperty(AsyncIteratorHelperPrototype, TO_STRING_TAG, 'Async Iterator Helper'); + +module.exports = function (nextHandler, IS_ITERATOR) { + var AsyncIteratorProxy = function AsyncIterator(record, state) { + if (state) { + state.iterator = record.iterator; + state.next = record.next; + } else state = record; + state.type = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER; + state.nextHandler = nextHandler; + state.counter = 0; + state.done = false; + setInternalState(this, state); + }; + + AsyncIteratorProxy.prototype = IS_ITERATOR ? WrapForValidAsyncIteratorPrototype : AsyncIteratorHelperPrototype; + + return AsyncIteratorProxy; +}; diff --git a/node_modules/core-js/internals/async-iterator-indexed.js b/node_modules/core-js/internals/async-iterator-indexed.js new file mode 100644 index 00000000..8ed66716 --- /dev/null +++ b/node_modules/core-js/internals/async-iterator-indexed.js @@ -0,0 +1,13 @@ +'use strict'; +var call = require('../internals/function-call'); +var map = require('../internals/async-iterator-map'); + +var callback = function (value, counter) { + return [counter, value]; +}; + +// `AsyncIterator.prototype.indexed` method +// https://github.com/tc39/proposal-iterator-helpers +module.exports = function indexed() { + return call(map, this, callback); +}; diff --git a/node_modules/core-js/internals/async-iterator-iteration.js b/node_modules/core-js/internals/async-iterator-iteration.js new file mode 100644 index 00000000..4651467a --- /dev/null +++ b/node_modules/core-js/internals/async-iterator-iteration.js @@ -0,0 +1,90 @@ +'use strict'; +// https://github.com/tc39/proposal-iterator-helpers +// https://github.com/tc39/proposal-array-from-async +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer'); +var getBuiltIn = require('../internals/get-built-in'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var closeAsyncIteration = require('../internals/async-iterator-close'); + +var createMethod = function (TYPE) { + var IS_TO_ARRAY = TYPE == 0; + var IS_FOR_EACH = TYPE == 1; + var IS_EVERY = TYPE == 2; + var IS_SOME = TYPE == 3; + return function (object, fn, target) { + anObject(object); + var MAPPING = fn !== undefined; + if (MAPPING || !IS_TO_ARRAY) aCallable(fn); + var record = getIteratorDirect(object); + var Promise = getBuiltIn('Promise'); + var iterator = record.iterator; + var next = record.next; + var counter = 0; + + return new Promise(function (resolve, reject) { + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, reject, error, reject); + }; + + var loop = function () { + try { + if (MAPPING) try { + doesNotExceedSafeInteger(counter); + } catch (error5) { ifAbruptCloseAsyncIterator(error5); } + Promise.resolve(anObject(call(next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + if (IS_TO_ARRAY) { + target.length = counter; + resolve(target); + } else resolve(IS_SOME ? false : IS_EVERY || undefined); + } else { + var value = step.value; + try { + if (MAPPING) { + var result = fn(value, counter); + + var handler = function ($result) { + if (IS_FOR_EACH) { + loop(); + } else if (IS_EVERY) { + $result ? loop() : closeAsyncIteration(iterator, resolve, false, reject); + } else if (IS_TO_ARRAY) { + try { + target[counter++] = $result; + loop(); + } catch (error4) { ifAbruptCloseAsyncIterator(error4); } + } else { + $result ? closeAsyncIteration(iterator, resolve, IS_SOME || value, reject) : loop(); + } + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } else { + target[counter++] = value; + loop(); + } + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + } catch (error2) { reject(error2); } + }, reject); + } catch (error) { reject(error); } + }; + + loop(); + }); + }; +}; + +module.exports = { + toArray: createMethod(0), + forEach: createMethod(1), + every: createMethod(2), + some: createMethod(3), + find: createMethod(4) +}; diff --git a/node_modules/core-js/internals/async-iterator-map.js b/node_modules/core-js/internals/async-iterator-map.js new file mode 100644 index 00000000..6e333f95 --- /dev/null +++ b/node_modules/core-js/internals/async-iterator-map.js @@ -0,0 +1,57 @@ +'use strict'; +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var closeAsyncIteration = require('../internals/async-iterator-close'); + +var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var mapper = state.mapper; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else { + var value = step.value; + try { + var result = mapper(value, state.counter++); + + var handler = function (mapped) { + resolve(createIterResultObject(mapped, false)); + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error2) { ifAbruptCloseAsyncIterator(error2); } + } + } catch (error) { doneAndReject(error); } + }, doneAndReject); + }); +}); + +// `AsyncIterator.prototype.map` method +// https://github.com/tc39/proposal-iterator-helpers +module.exports = function map(mapper) { + anObject(this); + aCallable(mapper); + return new AsyncIteratorProxy(getIteratorDirect(this), { + mapper: mapper + }); +}; diff --git a/node_modules/core-js/internals/async-iterator-prototype.js b/node_modules/core-js/internals/async-iterator-prototype.js new file mode 100644 index 00000000..d95a1acf --- /dev/null +++ b/node_modules/core-js/internals/async-iterator-prototype.js @@ -0,0 +1,38 @@ +'use strict'; +var global = require('../internals/global'); +var shared = require('../internals/shared-store'); +var isCallable = require('../internals/is-callable'); +var create = require('../internals/object-create'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var defineBuiltIn = require('../internals/define-built-in'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var IS_PURE = require('../internals/is-pure'); + +var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR'; +var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); +var AsyncIterator = global.AsyncIterator; +var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype; +var AsyncIteratorPrototype, prototype; + +if (PassedAsyncIteratorPrototype) { + AsyncIteratorPrototype = PassedAsyncIteratorPrototype; +} else if (isCallable(AsyncIterator)) { + AsyncIteratorPrototype = AsyncIterator.prototype; +} else if (shared[USE_FUNCTION_CONSTRUCTOR] || global[USE_FUNCTION_CONSTRUCTOR]) { + try { + // eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax + prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')()))); + if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype; + } catch (error) { /* empty */ } +} + +if (!AsyncIteratorPrototype) AsyncIteratorPrototype = {}; +else if (IS_PURE) AsyncIteratorPrototype = create(AsyncIteratorPrototype); + +if (!isCallable(AsyncIteratorPrototype[ASYNC_ITERATOR])) { + defineBuiltIn(AsyncIteratorPrototype, ASYNC_ITERATOR, function () { + return this; + }); +} + +module.exports = AsyncIteratorPrototype; diff --git a/node_modules/core-js/internals/async-iterator-wrap.js b/node_modules/core-js/internals/async-iterator-wrap.js new file mode 100644 index 00000000..58363167 --- /dev/null +++ b/node_modules/core-js/internals/async-iterator-wrap.js @@ -0,0 +1,7 @@ +'use strict'; +var call = require('../internals/function-call'); +var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy'); + +module.exports = createAsyncIteratorProxy(function () { + return call(this.next, this.iterator); +}, true); diff --git a/node_modules/core-js/internals/base64-map.js b/node_modules/core-js/internals/base64-map.js new file mode 100644 index 00000000..ad3d02f9 --- /dev/null +++ b/node_modules/core-js/internals/base64-map.js @@ -0,0 +1,10 @@ +'use strict'; +var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; +var ctoi = {}; + +for (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index; + +module.exports = { + itoc: itoc, + ctoi: ctoi +}; diff --git a/node_modules/core-js/internals/call-with-safe-iteration-closing.js b/node_modules/core-js/internals/call-with-safe-iteration-closing.js new file mode 100644 index 00000000..b468c8f7 --- /dev/null +++ b/node_modules/core-js/internals/call-with-safe-iteration-closing.js @@ -0,0 +1,12 @@ +'use strict'; +var anObject = require('../internals/an-object'); +var iteratorClose = require('../internals/iterator-close'); + +// call something on iterator step with safe closing on error +module.exports = function (iterator, fn, value, ENTRIES) { + try { + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } +}; diff --git a/node_modules/core-js/internals/caller.js b/node_modules/core-js/internals/caller.js new file mode 100644 index 00000000..1a35ecdf --- /dev/null +++ b/node_modules/core-js/internals/caller.js @@ -0,0 +1,8 @@ +'use strict'; +module.exports = function (methodName, numArgs) { + return numArgs == 1 ? function (object, arg) { + return object[methodName](arg); + } : function (object, arg1, arg2) { + return object[methodName](arg1, arg2); + }; +}; diff --git a/node_modules/core-js/internals/check-correctness-of-iteration.js b/node_modules/core-js/internals/check-correctness-of-iteration.js new file mode 100644 index 00000000..f0b26134 --- /dev/null +++ b/node_modules/core-js/internals/check-correctness-of-iteration.js @@ -0,0 +1,39 @@ +'use strict'; +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var ITERATOR = wellKnownSymbol('iterator'); +var SAFE_CLOSING = false; + +try { + var called = 0; + var iteratorWithReturn = { + next: function () { + return { done: !!called++ }; + }, + 'return': function () { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR] = function () { + return this; + }; + // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing + Array.from(iteratorWithReturn, function () { throw 2; }); +} catch (error) { /* empty */ } + +module.exports = function (exec, SKIP_CLOSING) { + if (!SKIP_CLOSING && !SAFE_CLOSING) return false; + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR] = function () { + return { + next: function () { + return { done: ITERATION_SUPPORT = true }; + } + }; + }; + exec(object); + } catch (error) { /* empty */ } + return ITERATION_SUPPORT; +}; diff --git a/node_modules/core-js/internals/classof-raw.js b/node_modules/core-js/internals/classof-raw.js new file mode 100644 index 00000000..3c3d4303 --- /dev/null +++ b/node_modules/core-js/internals/classof-raw.js @@ -0,0 +1,9 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +var toString = uncurryThis({}.toString); +var stringSlice = uncurryThis(''.slice); + +module.exports = function (it) { + return stringSlice(toString(it), 8, -1); +}; diff --git a/node_modules/core-js/internals/classof.js b/node_modules/core-js/internals/classof.js new file mode 100644 index 00000000..9b5fd8b5 --- /dev/null +++ b/node_modules/core-js/internals/classof.js @@ -0,0 +1,30 @@ +'use strict'; +var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support'); +var isCallable = require('../internals/is-callable'); +var classofRaw = require('../internals/classof-raw'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var $Object = Object; + +// ES3 wrong here +var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; + +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (error) { /* empty */ } +}; + +// getting tag from ES6+ `Object.prototype.toString` +module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { + var O, tag, result; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag + // builtinTag case + : CORRECT_ARGUMENTS ? classofRaw(O) + // ES3 arguments fallback + : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; +}; diff --git a/node_modules/core-js/internals/collection-from.js b/node_modules/core-js/internals/collection-from.js new file mode 100644 index 00000000..ebe9beea --- /dev/null +++ b/node_modules/core-js/internals/collection-from.js @@ -0,0 +1,31 @@ +'use strict'; +// https://tc39.github.io/proposal-setmap-offrom/ +var bind = require('../internals/function-bind-context'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var aConstructor = require('../internals/a-constructor'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var iterate = require('../internals/iterate'); + +var push = [].push; + +module.exports = function from(source /* , mapFn, thisArg */) { + var length = arguments.length; + var mapFn = length > 1 ? arguments[1] : undefined; + var mapping, array, n, boundFunction; + aConstructor(this); + mapping = mapFn !== undefined; + if (mapping) aCallable(mapFn); + if (isNullOrUndefined(source)) return new this(); + array = []; + if (mapping) { + n = 0; + boundFunction = bind(mapFn, length > 2 ? arguments[2] : undefined); + iterate(source, function (nextItem) { + call(push, array, boundFunction(nextItem, n++)); + }); + } else { + iterate(source, push, { that: array }); + } + return new this(array); +}; diff --git a/node_modules/core-js/internals/collection-of.js b/node_modules/core-js/internals/collection-of.js new file mode 100644 index 00000000..b4b10541 --- /dev/null +++ b/node_modules/core-js/internals/collection-of.js @@ -0,0 +1,7 @@ +'use strict'; +var arraySlice = require('../internals/array-slice'); + +// https://tc39.github.io/proposal-setmap-offrom/ +module.exports = function of() { + return new this(arraySlice(arguments)); +}; diff --git a/node_modules/core-js/internals/collection-strong.js b/node_modules/core-js/internals/collection-strong.js new file mode 100644 index 00000000..0e6b674e --- /dev/null +++ b/node_modules/core-js/internals/collection-strong.js @@ -0,0 +1,207 @@ +'use strict'; +var create = require('../internals/object-create'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var defineBuiltIns = require('../internals/define-built-ins'); +var bind = require('../internals/function-bind-context'); +var anInstance = require('../internals/an-instance'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var iterate = require('../internals/iterate'); +var defineIterator = require('../internals/iterator-define'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var setSpecies = require('../internals/set-species'); +var DESCRIPTORS = require('../internals/descriptors'); +var fastKey = require('../internals/internal-metadata').fastKey; +var InternalStateModule = require('../internals/internal-state'); + +var setInternalState = InternalStateModule.set; +var internalStateGetterFor = InternalStateModule.getterFor; + +module.exports = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function (that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + index: create(null), + first: undefined, + last: undefined, + size: 0 + }); + if (!DESCRIPTORS) that.size = 0; + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var Prototype = Constructor.prototype; + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var entry = getEntry(that, key); + var previous, index; + // change existing entry + if (entry) { + entry.value = value; + // create new entry + } else { + state.last = entry = { + index: index = fastKey(key, true), + key: key, + value: value, + previous: previous = state.last, + next: undefined, + removed: false + }; + if (!state.first) state.first = entry; + if (previous) previous.next = entry; + if (DESCRIPTORS) state.size++; + else that.size++; + // add to index + if (index !== 'F') state.index[index] = entry; + } return that; + }; + + var getEntry = function (that, key) { + var state = getInternalState(that); + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return state.index[index]; + // frozen object case + for (entry = state.first; entry; entry = entry.next) { + if (entry.key == key) return entry; + } + }; + + defineBuiltIns(Prototype, { + // `{ Map, Set }.prototype.clear()` methods + // https://tc39.es/ecma262/#sec-map.prototype.clear + // https://tc39.es/ecma262/#sec-set.prototype.clear + clear: function clear() { + var that = this; + var state = getInternalState(that); + var data = state.index; + var entry = state.first; + while (entry) { + entry.removed = true; + if (entry.previous) entry.previous = entry.previous.next = undefined; + delete data[entry.index]; + entry = entry.next; + } + state.first = state.last = undefined; + if (DESCRIPTORS) state.size = 0; + else that.size = 0; + }, + // `{ Map, Set }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.delete + // https://tc39.es/ecma262/#sec-set.prototype.delete + 'delete': function (key) { + var that = this; + var state = getInternalState(that); + var entry = getEntry(that, key); + if (entry) { + var next = entry.next; + var prev = entry.previous; + delete state.index[entry.index]; + entry.removed = true; + if (prev) prev.next = next; + if (next) next.previous = prev; + if (state.first == entry) state.first = next; + if (state.last == entry) state.last = prev; + if (DESCRIPTORS) state.size--; + else that.size--; + } return !!entry; + }, + // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods + // https://tc39.es/ecma262/#sec-map.prototype.foreach + // https://tc39.es/ecma262/#sec-set.prototype.foreach + forEach: function forEach(callbackfn /* , that = undefined */) { + var state = getInternalState(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var entry; + while (entry = entry ? entry.next : state.first) { + boundFunction(entry.value, entry.key, this); + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + } + }, + // `{ Map, Set}.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.has + // https://tc39.es/ecma262/#sec-set.prototype.has + has: function has(key) { + return !!getEntry(this, key); + } + }); + + defineBuiltIns(Prototype, IS_MAP ? { + // `Map.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-map.prototype.get + get: function get(key) { + var entry = getEntry(this, key); + return entry && entry.value; + }, + // `Map.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-map.prototype.set + set: function set(key, value) { + return define(this, key === 0 ? 0 : key, value); + } + } : { + // `Set.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-set.prototype.add + add: function add(value) { + return define(this, value = value === 0 ? 0 : value, value); + } + }); + if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', { + configurable: true, + get: function () { + return getInternalState(this).size; + } + }); + return Constructor; + }, + setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) { + var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; + var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); + var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); + // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods + // https://tc39.es/ecma262/#sec-map.prototype.entries + // https://tc39.es/ecma262/#sec-map.prototype.keys + // https://tc39.es/ecma262/#sec-map.prototype.values + // https://tc39.es/ecma262/#sec-map.prototype-@@iterator + // https://tc39.es/ecma262/#sec-set.prototype.entries + // https://tc39.es/ecma262/#sec-set.prototype.keys + // https://tc39.es/ecma262/#sec-set.prototype.values + // https://tc39.es/ecma262/#sec-set.prototype-@@iterator + defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) { + setInternalState(this, { + type: ITERATOR_NAME, + target: iterated, + state: getInternalCollectionState(iterated), + kind: kind, + last: undefined + }); + }, function () { + var state = getInternalIteratorState(this); + var kind = state.kind; + var entry = state.last; + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + // get next entry + if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { + // or finish the iteration + state.target = undefined; + return createIterResultObject(undefined, true); + } + // return step by kind + if (kind == 'keys') return createIterResultObject(entry.key, false); + if (kind == 'values') return createIterResultObject(entry.value, false); + return createIterResultObject([entry.key, entry.value], false); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // `{ Map, Set }.prototype[@@species]` accessors + // https://tc39.es/ecma262/#sec-get-map-@@species + // https://tc39.es/ecma262/#sec-get-set-@@species + setSpecies(CONSTRUCTOR_NAME); + } +}; diff --git a/node_modules/core-js/internals/collection-weak.js b/node_modules/core-js/internals/collection-weak.js new file mode 100644 index 00000000..64697409 --- /dev/null +++ b/node_modules/core-js/internals/collection-weak.js @@ -0,0 +1,131 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var defineBuiltIns = require('../internals/define-built-ins'); +var getWeakData = require('../internals/internal-metadata').getWeakData; +var anInstance = require('../internals/an-instance'); +var anObject = require('../internals/an-object'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var isObject = require('../internals/is-object'); +var iterate = require('../internals/iterate'); +var ArrayIterationModule = require('../internals/array-iteration'); +var hasOwn = require('../internals/has-own-property'); +var InternalStateModule = require('../internals/internal-state'); + +var setInternalState = InternalStateModule.set; +var internalStateGetterFor = InternalStateModule.getterFor; +var find = ArrayIterationModule.find; +var findIndex = ArrayIterationModule.findIndex; +var splice = uncurryThis([].splice); +var id = 0; + +// fallback for uncaught frozen keys +var uncaughtFrozenStore = function (state) { + return state.frozen || (state.frozen = new UncaughtFrozenStore()); +}; + +var UncaughtFrozenStore = function () { + this.entries = []; +}; + +var findUncaughtFrozen = function (store, key) { + return find(store.entries, function (it) { + return it[0] === key; + }); +}; + +UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.entries.push([key, value]); + }, + 'delete': function (key) { + var index = findIndex(this.entries, function (it) { + return it[0] === key; + }); + if (~index) splice(this.entries, index, 1); + return !!~index; + } +}; + +module.exports = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function (that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + id: id++, + frozen: undefined + }); + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var Prototype = Constructor.prototype; + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var data = getWeakData(anObject(key), true); + if (data === true) uncaughtFrozenStore(state).set(key, value); + else data[state.id] = value; + return that; + }; + + defineBuiltIns(Prototype, { + // `{ WeakMap, WeakSet }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.delete + // https://tc39.es/ecma262/#sec-weakset.prototype.delete + 'delete': function (key) { + var state = getInternalState(this); + if (!isObject(key)) return false; + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state)['delete'](key); + return data && hasOwn(data, state.id) && delete data[state.id]; + }, + // `{ WeakMap, WeakSet }.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.has + // https://tc39.es/ecma262/#sec-weakset.prototype.has + has: function has(key) { + var state = getInternalState(this); + if (!isObject(key)) return false; + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state).has(key); + return data && hasOwn(data, state.id); + } + }); + + defineBuiltIns(Prototype, IS_MAP ? { + // `WeakMap.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.get + get: function get(key) { + var state = getInternalState(this); + if (isObject(key)) { + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state).get(key); + return data ? data[state.id] : undefined; + } + }, + // `WeakMap.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.set + set: function set(key, value) { + return define(this, key, value); + } + } : { + // `WeakSet.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-weakset.prototype.add + add: function add(value) { + return define(this, value, true); + } + }); + + return Constructor; + } +}; diff --git a/node_modules/core-js/internals/collection.js b/node_modules/core-js/internals/collection.js new file mode 100644 index 00000000..31eba24f --- /dev/null +++ b/node_modules/core-js/internals/collection.js @@ -0,0 +1,106 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); +var isForced = require('../internals/is-forced'); +var defineBuiltIn = require('../internals/define-built-in'); +var InternalMetadataModule = require('../internals/internal-metadata'); +var iterate = require('../internals/iterate'); +var anInstance = require('../internals/an-instance'); +var isCallable = require('../internals/is-callable'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var isObject = require('../internals/is-object'); +var fails = require('../internals/fails'); +var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration'); +var setToStringTag = require('../internals/set-to-string-tag'); +var inheritIfRequired = require('../internals/inherit-if-required'); + +module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { + var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; + var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; + var ADDER = IS_MAP ? 'set' : 'add'; + var NativeConstructor = global[CONSTRUCTOR_NAME]; + var NativePrototype = NativeConstructor && NativeConstructor.prototype; + var Constructor = NativeConstructor; + var exported = {}; + + var fixMethod = function (KEY) { + var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]); + defineBuiltIn(NativePrototype, KEY, + KEY == 'add' ? function add(value) { + uncurriedNativeMethod(this, value === 0 ? 0 : value); + return this; + } : KEY == 'delete' ? function (key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY == 'get' ? function get(key) { + return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY == 'has' ? function has(key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : function set(key, value) { + uncurriedNativeMethod(this, key === 0 ? 0 : key, value); + return this; + } + ); + }; + + var REPLACE = isForced( + CONSTRUCTOR_NAME, + !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () { + new NativeConstructor().entries().next(); + })) + ); + + if (REPLACE) { + // create collection constructor + Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); + InternalMetadataModule.enable(); + } else if (isForced(CONSTRUCTOR_NAME, true)) { + var instance = new Constructor(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + // eslint-disable-next-line no-new -- required for testing + var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new NativeConstructor(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + + if (!ACCEPT_ITERABLES) { + Constructor = wrapper(function (dummy, iterable) { + anInstance(dummy, NativePrototype); + var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + return that; + }); + Constructor.prototype = NativePrototype; + NativePrototype.constructor = Constructor; + } + + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + + // weak collections should not contains .clear method + if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; + } + + exported[CONSTRUCTOR_NAME] = Constructor; + $({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported); + + setToStringTag(Constructor, CONSTRUCTOR_NAME); + + if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); + + return Constructor; +}; diff --git a/node_modules/core-js/internals/composite-key.js b/node_modules/core-js/internals/composite-key.js new file mode 100644 index 00000000..1276d781 --- /dev/null +++ b/node_modules/core-js/internals/composite-key.js @@ -0,0 +1,50 @@ +'use strict'; +// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` +require('../modules/es.map'); +require('../modules/es.weak-map'); +var getBuiltIn = require('../internals/get-built-in'); +var create = require('../internals/object-create'); +var isObject = require('../internals/is-object'); + +var $Object = Object; +var $TypeError = TypeError; +var Map = getBuiltIn('Map'); +var WeakMap = getBuiltIn('WeakMap'); + +var Node = function () { + // keys + this.object = null; + this.symbol = null; + // child nodes + this.primitives = null; + this.objectsByIndex = create(null); +}; + +Node.prototype.get = function (key, initializer) { + return this[key] || (this[key] = initializer()); +}; + +Node.prototype.next = function (i, it, IS_OBJECT) { + var store = IS_OBJECT + ? this.objectsByIndex[i] || (this.objectsByIndex[i] = new WeakMap()) + : this.primitives || (this.primitives = new Map()); + var entry = store.get(it); + if (!entry) store.set(it, entry = new Node()); + return entry; +}; + +var root = new Node(); + +module.exports = function () { + var active = root; + var length = arguments.length; + var i, it; + // for prevent leaking, start from objects + for (i = 0; i < length; i++) { + if (isObject(it = arguments[i])) active = active.next(i, it, true); + } + if (this === $Object && active === root) throw $TypeError('Composite keys must contain a non-primitive component'); + for (i = 0; i < length; i++) { + if (!isObject(it = arguments[i])) active = active.next(i, it, false); + } return active; +}; diff --git a/node_modules/core-js/internals/copy-constructor-properties.js b/node_modules/core-js/internals/copy-constructor-properties.js new file mode 100644 index 00000000..8e73d46f --- /dev/null +++ b/node_modules/core-js/internals/copy-constructor-properties.js @@ -0,0 +1,17 @@ +'use strict'; +var hasOwn = require('../internals/has-own-property'); +var ownKeys = require('../internals/own-keys'); +var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); +var definePropertyModule = require('../internals/object-define-property'); + +module.exports = function (target, source, exceptions) { + var keys = ownKeys(source); + var defineProperty = definePropertyModule.f; + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } +}; diff --git a/node_modules/core-js/internals/correct-is-regexp-logic.js b/node_modules/core-js/internals/correct-is-regexp-logic.js new file mode 100644 index 00000000..2eb5233b --- /dev/null +++ b/node_modules/core-js/internals/correct-is-regexp-logic.js @@ -0,0 +1,16 @@ +'use strict'; +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var MATCH = wellKnownSymbol('match'); + +module.exports = function (METHOD_NAME) { + var regexp = /./; + try { + '/./'[METHOD_NAME](regexp); + } catch (error1) { + try { + regexp[MATCH] = false; + return '/./'[METHOD_NAME](regexp); + } catch (error2) { /* empty */ } + } return false; +}; diff --git a/node_modules/core-js/internals/correct-prototype-getter.js b/node_modules/core-js/internals/correct-prototype-getter.js new file mode 100644 index 00000000..e14d4af7 --- /dev/null +++ b/node_modules/core-js/internals/correct-prototype-getter.js @@ -0,0 +1,9 @@ +'use strict'; +var fails = require('../internals/fails'); + +module.exports = !fails(function () { + function F() { /* empty */ } + F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing + return Object.getPrototypeOf(new F()) !== F.prototype; +}); diff --git a/node_modules/core-js/internals/create-html.js b/node_modules/core-js/internals/create-html.js new file mode 100644 index 00000000..650c2a14 --- /dev/null +++ b/node_modules/core-js/internals/create-html.js @@ -0,0 +1,16 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toString = require('../internals/to-string'); + +var quot = /"/g; +var replace = uncurryThis(''.replace); + +// `CreateHTML` abstract operation +// https://tc39.es/ecma262/#sec-createhtml +module.exports = function (string, tag, attribute, value) { + var S = toString(requireObjectCoercible(string)); + var p1 = '<' + tag; + if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '"') + '"'; + return p1 + '>' + S + ''; +}; diff --git a/node_modules/core-js/internals/create-iter-result-object.js b/node_modules/core-js/internals/create-iter-result-object.js new file mode 100644 index 00000000..a05d2d33 --- /dev/null +++ b/node_modules/core-js/internals/create-iter-result-object.js @@ -0,0 +1,6 @@ +'use strict'; +// `CreateIterResultObject` abstract operation +// https://tc39.es/ecma262/#sec-createiterresultobject +module.exports = function (value, done) { + return { value: value, done: done }; +}; diff --git a/node_modules/core-js/internals/create-non-enumerable-property.js b/node_modules/core-js/internals/create-non-enumerable-property.js new file mode 100644 index 00000000..718c3a59 --- /dev/null +++ b/node_modules/core-js/internals/create-non-enumerable-property.js @@ -0,0 +1,11 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var definePropertyModule = require('../internals/object-define-property'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); + +module.exports = DESCRIPTORS ? function (object, key, value) { + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; diff --git a/node_modules/core-js/internals/create-property-descriptor.js b/node_modules/core-js/internals/create-property-descriptor.js new file mode 100644 index 00000000..5ef2773c --- /dev/null +++ b/node_modules/core-js/internals/create-property-descriptor.js @@ -0,0 +1,9 @@ +'use strict'; +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; diff --git a/node_modules/core-js/internals/create-property.js b/node_modules/core-js/internals/create-property.js new file mode 100644 index 00000000..9f81aa60 --- /dev/null +++ b/node_modules/core-js/internals/create-property.js @@ -0,0 +1,10 @@ +'use strict'; +var toPropertyKey = require('../internals/to-property-key'); +var definePropertyModule = require('../internals/object-define-property'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); + +module.exports = function (object, key, value) { + var propertyKey = toPropertyKey(key); + if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); + else object[propertyKey] = value; +}; diff --git a/node_modules/core-js/internals/date-to-iso-string.js b/node_modules/core-js/internals/date-to-iso-string.js new file mode 100644 index 00000000..6e968066 --- /dev/null +++ b/node_modules/core-js/internals/date-to-iso-string.js @@ -0,0 +1,41 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); +var padStart = require('../internals/string-pad').start; + +var $RangeError = RangeError; +var $isFinite = isFinite; +var abs = Math.abs; +var DatePrototype = Date.prototype; +var nativeDateToISOString = DatePrototype.toISOString; +var thisTimeValue = uncurryThis(DatePrototype.getTime); +var getUTCDate = uncurryThis(DatePrototype.getUTCDate); +var getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear); +var getUTCHours = uncurryThis(DatePrototype.getUTCHours); +var getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds); +var getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes); +var getUTCMonth = uncurryThis(DatePrototype.getUTCMonth); +var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds); + +// `Date.prototype.toISOString` method implementation +// https://tc39.es/ecma262/#sec-date.prototype.toisostring +// PhantomJS / old WebKit fails here: +module.exports = (fails(function () { + return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; +}) || !fails(function () { + nativeDateToISOString.call(new Date(NaN)); +})) ? function toISOString() { + if (!$isFinite(thisTimeValue(this))) throw $RangeError('Invalid time value'); + var date = this; + var year = getUTCFullYear(date); + var milliseconds = getUTCMilliseconds(date); + var sign = year < 0 ? '-' : year > 9999 ? '+' : ''; + return sign + padStart(abs(year), sign ? 6 : 4, 0) + + '-' + padStart(getUTCMonth(date) + 1, 2, 0) + + '-' + padStart(getUTCDate(date), 2, 0) + + 'T' + padStart(getUTCHours(date), 2, 0) + + ':' + padStart(getUTCMinutes(date), 2, 0) + + ':' + padStart(getUTCSeconds(date), 2, 0) + + '.' + padStart(milliseconds, 3, 0) + + 'Z'; +} : nativeDateToISOString; diff --git a/node_modules/core-js/internals/date-to-primitive.js b/node_modules/core-js/internals/date-to-primitive.js new file mode 100644 index 00000000..121bdb7e --- /dev/null +++ b/node_modules/core-js/internals/date-to-primitive.js @@ -0,0 +1,14 @@ +'use strict'; +var anObject = require('../internals/an-object'); +var ordinaryToPrimitive = require('../internals/ordinary-to-primitive'); + +var $TypeError = TypeError; + +// `Date.prototype[@@toPrimitive](hint)` method implementation +// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive +module.exports = function (hint) { + anObject(this); + if (hint === 'string' || hint === 'default') hint = 'string'; + else if (hint !== 'number') throw $TypeError('Incorrect hint'); + return ordinaryToPrimitive(this, hint); +}; diff --git a/node_modules/core-js/internals/define-built-in-accessor.js b/node_modules/core-js/internals/define-built-in-accessor.js new file mode 100644 index 00000000..17c97086 --- /dev/null +++ b/node_modules/core-js/internals/define-built-in-accessor.js @@ -0,0 +1,9 @@ +'use strict'; +var makeBuiltIn = require('../internals/make-built-in'); +var defineProperty = require('../internals/object-define-property'); + +module.exports = function (target, name, descriptor) { + if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); + if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); + return defineProperty.f(target, name, descriptor); +}; diff --git a/node_modules/core-js/internals/define-built-in.js b/node_modules/core-js/internals/define-built-in.js new file mode 100644 index 00000000..3594306f --- /dev/null +++ b/node_modules/core-js/internals/define-built-in.js @@ -0,0 +1,28 @@ +'use strict'; +var isCallable = require('../internals/is-callable'); +var definePropertyModule = require('../internals/object-define-property'); +var makeBuiltIn = require('../internals/make-built-in'); +var defineGlobalProperty = require('../internals/define-global-property'); + +module.exports = function (O, key, value, options) { + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; + if (isCallable(value)) makeBuiltIn(value, name, options); + if (options.global) { + if (simple) O[key] = value; + else defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } + if (simple) O[key] = value; + else definePropertyModule.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } return O; +}; diff --git a/node_modules/core-js/internals/define-built-ins.js b/node_modules/core-js/internals/define-built-ins.js new file mode 100644 index 00000000..1fbd53c1 --- /dev/null +++ b/node_modules/core-js/internals/define-built-ins.js @@ -0,0 +1,7 @@ +'use strict'; +var defineBuiltIn = require('../internals/define-built-in'); + +module.exports = function (target, src, options) { + for (var key in src) defineBuiltIn(target, key, src[key], options); + return target; +}; diff --git a/node_modules/core-js/internals/define-global-property.js b/node_modules/core-js/internals/define-global-property.js new file mode 100644 index 00000000..8178ecc1 --- /dev/null +++ b/node_modules/core-js/internals/define-global-property.js @@ -0,0 +1,13 @@ +'use strict'; +var global = require('../internals/global'); + +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; + +module.exports = function (key, value) { + try { + defineProperty(global, key, { value: value, configurable: true, writable: true }); + } catch (error) { + global[key] = value; + } return value; +}; diff --git a/node_modules/core-js/internals/delete-property-or-throw.js b/node_modules/core-js/internals/delete-property-or-throw.js new file mode 100644 index 00000000..6fb63600 --- /dev/null +++ b/node_modules/core-js/internals/delete-property-or-throw.js @@ -0,0 +1,8 @@ +'use strict'; +var tryToString = require('../internals/try-to-string'); + +var $TypeError = TypeError; + +module.exports = function (O, P) { + if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O)); +}; diff --git a/node_modules/core-js/internals/descriptors.js b/node_modules/core-js/internals/descriptors.js new file mode 100644 index 00000000..a12e695b --- /dev/null +++ b/node_modules/core-js/internals/descriptors.js @@ -0,0 +1,8 @@ +'use strict'; +var fails = require('../internals/fails'); + +// Detect IE8's incomplete defineProperty implementation +module.exports = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; +}); diff --git a/node_modules/core-js/internals/document-all.js b/node_modules/core-js/internals/document-all.js new file mode 100644 index 00000000..a3724207 --- /dev/null +++ b/node_modules/core-js/internals/document-all.js @@ -0,0 +1,11 @@ +'use strict'; +var documentAll = typeof document == 'object' && document.all; + +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot +// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing +var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined; + +module.exports = { + all: documentAll, + IS_HTMLDDA: IS_HTMLDDA +}; diff --git a/node_modules/core-js/internals/document-create-element.js b/node_modules/core-js/internals/document-create-element.js new file mode 100644 index 00000000..dbbe49f9 --- /dev/null +++ b/node_modules/core-js/internals/document-create-element.js @@ -0,0 +1,11 @@ +'use strict'; +var global = require('../internals/global'); +var isObject = require('../internals/is-object'); + +var document = global.document; +// typeof document.createElement is 'object' in old IE +var EXISTS = isObject(document) && isObject(document.createElement); + +module.exports = function (it) { + return EXISTS ? document.createElement(it) : {}; +}; diff --git a/node_modules/core-js/internals/does-not-exceed-safe-integer.js b/node_modules/core-js/internals/does-not-exceed-safe-integer.js new file mode 100644 index 00000000..fff7beb7 --- /dev/null +++ b/node_modules/core-js/internals/does-not-exceed-safe-integer.js @@ -0,0 +1,8 @@ +'use strict'; +var $TypeError = TypeError; +var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + +module.exports = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; +}; diff --git a/node_modules/core-js/internals/dom-exception-constants.js b/node_modules/core-js/internals/dom-exception-constants.js new file mode 100644 index 00000000..15889537 --- /dev/null +++ b/node_modules/core-js/internals/dom-exception-constants.js @@ -0,0 +1,28 @@ +'use strict'; +module.exports = { + IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, + DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, + HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, + WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, + InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, + NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, + NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, + NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, + NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, + InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, + InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, + SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, + InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, + NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, + InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, + ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, + TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, + SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, + NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, + AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, + URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, + QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, + TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, + InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, + DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } +}; diff --git a/node_modules/core-js/internals/dom-iterables.js b/node_modules/core-js/internals/dom-iterables.js new file mode 100644 index 00000000..1dbc1f7f --- /dev/null +++ b/node_modules/core-js/internals/dom-iterables.js @@ -0,0 +1,36 @@ +'use strict'; +// iterable DOM collections +// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods +module.exports = { + CSSRuleList: 0, + CSSStyleDeclaration: 0, + CSSValueList: 0, + ClientRectList: 0, + DOMRectList: 0, + DOMStringList: 0, + DOMTokenList: 1, + DataTransferItemList: 0, + FileList: 0, + HTMLAllCollection: 0, + HTMLCollection: 0, + HTMLFormElement: 0, + HTMLSelectElement: 0, + MediaList: 0, + MimeTypeArray: 0, + NamedNodeMap: 0, + NodeList: 1, + PaintRequestList: 0, + Plugin: 0, + PluginArray: 0, + SVGLengthList: 0, + SVGNumberList: 0, + SVGPathSegList: 0, + SVGPointList: 0, + SVGStringList: 0, + SVGTransformList: 0, + SourceBufferList: 0, + StyleSheetList: 0, + TextTrackCueList: 0, + TextTrackList: 0, + TouchList: 0 +}; diff --git a/node_modules/core-js/internals/dom-token-list-prototype.js b/node_modules/core-js/internals/dom-token-list-prototype.js new file mode 100644 index 00000000..a0c40710 --- /dev/null +++ b/node_modules/core-js/internals/dom-token-list-prototype.js @@ -0,0 +1,8 @@ +'use strict'; +// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList` +var documentCreateElement = require('../internals/document-create-element'); + +var classList = documentCreateElement('span').classList; +var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; + +module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype; diff --git a/node_modules/core-js/internals/engine-ff-version.js b/node_modules/core-js/internals/engine-ff-version.js new file mode 100644 index 00000000..19d9d4f0 --- /dev/null +++ b/node_modules/core-js/internals/engine-ff-version.js @@ -0,0 +1,6 @@ +'use strict'; +var userAgent = require('../internals/engine-user-agent'); + +var firefox = userAgent.match(/firefox\/(\d+)/i); + +module.exports = !!firefox && +firefox[1]; diff --git a/node_modules/core-js/internals/engine-is-browser.js b/node_modules/core-js/internals/engine-is-browser.js new file mode 100644 index 00000000..0ce4e643 --- /dev/null +++ b/node_modules/core-js/internals/engine-is-browser.js @@ -0,0 +1,7 @@ +'use strict'; +var IS_DENO = require('../internals/engine-is-deno'); +var IS_NODE = require('../internals/engine-is-node'); + +module.exports = !IS_DENO && !IS_NODE + && typeof window == 'object' + && typeof document == 'object'; diff --git a/node_modules/core-js/internals/engine-is-bun.js b/node_modules/core-js/internals/engine-is-bun.js new file mode 100644 index 00000000..49925fe6 --- /dev/null +++ b/node_modules/core-js/internals/engine-is-bun.js @@ -0,0 +1,3 @@ +'use strict'; +/* global Bun -- Deno case */ +module.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string'; diff --git a/node_modules/core-js/internals/engine-is-deno.js b/node_modules/core-js/internals/engine-is-deno.js new file mode 100644 index 00000000..9c327e74 --- /dev/null +++ b/node_modules/core-js/internals/engine-is-deno.js @@ -0,0 +1,3 @@ +'use strict'; +/* global Deno -- Deno case */ +module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; diff --git a/node_modules/core-js/internals/engine-is-ie-or-edge.js b/node_modules/core-js/internals/engine-is-ie-or-edge.js new file mode 100644 index 00000000..5e58f69d --- /dev/null +++ b/node_modules/core-js/internals/engine-is-ie-or-edge.js @@ -0,0 +1,4 @@ +'use strict'; +var UA = require('../internals/engine-user-agent'); + +module.exports = /MSIE|Trident/.test(UA); diff --git a/node_modules/core-js/internals/engine-is-ios-pebble.js b/node_modules/core-js/internals/engine-is-ios-pebble.js new file mode 100644 index 00000000..5f0f7472 --- /dev/null +++ b/node_modules/core-js/internals/engine-is-ios-pebble.js @@ -0,0 +1,4 @@ +'use strict'; +var userAgent = require('../internals/engine-user-agent'); + +module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined'; diff --git a/node_modules/core-js/internals/engine-is-ios.js b/node_modules/core-js/internals/engine-is-ios.js new file mode 100644 index 00000000..d2164dc2 --- /dev/null +++ b/node_modules/core-js/internals/engine-is-ios.js @@ -0,0 +1,5 @@ +'use strict'; +var userAgent = require('../internals/engine-user-agent'); + +// eslint-disable-next-line redos/no-vulnerable -- safe +module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); diff --git a/node_modules/core-js/internals/engine-is-node.js b/node_modules/core-js/internals/engine-is-node.js new file mode 100644 index 00000000..43020b8d --- /dev/null +++ b/node_modules/core-js/internals/engine-is-node.js @@ -0,0 +1,4 @@ +'use strict'; +var classof = require('../internals/classof-raw'); + +module.exports = typeof process != 'undefined' && classof(process) == 'process'; diff --git a/node_modules/core-js/internals/engine-is-webos-webkit.js b/node_modules/core-js/internals/engine-is-webos-webkit.js new file mode 100644 index 00000000..0ab74f08 --- /dev/null +++ b/node_modules/core-js/internals/engine-is-webos-webkit.js @@ -0,0 +1,4 @@ +'use strict'; +var userAgent = require('../internals/engine-user-agent'); + +module.exports = /web0s(?!.*chrome)/i.test(userAgent); diff --git a/node_modules/core-js/internals/engine-user-agent.js b/node_modules/core-js/internals/engine-user-agent.js new file mode 100644 index 00000000..0966f77b --- /dev/null +++ b/node_modules/core-js/internals/engine-user-agent.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; diff --git a/node_modules/core-js/internals/engine-v8-version.js b/node_modules/core-js/internals/engine-v8-version.js new file mode 100644 index 00000000..fb94f9bf --- /dev/null +++ b/node_modules/core-js/internals/engine-v8-version.js @@ -0,0 +1,28 @@ +'use strict'; +var global = require('../internals/global'); +var userAgent = require('../internals/engine-user-agent'); + +var process = global.process; +var Deno = global.Deno; +var versions = process && process.versions || Deno && Deno.version; +var v8 = versions && versions.v8; +var match, version; + +if (v8) { + match = v8.split('.'); + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 + // but their correct versions are not interesting for us + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); +} + +// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` +// so check `userAgent` even if `.v8` exists, but 0 +if (!version && userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) version = +match[1]; + } +} + +module.exports = version; diff --git a/node_modules/core-js/internals/engine-webkit-version.js b/node_modules/core-js/internals/engine-webkit-version.js new file mode 100644 index 00000000..e631aee9 --- /dev/null +++ b/node_modules/core-js/internals/engine-webkit-version.js @@ -0,0 +1,6 @@ +'use strict'; +var userAgent = require('../internals/engine-user-agent'); + +var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); + +module.exports = !!webkit && +webkit[1]; diff --git a/node_modules/core-js/internals/entry-unbind.js b/node_modules/core-js/internals/entry-unbind.js new file mode 100644 index 00000000..082fbe1a --- /dev/null +++ b/node_modules/core-js/internals/entry-unbind.js @@ -0,0 +1,7 @@ +'use strict'; +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); + +module.exports = function (CONSTRUCTOR, METHOD) { + return uncurryThis(global[CONSTRUCTOR].prototype[METHOD]); +}; diff --git a/node_modules/core-js/internals/entry-virtual.js b/node_modules/core-js/internals/entry-virtual.js new file mode 100644 index 00000000..5a0be685 --- /dev/null +++ b/node_modules/core-js/internals/entry-virtual.js @@ -0,0 +1,6 @@ +'use strict'; +var global = require('../internals/global'); + +module.exports = function (CONSTRUCTOR) { + return global[CONSTRUCTOR].prototype; +}; diff --git a/node_modules/core-js/internals/enum-bug-keys.js b/node_modules/core-js/internals/enum-bug-keys.js new file mode 100644 index 00000000..a99e8a0c --- /dev/null +++ b/node_modules/core-js/internals/enum-bug-keys.js @@ -0,0 +1,11 @@ +'use strict'; +// IE8- don't enum bug keys +module.exports = [ + 'constructor', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'toLocaleString', + 'toString', + 'valueOf' +]; diff --git a/node_modules/core-js/internals/error-stack-clear.js b/node_modules/core-js/internals/error-stack-clear.js new file mode 100644 index 00000000..e5041295 --- /dev/null +++ b/node_modules/core-js/internals/error-stack-clear.js @@ -0,0 +1,16 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +var $Error = Error; +var replace = uncurryThis(''.replace); + +var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd'); +// eslint-disable-next-line redos/no-vulnerable -- safe +var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; +var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); + +module.exports = function (stack, dropEntries) { + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); + } return stack; +}; diff --git a/node_modules/core-js/internals/error-stack-install.js b/node_modules/core-js/internals/error-stack-install.js new file mode 100644 index 00000000..eef057b1 --- /dev/null +++ b/node_modules/core-js/internals/error-stack-install.js @@ -0,0 +1,14 @@ +'use strict'; +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var clearErrorStack = require('../internals/error-stack-clear'); +var ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable'); + +// non-standard V8 +var captureStackTrace = Error.captureStackTrace; + +module.exports = function (error, C, stack, dropEntries) { + if (ERROR_STACK_INSTALLABLE) { + if (captureStackTrace) captureStackTrace(error, C); + else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries)); + } +}; diff --git a/node_modules/core-js/internals/error-stack-installable.js b/node_modules/core-js/internals/error-stack-installable.js new file mode 100644 index 00000000..cc500b5d --- /dev/null +++ b/node_modules/core-js/internals/error-stack-installable.js @@ -0,0 +1,11 @@ +'use strict'; +var fails = require('../internals/fails'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); + +module.exports = !fails(function () { + var error = Error('a'); + if (!('stack' in error)) return true; + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); + return error.stack !== 7; +}); diff --git a/node_modules/core-js/internals/error-to-string.js b/node_modules/core-js/internals/error-to-string.js new file mode 100644 index 00000000..04000079 --- /dev/null +++ b/node_modules/core-js/internals/error-to-string.js @@ -0,0 +1,30 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var fails = require('../internals/fails'); +var anObject = require('../internals/an-object'); +var create = require('../internals/object-create'); +var normalizeStringArgument = require('../internals/normalize-string-argument'); + +var nativeErrorToString = Error.prototype.toString; + +var INCORRECT_TO_STRING = fails(function () { + if (DESCRIPTORS) { + // Chrome 32- incorrectly call accessor + // eslint-disable-next-line es/no-object-defineproperty -- safe + var object = create(Object.defineProperty({}, 'name', { get: function () { + return this === object; + } })); + if (nativeErrorToString.call(object) !== 'true') return true; + } + // FF10- does not properly handle non-strings + return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1' + // IE8 does not properly handle defaults + || nativeErrorToString.call({}) !== 'Error'; +}); + +module.exports = INCORRECT_TO_STRING ? function toString() { + var O = anObject(this); + var name = normalizeStringArgument(O.name, 'Error'); + var message = normalizeStringArgument(O.message); + return !name ? message : !message ? name : name + ': ' + message; +} : nativeErrorToString; diff --git a/node_modules/core-js/internals/export.js b/node_modules/core-js/internals/export.js new file mode 100644 index 00000000..8dde266d --- /dev/null +++ b/node_modules/core-js/internals/export.js @@ -0,0 +1,55 @@ +'use strict'; +var global = require('../internals/global'); +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var defineBuiltIn = require('../internals/define-built-in'); +var defineGlobalProperty = require('../internals/define-global-property'); +var copyConstructorProperties = require('../internals/copy-constructor-properties'); +var isForced = require('../internals/is-forced'); + +/* + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key +*/ +module.exports = function (options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = global; + } else if (STATIC) { + target = global[TARGET] || defineGlobalProperty(TARGET, {}); + } else { + target = (global[TARGET] || {}).prototype; + } + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.dontCallGetSet) { + descriptor = getOwnPropertyDescriptor(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + // contained in target + if (!FORCED && targetProperty !== undefined) { + if (typeof sourceProperty == typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + // add a flag to not completely full polyfills + if (options.sham || (targetProperty && targetProperty.sham)) { + createNonEnumerableProperty(sourceProperty, 'sham', true); + } + defineBuiltIn(target, key, sourceProperty, options); + } +}; diff --git a/node_modules/core-js/internals/fails.js b/node_modules/core-js/internals/fails.js new file mode 100644 index 00000000..7880c82e --- /dev/null +++ b/node_modules/core-js/internals/fails.js @@ -0,0 +1,8 @@ +'use strict'; +module.exports = function (exec) { + try { + return !!exec(); + } catch (error) { + return true; + } +}; diff --git a/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js b/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js new file mode 100644 index 00000000..c0c29f83 --- /dev/null +++ b/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js @@ -0,0 +1,74 @@ +'use strict'; +// TODO: Remove from `core-js@4` since it's moved to entry points +require('../modules/es.regexp.exec'); +var uncurryThis = require('../internals/function-uncurry-this-clause'); +var defineBuiltIn = require('../internals/define-built-in'); +var regexpExec = require('../internals/regexp-exec'); +var fails = require('../internals/fails'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); + +var SPECIES = wellKnownSymbol('species'); +var RegExpPrototype = RegExp.prototype; + +module.exports = function (KEY, exec, FORCED, SHAM) { + var SYMBOL = wellKnownSymbol(KEY); + + var DELEGATES_TO_SYMBOL = !fails(function () { + // String methods call symbol-named RegEp methods + var O = {}; + O[SYMBOL] = function () { return 7; }; + return ''[KEY](O) != 7; + }); + + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + + if (KEY === 'split') { + // We can't use real regex here since it causes deoptimization + // and serious performance degradation in V8 + // https://github.com/zloirock/core-js/issues/306 + re = {}; + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES] = function () { return re; }; + re.flags = ''; + re[SYMBOL] = /./[SYMBOL]; + } + + re.exec = function () { execCalled = true; return null; }; + + re[SYMBOL](''); + return !execCalled; + }); + + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + FORCED + ) { + var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]); + var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { + var uncurriedNativeMethod = uncurryThis(nativeMethod); + var $exec = regexp.exec; + if ($exec === regexpExec || $exec === RegExpPrototype.exec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; + } + return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; + } + return { done: false }; + }); + + defineBuiltIn(String.prototype, KEY, methods[0]); + defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]); + } + + if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); +}; diff --git a/node_modules/core-js/internals/flatten-into-array.js b/node_modules/core-js/internals/flatten-into-array.js new file mode 100644 index 00000000..04b20305 --- /dev/null +++ b/node_modules/core-js/internals/flatten-into-array.js @@ -0,0 +1,34 @@ +'use strict'; +var isArray = require('../internals/is-array'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer'); +var bind = require('../internals/function-bind-context'); + +// `FlattenIntoArray` abstract operation +// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray +var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { + var targetIndex = start; + var sourceIndex = 0; + var mapFn = mapper ? bind(mapper, thisArg) : false; + var element, elementLen; + + while (sourceIndex < sourceLen) { + if (sourceIndex in source) { + element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; + + if (depth > 0 && isArray(element)) { + elementLen = lengthOfArrayLike(element); + targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1; + } else { + doesNotExceedSafeInteger(targetIndex + 1); + target[targetIndex] = element; + } + + targetIndex++; + } + sourceIndex++; + } + return targetIndex; +}; + +module.exports = flattenIntoArray; diff --git a/node_modules/core-js/internals/freezing.js b/node_modules/core-js/internals/freezing.js new file mode 100644 index 00000000..17212adf --- /dev/null +++ b/node_modules/core-js/internals/freezing.js @@ -0,0 +1,7 @@ +'use strict'; +var fails = require('../internals/fails'); + +module.exports = !fails(function () { + // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing + return Object.isExtensible(Object.preventExtensions({})); +}); diff --git a/node_modules/core-js/internals/function-apply.js b/node_modules/core-js/internals/function-apply.js new file mode 100644 index 00000000..3d4e5690 --- /dev/null +++ b/node_modules/core-js/internals/function-apply.js @@ -0,0 +1,11 @@ +'use strict'; +var NATIVE_BIND = require('../internals/function-bind-native'); + +var FunctionPrototype = Function.prototype; +var apply = FunctionPrototype.apply; +var call = FunctionPrototype.call; + +// eslint-disable-next-line es/no-reflect -- safe +module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { + return call.apply(apply, arguments); +}); diff --git a/node_modules/core-js/internals/function-bind-context.js b/node_modules/core-js/internals/function-bind-context.js new file mode 100644 index 00000000..73378e8f --- /dev/null +++ b/node_modules/core-js/internals/function-bind-context.js @@ -0,0 +1,14 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this-clause'); +var aCallable = require('../internals/a-callable'); +var NATIVE_BIND = require('../internals/function-bind-native'); + +var bind = uncurryThis(uncurryThis.bind); + +// optional / simple context binding +module.exports = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; diff --git a/node_modules/core-js/internals/function-bind-native.js b/node_modules/core-js/internals/function-bind-native.js new file mode 100644 index 00000000..424f934d --- /dev/null +++ b/node_modules/core-js/internals/function-bind-native.js @@ -0,0 +1,9 @@ +'use strict'; +var fails = require('../internals/fails'); + +module.exports = !fails(function () { + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var test = (function () { /* empty */ }).bind(); + // eslint-disable-next-line no-prototype-builtins -- safe + return typeof test != 'function' || test.hasOwnProperty('prototype'); +}); diff --git a/node_modules/core-js/internals/function-bind.js b/node_modules/core-js/internals/function-bind.js new file mode 100644 index 00000000..8ca8567b --- /dev/null +++ b/node_modules/core-js/internals/function-bind.js @@ -0,0 +1,34 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); +var isObject = require('../internals/is-object'); +var hasOwn = require('../internals/has-own-property'); +var arraySlice = require('../internals/array-slice'); +var NATIVE_BIND = require('../internals/function-bind-native'); + +var $Function = Function; +var concat = uncurryThis([].concat); +var join = uncurryThis([].join); +var factories = {}; + +var construct = function (C, argsLength, args) { + if (!hasOwn(factories, argsLength)) { + for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']'; + factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')'); + } return factories[argsLength](C, args); +}; + +// `Function.prototype.bind` method implementation +// https://tc39.es/ecma262/#sec-function.prototype.bind +// eslint-disable-next-line es/no-function-prototype-bind -- detection +module.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) { + var F = aCallable(this); + var Prototype = F.prototype; + var partArgs = arraySlice(arguments, 1); + var boundFunction = function bound(/* args... */) { + var args = concat(partArgs, arraySlice(arguments)); + return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args); + }; + if (isObject(Prototype)) boundFunction.prototype = Prototype; + return boundFunction; +}; diff --git a/node_modules/core-js/internals/function-call.js b/node_modules/core-js/internals/function-call.js new file mode 100644 index 00000000..998b4de3 --- /dev/null +++ b/node_modules/core-js/internals/function-call.js @@ -0,0 +1,8 @@ +'use strict'; +var NATIVE_BIND = require('../internals/function-bind-native'); + +var call = Function.prototype.call; + +module.exports = NATIVE_BIND ? call.bind(call) : function () { + return call.apply(call, arguments); +}; diff --git a/node_modules/core-js/internals/function-demethodize.js b/node_modules/core-js/internals/function-demethodize.js new file mode 100644 index 00000000..0ba9d439 --- /dev/null +++ b/node_modules/core-js/internals/function-demethodize.js @@ -0,0 +1,7 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); + +module.exports = function demethodize() { + return uncurryThis(aCallable(this)); +}; diff --git a/node_modules/core-js/internals/function-name.js b/node_modules/core-js/internals/function-name.js new file mode 100644 index 00000000..ce6fdd9e --- /dev/null +++ b/node_modules/core-js/internals/function-name.js @@ -0,0 +1,18 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var hasOwn = require('../internals/has-own-property'); + +var FunctionPrototype = Function.prototype; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + +var EXISTS = hasOwn(FunctionPrototype, 'name'); +// additional protection from minified / mangled / dropped function names +var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; +var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); + +module.exports = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE +}; diff --git a/node_modules/core-js/internals/function-uncurry-this-accessor.js b/node_modules/core-js/internals/function-uncurry-this-accessor.js new file mode 100644 index 00000000..4d5ef182 --- /dev/null +++ b/node_modules/core-js/internals/function-uncurry-this-accessor.js @@ -0,0 +1,10 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); + +module.exports = function (object, key, method) { + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { /* empty */ } +}; diff --git a/node_modules/core-js/internals/function-uncurry-this-clause.js b/node_modules/core-js/internals/function-uncurry-this-clause.js new file mode 100644 index 00000000..7589e4bd --- /dev/null +++ b/node_modules/core-js/internals/function-uncurry-this-clause.js @@ -0,0 +1,10 @@ +'use strict'; +var classofRaw = require('../internals/classof-raw'); +var uncurryThis = require('../internals/function-uncurry-this'); + +module.exports = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis(fn); +}; diff --git a/node_modules/core-js/internals/function-uncurry-this.js b/node_modules/core-js/internals/function-uncurry-this.js new file mode 100644 index 00000000..2fd36ec3 --- /dev/null +++ b/node_modules/core-js/internals/function-uncurry-this.js @@ -0,0 +1,12 @@ +'use strict'; +var NATIVE_BIND = require('../internals/function-bind-native'); + +var FunctionPrototype = Function.prototype; +var call = FunctionPrototype.call; +var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + +module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { + return function () { + return call.apply(fn, arguments); + }; +}; diff --git a/node_modules/core-js/internals/get-async-iterator-flattenable.js b/node_modules/core-js/internals/get-async-iterator-flattenable.js new file mode 100644 index 00000000..136f881d --- /dev/null +++ b/node_modules/core-js/internals/get-async-iterator-flattenable.js @@ -0,0 +1,30 @@ +'use strict'; +var call = require('../internals/function-call'); +var isCallable = require('../internals/is-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var getIteratorMethod = require('../internals/get-iterator-method'); +var getMethod = require('../internals/get-method'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var AsyncFromSyncIterator = require('../internals/async-from-sync-iterator'); + +var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + +module.exports = function from(obj) { + var object = anObject(obj); + var alreadyAsync = true; + var method = getMethod(object, ASYNC_ITERATOR); + var iterator; + if (!isCallable(method)) { + method = getIteratorMethod(object); + alreadyAsync = false; + } + if (method !== undefined) { + iterator = call(method, object); + } else { + iterator = object; + alreadyAsync = true; + } + anObject(iterator); + return getIteratorDirect(alreadyAsync ? iterator : new AsyncFromSyncIterator(getIteratorDirect(iterator))); +}; diff --git a/node_modules/core-js/internals/get-async-iterator.js b/node_modules/core-js/internals/get-async-iterator.js new file mode 100644 index 00000000..b25b75f1 --- /dev/null +++ b/node_modules/core-js/internals/get-async-iterator.js @@ -0,0 +1,15 @@ +'use strict'; +var call = require('../internals/function-call'); +var AsyncFromSyncIterator = require('../internals/async-from-sync-iterator'); +var anObject = require('../internals/an-object'); +var getIterator = require('../internals/get-iterator'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var getMethod = require('../internals/get-method'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + +module.exports = function (it, usingIterator) { + var method = arguments.length < 2 ? getMethod(it, ASYNC_ITERATOR) : usingIterator; + return method ? anObject(call(method, it)) : new AsyncFromSyncIterator(getIteratorDirect(getIterator(it))); +}; diff --git a/node_modules/core-js/internals/get-built-in.js b/node_modules/core-js/internals/get-built-in.js new file mode 100644 index 00000000..f6a98b75 --- /dev/null +++ b/node_modules/core-js/internals/get-built-in.js @@ -0,0 +1,11 @@ +'use strict'; +var global = require('../internals/global'); +var isCallable = require('../internals/is-callable'); + +var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; +}; + +module.exports = function (namespace, method) { + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; +}; diff --git a/node_modules/core-js/internals/get-iterator-direct.js b/node_modules/core-js/internals/get-iterator-direct.js new file mode 100644 index 00000000..b321956f --- /dev/null +++ b/node_modules/core-js/internals/get-iterator-direct.js @@ -0,0 +1,10 @@ +'use strict'; +// `GetIteratorDirect(obj)` abstract operation +// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect +module.exports = function (obj) { + return { + iterator: obj, + next: obj.next, + done: false + }; +}; diff --git a/node_modules/core-js/internals/get-iterator-flattenable.js b/node_modules/core-js/internals/get-iterator-flattenable.js new file mode 100644 index 00000000..e9ea9c4b --- /dev/null +++ b/node_modules/core-js/internals/get-iterator-flattenable.js @@ -0,0 +1,11 @@ +'use strict'; +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var getIteratorMethod = require('../internals/get-iterator-method'); + +module.exports = function (obj, stringHandling) { + if (!stringHandling || typeof obj !== 'string') anObject(obj); + var method = getIteratorMethod(obj); + return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj)); +}; diff --git a/node_modules/core-js/internals/get-iterator-method.js b/node_modules/core-js/internals/get-iterator-method.js new file mode 100644 index 00000000..7c1a58b5 --- /dev/null +++ b/node_modules/core-js/internals/get-iterator-method.js @@ -0,0 +1,14 @@ +'use strict'; +var classof = require('../internals/classof'); +var getMethod = require('../internals/get-method'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var Iterators = require('../internals/iterators'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var ITERATOR = wellKnownSymbol('iterator'); + +module.exports = function (it) { + if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) + || getMethod(it, '@@iterator') + || Iterators[classof(it)]; +}; diff --git a/node_modules/core-js/internals/get-iterator.js b/node_modules/core-js/internals/get-iterator.js new file mode 100644 index 00000000..836ca215 --- /dev/null +++ b/node_modules/core-js/internals/get-iterator.js @@ -0,0 +1,14 @@ +'use strict'; +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var tryToString = require('../internals/try-to-string'); +var getIteratorMethod = require('../internals/get-iterator-method'); + +var $TypeError = TypeError; + +module.exports = function (argument, usingIterator) { + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; + if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); + throw $TypeError(tryToString(argument) + ' is not iterable'); +}; diff --git a/node_modules/core-js/internals/get-json-replacer-function.js b/node_modules/core-js/internals/get-json-replacer-function.js new file mode 100644 index 00000000..2d7407e1 --- /dev/null +++ b/node_modules/core-js/internals/get-json-replacer-function.js @@ -0,0 +1,30 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var isArray = require('../internals/is-array'); +var isCallable = require('../internals/is-callable'); +var classof = require('../internals/classof-raw'); +var toString = require('../internals/to-string'); + +var push = uncurryThis([].push); + +module.exports = function (replacer) { + if (isCallable(replacer)) return replacer; + if (!isArray(replacer)) return; + var rawLength = replacer.length; + var keys = []; + for (var i = 0; i < rawLength; i++) { + var element = replacer[i]; + if (typeof element == 'string') push(keys, element); + else if (typeof element == 'number' || classof(element) == 'Number' || classof(element) == 'String') push(keys, toString(element)); + } + var keysLength = keys.length; + var root = true; + return function (key, value) { + if (root) { + root = false; + return value; + } + if (isArray(this)) return value; + for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value; + }; +}; diff --git a/node_modules/core-js/internals/get-method.js b/node_modules/core-js/internals/get-method.js new file mode 100644 index 00000000..dd3c10cd --- /dev/null +++ b/node_modules/core-js/internals/get-method.js @@ -0,0 +1,10 @@ +'use strict'; +var aCallable = require('../internals/a-callable'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); + +// `GetMethod` abstract operation +// https://tc39.es/ecma262/#sec-getmethod +module.exports = function (V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? undefined : aCallable(func); +}; diff --git a/node_modules/core-js/internals/get-set-record.js b/node_modules/core-js/internals/get-set-record.js new file mode 100644 index 00000000..79f21ca7 --- /dev/null +++ b/node_modules/core-js/internals/get-set-record.js @@ -0,0 +1,45 @@ +'use strict'; +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var call = require('../internals/function-call'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var getIteratorDirect = require('../internals/get-iterator-direct'); + +var INVALID_SIZE = 'Invalid size'; +var $RangeError = RangeError; +var $TypeError = TypeError; +var max = Math.max; + +var SetRecord = function (set, size, has, keys) { + this.set = set; + this.size = size; + this.has = has; + this.keys = keys; +}; + +SetRecord.prototype = { + getIterator: function () { + return getIteratorDirect(anObject(call(this.keys, this.set))); + }, + includes: function (it) { + return call(this.has, this.set, it); + } +}; + +// `GetSetRecord` abstract operation +// https://tc39.es/proposal-set-methods/#sec-getsetrecord +module.exports = function (obj) { + anObject(obj); + var numSize = +obj.size; + // NOTE: If size is undefined, then numSize will be NaN + // eslint-disable-next-line no-self-compare -- NaN check + if (numSize != numSize) throw $TypeError(INVALID_SIZE); + var intSize = toIntegerOrInfinity(numSize); + if (intSize < 0) throw $RangeError(INVALID_SIZE); + return new SetRecord( + obj, + max(intSize, 0), + aCallable(obj.has), + aCallable(obj.keys) + ); +}; diff --git a/node_modules/core-js/internals/get-substitution.js b/node_modules/core-js/internals/get-substitution.js new file mode 100644 index 00000000..fcb8860c --- /dev/null +++ b/node_modules/core-js/internals/get-substitution.js @@ -0,0 +1,46 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var toObject = require('../internals/to-object'); + +var floor = Math.floor; +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); +// eslint-disable-next-line redos/no-vulnerable -- safe +var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + +// `GetSubstitution` abstract operation +// https://tc39.es/ecma262/#sec-getsubstitution +module.exports = function (matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return replace(replacement, symbols, function (match, ch) { + var capture; + switch (charAt(ch, 0)) { + case '$': return '$'; + case '&': return matched; + case '`': return stringSlice(str, 0, position); + case "'": return stringSlice(str, tailPos); + case '<': + capture = namedCaptures[stringSlice(ch, 1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); +}; diff --git a/node_modules/core-js/internals/global.js b/node_modules/core-js/internals/global.js new file mode 100644 index 00000000..457e1c93 --- /dev/null +++ b/node_modules/core-js/internals/global.js @@ -0,0 +1,15 @@ +'use strict'; +var check = function (it) { + return it && it.Math == Math && it; +}; + +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +module.exports = + // eslint-disable-next-line es/no-global-this -- safe + check(typeof globalThis == 'object' && globalThis) || + check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe + check(typeof self == 'object' && self) || + check(typeof global == 'object' && global) || + // eslint-disable-next-line no-new-func -- fallback + (function () { return this; })() || this || Function('return this')(); diff --git a/node_modules/core-js/internals/has-own-property.js b/node_modules/core-js/internals/has-own-property.js new file mode 100644 index 00000000..336d800b --- /dev/null +++ b/node_modules/core-js/internals/has-own-property.js @@ -0,0 +1,12 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var toObject = require('../internals/to-object'); + +var hasOwnProperty = uncurryThis({}.hasOwnProperty); + +// `HasOwnProperty` abstract operation +// https://tc39.es/ecma262/#sec-hasownproperty +// eslint-disable-next-line es/no-object-hasown -- safe +module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); +}; diff --git a/node_modules/core-js/internals/hidden-keys.js b/node_modules/core-js/internals/hidden-keys.js new file mode 100644 index 00000000..648a1666 --- /dev/null +++ b/node_modules/core-js/internals/hidden-keys.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = {}; diff --git a/node_modules/core-js/internals/host-report-errors.js b/node_modules/core-js/internals/host-report-errors.js new file mode 100644 index 00000000..185c2af5 --- /dev/null +++ b/node_modules/core-js/internals/host-report-errors.js @@ -0,0 +1,7 @@ +'use strict'; +module.exports = function (a, b) { + try { + // eslint-disable-next-line no-console -- safe + arguments.length == 1 ? console.error(a) : console.error(a, b); + } catch (error) { /* empty */ } +}; diff --git a/node_modules/core-js/internals/html.js b/node_modules/core-js/internals/html.js new file mode 100644 index 00000000..b8da90e6 --- /dev/null +++ b/node_modules/core-js/internals/html.js @@ -0,0 +1,4 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); + +module.exports = getBuiltIn('document', 'documentElement'); diff --git a/node_modules/core-js/internals/ie8-dom-define.js b/node_modules/core-js/internals/ie8-dom-define.js new file mode 100644 index 00000000..0e93b82a --- /dev/null +++ b/node_modules/core-js/internals/ie8-dom-define.js @@ -0,0 +1,12 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var fails = require('../internals/fails'); +var createElement = require('../internals/document-create-element'); + +// Thanks to IE8 for its funny defineProperty +module.exports = !DESCRIPTORS && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(createElement('div'), 'a', { + get: function () { return 7; } + }).a != 7; +}); diff --git a/node_modules/core-js/internals/ieee754.js b/node_modules/core-js/internals/ieee754.js new file mode 100644 index 00000000..fbda4346 --- /dev/null +++ b/node_modules/core-js/internals/ieee754.js @@ -0,0 +1,103 @@ +'use strict'; +// IEEE754 conversions based on https://github.com/feross/ieee754 +var $Array = Array; +var abs = Math.abs; +var pow = Math.pow; +var floor = Math.floor; +var log = Math.log; +var LN2 = Math.LN2; + +var pack = function (number, mantissaLength, bytes) { + var buffer = $Array(bytes); + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; + var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; + var index = 0; + var exponent, mantissa, c; + number = abs(number); + // eslint-disable-next-line no-self-compare -- NaN check + if (number != number || number === Infinity) { + // eslint-disable-next-line no-self-compare -- NaN check + mantissa = number != number ? 1 : 0; + exponent = eMax; + } else { + exponent = floor(log(number) / LN2); + c = pow(2, -exponent); + if (number * c < 1) { + exponent--; + c *= 2; + } + if (exponent + eBias >= 1) { + number += rt / c; + } else { + number += rt * pow(2, 1 - eBias); + } + if (number * c >= 2) { + exponent++; + c /= 2; + } + if (exponent + eBias >= eMax) { + mantissa = 0; + exponent = eMax; + } else if (exponent + eBias >= 1) { + mantissa = (number * c - 1) * pow(2, mantissaLength); + exponent = exponent + eBias; + } else { + mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); + exponent = 0; + } + } + while (mantissaLength >= 8) { + buffer[index++] = mantissa & 255; + mantissa /= 256; + mantissaLength -= 8; + } + exponent = exponent << mantissaLength | mantissa; + exponentLength += mantissaLength; + while (exponentLength > 0) { + buffer[index++] = exponent & 255; + exponent /= 256; + exponentLength -= 8; + } + buffer[--index] |= sign * 128; + return buffer; +}; + +var unpack = function (buffer, mantissaLength) { + var bytes = buffer.length; + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var nBits = exponentLength - 7; + var index = bytes - 1; + var sign = buffer[index--]; + var exponent = sign & 127; + var mantissa; + sign >>= 7; + while (nBits > 0) { + exponent = exponent * 256 + buffer[index--]; + nBits -= 8; + } + mantissa = exponent & (1 << -nBits) - 1; + exponent >>= -nBits; + nBits += mantissaLength; + while (nBits > 0) { + mantissa = mantissa * 256 + buffer[index--]; + nBits -= 8; + } + if (exponent === 0) { + exponent = 1 - eBias; + } else if (exponent === eMax) { + return mantissa ? NaN : sign ? -Infinity : Infinity; + } else { + mantissa = mantissa + pow(2, mantissaLength); + exponent = exponent - eBias; + } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); +}; + +module.exports = { + pack: pack, + unpack: unpack +}; diff --git a/node_modules/core-js/internals/indexed-object.js b/node_modules/core-js/internals/indexed-object.js new file mode 100644 index 00000000..2e3125a8 --- /dev/null +++ b/node_modules/core-js/internals/indexed-object.js @@ -0,0 +1,16 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); +var classof = require('../internals/classof-raw'); + +var $Object = Object; +var split = uncurryThis(''.split); + +// fallback for non-array-like ES3 and non-enumerable old V8 strings +module.exports = fails(function () { + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 + // eslint-disable-next-line no-prototype-builtins -- safe + return !$Object('z').propertyIsEnumerable(0); +}) ? function (it) { + return classof(it) == 'String' ? split(it, '') : $Object(it); +} : $Object; diff --git a/node_modules/core-js/internals/inherit-if-required.js b/node_modules/core-js/internals/inherit-if-required.js new file mode 100644 index 00000000..248771df --- /dev/null +++ b/node_modules/core-js/internals/inherit-if-required.js @@ -0,0 +1,19 @@ +'use strict'; +var isCallable = require('../internals/is-callable'); +var isObject = require('../internals/is-object'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); + +// makes subclassing work correct for wrapped built-ins +module.exports = function ($this, dummy, Wrapper) { + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + setPrototypeOf && + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + isCallable(NewTarget = dummy.constructor) && + NewTarget !== Wrapper && + isObject(NewTargetPrototype = NewTarget.prototype) && + NewTargetPrototype !== Wrapper.prototype + ) setPrototypeOf($this, NewTargetPrototype); + return $this; +}; diff --git a/node_modules/core-js/internals/inspect-source.js b/node_modules/core-js/internals/inspect-source.js new file mode 100644 index 00000000..eb9e80c4 --- /dev/null +++ b/node_modules/core-js/internals/inspect-source.js @@ -0,0 +1,15 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var isCallable = require('../internals/is-callable'); +var store = require('../internals/shared-store'); + +var functionToString = uncurryThis(Function.toString); + +// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper +if (!isCallable(store.inspectSource)) { + store.inspectSource = function (it) { + return functionToString(it); + }; +} + +module.exports = store.inspectSource; diff --git a/node_modules/core-js/internals/install-error-cause.js b/node_modules/core-js/internals/install-error-cause.js new file mode 100644 index 00000000..35f3b932 --- /dev/null +++ b/node_modules/core-js/internals/install-error-cause.js @@ -0,0 +1,11 @@ +'use strict'; +var isObject = require('../internals/is-object'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); + +// `InstallErrorCause` abstract operation +// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause +module.exports = function (O, options) { + if (isObject(options) && 'cause' in options) { + createNonEnumerableProperty(O, 'cause', options.cause); + } +}; diff --git a/node_modules/core-js/internals/internal-metadata.js b/node_modules/core-js/internals/internal-metadata.js new file mode 100644 index 00000000..df8b3380 --- /dev/null +++ b/node_modules/core-js/internals/internal-metadata.js @@ -0,0 +1,90 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var hiddenKeys = require('../internals/hidden-keys'); +var isObject = require('../internals/is-object'); +var hasOwn = require('../internals/has-own-property'); +var defineProperty = require('../internals/object-define-property').f; +var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names'); +var getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external'); +var isExtensible = require('../internals/object-is-extensible'); +var uid = require('../internals/uid'); +var FREEZING = require('../internals/freezing'); + +var REQUIRED = false; +var METADATA = uid('meta'); +var id = 0; + +var setMetadata = function (it) { + defineProperty(it, METADATA, { value: { + objectID: 'O' + id++, // object ID + weakData: {} // weak collections IDs + } }); +}; + +var fastKey = function (it, create) { + // return a primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!hasOwn(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMetadata(it); + // return object ID + } return it[METADATA].objectID; +}; + +var getWeakData = function (it, create) { + if (!hasOwn(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMetadata(it); + // return the store of weak collections IDs + } return it[METADATA].weakData; +}; + +// add metadata on freeze-family methods calling +var onFreeze = function (it) { + if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it); + return it; +}; + +var enable = function () { + meta.enable = function () { /* empty */ }; + REQUIRED = true; + var getOwnPropertyNames = getOwnPropertyNamesModule.f; + var splice = uncurryThis([].splice); + var test = {}; + test[METADATA] = 1; + + // prevent exposing of metadata key + if (getOwnPropertyNames(test).length) { + getOwnPropertyNamesModule.f = function (it) { + var result = getOwnPropertyNames(it); + for (var i = 0, length = result.length; i < length; i++) { + if (result[i] === METADATA) { + splice(result, i, 1); + break; + } + } return result; + }; + + $({ target: 'Object', stat: true, forced: true }, { + getOwnPropertyNames: getOwnPropertyNamesExternalModule.f + }); + } +}; + +var meta = module.exports = { + enable: enable, + fastKey: fastKey, + getWeakData: getWeakData, + onFreeze: onFreeze +}; + +hiddenKeys[METADATA] = true; diff --git a/node_modules/core-js/internals/internal-state.js b/node_modules/core-js/internals/internal-state.js new file mode 100644 index 00000000..962c49a3 --- /dev/null +++ b/node_modules/core-js/internals/internal-state.js @@ -0,0 +1,71 @@ +'use strict'; +var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection'); +var global = require('../internals/global'); +var isObject = require('../internals/is-object'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var hasOwn = require('../internals/has-own-property'); +var shared = require('../internals/shared-store'); +var sharedKey = require('../internals/shared-key'); +var hiddenKeys = require('../internals/hidden-keys'); + +var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; +var TypeError = global.TypeError; +var WeakMap = global.WeakMap; +var set, get, has; + +var enforce = function (it) { + return has(it) ? get(it) : set(it, {}); +}; + +var getterFor = function (TYPE) { + return function (it) { + var state; + if (!isObject(it) || (state = get(it)).type !== TYPE) { + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + } return state; + }; +}; + +if (NATIVE_WEAK_MAP || shared.state) { + var store = shared.state || (shared.state = new WeakMap()); + /* eslint-disable no-self-assign -- prototype methods protection */ + store.get = store.get; + store.has = store.has; + store.set = store.set; + /* eslint-enable no-self-assign -- prototype methods protection */ + set = function (it, metadata) { + if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + store.set(it, metadata); + return metadata; + }; + get = function (it) { + return store.get(it) || {}; + }; + has = function (it) { + return store.has(it); + }; +} else { + var STATE = sharedKey('state'); + hiddenKeys[STATE] = true; + set = function (it, metadata) { + if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get = function (it) { + return hasOwn(it, STATE) ? it[STATE] : {}; + }; + has = function (it) { + return hasOwn(it, STATE); + }; +} + +module.exports = { + set: set, + get: get, + has: has, + enforce: enforce, + getterFor: getterFor +}; diff --git a/node_modules/core-js/internals/is-array-iterator-method.js b/node_modules/core-js/internals/is-array-iterator-method.js new file mode 100644 index 00000000..6878983d --- /dev/null +++ b/node_modules/core-js/internals/is-array-iterator-method.js @@ -0,0 +1,11 @@ +'use strict'; +var wellKnownSymbol = require('../internals/well-known-symbol'); +var Iterators = require('../internals/iterators'); + +var ITERATOR = wellKnownSymbol('iterator'); +var ArrayPrototype = Array.prototype; + +// check on default Array iterator +module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); +}; diff --git a/node_modules/core-js/internals/is-array.js b/node_modules/core-js/internals/is-array.js new file mode 100644 index 00000000..d7431c61 --- /dev/null +++ b/node_modules/core-js/internals/is-array.js @@ -0,0 +1,9 @@ +'use strict'; +var classof = require('../internals/classof-raw'); + +// `IsArray` abstract operation +// https://tc39.es/ecma262/#sec-isarray +// eslint-disable-next-line es/no-array-isarray -- safe +module.exports = Array.isArray || function isArray(argument) { + return classof(argument) == 'Array'; +}; diff --git a/node_modules/core-js/internals/is-big-int-array.js b/node_modules/core-js/internals/is-big-int-array.js new file mode 100644 index 00000000..f16af79c --- /dev/null +++ b/node_modules/core-js/internals/is-big-int-array.js @@ -0,0 +1,7 @@ +'use strict'; +var classof = require('../internals/classof'); + +module.exports = function (it) { + var klass = classof(it); + return klass == 'BigInt64Array' || klass == 'BigUint64Array'; +}; diff --git a/node_modules/core-js/internals/is-callable.js b/node_modules/core-js/internals/is-callable.js new file mode 100644 index 00000000..dbe095f2 --- /dev/null +++ b/node_modules/core-js/internals/is-callable.js @@ -0,0 +1,12 @@ +'use strict'; +var $documentAll = require('../internals/document-all'); + +var documentAll = $documentAll.all; + +// `IsCallable` abstract operation +// https://tc39.es/ecma262/#sec-iscallable +module.exports = $documentAll.IS_HTMLDDA ? function (argument) { + return typeof argument == 'function' || argument === documentAll; +} : function (argument) { + return typeof argument == 'function'; +}; diff --git a/node_modules/core-js/internals/is-constructor.js b/node_modules/core-js/internals/is-constructor.js new file mode 100644 index 00000000..db5a020e --- /dev/null +++ b/node_modules/core-js/internals/is-constructor.js @@ -0,0 +1,53 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); +var isCallable = require('../internals/is-callable'); +var classof = require('../internals/classof'); +var getBuiltIn = require('../internals/get-built-in'); +var inspectSource = require('../internals/inspect-source'); + +var noop = function () { /* empty */ }; +var empty = []; +var construct = getBuiltIn('Reflect', 'construct'); +var constructorRegExp = /^\s*(?:class|function)\b/; +var exec = uncurryThis(constructorRegExp.exec); +var INCORRECT_TO_STRING = !constructorRegExp.exec(noop); + +var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) return false; + try { + construct(noop, empty, argument); + return true; + } catch (error) { + return false; + } +}; + +var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } +}; + +isConstructorLegacy.sham = true; + +// `IsConstructor` abstract operation +// https://tc39.es/ecma262/#sec-isconstructor +module.exports = !construct || fails(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; +}) ? isConstructorLegacy : isConstructorModern; diff --git a/node_modules/core-js/internals/is-data-descriptor.js b/node_modules/core-js/internals/is-data-descriptor.js new file mode 100644 index 00000000..201e35b2 --- /dev/null +++ b/node_modules/core-js/internals/is-data-descriptor.js @@ -0,0 +1,6 @@ +'use strict'; +var hasOwn = require('../internals/has-own-property'); + +module.exports = function (descriptor) { + return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable')); +}; diff --git a/node_modules/core-js/internals/is-forced.js b/node_modules/core-js/internals/is-forced.js new file mode 100644 index 00000000..56022102 --- /dev/null +++ b/node_modules/core-js/internals/is-forced.js @@ -0,0 +1,23 @@ +'use strict'; +var fails = require('../internals/fails'); +var isCallable = require('../internals/is-callable'); + +var replacement = /#|\.prototype\./; + +var isForced = function (feature, detection) { + var value = data[normalize(feature)]; + return value == POLYFILL ? true + : value == NATIVE ? false + : isCallable(detection) ? fails(detection) + : !!detection; +}; + +var normalize = isForced.normalize = function (string) { + return String(string).replace(replacement, '.').toLowerCase(); +}; + +var data = isForced.data = {}; +var NATIVE = isForced.NATIVE = 'N'; +var POLYFILL = isForced.POLYFILL = 'P'; + +module.exports = isForced; diff --git a/node_modules/core-js/internals/is-integral-number.js b/node_modules/core-js/internals/is-integral-number.js new file mode 100644 index 00000000..f2bbf69c --- /dev/null +++ b/node_modules/core-js/internals/is-integral-number.js @@ -0,0 +1,11 @@ +'use strict'; +var isObject = require('../internals/is-object'); + +var floor = Math.floor; + +// `IsIntegralNumber` abstract operation +// https://tc39.es/ecma262/#sec-isintegralnumber +// eslint-disable-next-line es/no-number-isinteger -- safe +module.exports = Number.isInteger || function isInteger(it) { + return !isObject(it) && isFinite(it) && floor(it) === it; +}; diff --git a/node_modules/core-js/internals/is-iterable.js b/node_modules/core-js/internals/is-iterable.js new file mode 100644 index 00000000..94560dce --- /dev/null +++ b/node_modules/core-js/internals/is-iterable.js @@ -0,0 +1,17 @@ +'use strict'; +var classof = require('../internals/classof'); +var hasOwn = require('../internals/has-own-property'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var Iterators = require('../internals/iterators'); + +var ITERATOR = wellKnownSymbol('iterator'); +var $Object = Object; + +module.exports = function (it) { + if (isNullOrUndefined(it)) return false; + var O = $Object(it); + return O[ITERATOR] !== undefined + || '@@iterator' in O + || hasOwn(Iterators, classof(O)); +}; diff --git a/node_modules/core-js/internals/is-null-or-undefined.js b/node_modules/core-js/internals/is-null-or-undefined.js new file mode 100644 index 00000000..8e687ddc --- /dev/null +++ b/node_modules/core-js/internals/is-null-or-undefined.js @@ -0,0 +1,6 @@ +'use strict'; +// we can't use just `it == null` since of `document.all` special case +// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec +module.exports = function (it) { + return it === null || it === undefined; +}; diff --git a/node_modules/core-js/internals/is-object.js b/node_modules/core-js/internals/is-object.js new file mode 100644 index 00000000..f1dfd3e2 --- /dev/null +++ b/node_modules/core-js/internals/is-object.js @@ -0,0 +1,11 @@ +'use strict'; +var isCallable = require('../internals/is-callable'); +var $documentAll = require('../internals/document-all'); + +var documentAll = $documentAll.all; + +module.exports = $documentAll.IS_HTMLDDA ? function (it) { + return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll; +} : function (it) { + return typeof it == 'object' ? it !== null : isCallable(it); +}; diff --git a/node_modules/core-js/internals/is-pure.js b/node_modules/core-js/internals/is-pure.js new file mode 100644 index 00000000..ae7c87b1 --- /dev/null +++ b/node_modules/core-js/internals/is-pure.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = false; diff --git a/node_modules/core-js/internals/is-raw-json.js b/node_modules/core-js/internals/is-raw-json.js new file mode 100644 index 00000000..f6cab852 --- /dev/null +++ b/node_modules/core-js/internals/is-raw-json.js @@ -0,0 +1,9 @@ +'use strict'; +var isObject = require('../internals/is-object'); +var getInternalState = require('../internals/internal-state').get; + +module.exports = function isRawJSON(O) { + if (!isObject(O)) return false; + var state = getInternalState(O); + return !!state && state.type === 'RawJSON'; +}; diff --git a/node_modules/core-js/internals/is-regexp.js b/node_modules/core-js/internals/is-regexp.js new file mode 100644 index 00000000..a29556d2 --- /dev/null +++ b/node_modules/core-js/internals/is-regexp.js @@ -0,0 +1,13 @@ +'use strict'; +var isObject = require('../internals/is-object'); +var classof = require('../internals/classof-raw'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var MATCH = wellKnownSymbol('match'); + +// `IsRegExp` abstract operation +// https://tc39.es/ecma262/#sec-isregexp +module.exports = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); +}; diff --git a/node_modules/core-js/internals/is-symbol.js b/node_modules/core-js/internals/is-symbol.js new file mode 100644 index 00000000..8c62ff91 --- /dev/null +++ b/node_modules/core-js/internals/is-symbol.js @@ -0,0 +1,14 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); +var isCallable = require('../internals/is-callable'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid'); + +var $Object = Object; + +module.exports = USE_SYMBOL_AS_UID ? function (it) { + return typeof it == 'symbol'; +} : function (it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); +}; diff --git a/node_modules/core-js/internals/iterate-simple.js b/node_modules/core-js/internals/iterate-simple.js new file mode 100644 index 00000000..f940cc32 --- /dev/null +++ b/node_modules/core-js/internals/iterate-simple.js @@ -0,0 +1,12 @@ +'use strict'; +var call = require('../internals/function-call'); + +module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) { + var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator; + var next = record.next; + var step, result; + while (!(step = call(next, iterator)).done) { + result = fn(step.value); + if (result !== undefined) return result; + } +}; diff --git a/node_modules/core-js/internals/iterate.js b/node_modules/core-js/internals/iterate.js new file mode 100644 index 00000000..450d63f0 --- /dev/null +++ b/node_modules/core-js/internals/iterate.js @@ -0,0 +1,69 @@ +'use strict'; +var bind = require('../internals/function-bind-context'); +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var tryToString = require('../internals/try-to-string'); +var isArrayIteratorMethod = require('../internals/is-array-iterator-method'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var getIterator = require('../internals/get-iterator'); +var getIteratorMethod = require('../internals/get-iterator-method'); +var iteratorClose = require('../internals/iterator-close'); + +var $TypeError = TypeError; + +var Result = function (stopped, result) { + this.stopped = stopped; + this.result = result; +}; + +var ResultPrototype = Result.prototype; + +module.exports = function (iterable, unboundFunction, options) { + var that = options && options.that; + var AS_ENTRIES = !!(options && options.AS_ENTRIES); + var IS_RECORD = !!(options && options.IS_RECORD); + var IS_ITERATOR = !!(options && options.IS_ITERATOR); + var INTERRUPTED = !!(options && options.INTERRUPTED); + var fn = bind(unboundFunction, that); + var iterator, iterFn, index, length, result, next, step; + + var stop = function (condition) { + if (iterator) iteratorClose(iterator, 'normal', condition); + return new Result(true, condition); + }; + + var callFn = function (value) { + if (AS_ENTRIES) { + anObject(value); + return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); + } return INTERRUPTED ? fn(value, stop) : fn(value); + }; + + if (IS_RECORD) { + iterator = iterable.iterator; + } else if (IS_ITERATOR) { + iterator = iterable; + } else { + iterFn = getIteratorMethod(iterable); + if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable'); + // optimisation for array iterators + if (isArrayIteratorMethod(iterFn)) { + for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { + result = callFn(iterable[index]); + if (result && isPrototypeOf(ResultPrototype, result)) return result; + } return new Result(false); + } + iterator = getIterator(iterable, iterFn); + } + + next = IS_RECORD ? iterable.next : iterator.next; + while (!(step = call(next, iterator)).done) { + try { + result = callFn(step.value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } + if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; + } return new Result(false); +}; diff --git a/node_modules/core-js/internals/iterator-close.js b/node_modules/core-js/internals/iterator-close.js new file mode 100644 index 00000000..df2d1e0e --- /dev/null +++ b/node_modules/core-js/internals/iterator-close.js @@ -0,0 +1,24 @@ +'use strict'; +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var getMethod = require('../internals/get-method'); + +module.exports = function (iterator, kind, value) { + var innerResult, innerError; + anObject(iterator); + try { + innerResult = getMethod(iterator, 'return'); + if (!innerResult) { + if (kind === 'throw') throw value; + return value; + } + innerResult = call(innerResult, iterator); + } catch (error) { + innerError = true; + innerResult = error; + } + if (kind === 'throw') throw value; + if (innerError) throw innerResult; + anObject(innerResult); + return value; +}; diff --git a/node_modules/core-js/internals/iterator-create-constructor.js b/node_modules/core-js/internals/iterator-create-constructor.js new file mode 100644 index 00000000..e519c9f2 --- /dev/null +++ b/node_modules/core-js/internals/iterator-create-constructor.js @@ -0,0 +1,16 @@ +'use strict'; +var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype; +var create = require('../internals/object-create'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var setToStringTag = require('../internals/set-to-string-tag'); +var Iterators = require('../internals/iterators'); + +var returnThis = function () { return this; }; + +module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); + Iterators[TO_STRING_TAG] = returnThis; + return IteratorConstructor; +}; diff --git a/node_modules/core-js/internals/iterator-create-proxy.js b/node_modules/core-js/internals/iterator-create-proxy.js new file mode 100644 index 00000000..ffb9d745 --- /dev/null +++ b/node_modules/core-js/internals/iterator-create-proxy.js @@ -0,0 +1,76 @@ +'use strict'; +var call = require('../internals/function-call'); +var create = require('../internals/object-create'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var defineBuiltIns = require('../internals/define-built-ins'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var InternalStateModule = require('../internals/internal-state'); +var getMethod = require('../internals/get-method'); +var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype; +var createIterResultObject = require('../internals/create-iter-result-object'); +var iteratorClose = require('../internals/iterator-close'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var ITERATOR_HELPER = 'IteratorHelper'; +var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; +var setInternalState = InternalStateModule.set; + +var createIteratorProxyPrototype = function (IS_ITERATOR) { + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); + + return defineBuiltIns(create(IteratorPrototype), { + next: function next() { + var state = getInternalState(this); + // for simplification: + // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject` + // for `%IteratorHelperPrototype%.next` - just a value + if (IS_ITERATOR) return state.nextHandler(); + try { + var result = state.done ? undefined : state.nextHandler(); + return createIterResultObject(result, state.done); + } catch (error) { + state.done = true; + throw error; + } + }, + 'return': function () { + var state = getInternalState(this); + var iterator = state.iterator; + state.done = true; + if (IS_ITERATOR) { + var returnMethod = getMethod(iterator, 'return'); + return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); + } + if (state.inner) try { + iteratorClose(state.inner.iterator, 'normal'); + } catch (error) { + return iteratorClose(iterator, 'throw', error); + } + iteratorClose(iterator, 'normal'); + return createIterResultObject(undefined, true); + } + }); +}; + +var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); +var IteratorHelperPrototype = createIteratorProxyPrototype(false); + +createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); + +module.exports = function (nextHandler, IS_ITERATOR) { + var IteratorProxy = function Iterator(record, state) { + if (state) { + state.iterator = record.iterator; + state.next = record.next; + } else state = record; + state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; + state.nextHandler = nextHandler; + state.counter = 0; + state.done = false; + setInternalState(this, state); + }; + + IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; + + return IteratorProxy; +}; diff --git a/node_modules/core-js/internals/iterator-define.js b/node_modules/core-js/internals/iterator-define.js new file mode 100644 index 00000000..1411737c --- /dev/null +++ b/node_modules/core-js/internals/iterator-define.js @@ -0,0 +1,99 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var IS_PURE = require('../internals/is-pure'); +var FunctionName = require('../internals/function-name'); +var isCallable = require('../internals/is-callable'); +var createIteratorConstructor = require('../internals/iterator-create-constructor'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); +var setToStringTag = require('../internals/set-to-string-tag'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var defineBuiltIn = require('../internals/define-built-in'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var Iterators = require('../internals/iterators'); +var IteratorsCore = require('../internals/iterators-core'); + +var PROPER_FUNCTION_NAME = FunctionName.PROPER; +var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; +var IteratorPrototype = IteratorsCore.IteratorPrototype; +var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; +var ITERATOR = wellKnownSymbol('iterator'); +var KEYS = 'keys'; +var VALUES = 'values'; +var ENTRIES = 'entries'; + +var returnThis = function () { return this; }; + +module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + + var getIterationMethod = function (KIND) { + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; + switch (KIND) { + case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; + case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; + case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; + } return function () { return new IteratorConstructor(this); }; + }; + + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR] + || IterablePrototype['@@iterator'] + || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + + // fix native + if (anyNativeIterator) { + CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); + if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (setPrototypeOf) { + setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { + defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); + } + } + // Set @@toStringTag to native iterators + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); + if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; + } + } + + // fix Array.prototype.{ values, @@iterator }.name in V8 / FF + if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { + if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(IterablePrototype, 'name', VALUES); + } else { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { return call(nativeIterator, this); }; + } + } + + // export additional methods + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + defineBuiltIn(IterablePrototype, KEY, methods[KEY]); + } + } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + + // define iterator + if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { + defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); + } + Iterators[NAME] = defaultIterator; + + return methods; +}; diff --git a/node_modules/core-js/internals/iterator-indexed.js b/node_modules/core-js/internals/iterator-indexed.js new file mode 100644 index 00000000..e7e66766 --- /dev/null +++ b/node_modules/core-js/internals/iterator-indexed.js @@ -0,0 +1,13 @@ +'use strict'; +var call = require('../internals/function-call'); +var map = require('../internals/iterator-map'); + +var callback = function (value, counter) { + return [counter, value]; +}; + +// `Iterator.prototype.indexed` method +// https://github.com/tc39/proposal-iterator-helpers +module.exports = function indexed() { + return call(map, this, callback); +}; diff --git a/node_modules/core-js/internals/iterator-map.js b/node_modules/core-js/internals/iterator-map.js new file mode 100644 index 00000000..005abe03 --- /dev/null +++ b/node_modules/core-js/internals/iterator-map.js @@ -0,0 +1,24 @@ +'use strict'; +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var createIteratorProxy = require('../internals/iterator-create-proxy'); +var callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing'); + +var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var result = anObject(call(this.next, iterator)); + var done = this.done = !!result.done; + if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); +}); + +// `Iterator.prototype.map` method +// https://github.com/tc39/proposal-iterator-helpers +module.exports = function map(mapper) { + anObject(this); + aCallable(mapper); + return new IteratorProxy(getIteratorDirect(this), { + mapper: mapper + }); +}; diff --git a/node_modules/core-js/internals/iterators-core.js b/node_modules/core-js/internals/iterators-core.js new file mode 100644 index 00000000..9ebcaae6 --- /dev/null +++ b/node_modules/core-js/internals/iterators-core.js @@ -0,0 +1,49 @@ +'use strict'; +var fails = require('../internals/fails'); +var isCallable = require('../internals/is-callable'); +var isObject = require('../internals/is-object'); +var create = require('../internals/object-create'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var defineBuiltIn = require('../internals/define-built-in'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var IS_PURE = require('../internals/is-pure'); + +var ITERATOR = wellKnownSymbol('iterator'); +var BUGGY_SAFARI_ITERATORS = false; + +// `%IteratorPrototype%` object +// https://tc39.es/ecma262/#sec-%iteratorprototype%-object +var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; + +/* eslint-disable es/no-array-prototype-keys -- safe */ +if ([].keys) { + arrayIterator = [].keys(); + // Safari 8 has buggy iterators w/o `next` + if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; + else { + PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; + } +} + +var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { + var test = {}; + // FF44- legacy iterators case + return IteratorPrototype[ITERATOR].call(test) !== test; +}); + +if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; +else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); + +// `%IteratorPrototype%[@@iterator]()` method +// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator +if (!isCallable(IteratorPrototype[ITERATOR])) { + defineBuiltIn(IteratorPrototype, ITERATOR, function () { + return this; + }); +} + +module.exports = { + IteratorPrototype: IteratorPrototype, + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS +}; diff --git a/node_modules/core-js/internals/iterators.js b/node_modules/core-js/internals/iterators.js new file mode 100644 index 00000000..648a1666 --- /dev/null +++ b/node_modules/core-js/internals/iterators.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = {}; diff --git a/node_modules/core-js/internals/length-of-array-like.js b/node_modules/core-js/internals/length-of-array-like.js new file mode 100644 index 00000000..8cddc2ff --- /dev/null +++ b/node_modules/core-js/internals/length-of-array-like.js @@ -0,0 +1,8 @@ +'use strict'; +var toLength = require('../internals/to-length'); + +// `LengthOfArrayLike` abstract operation +// https://tc39.es/ecma262/#sec-lengthofarraylike +module.exports = function (obj) { + return toLength(obj.length); +}; diff --git a/node_modules/core-js/internals/make-built-in.js b/node_modules/core-js/internals/make-built-in.js new file mode 100644 index 00000000..bebf9fe1 --- /dev/null +++ b/node_modules/core-js/internals/make-built-in.js @@ -0,0 +1,55 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); +var isCallable = require('../internals/is-callable'); +var hasOwn = require('../internals/has-own-property'); +var DESCRIPTORS = require('../internals/descriptors'); +var CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE; +var inspectSource = require('../internals/inspect-source'); +var InternalStateModule = require('../internals/internal-state'); + +var enforceInternalState = InternalStateModule.enforce; +var getInternalState = InternalStateModule.get; +var $String = String; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; +var stringSlice = uncurryThis(''.slice); +var replace = uncurryThis(''.replace); +var join = uncurryThis([].join); + +var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; +}); + +var TEMPLATE = String(String).split('String'); + +var makeBuiltIn = module.exports = function (value, name, options) { + if (stringSlice($String(name), 0, 7) === 'Symbol(') { + name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + } + if (options && options.getter) name = 'get ' + name; + if (options && options.setter) name = 'set ' + name; + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); + else value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { + defineProperty(value, 'length', { value: options.arity }); + } + try { + if (options && hasOwn(options, 'constructor') && options.constructor) { + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } + var state = enforceInternalState(value); + if (!hasOwn(state, 'source')) { + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); + } return value; +}; + +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +// eslint-disable-next-line no-extend-native -- required +Function.prototype.toString = makeBuiltIn(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); +}, 'toString'); diff --git a/node_modules/core-js/internals/map-helpers.js b/node_modules/core-js/internals/map-helpers.js new file mode 100644 index 00000000..8120c7dc --- /dev/null +++ b/node_modules/core-js/internals/map-helpers.js @@ -0,0 +1,15 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +// eslint-disable-next-line es/no-map -- safe +var MapPrototype = Map.prototype; + +module.exports = { + // eslint-disable-next-line es/no-map -- safe + Map: Map, + set: uncurryThis(MapPrototype.set), + get: uncurryThis(MapPrototype.get), + has: uncurryThis(MapPrototype.has), + remove: uncurryThis(MapPrototype['delete']), + proto: MapPrototype +}; diff --git a/node_modules/core-js/internals/map-iterate.js b/node_modules/core-js/internals/map-iterate.js new file mode 100644 index 00000000..2c56a0b8 --- /dev/null +++ b/node_modules/core-js/internals/map-iterate.js @@ -0,0 +1,16 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var iterateSimple = require('../internals/iterate-simple'); +var MapHelpers = require('../internals/map-helpers'); + +var Map = MapHelpers.Map; +var MapPrototype = MapHelpers.proto; +var forEach = uncurryThis(MapPrototype.forEach); +var entries = uncurryThis(MapPrototype.entries); +var next = entries(new Map()).next; + +module.exports = function (map, fn, interruptible) { + return interruptible ? iterateSimple({ iterator: entries(map), next: next }, function (entry) { + return fn(entry[1], entry[0]); + }) : forEach(map, fn); +}; diff --git a/node_modules/core-js/internals/map-upsert.js b/node_modules/core-js/internals/map-upsert.js new file mode 100644 index 00000000..c4bf21e7 --- /dev/null +++ b/node_modules/core-js/internals/map-upsert.js @@ -0,0 +1,31 @@ +'use strict'; +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var isCallable = require('../internals/is-callable'); +var anObject = require('../internals/an-object'); + +var $TypeError = TypeError; + +// `Map.prototype.upsert` method +// https://github.com/tc39/proposal-upsert +module.exports = function upsert(key, updateFn /* , insertFn */) { + var map = anObject(this); + var get = aCallable(map.get); + var has = aCallable(map.has); + var set = aCallable(map.set); + var insertFn = arguments.length > 2 ? arguments[2] : undefined; + var value; + if (!isCallable(updateFn) && !isCallable(insertFn)) { + throw $TypeError('At least one callback required'); + } + if (call(has, map, key)) { + value = call(get, map, key); + if (isCallable(updateFn)) { + value = updateFn(value); + call(set, map, key, value); + } + } else if (isCallable(insertFn)) { + value = insertFn(); + call(set, map, key, value); + } return value; +}; diff --git a/node_modules/core-js/internals/math-expm1.js b/node_modules/core-js/internals/math-expm1.js new file mode 100644 index 00000000..9eccb6a4 --- /dev/null +++ b/node_modules/core-js/internals/math-expm1.js @@ -0,0 +1,16 @@ +'use strict'; +// eslint-disable-next-line es/no-math-expm1 -- safe +var $expm1 = Math.expm1; +var exp = Math.exp; + +// `Math.expm1` method implementation +// https://tc39.es/ecma262/#sec-math.expm1 +module.exports = (!$expm1 + // Old FF bug + || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 + // Tor Browser bug + || $expm1(-2e-17) != -2e-17 +) ? function expm1(x) { + var n = +x; + return n == 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1; +} : $expm1; diff --git a/node_modules/core-js/internals/math-fround.js b/node_modules/core-js/internals/math-fround.js new file mode 100644 index 00000000..fad62f2f --- /dev/null +++ b/node_modules/core-js/internals/math-fround.js @@ -0,0 +1,29 @@ +'use strict'; +var sign = require('../internals/math-sign'); + +var abs = Math.abs; +var pow = Math.pow; +var EPSILON = pow(2, -52); +var EPSILON32 = pow(2, -23); +var MAX32 = pow(2, 127) * (2 - EPSILON32); +var MIN32 = pow(2, -126); + +var roundTiesToEven = function (n) { + return n + 1 / EPSILON - 1 / EPSILON; +}; + +// `Math.fround` method implementation +// https://tc39.es/ecma262/#sec-math.fround +// eslint-disable-next-line es/no-math-fround -- safe +module.exports = Math.fround || function fround(x) { + var n = +x; + var $abs = abs(n); + var $sign = sign(n); + var a, result; + if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; + a = (1 + EPSILON32 / EPSILON) * $abs; + result = a - (a - $abs); + // eslint-disable-next-line no-self-compare -- NaN check + if (result > MAX32 || result != result) return $sign * Infinity; + return $sign * result; +}; diff --git a/node_modules/core-js/internals/math-log10.js b/node_modules/core-js/internals/math-log10.js new file mode 100644 index 00000000..c6a47b2d --- /dev/null +++ b/node_modules/core-js/internals/math-log10.js @@ -0,0 +1,8 @@ +'use strict'; +var log = Math.log; +var LOG10E = Math.LOG10E; + +// eslint-disable-next-line es/no-math-log10 -- safe +module.exports = Math.log10 || function log10(x) { + return log(x) * LOG10E; +}; diff --git a/node_modules/core-js/internals/math-log1p.js b/node_modules/core-js/internals/math-log1p.js new file mode 100644 index 00000000..6917bf47 --- /dev/null +++ b/node_modules/core-js/internals/math-log1p.js @@ -0,0 +1,10 @@ +'use strict'; +var log = Math.log; + +// `Math.log1p` method implementation +// https://tc39.es/ecma262/#sec-math.log1p +// eslint-disable-next-line es/no-math-log1p -- safe +module.exports = Math.log1p || function log1p(x) { + var n = +x; + return n > -1e-8 && n < 1e-8 ? n - n * n / 2 : log(1 + n); +}; diff --git a/node_modules/core-js/internals/math-scale.js b/node_modules/core-js/internals/math-scale.js new file mode 100644 index 00000000..0eb62165 --- /dev/null +++ b/node_modules/core-js/internals/math-scale.js @@ -0,0 +1,14 @@ +'use strict'; +// `Math.scale` method implementation +// https://rwaldron.github.io/proposal-math-extensions/ +module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { + var nx = +x; + var nInLow = +inLow; + var nInHigh = +inHigh; + var nOutLow = +outLow; + var nOutHigh = +outHigh; + // eslint-disable-next-line no-self-compare -- NaN check + if (nx != nx || nInLow != nInLow || nInHigh != nInHigh || nOutLow != nOutLow || nOutHigh != nOutHigh) return NaN; + if (nx === Infinity || nx === -Infinity) return nx; + return (nx - nInLow) * (nOutHigh - nOutLow) / (nInHigh - nInLow) + nOutLow; +}; diff --git a/node_modules/core-js/internals/math-sign.js b/node_modules/core-js/internals/math-sign.js new file mode 100644 index 00000000..65c83ab7 --- /dev/null +++ b/node_modules/core-js/internals/math-sign.js @@ -0,0 +1,9 @@ +'use strict'; +// `Math.sign` method implementation +// https://tc39.es/ecma262/#sec-math.sign +// eslint-disable-next-line es/no-math-sign -- safe +module.exports = Math.sign || function sign(x) { + var n = +x; + // eslint-disable-next-line no-self-compare -- NaN check + return n == 0 || n != n ? n : n < 0 ? -1 : 1; +}; diff --git a/node_modules/core-js/internals/math-trunc.js b/node_modules/core-js/internals/math-trunc.js new file mode 100644 index 00000000..6d41e543 --- /dev/null +++ b/node_modules/core-js/internals/math-trunc.js @@ -0,0 +1,11 @@ +'use strict'; +var ceil = Math.ceil; +var floor = Math.floor; + +// `Math.trunc` method +// https://tc39.es/ecma262/#sec-math.trunc +// eslint-disable-next-line es/no-math-trunc -- safe +module.exports = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); +}; diff --git a/node_modules/core-js/internals/microtask.js b/node_modules/core-js/internals/microtask.js new file mode 100644 index 00000000..99e2607f --- /dev/null +++ b/node_modules/core-js/internals/microtask.js @@ -0,0 +1,81 @@ +'use strict'; +var global = require('../internals/global'); +var bind = require('../internals/function-bind-context'); +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; +var macrotask = require('../internals/task').set; +var Queue = require('../internals/queue'); +var IS_IOS = require('../internals/engine-is-ios'); +var IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble'); +var IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit'); +var IS_NODE = require('../internals/engine-is-node'); + +var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; +var document = global.document; +var process = global.process; +var Promise = global.Promise; +// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` +var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask'); +var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; +var notify, toggle, node, promise, then; + +// modern engines have queueMicrotask method +if (!microtask) { + var queue = new Queue(); + + var flush = function () { + var parent, fn; + if (IS_NODE && (parent = process.domain)) parent.exit(); + while (fn = queue.get()) try { + fn(); + } catch (error) { + if (queue.head) notify(); + throw error; + } + if (parent) parent.enter(); + }; + + // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 + // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 + if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) { + toggle = true; + node = document.createTextNode(''); + new MutationObserver(flush).observe(node, { characterData: true }); + notify = function () { + node.data = toggle = !toggle; + }; + // environments with maybe non-completely correct, but existent Promise + } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) { + // Promise.resolve without an argument throws an error in LG WebOS 2 + promise = Promise.resolve(undefined); + // workaround of WebKit ~ iOS Safari 10.1 bug + promise.constructor = Promise; + then = bind(promise.then, promise); + notify = function () { + then(flush); + }; + // Node.js without promises + } else if (IS_NODE) { + notify = function () { + process.nextTick(flush); + }; + // for other environments - macrotask based on: + // - setImmediate + // - MessageChannel + // - window.postMessage + // - onreadystatechange + // - setTimeout + } else { + // `webpack` dev server bug on IE global methods - use bind(fn, global) + macrotask = bind(macrotask, global); + notify = function () { + macrotask(flush); + }; + } + + microtask = function (fn) { + if (!queue.head) notify(); + queue.add(fn); + }; +} + +module.exports = microtask; diff --git a/node_modules/core-js/internals/native-raw-json.js b/node_modules/core-js/internals/native-raw-json.js new file mode 100644 index 00000000..f37892e2 --- /dev/null +++ b/node_modules/core-js/internals/native-raw-json.js @@ -0,0 +1,9 @@ +'use strict'; +/* eslint-disable es/no-json -- safe */ +var fails = require('../internals/fails'); + +module.exports = !fails(function () { + var unsafeInt = '9007199254740993'; + var raw = JSON.rawJSON(unsafeInt); + return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt; +}); diff --git a/node_modules/core-js/internals/new-promise-capability.js b/node_modules/core-js/internals/new-promise-capability.js new file mode 100644 index 00000000..a6250987 --- /dev/null +++ b/node_modules/core-js/internals/new-promise-capability.js @@ -0,0 +1,21 @@ +'use strict'; +var aCallable = require('../internals/a-callable'); + +var $TypeError = TypeError; + +var PromiseCapability = function (C) { + var resolve, reject; + this.promise = new C(function ($$resolve, $$reject) { + if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor'); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aCallable(resolve); + this.reject = aCallable(reject); +}; + +// `NewPromiseCapability` abstract operation +// https://tc39.es/ecma262/#sec-newpromisecapability +module.exports.f = function (C) { + return new PromiseCapability(C); +}; diff --git a/node_modules/core-js/internals/normalize-string-argument.js b/node_modules/core-js/internals/normalize-string-argument.js new file mode 100644 index 00000000..83d4af7f --- /dev/null +++ b/node_modules/core-js/internals/normalize-string-argument.js @@ -0,0 +1,6 @@ +'use strict'; +var toString = require('../internals/to-string'); + +module.exports = function (argument, $default) { + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); +}; diff --git a/node_modules/core-js/internals/not-a-nan.js b/node_modules/core-js/internals/not-a-nan.js new file mode 100644 index 00000000..b8ff44cd --- /dev/null +++ b/node_modules/core-js/internals/not-a-nan.js @@ -0,0 +1,8 @@ +'use strict'; +var $RangeError = RangeError; + +module.exports = function (it) { + // eslint-disable-next-line no-self-compare -- NaN check + if (it === it) return it; + throw $RangeError('NaN is not allowed'); +}; diff --git a/node_modules/core-js/internals/not-a-regexp.js b/node_modules/core-js/internals/not-a-regexp.js new file mode 100644 index 00000000..e5c04ab9 --- /dev/null +++ b/node_modules/core-js/internals/not-a-regexp.js @@ -0,0 +1,10 @@ +'use strict'; +var isRegExp = require('../internals/is-regexp'); + +var $TypeError = TypeError; + +module.exports = function (it) { + if (isRegExp(it)) { + throw $TypeError("The method doesn't accept regular expressions"); + } return it; +}; diff --git a/node_modules/core-js/internals/number-is-finite.js b/node_modules/core-js/internals/number-is-finite.js new file mode 100644 index 00000000..50ed6cb5 --- /dev/null +++ b/node_modules/core-js/internals/number-is-finite.js @@ -0,0 +1,11 @@ +'use strict'; +var global = require('../internals/global'); + +var globalIsFinite = global.isFinite; + +// `Number.isFinite` method +// https://tc39.es/ecma262/#sec-number.isfinite +// eslint-disable-next-line es/no-number-isfinite -- safe +module.exports = Number.isFinite || function isFinite(it) { + return typeof it == 'number' && globalIsFinite(it); +}; diff --git a/node_modules/core-js/internals/number-parse-float.js b/node_modules/core-js/internals/number-parse-float.js new file mode 100644 index 00000000..0dee63bf --- /dev/null +++ b/node_modules/core-js/internals/number-parse-float.js @@ -0,0 +1,23 @@ +'use strict'; +var global = require('../internals/global'); +var fails = require('../internals/fails'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toString = require('../internals/to-string'); +var trim = require('../internals/string-trim').trim; +var whitespaces = require('../internals/whitespaces'); + +var charAt = uncurryThis(''.charAt); +var $parseFloat = global.parseFloat; +var Symbol = global.Symbol; +var ITERATOR = Symbol && Symbol.iterator; +var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity + // MS Edge 18- broken with boxed symbols + || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); })); + +// `parseFloat` method +// https://tc39.es/ecma262/#sec-parsefloat-string +module.exports = FORCED ? function parseFloat(string) { + var trimmedString = trim(toString(string)); + var result = $parseFloat(trimmedString); + return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result; +} : $parseFloat; diff --git a/node_modules/core-js/internals/number-parse-int.js b/node_modules/core-js/internals/number-parse-int.js new file mode 100644 index 00000000..d6c1987e --- /dev/null +++ b/node_modules/core-js/internals/number-parse-int.js @@ -0,0 +1,23 @@ +'use strict'; +var global = require('../internals/global'); +var fails = require('../internals/fails'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toString = require('../internals/to-string'); +var trim = require('../internals/string-trim').trim; +var whitespaces = require('../internals/whitespaces'); + +var $parseInt = global.parseInt; +var Symbol = global.Symbol; +var ITERATOR = Symbol && Symbol.iterator; +var hex = /^[+-]?0x/i; +var exec = uncurryThis(hex.exec); +var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22 + // MS Edge 18- broken with boxed symbols + || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); })); + +// `parseInt` method +// https://tc39.es/ecma262/#sec-parseint-string-radix +module.exports = FORCED ? function parseInt(string, radix) { + var S = trim(toString(string)); + return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10)); +} : $parseInt; diff --git a/node_modules/core-js/internals/numeric-range-iterator.js b/node_modules/core-js/internals/numeric-range-iterator.js new file mode 100644 index 00000000..10eef6a2 --- /dev/null +++ b/node_modules/core-js/internals/numeric-range-iterator.js @@ -0,0 +1,106 @@ +'use strict'; +var InternalStateModule = require('../internals/internal-state'); +var createIteratorConstructor = require('../internals/iterator-create-constructor'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var isObject = require('../internals/is-object'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var DESCRIPTORS = require('../internals/descriptors'); + +var INCORRECT_RANGE = 'Incorrect Iterator.range arguments'; +var NUMERIC_RANGE_ITERATOR = 'NumericRangeIterator'; + +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(NUMERIC_RANGE_ITERATOR); + +var $RangeError = RangeError; +var $TypeError = TypeError; + +var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(start, end, option, type, zero, one) { + // TODO: Drop the first `typeof` check after removing legacy methods in `core-js@4` + if (typeof start != type || (end !== Infinity && end !== -Infinity && typeof end != type)) { + throw $TypeError(INCORRECT_RANGE); + } + if (start === Infinity || start === -Infinity) { + throw $RangeError(INCORRECT_RANGE); + } + var ifIncrease = end > start; + var inclusiveEnd = false; + var step; + if (option === undefined) { + step = undefined; + } else if (isObject(option)) { + step = option.step; + inclusiveEnd = !!option.inclusive; + } else if (typeof option == type) { + step = option; + } else { + throw $TypeError(INCORRECT_RANGE); + } + if (isNullOrUndefined(step)) { + step = ifIncrease ? one : -one; + } + if (typeof step != type) { + throw $TypeError(INCORRECT_RANGE); + } + if (step === Infinity || step === -Infinity || (step === zero && start !== end)) { + throw $RangeError(INCORRECT_RANGE); + } + // eslint-disable-next-line no-self-compare -- NaN check + var hitsEnd = start != start || end != end || step != step || (end > start) !== (step > zero); + setInternalState(this, { + type: NUMERIC_RANGE_ITERATOR, + start: start, + end: end, + step: step, + inclusive: inclusiveEnd, + hitsEnd: hitsEnd, + currentCount: zero, + zero: zero + }); + if (!DESCRIPTORS) { + this.start = start; + this.end = end; + this.step = step; + this.inclusive = inclusiveEnd; + } +}, NUMERIC_RANGE_ITERATOR, function next() { + var state = getInternalState(this); + if (state.hitsEnd) return createIterResultObject(undefined, true); + var start = state.start; + var end = state.end; + var step = state.step; + var currentYieldingValue = start + (step * state.currentCount++); + if (currentYieldingValue === end) state.hitsEnd = true; + var inclusiveEnd = state.inclusive; + var endCondition; + if (end > start) { + endCondition = inclusiveEnd ? currentYieldingValue > end : currentYieldingValue >= end; + } else { + endCondition = inclusiveEnd ? end > currentYieldingValue : end >= currentYieldingValue; + } + if (endCondition) { + state.hitsEnd = true; + return createIterResultObject(undefined, true); + } return createIterResultObject(currentYieldingValue, false); +}); + +var addGetter = function (key) { + defineBuiltInAccessor($RangeIterator.prototype, key, { + get: function () { + return getInternalState(this)[key]; + }, + set: function () { /* empty */ }, + configurable: true, + enumerable: false + }); +}; + +if (DESCRIPTORS) { + addGetter('start'); + addGetter('end'); + addGetter('inclusive'); + addGetter('step'); +} + +module.exports = $RangeIterator; diff --git a/node_modules/core-js/internals/object-assign.js b/node_modules/core-js/internals/object-assign.js new file mode 100644 index 00000000..91076d06 --- /dev/null +++ b/node_modules/core-js/internals/object-assign.js @@ -0,0 +1,57 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var uncurryThis = require('../internals/function-uncurry-this'); +var call = require('../internals/function-call'); +var fails = require('../internals/fails'); +var objectKeys = require('../internals/object-keys'); +var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols'); +var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable'); +var toObject = require('../internals/to-object'); +var IndexedObject = require('../internals/indexed-object'); + +// eslint-disable-next-line es/no-object-assign -- safe +var $assign = Object.assign; +// eslint-disable-next-line es/no-object-defineproperty -- required for testing +var defineProperty = Object.defineProperty; +var concat = uncurryThis([].concat); + +// `Object.assign` method +// https://tc39.es/ecma262/#sec-object.assign +module.exports = !$assign || fails(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol(); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet; +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; +} : $assign; diff --git a/node_modules/core-js/internals/object-create.js b/node_modules/core-js/internals/object-create.js new file mode 100644 index 00000000..aee97bbf --- /dev/null +++ b/node_modules/core-js/internals/object-create.js @@ -0,0 +1,84 @@ +'use strict'; +/* global ActiveXObject -- old IE, WSH */ +var anObject = require('../internals/an-object'); +var definePropertiesModule = require('../internals/object-define-properties'); +var enumBugKeys = require('../internals/enum-bug-keys'); +var hiddenKeys = require('../internals/hidden-keys'); +var html = require('../internals/html'); +var documentCreateElement = require('../internals/document-create-element'); +var sharedKey = require('../internals/shared-key'); + +var GT = '>'; +var LT = '<'; +var PROTOTYPE = 'prototype'; +var SCRIPT = 'script'; +var IE_PROTO = sharedKey('IE_PROTO'); + +var EmptyConstructor = function () { /* empty */ }; + +var scriptTag = function (content) { + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; +}; + +// Create object with fake `null` prototype: use ActiveX Object with cleared prototype +var NullProtoObjectViaActiveX = function (activeXDocument) { + activeXDocument.write(scriptTag('')); + activeXDocument.close(); + var temp = activeXDocument.parentWindow.Object; + activeXDocument = null; // avoid memory leak + return temp; +}; + +// Create object with fake `null` prototype: use iframe Object with cleared prototype +var NullProtoObjectViaIFrame = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = documentCreateElement('iframe'); + var JS = 'java' + SCRIPT + ':'; + var iframeDocument; + iframe.style.display = 'none'; + html.appendChild(iframe); + // https://github.com/zloirock/core-js/issues/475 + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag('document.F=Object')); + iframeDocument.close(); + return iframeDocument.F; +}; + +// Check for document.domain and active x support +// No need to use active x approach when document.domain is not set +// see https://github.com/es-shims/es5-shim/issues/150 +// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 +// avoid IE GC bug +var activeXDocument; +var NullProtoObject = function () { + try { + activeXDocument = new ActiveXObject('htmlfile'); + } catch (error) { /* ignore */ } + NullProtoObject = typeof document != 'undefined' + ? document.domain && activeXDocument + ? NullProtoObjectViaActiveX(activeXDocument) // old IE + : NullProtoObjectViaIFrame() + : NullProtoObjectViaActiveX(activeXDocument); // WSH + var length = enumBugKeys.length; + while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; + return NullProtoObject(); +}; + +hiddenKeys[IE_PROTO] = true; + +// `Object.create` method +// https://tc39.es/ecma262/#sec-object.create +// eslint-disable-next-line es/no-object-create -- safe +module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = NullProtoObject(); + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); +}; diff --git a/node_modules/core-js/internals/object-define-properties.js b/node_modules/core-js/internals/object-define-properties.js new file mode 100644 index 00000000..1a1d1bd4 --- /dev/null +++ b/node_modules/core-js/internals/object-define-properties.js @@ -0,0 +1,21 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug'); +var definePropertyModule = require('../internals/object-define-property'); +var anObject = require('../internals/an-object'); +var toIndexedObject = require('../internals/to-indexed-object'); +var objectKeys = require('../internals/object-keys'); + +// `Object.defineProperties` method +// https://tc39.es/ecma262/#sec-object.defineproperties +// eslint-disable-next-line es/no-object-defineproperties -- safe +exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var props = toIndexedObject(Properties); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); + return O; +}; diff --git a/node_modules/core-js/internals/object-define-property.js b/node_modules/core-js/internals/object-define-property.js new file mode 100644 index 00000000..072e7b6b --- /dev/null +++ b/node_modules/core-js/internals/object-define-property.js @@ -0,0 +1,44 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var IE8_DOM_DEFINE = require('../internals/ie8-dom-define'); +var V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug'); +var anObject = require('../internals/an-object'); +var toPropertyKey = require('../internals/to-property-key'); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var $defineProperty = Object.defineProperty; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +var ENUMERABLE = 'enumerable'; +var CONFIGURABLE = 'configurable'; +var WRITABLE = 'writable'; + +// `Object.defineProperty` method +// https://tc39.es/ecma262/#sec-object.defineproperty +exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } return $defineProperty(O, P, Attributes); +} : $defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return $defineProperty(O, P, Attributes); + } catch (error) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; diff --git a/node_modules/core-js/internals/object-get-own-property-descriptor.js b/node_modules/core-js/internals/object-get-own-property-descriptor.js new file mode 100644 index 00000000..1fd41812 --- /dev/null +++ b/node_modules/core-js/internals/object-get-own-property-descriptor.js @@ -0,0 +1,23 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var call = require('../internals/function-call'); +var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var toIndexedObject = require('../internals/to-indexed-object'); +var toPropertyKey = require('../internals/to-property-key'); +var hasOwn = require('../internals/has-own-property'); +var IE8_DOM_DEFINE = require('../internals/ie8-dom-define'); + +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// `Object.getOwnPropertyDescriptor` method +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor +exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + O = toIndexedObject(O); + P = toPropertyKey(P); + if (IE8_DOM_DEFINE) try { + return $getOwnPropertyDescriptor(O, P); + } catch (error) { /* empty */ } + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); +}; diff --git a/node_modules/core-js/internals/object-get-own-property-names-external.js b/node_modules/core-js/internals/object-get-own-property-names-external.js new file mode 100644 index 00000000..24f5afbe --- /dev/null +++ b/node_modules/core-js/internals/object-get-own-property-names-external.js @@ -0,0 +1,24 @@ +'use strict'; +/* eslint-disable es/no-object-getownpropertynames -- safe */ +var classof = require('../internals/classof-raw'); +var toIndexedObject = require('../internals/to-indexed-object'); +var $getOwnPropertyNames = require('../internals/object-get-own-property-names').f; +var arraySlice = require('../internals/array-slice-simple'); + +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) : []; + +var getWindowNames = function (it) { + try { + return $getOwnPropertyNames(it); + } catch (error) { + return arraySlice(windowNames); + } +}; + +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window +module.exports.f = function getOwnPropertyNames(it) { + return windowNames && classof(it) == 'Window' + ? getWindowNames(it) + : $getOwnPropertyNames(toIndexedObject(it)); +}; diff --git a/node_modules/core-js/internals/object-get-own-property-names.js b/node_modules/core-js/internals/object-get-own-property-names.js new file mode 100644 index 00000000..08c935d8 --- /dev/null +++ b/node_modules/core-js/internals/object-get-own-property-names.js @@ -0,0 +1,12 @@ +'use strict'; +var internalObjectKeys = require('../internals/object-keys-internal'); +var enumBugKeys = require('../internals/enum-bug-keys'); + +var hiddenKeys = enumBugKeys.concat('length', 'prototype'); + +// `Object.getOwnPropertyNames` method +// https://tc39.es/ecma262/#sec-object.getownpropertynames +// eslint-disable-next-line es/no-object-getownpropertynames -- safe +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return internalObjectKeys(O, hiddenKeys); +}; diff --git a/node_modules/core-js/internals/object-get-own-property-symbols.js b/node_modules/core-js/internals/object-get-own-property-symbols.js new file mode 100644 index 00000000..9ee3730a --- /dev/null +++ b/node_modules/core-js/internals/object-get-own-property-symbols.js @@ -0,0 +1,3 @@ +'use strict'; +// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe +exports.f = Object.getOwnPropertySymbols; diff --git a/node_modules/core-js/internals/object-get-prototype-of.js b/node_modules/core-js/internals/object-get-prototype-of.js new file mode 100644 index 00000000..75201d3a --- /dev/null +++ b/node_modules/core-js/internals/object-get-prototype-of.js @@ -0,0 +1,22 @@ +'use strict'; +var hasOwn = require('../internals/has-own-property'); +var isCallable = require('../internals/is-callable'); +var toObject = require('../internals/to-object'); +var sharedKey = require('../internals/shared-key'); +var CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter'); + +var IE_PROTO = sharedKey('IE_PROTO'); +var $Object = Object; +var ObjectPrototype = $Object.prototype; + +// `Object.getPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.getprototypeof +// eslint-disable-next-line es/no-object-getprototypeof -- safe +module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { + var object = toObject(O); + if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } return object instanceof $Object ? ObjectPrototype : null; +}; diff --git a/node_modules/core-js/internals/object-is-extensible.js b/node_modules/core-js/internals/object-is-extensible.js new file mode 100644 index 00000000..fa57ffd0 --- /dev/null +++ b/node_modules/core-js/internals/object-is-extensible.js @@ -0,0 +1,17 @@ +'use strict'; +var fails = require('../internals/fails'); +var isObject = require('../internals/is-object'); +var classof = require('../internals/classof-raw'); +var ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible'); + +// eslint-disable-next-line es/no-object-isextensible -- safe +var $isExtensible = Object.isExtensible; +var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); }); + +// `Object.isExtensible` method +// https://tc39.es/ecma262/#sec-object.isextensible +module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) { + if (!isObject(it)) return false; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false; + return $isExtensible ? $isExtensible(it) : true; +} : $isExtensible; diff --git a/node_modules/core-js/internals/object-is-prototype-of.js b/node_modules/core-js/internals/object-is-prototype-of.js new file mode 100644 index 00000000..77cca1ed --- /dev/null +++ b/node_modules/core-js/internals/object-is-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +module.exports = uncurryThis({}.isPrototypeOf); diff --git a/node_modules/core-js/internals/object-iterator.js b/node_modules/core-js/internals/object-iterator.js new file mode 100644 index 00000000..a2f04434 --- /dev/null +++ b/node_modules/core-js/internals/object-iterator.js @@ -0,0 +1,38 @@ +'use strict'; +var InternalStateModule = require('../internals/internal-state'); +var createIteratorConstructor = require('../internals/iterator-create-constructor'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var hasOwn = require('../internals/has-own-property'); +var objectKeys = require('../internals/object-keys'); +var toObject = require('../internals/to-object'); + +var OBJECT_ITERATOR = 'Object Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(OBJECT_ITERATOR); + +module.exports = createIteratorConstructor(function ObjectIterator(source, mode) { + var object = toObject(source); + setInternalState(this, { + type: OBJECT_ITERATOR, + mode: mode, + object: object, + keys: objectKeys(object), + index: 0 + }); +}, 'Object', function next() { + var state = getInternalState(this); + var keys = state.keys; + while (true) { + if (keys === null || state.index >= keys.length) { + state.object = state.keys = null; + return createIterResultObject(undefined, true); + } + var key = keys[state.index++]; + var object = state.object; + if (!hasOwn(object, key)) continue; + switch (state.mode) { + case 'keys': return createIterResultObject(key, false); + case 'values': return createIterResultObject(object[key], false); + } /* entries */ return createIterResultObject([key, object[key]], false); + } +}); diff --git a/node_modules/core-js/internals/object-keys-internal.js b/node_modules/core-js/internals/object-keys-internal.js new file mode 100644 index 00000000..42354cf6 --- /dev/null +++ b/node_modules/core-js/internals/object-keys-internal.js @@ -0,0 +1,21 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var hasOwn = require('../internals/has-own-property'); +var toIndexedObject = require('../internals/to-indexed-object'); +var indexOf = require('../internals/array-includes').indexOf; +var hiddenKeys = require('../internals/hidden-keys'); + +var push = uncurryThis([].push); + +module.exports = function (object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); + // Don't enum bug & hidden keys + while (names.length > i) if (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); + } + return result; +}; diff --git a/node_modules/core-js/internals/object-keys.js b/node_modules/core-js/internals/object-keys.js new file mode 100644 index 00000000..03761359 --- /dev/null +++ b/node_modules/core-js/internals/object-keys.js @@ -0,0 +1,10 @@ +'use strict'; +var internalObjectKeys = require('../internals/object-keys-internal'); +var enumBugKeys = require('../internals/enum-bug-keys'); + +// `Object.keys` method +// https://tc39.es/ecma262/#sec-object.keys +// eslint-disable-next-line es/no-object-keys -- safe +module.exports = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys); +}; diff --git a/node_modules/core-js/internals/object-property-is-enumerable.js b/node_modules/core-js/internals/object-property-is-enumerable.js new file mode 100644 index 00000000..f262d100 --- /dev/null +++ b/node_modules/core-js/internals/object-property-is-enumerable.js @@ -0,0 +1,14 @@ +'use strict'; +var $propertyIsEnumerable = {}.propertyIsEnumerable; +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Nashorn ~ JDK8 bug +var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); + +// `Object.prototype.propertyIsEnumerable` method implementation +// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable +exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { + var descriptor = getOwnPropertyDescriptor(this, V); + return !!descriptor && descriptor.enumerable; +} : $propertyIsEnumerable; diff --git a/node_modules/core-js/internals/object-prototype-accessors-forced.js b/node_modules/core-js/internals/object-prototype-accessors-forced.js new file mode 100644 index 00000000..579bb781 --- /dev/null +++ b/node_modules/core-js/internals/object-prototype-accessors-forced.js @@ -0,0 +1,17 @@ +'use strict'; +var IS_PURE = require('../internals/is-pure'); +var global = require('../internals/global'); +var fails = require('../internals/fails'); +var WEBKIT = require('../internals/engine-webkit-version'); + +// Forced replacement object prototype accessors methods +module.exports = IS_PURE || !fails(function () { + // This feature detection crashes old WebKit + // https://github.com/zloirock/core-js/issues/232 + if (WEBKIT && WEBKIT < 535) return; + var key = Math.random(); + // In FF throws only define methods + // eslint-disable-next-line no-undef, no-useless-call, es/no-legacy-object-prototype-accessor-methods -- required for testing + __defineSetter__.call(null, key, function () { /* empty */ }); + delete global[key]; +}); diff --git a/node_modules/core-js/internals/object-set-prototype-of.js b/node_modules/core-js/internals/object-set-prototype-of.js new file mode 100644 index 00000000..b9663133 --- /dev/null +++ b/node_modules/core-js/internals/object-set-prototype-of.js @@ -0,0 +1,27 @@ +'use strict'; +/* eslint-disable no-proto -- safe */ +var uncurryThisAccessor = require('../internals/function-uncurry-this-accessor'); +var anObject = require('../internals/an-object'); +var aPossiblePrototype = require('../internals/a-possible-prototype'); + +// `Object.setPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.setprototypeof +// Works with __proto__ only. Old v8 can't work with null proto objects. +// eslint-disable-next-line es/no-object-setprototypeof -- safe +module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { /* empty */ } + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) setter(O, proto); + else O.__proto__ = proto; + return O; + }; +}() : undefined); diff --git a/node_modules/core-js/internals/object-to-array.js b/node_modules/core-js/internals/object-to-array.js new file mode 100644 index 00000000..2a84f75f --- /dev/null +++ b/node_modules/core-js/internals/object-to-array.js @@ -0,0 +1,49 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var fails = require('../internals/fails'); +var uncurryThis = require('../internals/function-uncurry-this'); +var objectGetPrototypeOf = require('../internals/object-get-prototype-of'); +var objectKeys = require('../internals/object-keys'); +var toIndexedObject = require('../internals/to-indexed-object'); +var $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f; + +var propertyIsEnumerable = uncurryThis($propertyIsEnumerable); +var push = uncurryThis([].push); + +// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys +// of `null` prototype objects +var IE_BUG = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-create -- safe + var O = Object.create(null); + O[2] = 2; + return !propertyIsEnumerable(O, 2); +}); + +// `Object.{ entries, values }` methods implementation +var createMethod = function (TO_ENTRIES) { + return function (it) { + var O = toIndexedObject(it); + var keys = objectKeys(O); + var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null; + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) { + key = keys[i++]; + if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) { + push(result, TO_ENTRIES ? [key, O[key]] : O[key]); + } + } + return result; + }; +}; + +module.exports = { + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + entries: createMethod(true), + // `Object.values` method + // https://tc39.es/ecma262/#sec-object.values + values: createMethod(false) +}; diff --git a/node_modules/core-js/internals/object-to-string.js b/node_modules/core-js/internals/object-to-string.js new file mode 100644 index 00000000..d624036d --- /dev/null +++ b/node_modules/core-js/internals/object-to-string.js @@ -0,0 +1,9 @@ +'use strict'; +var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support'); +var classof = require('../internals/classof'); + +// `Object.prototype.toString` method implementation +// https://tc39.es/ecma262/#sec-object.prototype.tostring +module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { + return '[object ' + classof(this) + ']'; +}; diff --git a/node_modules/core-js/internals/observable-forced.js b/node_modules/core-js/internals/observable-forced.js new file mode 100644 index 00000000..7efafc07 --- /dev/null +++ b/node_modules/core-js/internals/observable-forced.js @@ -0,0 +1,14 @@ +'use strict'; +var global = require('../internals/global'); +var isCallable = require('../internals/is-callable'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var $$OBSERVABLE = wellKnownSymbol('observable'); +var NativeObservable = global.Observable; +var NativeObservablePrototype = NativeObservable && NativeObservable.prototype; + +module.exports = !isCallable(NativeObservable) + || !isCallable(NativeObservable.from) + || !isCallable(NativeObservable.of) + || !isCallable(NativeObservablePrototype.subscribe) + || !isCallable(NativeObservablePrototype[$$OBSERVABLE]); diff --git a/node_modules/core-js/internals/ordinary-to-primitive.js b/node_modules/core-js/internals/ordinary-to-primitive.js new file mode 100644 index 00000000..42594fe4 --- /dev/null +++ b/node_modules/core-js/internals/ordinary-to-primitive.js @@ -0,0 +1,16 @@ +'use strict'; +var call = require('../internals/function-call'); +var isCallable = require('../internals/is-callable'); +var isObject = require('../internals/is-object'); + +var $TypeError = TypeError; + +// `OrdinaryToPrimitive` abstract operation +// https://tc39.es/ecma262/#sec-ordinarytoprimitive +module.exports = function (input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + throw $TypeError("Can't convert object to primitive value"); +}; diff --git a/node_modules/core-js/internals/own-keys.js b/node_modules/core-js/internals/own-keys.js new file mode 100644 index 00000000..bf4864da --- /dev/null +++ b/node_modules/core-js/internals/own-keys.js @@ -0,0 +1,15 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names'); +var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols'); +var anObject = require('../internals/an-object'); + +var concat = uncurryThis([].concat); + +// all object keys, includes non-enumerable and symbols +module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { + var keys = getOwnPropertyNamesModule.f(anObject(it)); + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; +}; diff --git a/node_modules/core-js/internals/parse-json-string.js b/node_modules/core-js/internals/parse-json-string.js new file mode 100644 index 00000000..3f077f16 --- /dev/null +++ b/node_modules/core-js/internals/parse-json-string.js @@ -0,0 +1,56 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var hasOwn = require('../internals/has-own-property'); + +var $SyntaxError = SyntaxError; +var $parseInt = parseInt; +var fromCharCode = String.fromCharCode; +var at = uncurryThis(''.charAt); +var slice = uncurryThis(''.slice); +var exec = uncurryThis(/./.exec); + +var codePoints = { + '\\"': '"', + '\\\\': '\\', + '\\/': '/', + '\\b': '\b', + '\\f': '\f', + '\\n': '\n', + '\\r': '\r', + '\\t': '\t' +}; + +var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i; +// eslint-disable-next-line regexp/no-control-character -- safe +var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/; + +module.exports = function (source, i) { + var unterminated = true; + var value = ''; + while (i < source.length) { + var chr = at(source, i); + if (chr == '\\') { + var twoChars = slice(source, i, i + 2); + if (hasOwn(codePoints, twoChars)) { + value += codePoints[twoChars]; + i += 2; + } else if (twoChars == '\\u') { + i += 2; + var fourHexDigits = slice(source, i, i + 4); + if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw $SyntaxError('Bad Unicode escape at: ' + i); + value += fromCharCode($parseInt(fourHexDigits, 16)); + i += 4; + } else throw $SyntaxError('Unknown escape sequence: "' + twoChars + '"'); + } else if (chr == '"') { + unterminated = false; + i++; + break; + } else { + if (exec(IS_C0_CONTROL_CODE, chr)) throw $SyntaxError('Bad control character in string literal at: ' + i); + value += chr; + i++; + } + } + if (unterminated) throw $SyntaxError('Unterminated string at: ' + i); + return { value: value, end: i }; +}; diff --git a/node_modules/core-js/internals/path.js b/node_modules/core-js/internals/path.js new file mode 100644 index 00000000..d9eeb384 --- /dev/null +++ b/node_modules/core-js/internals/path.js @@ -0,0 +1,4 @@ +'use strict'; +var global = require('../internals/global'); + +module.exports = global; diff --git a/node_modules/core-js/internals/perform.js b/node_modules/core-js/internals/perform.js new file mode 100644 index 00000000..3100f098 --- /dev/null +++ b/node_modules/core-js/internals/perform.js @@ -0,0 +1,8 @@ +'use strict'; +module.exports = function (exec) { + try { + return { error: false, value: exec() }; + } catch (error) { + return { error: true, value: error }; + } +}; diff --git a/node_modules/core-js/internals/promise-constructor-detection.js b/node_modules/core-js/internals/promise-constructor-detection.js new file mode 100644 index 00000000..c8d009d1 --- /dev/null +++ b/node_modules/core-js/internals/promise-constructor-detection.js @@ -0,0 +1,48 @@ +'use strict'; +var global = require('../internals/global'); +var NativePromiseConstructor = require('../internals/promise-native-constructor'); +var isCallable = require('../internals/is-callable'); +var isForced = require('../internals/is-forced'); +var inspectSource = require('../internals/inspect-source'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var IS_BROWSER = require('../internals/engine-is-browser'); +var IS_DENO = require('../internals/engine-is-deno'); +var IS_PURE = require('../internals/is-pure'); +var V8_VERSION = require('../internals/engine-v8-version'); + +var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; +var SPECIES = wellKnownSymbol('species'); +var SUBCLASSING = false; +var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent); + +var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () { + var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor); + var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor); + // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 + // We can't detect it synchronously, so just check versions + if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true; + // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution + if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true; + // We can't use @@species feature detection in V8 since it causes + // deoptimization and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) { + // Detect correctness of subclassing with @@species support + var promise = new NativePromiseConstructor(function (resolve) { resolve(1); }); + var FakePromise = function (exec) { + exec(function () { /* empty */ }, function () { /* empty */ }); + }; + var constructor = promise.constructor = {}; + constructor[SPECIES] = FakePromise; + SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; + if (!SUBCLASSING) return true; + // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test + } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT; +}); + +module.exports = { + CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR, + REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT, + SUBCLASSING: SUBCLASSING +}; diff --git a/node_modules/core-js/internals/promise-native-constructor.js b/node_modules/core-js/internals/promise-native-constructor.js new file mode 100644 index 00000000..67fe11a3 --- /dev/null +++ b/node_modules/core-js/internals/promise-native-constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var global = require('../internals/global'); + +module.exports = global.Promise; diff --git a/node_modules/core-js/internals/promise-resolve.js b/node_modules/core-js/internals/promise-resolve.js new file mode 100644 index 00000000..c562d9cf --- /dev/null +++ b/node_modules/core-js/internals/promise-resolve.js @@ -0,0 +1,13 @@ +'use strict'; +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var newPromiseCapability = require('../internals/new-promise-capability'); + +module.exports = function (C, x) { + anObject(C); + if (isObject(x) && x.constructor === C) return x; + var promiseCapability = newPromiseCapability.f(C); + var resolve = promiseCapability.resolve; + resolve(x); + return promiseCapability.promise; +}; diff --git a/node_modules/core-js/internals/promise-statics-incorrect-iteration.js b/node_modules/core-js/internals/promise-statics-incorrect-iteration.js new file mode 100644 index 00000000..21c0f229 --- /dev/null +++ b/node_modules/core-js/internals/promise-statics-incorrect-iteration.js @@ -0,0 +1,8 @@ +'use strict'; +var NativePromiseConstructor = require('../internals/promise-native-constructor'); +var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration'); +var FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR; + +module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) { + NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ }); +}); diff --git a/node_modules/core-js/internals/proxy-accessor.js b/node_modules/core-js/internals/proxy-accessor.js new file mode 100644 index 00000000..8718bb7b --- /dev/null +++ b/node_modules/core-js/internals/proxy-accessor.js @@ -0,0 +1,10 @@ +'use strict'; +var defineProperty = require('../internals/object-define-property').f; + +module.exports = function (Target, Source, key) { + key in Target || defineProperty(Target, key, { + configurable: true, + get: function () { return Source[key]; }, + set: function (it) { Source[key] = it; } + }); +}; diff --git a/node_modules/core-js/internals/queue.js b/node_modules/core-js/internals/queue.js new file mode 100644 index 00000000..0785558e --- /dev/null +++ b/node_modules/core-js/internals/queue.js @@ -0,0 +1,25 @@ +'use strict'; +var Queue = function () { + this.head = null; + this.tail = null; +}; + +Queue.prototype = { + add: function (item) { + var entry = { item: item, next: null }; + var tail = this.tail; + if (tail) tail.next = entry; + else this.head = entry; + this.tail = entry; + }, + get: function () { + var entry = this.head; + if (entry) { + var next = this.head = entry.next; + if (next === null) this.tail = null; + return entry.item; + } + } +}; + +module.exports = Queue; diff --git a/node_modules/core-js/internals/reflect-metadata.js b/node_modules/core-js/internals/reflect-metadata.js new file mode 100644 index 00000000..80416160 --- /dev/null +++ b/node_modules/core-js/internals/reflect-metadata.js @@ -0,0 +1,62 @@ +'use strict'; +// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` +require('../modules/es.map'); +require('../modules/es.weak-map'); +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var shared = require('../internals/shared'); + +var Map = getBuiltIn('Map'); +var WeakMap = getBuiltIn('WeakMap'); +var push = uncurryThis([].push); + +var metadata = shared('metadata'); +var store = metadata.store || (metadata.store = new WeakMap()); + +var getOrCreateMetadataMap = function (target, targetKey, create) { + var targetMetadata = store.get(target); + if (!targetMetadata) { + if (!create) return; + store.set(target, targetMetadata = new Map()); + } + var keyMetadata = targetMetadata.get(targetKey); + if (!keyMetadata) { + if (!create) return; + targetMetadata.set(targetKey, keyMetadata = new Map()); + } return keyMetadata; +}; + +var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? false : metadataMap.has(MetadataKey); +}; + +var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); +}; + +var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { + getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); +}; + +var ordinaryOwnMetadataKeys = function (target, targetKey) { + var metadataMap = getOrCreateMetadataMap(target, targetKey, false); + var keys = []; + if (metadataMap) metadataMap.forEach(function (_, key) { push(keys, key); }); + return keys; +}; + +var toMetadataKey = function (it) { + return it === undefined || typeof it == 'symbol' ? it : String(it); +}; + +module.exports = { + store: store, + getMap: getOrCreateMetadataMap, + has: ordinaryHasOwnMetadata, + get: ordinaryGetOwnMetadata, + set: ordinaryDefineOwnMetadata, + keys: ordinaryOwnMetadataKeys, + toKey: toMetadataKey +}; diff --git a/node_modules/core-js/internals/regexp-exec-abstract.js b/node_modules/core-js/internals/regexp-exec-abstract.js new file mode 100644 index 00000000..9b1391c3 --- /dev/null +++ b/node_modules/core-js/internals/regexp-exec-abstract.js @@ -0,0 +1,21 @@ +'use strict'; +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var isCallable = require('../internals/is-callable'); +var classof = require('../internals/classof-raw'); +var regexpExec = require('../internals/regexp-exec'); + +var $TypeError = TypeError; + +// `RegExpExec` abstract operation +// https://tc39.es/ecma262/#sec-regexpexec +module.exports = function (R, S) { + var exec = R.exec; + if (isCallable(exec)) { + var result = call(exec, R, S); + if (result !== null) anObject(result); + return result; + } + if (classof(R) === 'RegExp') return call(regexpExec, R, S); + throw $TypeError('RegExp#exec called on incompatible receiver'); +}; diff --git a/node_modules/core-js/internals/regexp-exec.js b/node_modules/core-js/internals/regexp-exec.js new file mode 100644 index 00000000..a23cf2ad --- /dev/null +++ b/node_modules/core-js/internals/regexp-exec.js @@ -0,0 +1,117 @@ +'use strict'; +/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ +/* eslint-disable regexp/no-useless-quantifier -- testing */ +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toString = require('../internals/to-string'); +var regexpFlags = require('../internals/regexp-flags'); +var stickyHelpers = require('../internals/regexp-sticky-helpers'); +var shared = require('../internals/shared'); +var create = require('../internals/object-create'); +var getInternalState = require('../internals/internal-state').get; +var UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all'); +var UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg'); + +var nativeReplace = shared('native-string-replace', String.prototype.replace); +var nativeExec = RegExp.prototype.exec; +var patchedExec = nativeExec; +var charAt = uncurryThis(''.charAt); +var indexOf = uncurryThis(''.indexOf); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); + +var UPDATES_LAST_INDEX_WRONG = (function () { + var re1 = /a/; + var re2 = /b*/g; + call(nativeExec, re1, 'a'); + call(nativeExec, re2, 'a'); + return re1.lastIndex !== 0 || re2.lastIndex !== 0; +})(); + +var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; + +// nonparticipating capturing group, copied from es5-shim's String#split patch. +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; + +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; + +if (PATCH) { + patchedExec = function exec(string) { + var re = this; + var state = getInternalState(re); + var str = toString(string); + var raw = state.raw; + var result, reCopy, lastIndex, match, i, object, group; + + if (raw) { + raw.lastIndex = re.lastIndex; + result = call(patchedExec, raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + + var groups = state.groups; + var sticky = UNSUPPORTED_Y && re.sticky; + var flags = call(regexpFlags, re); + var source = re.source; + var charsAdded = 0; + var strCopy = str; + + if (sticky) { + flags = replace(flags, 'y', ''); + if (indexOf(flags, 'g') === -1) { + flags += 'g'; + } + + strCopy = stringSlice(str, re.lastIndex); + // Support anchored sticky behavior. + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { + source = '(?: ' + source + ')'; + strCopy = ' ' + strCopy; + charsAdded++; + } + // ^(? + rx + ) is needed, in combination with some str slicing, to + // simulate the 'y' flag. + reCopy = new RegExp('^(?:' + source + ')', flags); + } + + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + source + '$(?!\\s)', flags); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; + + match = call(nativeExec, sticky ? reCopy : re, strCopy); + + if (sticky) { + if (match) { + match.input = stringSlice(match.input, charsAdded); + match[0] = stringSlice(match[0], charsAdded); + match.index = re.lastIndex; + re.lastIndex += match[0].length; + } else re.lastIndex = 0; + } else if (UPDATES_LAST_INDEX_WRONG && match) { + re.lastIndex = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ + call(nativeReplace, match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } + + if (match && groups) { + match.groups = object = create(null); + for (i = 0; i < groups.length; i++) { + group = groups[i]; + object[group[0]] = match[group[1]]; + } + } + + return match; + }; +} + +module.exports = patchedExec; diff --git a/node_modules/core-js/internals/regexp-flags.js b/node_modules/core-js/internals/regexp-flags.js new file mode 100644 index 00000000..6d73e1c2 --- /dev/null +++ b/node_modules/core-js/internals/regexp-flags.js @@ -0,0 +1,18 @@ +'use strict'; +var anObject = require('../internals/an-object'); + +// `RegExp.prototype.flags` getter implementation +// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags +module.exports = function () { + var that = anObject(this); + var result = ''; + if (that.hasIndices) result += 'd'; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; + if (that.sticky) result += 'y'; + return result; +}; diff --git a/node_modules/core-js/internals/regexp-get-flags.js b/node_modules/core-js/internals/regexp-get-flags.js new file mode 100644 index 00000000..134ff743 --- /dev/null +++ b/node_modules/core-js/internals/regexp-get-flags.js @@ -0,0 +1,13 @@ +'use strict'; +var call = require('../internals/function-call'); +var hasOwn = require('../internals/has-own-property'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var regExpFlags = require('../internals/regexp-flags'); + +var RegExpPrototype = RegExp.prototype; + +module.exports = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) + ? call(regExpFlags, R) : flags; +}; diff --git a/node_modules/core-js/internals/regexp-sticky-helpers.js b/node_modules/core-js/internals/regexp-sticky-helpers.js new file mode 100644 index 00000000..114069d6 --- /dev/null +++ b/node_modules/core-js/internals/regexp-sticky-helpers.js @@ -0,0 +1,31 @@ +'use strict'; +var fails = require('../internals/fails'); +var global = require('../internals/global'); + +// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError +var $RegExp = global.RegExp; + +var UNSUPPORTED_Y = fails(function () { + var re = $RegExp('a', 'y'); + re.lastIndex = 2; + return re.exec('abcd') != null; +}); + +// UC Browser bug +// https://github.com/zloirock/core-js/issues/1008 +var MISSED_STICKY = UNSUPPORTED_Y || fails(function () { + return !$RegExp('a', 'y').sticky; +}); + +var BROKEN_CARET = UNSUPPORTED_Y || fails(function () { + // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 + var re = $RegExp('^r', 'gy'); + re.lastIndex = 2; + return re.exec('str') != null; +}); + +module.exports = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY, + UNSUPPORTED_Y: UNSUPPORTED_Y +}; diff --git a/node_modules/core-js/internals/regexp-unsupported-dot-all.js b/node_modules/core-js/internals/regexp-unsupported-dot-all.js new file mode 100644 index 00000000..266ae1b1 --- /dev/null +++ b/node_modules/core-js/internals/regexp-unsupported-dot-all.js @@ -0,0 +1,11 @@ +'use strict'; +var fails = require('../internals/fails'); +var global = require('../internals/global'); + +// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('.', 's'); + return !(re.dotAll && re.exec('\n') && re.flags === 's'); +}); diff --git a/node_modules/core-js/internals/regexp-unsupported-ncg.js b/node_modules/core-js/internals/regexp-unsupported-ncg.js new file mode 100644 index 00000000..09b581ce --- /dev/null +++ b/node_modules/core-js/internals/regexp-unsupported-ncg.js @@ -0,0 +1,12 @@ +'use strict'; +var fails = require('../internals/fails'); +var global = require('../internals/global'); + +// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError +var $RegExp = global.RegExp; + +module.exports = fails(function () { + var re = $RegExp('(?b)', 'g'); + return re.exec('b').groups.a !== 'b' || + 'b'.replace(re, '$c') !== 'bc'; +}); diff --git a/node_modules/core-js/internals/require-object-coercible.js b/node_modules/core-js/internals/require-object-coercible.js new file mode 100644 index 00000000..f96ba645 --- /dev/null +++ b/node_modules/core-js/internals/require-object-coercible.js @@ -0,0 +1,11 @@ +'use strict'; +var isNullOrUndefined = require('../internals/is-null-or-undefined'); + +var $TypeError = TypeError; + +// `RequireObjectCoercible` abstract operation +// https://tc39.es/ecma262/#sec-requireobjectcoercible +module.exports = function (it) { + if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it); + return it; +}; diff --git a/node_modules/core-js/internals/same-value-zero.js b/node_modules/core-js/internals/same-value-zero.js new file mode 100644 index 00000000..0915f32f --- /dev/null +++ b/node_modules/core-js/internals/same-value-zero.js @@ -0,0 +1,7 @@ +'use strict'; +// `SameValueZero` abstract operation +// https://tc39.es/ecma262/#sec-samevaluezero +module.exports = function (x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y || x != x && y != y; +}; diff --git a/node_modules/core-js/internals/same-value.js b/node_modules/core-js/internals/same-value.js new file mode 100644 index 00000000..72661ccd --- /dev/null +++ b/node_modules/core-js/internals/same-value.js @@ -0,0 +1,8 @@ +'use strict'; +// `SameValue` abstract operation +// https://tc39.es/ecma262/#sec-samevalue +// eslint-disable-next-line es/no-object-is -- safe +module.exports = Object.is || function is(x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; +}; diff --git a/node_modules/core-js/internals/schedulers-fix.js b/node_modules/core-js/internals/schedulers-fix.js new file mode 100644 index 00000000..2d38413e --- /dev/null +++ b/node_modules/core-js/internals/schedulers-fix.js @@ -0,0 +1,31 @@ +'use strict'; +var global = require('../internals/global'); +var apply = require('../internals/function-apply'); +var isCallable = require('../internals/is-callable'); +var ENGINE_IS_BUN = require('../internals/engine-is-bun'); +var USER_AGENT = require('../internals/engine-user-agent'); +var arraySlice = require('../internals/array-slice'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); + +var Function = global.Function; +// dirty IE9- and Bun 0.3.0- checks +var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () { + var version = global.Bun.version.split('.'); + return version.length < 3 || version[0] == 0 && (version[1] < 3 || version[1] == 3 && version[2] == 0); +})(); + +// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix +// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers +// https://github.com/oven-sh/bun/issues/1633 +module.exports = function (scheduler, hasTimeArg) { + var firstParamIndex = hasTimeArg ? 2 : 1; + return WRAP ? function (handler, timeout /* , ...arguments */) { + var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex; + var fn = isCallable(handler) ? handler : Function(handler); + var params = boundArgs ? arraySlice(arguments, firstParamIndex) : []; + var callback = boundArgs ? function () { + apply(fn, this, params); + } : fn; + return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback); + } : scheduler; +}; diff --git a/node_modules/core-js/internals/set-clone.js b/node_modules/core-js/internals/set-clone.js new file mode 100644 index 00000000..07329f43 --- /dev/null +++ b/node_modules/core-js/internals/set-clone.js @@ -0,0 +1,14 @@ +'use strict'; +var SetHelpers = require('../internals/set-helpers'); +var iterate = require('../internals/set-iterate'); + +var Set = SetHelpers.Set; +var add = SetHelpers.add; + +module.exports = function (set) { + var result = new Set(); + iterate(set, function (it) { + add(result, it); + }); + return result; +}; diff --git a/node_modules/core-js/internals/set-difference.js b/node_modules/core-js/internals/set-difference.js new file mode 100644 index 00000000..cb215425 --- /dev/null +++ b/node_modules/core-js/internals/set-difference.js @@ -0,0 +1,26 @@ +'use strict'; +var aSet = require('../internals/a-set'); +var SetHelpers = require('../internals/set-helpers'); +var clone = require('../internals/set-clone'); +var size = require('../internals/set-size'); +var getSetRecord = require('../internals/get-set-record'); +var iterateSet = require('../internals/set-iterate'); +var iterateSimple = require('../internals/iterate-simple'); + +var has = SetHelpers.has; +var remove = SetHelpers.remove; + +// `Set.prototype.difference` method +// https://github.com/tc39/proposal-set-methods +module.exports = function difference(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + var result = clone(O); + if (size(O) <= otherRec.size) iterateSet(O, function (e) { + if (otherRec.includes(e)) remove(result, e); + }); + else iterateSimple(otherRec.getIterator(), function (e) { + if (has(O, e)) remove(result, e); + }); + return result; +}; diff --git a/node_modules/core-js/internals/set-helpers.js b/node_modules/core-js/internals/set-helpers.js new file mode 100644 index 00000000..f4749870 --- /dev/null +++ b/node_modules/core-js/internals/set-helpers.js @@ -0,0 +1,14 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +// eslint-disable-next-line es/no-set -- safe +var SetPrototype = Set.prototype; + +module.exports = { + // eslint-disable-next-line es/no-set -- safe + Set: Set, + add: uncurryThis(SetPrototype.add), + has: uncurryThis(SetPrototype.has), + remove: uncurryThis(SetPrototype['delete']), + proto: SetPrototype +}; diff --git a/node_modules/core-js/internals/set-intersection.js b/node_modules/core-js/internals/set-intersection.js new file mode 100644 index 00000000..fd926f2a --- /dev/null +++ b/node_modules/core-js/internals/set-intersection.js @@ -0,0 +1,31 @@ +'use strict'; +var aSet = require('../internals/a-set'); +var SetHelpers = require('../internals/set-helpers'); +var size = require('../internals/set-size'); +var getSetRecord = require('../internals/get-set-record'); +var iterateSet = require('../internals/set-iterate'); +var iterateSimple = require('../internals/iterate-simple'); + +var Set = SetHelpers.Set; +var add = SetHelpers.add; +var has = SetHelpers.has; + +// `Set.prototype.intersection` method +// https://github.com/tc39/proposal-set-methods +module.exports = function intersection(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + var result = new Set(); + + if (size(O) > otherRec.size) { + iterateSimple(otherRec.getIterator(), function (e) { + if (has(O, e)) add(result, e); + }); + } else { + iterateSet(O, function (e) { + if (otherRec.includes(e)) add(result, e); + }); + } + + return result; +}; diff --git a/node_modules/core-js/internals/set-is-disjoint-from.js b/node_modules/core-js/internals/set-is-disjoint-from.js new file mode 100644 index 00000000..9f3c7b5c --- /dev/null +++ b/node_modules/core-js/internals/set-is-disjoint-from.js @@ -0,0 +1,22 @@ +'use strict'; +var aSet = require('../internals/a-set'); +var has = require('../internals/set-helpers').has; +var size = require('../internals/set-size'); +var getSetRecord = require('../internals/get-set-record'); +var iterateSet = require('../internals/set-iterate'); +var iterateSimple = require('../internals/iterate-simple'); +var iteratorClose = require('../internals/iterator-close'); + +// `Set.prototype.isDisjointFrom` method +// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom +module.exports = function isDisjointFrom(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) <= otherRec.size) return iterateSet(O, function (e) { + if (otherRec.includes(e)) return false; + }, true) !== false; + var iterator = otherRec.getIterator(); + return iterateSimple(iterator, function (e) { + if (has(O, e)) return iteratorClose(iterator, 'normal', false); + }) !== false; +}; diff --git a/node_modules/core-js/internals/set-is-subset-of.js b/node_modules/core-js/internals/set-is-subset-of.js new file mode 100644 index 00000000..541c007d --- /dev/null +++ b/node_modules/core-js/internals/set-is-subset-of.js @@ -0,0 +1,16 @@ +'use strict'; +var aSet = require('../internals/a-set'); +var size = require('../internals/set-size'); +var iterate = require('../internals/set-iterate'); +var getSetRecord = require('../internals/get-set-record'); + +// `Set.prototype.isSubsetOf` method +// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf +module.exports = function isSubsetOf(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) > otherRec.size) return false; + return iterate(O, function (e) { + if (!otherRec.includes(e)) return false; + }, true) !== false; +}; diff --git a/node_modules/core-js/internals/set-is-superset-of.js b/node_modules/core-js/internals/set-is-superset-of.js new file mode 100644 index 00000000..09074248 --- /dev/null +++ b/node_modules/core-js/internals/set-is-superset-of.js @@ -0,0 +1,19 @@ +'use strict'; +var aSet = require('../internals/a-set'); +var has = require('../internals/set-helpers').has; +var size = require('../internals/set-size'); +var getSetRecord = require('../internals/get-set-record'); +var iterateSimple = require('../internals/iterate-simple'); +var iteratorClose = require('../internals/iterator-close'); + +// `Set.prototype.isSupersetOf` method +// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf +module.exports = function isSupersetOf(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) < otherRec.size) return false; + var iterator = otherRec.getIterator(); + return iterateSimple(iterator, function (e) { + if (!has(O, e)) return iteratorClose(iterator, 'normal', false); + }) !== false; +}; diff --git a/node_modules/core-js/internals/set-iterate.js b/node_modules/core-js/internals/set-iterate.js new file mode 100644 index 00000000..afbf9101 --- /dev/null +++ b/node_modules/core-js/internals/set-iterate.js @@ -0,0 +1,14 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var iterateSimple = require('../internals/iterate-simple'); +var SetHelpers = require('../internals/set-helpers'); + +var Set = SetHelpers.Set; +var SetPrototype = SetHelpers.proto; +var forEach = uncurryThis(SetPrototype.forEach); +var keys = uncurryThis(SetPrototype.keys); +var next = keys(new Set()).next; + +module.exports = function (set, fn, interruptible) { + return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn); +}; diff --git a/node_modules/core-js/internals/set-method-accept-set-like.js b/node_modules/core-js/internals/set-method-accept-set-like.js new file mode 100644 index 00000000..67908797 --- /dev/null +++ b/node_modules/core-js/internals/set-method-accept-set-like.js @@ -0,0 +1,35 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); + +var createSetLike = function (size) { + return { + size: size, + has: function () { + return false; + }, + keys: function () { + return { + next: function () { + return { done: true }; + } + }; + } + }; +}; + +module.exports = function (name) { + var Set = getBuiltIn('Set'); + try { + new Set()[name](createSetLike(0)); + try { + // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it + // https://github.com/tc39/proposal-set-methods/pull/88 + new Set()[name](createSetLike(-1)); + return false; + } catch (error2) { + return true; + } + } catch (error) { + return false; + } +}; diff --git a/node_modules/core-js/internals/set-size.js b/node_modules/core-js/internals/set-size.js new file mode 100644 index 00000000..19df5c8f --- /dev/null +++ b/node_modules/core-js/internals/set-size.js @@ -0,0 +1,7 @@ +'use strict'; +var uncurryThisAccessor = require('../internals/function-uncurry-this-accessor'); +var SetHelpers = require('../internals/set-helpers'); + +module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) { + return set.size; +}; diff --git a/node_modules/core-js/internals/set-species.js b/node_modules/core-js/internals/set-species.js new file mode 100644 index 00000000..fd92a4de --- /dev/null +++ b/node_modules/core-js/internals/set-species.js @@ -0,0 +1,18 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var DESCRIPTORS = require('../internals/descriptors'); + +var SPECIES = wellKnownSymbol('species'); + +module.exports = function (CONSTRUCTOR_NAME) { + var Constructor = getBuiltIn(CONSTRUCTOR_NAME); + + if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { + defineBuiltInAccessor(Constructor, SPECIES, { + configurable: true, + get: function () { return this; } + }); + } +}; diff --git a/node_modules/core-js/internals/set-symmetric-difference.js b/node_modules/core-js/internals/set-symmetric-difference.js new file mode 100644 index 00000000..acd1c461 --- /dev/null +++ b/node_modules/core-js/internals/set-symmetric-difference.js @@ -0,0 +1,23 @@ +'use strict'; +var aSet = require('../internals/a-set'); +var SetHelpers = require('../internals/set-helpers'); +var clone = require('../internals/set-clone'); +var getSetRecord = require('../internals/get-set-record'); +var iterateSimple = require('../internals/iterate-simple'); + +var add = SetHelpers.add; +var has = SetHelpers.has; +var remove = SetHelpers.remove; + +// `Set.prototype.symmetricDifference` method +// https://github.com/tc39/proposal-set-methods +module.exports = function symmetricDifference(other) { + var O = aSet(this); + var keysIter = getSetRecord(other).getIterator(); + var result = clone(O); + iterateSimple(keysIter, function (e) { + if (has(O, e)) remove(result, e); + else add(result, e); + }); + return result; +}; diff --git a/node_modules/core-js/internals/set-to-string-tag.js b/node_modules/core-js/internals/set-to-string-tag.js new file mode 100644 index 00000000..1dd00528 --- /dev/null +++ b/node_modules/core-js/internals/set-to-string-tag.js @@ -0,0 +1,13 @@ +'use strict'; +var defineProperty = require('../internals/object-define-property').f; +var hasOwn = require('../internals/has-own-property'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + +module.exports = function (target, TAG, STATIC) { + if (target && !STATIC) target = target.prototype; + if (target && !hasOwn(target, TO_STRING_TAG)) { + defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); + } +}; diff --git a/node_modules/core-js/internals/set-union.js b/node_modules/core-js/internals/set-union.js new file mode 100644 index 00000000..51e38d0c --- /dev/null +++ b/node_modules/core-js/internals/set-union.js @@ -0,0 +1,18 @@ +'use strict'; +var aSet = require('../internals/a-set'); +var add = require('../internals/set-helpers').add; +var clone = require('../internals/set-clone'); +var getSetRecord = require('../internals/get-set-record'); +var iterateSimple = require('../internals/iterate-simple'); + +// `Set.prototype.union` method +// https://github.com/tc39/proposal-set-methods +module.exports = function union(other) { + var O = aSet(this); + var keysIter = getSetRecord(other).getIterator(); + var result = clone(O); + iterateSimple(keysIter, function (it) { + add(result, it); + }); + return result; +}; diff --git a/node_modules/core-js/internals/shared-key.js b/node_modules/core-js/internals/shared-key.js new file mode 100644 index 00000000..157f98e5 --- /dev/null +++ b/node_modules/core-js/internals/shared-key.js @@ -0,0 +1,9 @@ +'use strict'; +var shared = require('../internals/shared'); +var uid = require('../internals/uid'); + +var keys = shared('keys'); + +module.exports = function (key) { + return keys[key] || (keys[key] = uid(key)); +}; diff --git a/node_modules/core-js/internals/shared-store.js b/node_modules/core-js/internals/shared-store.js new file mode 100644 index 00000000..2a0f7d64 --- /dev/null +++ b/node_modules/core-js/internals/shared-store.js @@ -0,0 +1,8 @@ +'use strict'; +var global = require('../internals/global'); +var defineGlobalProperty = require('../internals/define-global-property'); + +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || defineGlobalProperty(SHARED, {}); + +module.exports = store; diff --git a/node_modules/core-js/internals/shared.js b/node_modules/core-js/internals/shared.js new file mode 100644 index 00000000..8157f214 --- /dev/null +++ b/node_modules/core-js/internals/shared.js @@ -0,0 +1,13 @@ +'use strict'; +var IS_PURE = require('../internals/is-pure'); +var store = require('../internals/shared-store'); + +(module.exports = function (key, value) { + return store[key] || (store[key] = value !== undefined ? value : {}); +})('versions', []).push({ + version: '3.32.0', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE', + source: 'https://github.com/zloirock/core-js' +}); diff --git a/node_modules/core-js/internals/species-constructor.js b/node_modules/core-js/internals/species-constructor.js new file mode 100644 index 00000000..5627cde6 --- /dev/null +++ b/node_modules/core-js/internals/species-constructor.js @@ -0,0 +1,15 @@ +'use strict'; +var anObject = require('../internals/an-object'); +var aConstructor = require('../internals/a-constructor'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var SPECIES = wellKnownSymbol('species'); + +// `SpeciesConstructor` abstract operation +// https://tc39.es/ecma262/#sec-speciesconstructor +module.exports = function (O, defaultConstructor) { + var C = anObject(O).constructor; + var S; + return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S); +}; diff --git a/node_modules/core-js/internals/string-cooked.js b/node_modules/core-js/internals/string-cooked.js new file mode 100644 index 00000000..488633c9 --- /dev/null +++ b/node_modules/core-js/internals/string-cooked.js @@ -0,0 +1,27 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var toIndexedObject = require('../internals/to-indexed-object'); +var toString = require('../internals/to-string'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); + +var $TypeError = TypeError; +var push = uncurryThis([].push); +var join = uncurryThis([].join); + +// `String.cooked` method +// https://tc39.es/proposal-string-cooked/ +module.exports = function cooked(template /* , ...substitutions */) { + var cookedTemplate = toIndexedObject(template); + var literalSegments = lengthOfArrayLike(cookedTemplate); + if (!literalSegments) return ''; + var argumentsLength = arguments.length; + var elements = []; + var i = 0; + while (true) { + var nextVal = cookedTemplate[i++]; + if (nextVal === undefined) throw $TypeError('Incorrect template'); + push(elements, toString(nextVal)); + if (i === literalSegments) return join(elements, ''); + if (i < argumentsLength) push(elements, toString(arguments[i])); + } +}; diff --git a/node_modules/core-js/internals/string-html-forced.js b/node_modules/core-js/internals/string-html-forced.js new file mode 100644 index 00000000..d6470d04 --- /dev/null +++ b/node_modules/core-js/internals/string-html-forced.js @@ -0,0 +1,11 @@ +'use strict'; +var fails = require('../internals/fails'); + +// check the existence of a method, lowercase +// of a tag and escaping quotes in arguments +module.exports = function (METHOD_NAME) { + return fails(function () { + var test = ''[METHOD_NAME]('"'); + return test !== test.toLowerCase() || test.split('"').length > 3; + }); +}; diff --git a/node_modules/core-js/internals/string-multibyte.js b/node_modules/core-js/internals/string-multibyte.js new file mode 100644 index 00000000..d4093a7a --- /dev/null +++ b/node_modules/core-js/internals/string-multibyte.js @@ -0,0 +1,37 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toString = require('../internals/to-string'); +var requireObjectCoercible = require('../internals/require-object-coercible'); + +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var stringSlice = uncurryThis(''.slice); + +var createMethod = function (CONVERT_TO_STRING) { + return function ($this, pos) { + var S = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); + var size = S.length; + var first, second; + if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; + first = charCodeAt(S, position); + return first < 0xD800 || first > 0xDBFF || position + 1 === size + || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING + ? charAt(S, position) + : first + : CONVERT_TO_STRING + ? stringSlice(S, position, position + 2) + : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + }; +}; + +module.exports = { + // `String.prototype.codePointAt` method + // https://tc39.es/ecma262/#sec-string.prototype.codepointat + codeAt: createMethod(false), + // `String.prototype.at` method + // https://github.com/mathiasbynens/String.prototype.at + charAt: createMethod(true) +}; diff --git a/node_modules/core-js/internals/string-pad-webkit-bug.js b/node_modules/core-js/internals/string-pad-webkit-bug.js new file mode 100644 index 00000000..0f6ae013 --- /dev/null +++ b/node_modules/core-js/internals/string-pad-webkit-bug.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/zloirock/core-js/issues/280 +var userAgent = require('../internals/engine-user-agent'); + +module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent); diff --git a/node_modules/core-js/internals/string-pad.js b/node_modules/core-js/internals/string-pad.js new file mode 100644 index 00000000..d978d5b2 --- /dev/null +++ b/node_modules/core-js/internals/string-pad.js @@ -0,0 +1,36 @@ +'use strict'; +// https://github.com/tc39/proposal-string-pad-start-end +var uncurryThis = require('../internals/function-uncurry-this'); +var toLength = require('../internals/to-length'); +var toString = require('../internals/to-string'); +var $repeat = require('../internals/string-repeat'); +var requireObjectCoercible = require('../internals/require-object-coercible'); + +var repeat = uncurryThis($repeat); +var stringSlice = uncurryThis(''.slice); +var ceil = Math.ceil; + +// `String.prototype.{ padStart, padEnd }` methods implementation +var createMethod = function (IS_END) { + return function ($this, maxLength, fillString) { + var S = toString(requireObjectCoercible($this)); + var intMaxLength = toLength(maxLength); + var stringLength = S.length; + var fillStr = fillString === undefined ? ' ' : toString(fillString); + var fillLen, stringFiller; + if (intMaxLength <= stringLength || fillStr == '') return S; + fillLen = intMaxLength - stringLength; + stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length)); + if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen); + return IS_END ? S + stringFiller : stringFiller + S; + }; +}; + +module.exports = { + // `String.prototype.padStart` method + // https://tc39.es/ecma262/#sec-string.prototype.padstart + start: createMethod(false), + // `String.prototype.padEnd` method + // https://tc39.es/ecma262/#sec-string.prototype.padend + end: createMethod(true) +}; diff --git a/node_modules/core-js/internals/string-parse.js b/node_modules/core-js/internals/string-parse.js new file mode 100644 index 00000000..e7196f4d --- /dev/null +++ b/node_modules/core-js/internals/string-parse.js @@ -0,0 +1,119 @@ +'use strict'; +// adapted from https://github.com/jridgewell/string-dedent +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); + +var fromCharCode = String.fromCharCode; +var fromCodePoint = getBuiltIn('String', 'fromCodePoint'); +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var stringIndexOf = uncurryThis(''.indexOf); +var stringSlice = uncurryThis(''.slice); + +var ZERO_CODE = 48; +var NINE_CODE = 57; +var LOWER_A_CODE = 97; +var LOWER_F_CODE = 102; +var UPPER_A_CODE = 65; +var UPPER_F_CODE = 70; + +var isDigit = function (str, index) { + var c = charCodeAt(str, index); + return c >= ZERO_CODE && c <= NINE_CODE; +}; + +var parseHex = function (str, index, end) { + if (end >= str.length) return -1; + var n = 0; + for (; index < end; index++) { + var c = hexToInt(charCodeAt(str, index)); + if (c === -1) return -1; + n = n * 16 + c; + } + return n; +}; + +var hexToInt = function (c) { + if (c >= ZERO_CODE && c <= NINE_CODE) return c - ZERO_CODE; + if (c >= LOWER_A_CODE && c <= LOWER_F_CODE) return c - LOWER_A_CODE + 10; + if (c >= UPPER_A_CODE && c <= UPPER_F_CODE) return c - UPPER_A_CODE + 10; + return -1; +}; + +module.exports = function (raw) { + var out = ''; + var start = 0; + // We need to find every backslash escape sequence, and cook the escape into a real char. + var i = 0; + var n; + while ((i = stringIndexOf(raw, '\\', i)) > -1) { + out += stringSlice(raw, start, i); + // If the backslash is the last char of the string, then it was an invalid sequence. + // This can't actually happen in a tagged template literal, but could happen if you manually + // invoked the tag with an array. + if (++i === raw.length) return; + var next = charAt(raw, i++); + switch (next) { + // Escaped control codes need to be individually processed. + case 'b': + out += '\b'; + break; + case 't': + out += '\t'; + break; + case 'n': + out += '\n'; + break; + case 'v': + out += '\v'; + break; + case 'f': + out += '\f'; + break; + case 'r': + out += '\r'; + break; + // Escaped line terminators just skip the char. + case '\r': + // Treat `\r\n` as a single terminator. + if (i < raw.length && charAt(raw, i) === '\n') ++i; + // break omitted + case '\n': + case '\u2028': + case '\u2029': + break; + // `\0` is a null control char, but `\0` followed by another digit is an illegal octal escape. + case '0': + if (isDigit(raw, i)) return; + out += '\0'; + break; + // Hex escapes must contain 2 hex chars. + case 'x': + n = parseHex(raw, i, i + 2); + if (n === -1) return; + i += 2; + out += fromCharCode(n); + break; + // Unicode escapes contain either 4 chars, or an unlimited number between `{` and `}`. + // The hex value must not overflow 0x10FFFF. + case 'u': + if (i < raw.length && charAt(raw, i) === '{') { + var end = stringIndexOf(raw, '}', ++i); + if (end === -1) return; + n = parseHex(raw, i, end); + i = end + 1; + } else { + n = parseHex(raw, i, i + 4); + i += 4; + } + if (n === -1 || n > 0x10FFFF) return; + out += fromCodePoint(n); + break; + default: + if (isDigit(next, 0)) return; + out += next; + } + start = i; + } + return out + stringSlice(raw, start); +}; diff --git a/node_modules/core-js/internals/string-punycode-to-ascii.js b/node_modules/core-js/internals/string-punycode-to-ascii.js new file mode 100644 index 00000000..d0e26501 --- /dev/null +++ b/node_modules/core-js/internals/string-punycode-to-ascii.js @@ -0,0 +1,181 @@ +'use strict'; +// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js +var uncurryThis = require('../internals/function-uncurry-this'); + +var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1 +var base = 36; +var tMin = 1; +var tMax = 26; +var skew = 38; +var damp = 700; +var initialBias = 72; +var initialN = 128; // 0x80 +var delimiter = '-'; // '\x2D' +var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars +var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators +var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process'; +var baseMinusTMin = base - tMin; + +var $RangeError = RangeError; +var exec = uncurryThis(regexSeparators.exec); +var floor = Math.floor; +var fromCharCode = String.fromCharCode; +var charCodeAt = uncurryThis(''.charCodeAt); +var join = uncurryThis([].join); +var push = uncurryThis([].push); +var replace = uncurryThis(''.replace); +var split = uncurryThis(''.split); +var toLowerCase = uncurryThis(''.toLowerCase); + +/** + * Creates an array containing the numeric code points of each Unicode + * character in the string. While JavaScript uses UCS-2 internally, + * this function will convert a pair of surrogate halves (each of which + * UCS-2 exposes as separate characters) into a single code point, + * matching UTF-16. + */ +var ucs2decode = function (string) { + var output = []; + var counter = 0; + var length = string.length; + while (counter < length) { + var value = charCodeAt(string, counter++); + if (value >= 0xD800 && value <= 0xDBFF && counter < length) { + // It's a high surrogate, and there is a next character. + var extra = charCodeAt(string, counter++); + if ((extra & 0xFC00) == 0xDC00) { // Low surrogate. + push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); + } else { + // It's an unmatched surrogate; only append this code unit, in case the + // next code unit is the high surrogate of a surrogate pair. + push(output, value); + counter--; + } + } else { + push(output, value); + } + } + return output; +}; + +/** + * Converts a digit/integer into a basic code point. + */ +var digitToBasic = function (digit) { + // 0..25 map to ASCII a..z or A..Z + // 26..35 map to ASCII 0..9 + return digit + 22 + 75 * (digit < 26); +}; + +/** + * Bias adaptation function as per section 3.4 of RFC 3492. + * https://tools.ietf.org/html/rfc3492#section-3.4 + */ +var adapt = function (delta, numPoints, firstTime) { + var k = 0; + delta = firstTime ? floor(delta / damp) : delta >> 1; + delta += floor(delta / numPoints); + while (delta > baseMinusTMin * tMax >> 1) { + delta = floor(delta / baseMinusTMin); + k += base; + } + return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); +}; + +/** + * Converts a string of Unicode symbols (e.g. a domain name label) to a + * Punycode string of ASCII-only symbols. + */ +var encode = function (input) { + var output = []; + + // Convert the input in UCS-2 to an array of Unicode code points. + input = ucs2decode(input); + + // Cache the length. + var inputLength = input.length; + + // Initialize the state. + var n = initialN; + var delta = 0; + var bias = initialBias; + var i, currentValue; + + // Handle the basic code points. + for (i = 0; i < input.length; i++) { + currentValue = input[i]; + if (currentValue < 0x80) { + push(output, fromCharCode(currentValue)); + } + } + + var basicLength = output.length; // number of basic code points. + var handledCPCount = basicLength; // number of code points that have been handled; + + // Finish the basic string with a delimiter unless it's empty. + if (basicLength) { + push(output, delimiter); + } + + // Main encoding loop: + while (handledCPCount < inputLength) { + // All non-basic code points < n have been handled already. Find the next larger one: + var m = maxInt; + for (i = 0; i < input.length; i++) { + currentValue = input[i]; + if (currentValue >= n && currentValue < m) { + m = currentValue; + } + } + + // Increase `delta` enough to advance the decoder's state to , but guard against overflow. + var handledCPCountPlusOne = handledCPCount + 1; + if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { + throw $RangeError(OVERFLOW_ERROR); + } + + delta += (m - n) * handledCPCountPlusOne; + n = m; + + for (i = 0; i < input.length; i++) { + currentValue = input[i]; + if (currentValue < n && ++delta > maxInt) { + throw $RangeError(OVERFLOW_ERROR); + } + if (currentValue == n) { + // Represent delta as a generalized variable-length integer. + var q = delta; + var k = base; + while (true) { + var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); + if (q < t) break; + var qMinusT = q - t; + var baseMinusT = base - t; + push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT))); + q = floor(qMinusT / baseMinusT); + k += base; + } + + push(output, fromCharCode(digitToBasic(q))); + bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); + delta = 0; + handledCPCount++; + } + } + + delta++; + n++; + } + return join(output, ''); +}; + +module.exports = function (input) { + var encoded = []; + var labels = split(replace(toLowerCase(input), regexSeparators, '\u002E'), '.'); + var i, label; + for (i = 0; i < labels.length; i++) { + label = labels[i]; + push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label); + } + return join(encoded, '.'); +}; diff --git a/node_modules/core-js/internals/string-repeat.js b/node_modules/core-js/internals/string-repeat.js new file mode 100644 index 00000000..3f7c08f7 --- /dev/null +++ b/node_modules/core-js/internals/string-repeat.js @@ -0,0 +1,17 @@ +'use strict'; +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toString = require('../internals/to-string'); +var requireObjectCoercible = require('../internals/require-object-coercible'); + +var $RangeError = RangeError; + +// `String.prototype.repeat` method implementation +// https://tc39.es/ecma262/#sec-string.prototype.repeat +module.exports = function repeat(count) { + var str = toString(requireObjectCoercible(this)); + var result = ''; + var n = toIntegerOrInfinity(count); + if (n < 0 || n == Infinity) throw $RangeError('Wrong number of repetitions'); + for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; + return result; +}; diff --git a/node_modules/core-js/internals/string-trim-end.js b/node_modules/core-js/internals/string-trim-end.js new file mode 100644 index 00000000..a57c7d68 --- /dev/null +++ b/node_modules/core-js/internals/string-trim-end.js @@ -0,0 +1,11 @@ +'use strict'; +var $trimEnd = require('../internals/string-trim').end; +var forcedStringTrimMethod = require('../internals/string-trim-forced'); + +// `String.prototype.{ trimEnd, trimRight }` method +// https://tc39.es/ecma262/#sec-string.prototype.trimend +// https://tc39.es/ecma262/#String.prototype.trimright +module.exports = forcedStringTrimMethod('trimEnd') ? function trimEnd() { + return $trimEnd(this); +// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe +} : ''.trimEnd; diff --git a/node_modules/core-js/internals/string-trim-forced.js b/node_modules/core-js/internals/string-trim-forced.js new file mode 100644 index 00000000..86b71609 --- /dev/null +++ b/node_modules/core-js/internals/string-trim-forced.js @@ -0,0 +1,16 @@ +'use strict'; +var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER; +var fails = require('../internals/fails'); +var whitespaces = require('../internals/whitespaces'); + +var non = '\u200B\u0085\u180E'; + +// check that a method works with the correct list +// of whitespaces and has a correct name +module.exports = function (METHOD_NAME) { + return fails(function () { + return !!whitespaces[METHOD_NAME]() + || non[METHOD_NAME]() !== non + || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME); + }); +}; diff --git a/node_modules/core-js/internals/string-trim-start.js b/node_modules/core-js/internals/string-trim-start.js new file mode 100644 index 00000000..b1e16cfc --- /dev/null +++ b/node_modules/core-js/internals/string-trim-start.js @@ -0,0 +1,11 @@ +'use strict'; +var $trimStart = require('../internals/string-trim').start; +var forcedStringTrimMethod = require('../internals/string-trim-forced'); + +// `String.prototype.{ trimStart, trimLeft }` method +// https://tc39.es/ecma262/#sec-string.prototype.trimstart +// https://tc39.es/ecma262/#String.prototype.trimleft +module.exports = forcedStringTrimMethod('trimStart') ? function trimStart() { + return $trimStart(this); +// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe +} : ''.trimStart; diff --git a/node_modules/core-js/internals/string-trim.js b/node_modules/core-js/internals/string-trim.js new file mode 100644 index 00000000..01379b55 --- /dev/null +++ b/node_modules/core-js/internals/string-trim.js @@ -0,0 +1,31 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toString = require('../internals/to-string'); +var whitespaces = require('../internals/whitespaces'); + +var replace = uncurryThis(''.replace); +var ltrim = RegExp('^[' + whitespaces + ']+'); +var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$'); + +// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation +var createMethod = function (TYPE) { + return function ($this) { + var string = toString(requireObjectCoercible($this)); + if (TYPE & 1) string = replace(string, ltrim, ''); + if (TYPE & 2) string = replace(string, rtrim, '$1'); + return string; + }; +}; + +module.exports = { + // `String.prototype.{ trimLeft, trimStart }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimstart + start: createMethod(1), + // `String.prototype.{ trimRight, trimEnd }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimend + end: createMethod(2), + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + trim: createMethod(3) +}; diff --git a/node_modules/core-js/internals/structured-clone-proper-transfer.js b/node_modules/core-js/internals/structured-clone-proper-transfer.js new file mode 100644 index 00000000..156ba910 --- /dev/null +++ b/node_modules/core-js/internals/structured-clone-proper-transfer.js @@ -0,0 +1,18 @@ +'use strict'; +var global = require('../internals/global'); +var fails = require('../internals/fails'); +var V8 = require('../internals/engine-v8-version'); +var IS_BROWSER = require('../internals/engine-is-browser'); +var IS_DENO = require('../internals/engine-is-deno'); +var IS_NODE = require('../internals/engine-is-node'); + +var structuredClone = global.structuredClone; + +module.exports = !!structuredClone && !fails(function () { + // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false; + var buffer = new ArrayBuffer(8); + var clone = structuredClone(buffer, { transfer: [buffer] }); + return buffer.byteLength != 0 || clone.byteLength != 8; +}); diff --git a/node_modules/core-js/internals/symbol-constructor-detection.js b/node_modules/core-js/internals/symbol-constructor-detection.js new file mode 100644 index 00000000..835bc993 --- /dev/null +++ b/node_modules/core-js/internals/symbol-constructor-detection.js @@ -0,0 +1,19 @@ +'use strict'; +/* eslint-disable es/no-symbol -- required for testing */ +var V8_VERSION = require('../internals/engine-v8-version'); +var fails = require('../internals/fails'); +var global = require('../internals/global'); + +var $String = global.String; + +// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing +module.exports = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol(); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, + // of course, fail. + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; +}); diff --git a/node_modules/core-js/internals/symbol-define-to-primitive.js b/node_modules/core-js/internals/symbol-define-to-primitive.js new file mode 100644 index 00000000..67fb7856 --- /dev/null +++ b/node_modules/core-js/internals/symbol-define-to-primitive.js @@ -0,0 +1,21 @@ +'use strict'; +var call = require('../internals/function-call'); +var getBuiltIn = require('../internals/get-built-in'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var defineBuiltIn = require('../internals/define-built-in'); + +module.exports = function () { + var Symbol = getBuiltIn('Symbol'); + var SymbolPrototype = Symbol && Symbol.prototype; + var valueOf = SymbolPrototype && SymbolPrototype.valueOf; + var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + + if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) { + // `Symbol.prototype[@@toPrimitive]` method + // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive + // eslint-disable-next-line no-unused-vars -- required for .length + defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) { + return call(valueOf, this); + }, { arity: 1 }); + } +}; diff --git a/node_modules/core-js/internals/symbol-is-registered.js b/node_modules/core-js/internals/symbol-is-registered.js new file mode 100644 index 00000000..9c35d700 --- /dev/null +++ b/node_modules/core-js/internals/symbol-is-registered.js @@ -0,0 +1,17 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); + +var Symbol = getBuiltIn('Symbol'); +var keyFor = Symbol.keyFor; +var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf); + +// `Symbol.isRegisteredSymbol` method +// https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol +module.exports = Symbol.isRegisteredSymbol || function isRegisteredSymbol(value) { + try { + return keyFor(thisSymbolValue(value)) !== undefined; + } catch (error) { + return false; + } +}; diff --git a/node_modules/core-js/internals/symbol-is-well-known.js b/node_modules/core-js/internals/symbol-is-well-known.js new file mode 100644 index 00000000..691b7099 --- /dev/null +++ b/node_modules/core-js/internals/symbol-is-well-known.js @@ -0,0 +1,34 @@ +'use strict'; +var shared = require('../internals/shared'); +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var isSymbol = require('../internals/is-symbol'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var Symbol = getBuiltIn('Symbol'); +var $isWellKnownSymbol = Symbol.isWellKnownSymbol; +var getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames'); +var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf); +var WellKnownSymbolsStore = shared('wks'); + +for (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) { + // some old engines throws on access to some keys like `arguments` or `caller` + try { + var symbolKey = symbolKeys[i]; + if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey); + } catch (error) { /* empty */ } +} + +// `Symbol.isWellKnownSymbol` method +// https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol +// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected +module.exports = function isWellKnownSymbol(value) { + if ($isWellKnownSymbol && $isWellKnownSymbol(value)) return true; + try { + var symbol = thisSymbolValue(value); + for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) { + if (WellKnownSymbolsStore[keys[j]] == symbol) return true; + } + } catch (error) { /* empty */ } + return false; +}; diff --git a/node_modules/core-js/internals/symbol-registry-detection.js b/node_modules/core-js/internals/symbol-registry-detection.js new file mode 100644 index 00000000..d6fec445 --- /dev/null +++ b/node_modules/core-js/internals/symbol-registry-detection.js @@ -0,0 +1,5 @@ +'use strict'; +var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection'); + +/* eslint-disable es/no-symbol -- safe */ +module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor; diff --git a/node_modules/core-js/internals/task.js b/node_modules/core-js/internals/task.js new file mode 100644 index 00000000..d961f408 --- /dev/null +++ b/node_modules/core-js/internals/task.js @@ -0,0 +1,117 @@ +'use strict'; +var global = require('../internals/global'); +var apply = require('../internals/function-apply'); +var bind = require('../internals/function-bind-context'); +var isCallable = require('../internals/is-callable'); +var hasOwn = require('../internals/has-own-property'); +var fails = require('../internals/fails'); +var html = require('../internals/html'); +var arraySlice = require('../internals/array-slice'); +var createElement = require('../internals/document-create-element'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); +var IS_IOS = require('../internals/engine-is-ios'); +var IS_NODE = require('../internals/engine-is-node'); + +var set = global.setImmediate; +var clear = global.clearImmediate; +var process = global.process; +var Dispatch = global.Dispatch; +var Function = global.Function; +var MessageChannel = global.MessageChannel; +var String = global.String; +var counter = 0; +var queue = {}; +var ONREADYSTATECHANGE = 'onreadystatechange'; +var $location, defer, channel, port; + +fails(function () { + // Deno throws a ReferenceError on `location` access without `--location` flag + $location = global.location; +}); + +var run = function (id) { + if (hasOwn(queue, id)) { + var fn = queue[id]; + delete queue[id]; + fn(); + } +}; + +var runner = function (id) { + return function () { + run(id); + }; +}; + +var eventListener = function (event) { + run(event.data); +}; + +var globalPostMessageDefer = function (id) { + // old engines have not location.origin + global.postMessage(String(id), $location.protocol + '//' + $location.host); +}; + +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: +if (!set || !clear) { + set = function setImmediate(handler) { + validateArgumentsLength(arguments.length, 1); + var fn = isCallable(handler) ? handler : Function(handler); + var args = arraySlice(arguments, 1); + queue[++counter] = function () { + apply(fn, undefined, args); + }; + defer(counter); + return counter; + }; + clear = function clearImmediate(id) { + delete queue[id]; + }; + // Node.js 0.8- + if (IS_NODE) { + defer = function (id) { + process.nextTick(runner(id)); + }; + // Sphere (JS game engine) Dispatch API + } else if (Dispatch && Dispatch.now) { + defer = function (id) { + Dispatch.now(runner(id)); + }; + // Browsers with MessageChannel, includes WebWorkers + // except iOS - https://github.com/zloirock/core-js/issues/624 + } else if (MessageChannel && !IS_IOS) { + channel = new MessageChannel(); + port = channel.port2; + channel.port1.onmessage = eventListener; + defer = bind(port.postMessage, port); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if ( + global.addEventListener && + isCallable(global.postMessage) && + !global.importScripts && + $location && $location.protocol !== 'file:' && + !fails(globalPostMessageDefer) + ) { + defer = globalPostMessageDefer; + global.addEventListener('message', eventListener, false); + // IE8- + } else if (ONREADYSTATECHANGE in createElement('script')) { + defer = function (id) { + html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { + html.removeChild(this); + run(id); + }; + }; + // Rest old browsers + } else { + defer = function (id) { + setTimeout(runner(id), 0); + }; + } +} + +module.exports = { + set: set, + clear: clear +}; diff --git a/node_modules/core-js/internals/this-number-value.js b/node_modules/core-js/internals/this-number-value.js new file mode 100644 index 00000000..9bd6e3df --- /dev/null +++ b/node_modules/core-js/internals/this-number-value.js @@ -0,0 +1,6 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +// `thisNumberValue` abstract operation +// https://tc39.es/ecma262/#sec-thisnumbervalue +module.exports = uncurryThis(1.0.valueOf); diff --git a/node_modules/core-js/internals/to-absolute-index.js b/node_modules/core-js/internals/to-absolute-index.js new file mode 100644 index 00000000..11899b39 --- /dev/null +++ b/node_modules/core-js/internals/to-absolute-index.js @@ -0,0 +1,13 @@ +'use strict'; +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); + +var max = Math.max; +var min = Math.min; + +// Helper for a popular repeating case of the spec: +// Let integer be ? ToInteger(index). +// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). +module.exports = function (index, length) { + var integer = toIntegerOrInfinity(index); + return integer < 0 ? max(integer + length, 0) : min(integer, length); +}; diff --git a/node_modules/core-js/internals/to-big-int.js b/node_modules/core-js/internals/to-big-int.js new file mode 100644 index 00000000..8e0a0db4 --- /dev/null +++ b/node_modules/core-js/internals/to-big-int.js @@ -0,0 +1,13 @@ +'use strict'; +var toPrimitive = require('../internals/to-primitive'); + +var $TypeError = TypeError; + +// `ToBigInt` abstract operation +// https://tc39.es/ecma262/#sec-tobigint +module.exports = function (argument) { + var prim = toPrimitive(argument, 'number'); + if (typeof prim == 'number') throw $TypeError("Can't convert number to bigint"); + // eslint-disable-next-line es/no-bigint -- safe + return BigInt(prim); +}; diff --git a/node_modules/core-js/internals/to-index.js b/node_modules/core-js/internals/to-index.js new file mode 100644 index 00000000..03bc0d13 --- /dev/null +++ b/node_modules/core-js/internals/to-index.js @@ -0,0 +1,15 @@ +'use strict'; +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toLength = require('../internals/to-length'); + +var $RangeError = RangeError; + +// `ToIndex` abstract operation +// https://tc39.es/ecma262/#sec-toindex +module.exports = function (it) { + if (it === undefined) return 0; + var number = toIntegerOrInfinity(it); + var length = toLength(number); + if (number !== length) throw $RangeError('Wrong length or index'); + return length; +}; diff --git a/node_modules/core-js/internals/to-indexed-object.js b/node_modules/core-js/internals/to-indexed-object.js new file mode 100644 index 00000000..74d66d2b --- /dev/null +++ b/node_modules/core-js/internals/to-indexed-object.js @@ -0,0 +1,8 @@ +'use strict'; +// toObject with fallback for non-array-like ES3 strings +var IndexedObject = require('../internals/indexed-object'); +var requireObjectCoercible = require('../internals/require-object-coercible'); + +module.exports = function (it) { + return IndexedObject(requireObjectCoercible(it)); +}; diff --git a/node_modules/core-js/internals/to-integer-or-infinity.js b/node_modules/core-js/internals/to-integer-or-infinity.js new file mode 100644 index 00000000..8b277977 --- /dev/null +++ b/node_modules/core-js/internals/to-integer-or-infinity.js @@ -0,0 +1,10 @@ +'use strict'; +var trunc = require('../internals/math-trunc'); + +// `ToIntegerOrInfinity` abstract operation +// https://tc39.es/ecma262/#sec-tointegerorinfinity +module.exports = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); +}; diff --git a/node_modules/core-js/internals/to-length.js b/node_modules/core-js/internals/to-length.js new file mode 100644 index 00000000..5cf8615a --- /dev/null +++ b/node_modules/core-js/internals/to-length.js @@ -0,0 +1,10 @@ +'use strict'; +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); + +var min = Math.min; + +// `ToLength` abstract operation +// https://tc39.es/ecma262/#sec-tolength +module.exports = function (argument) { + return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 +}; diff --git a/node_modules/core-js/internals/to-object.js b/node_modules/core-js/internals/to-object.js new file mode 100644 index 00000000..e5c736ae --- /dev/null +++ b/node_modules/core-js/internals/to-object.js @@ -0,0 +1,10 @@ +'use strict'; +var requireObjectCoercible = require('../internals/require-object-coercible'); + +var $Object = Object; + +// `ToObject` abstract operation +// https://tc39.es/ecma262/#sec-toobject +module.exports = function (argument) { + return $Object(requireObjectCoercible(argument)); +}; diff --git a/node_modules/core-js/internals/to-offset.js b/node_modules/core-js/internals/to-offset.js new file mode 100644 index 00000000..d3e1b730 --- /dev/null +++ b/node_modules/core-js/internals/to-offset.js @@ -0,0 +1,10 @@ +'use strict'; +var toPositiveInteger = require('../internals/to-positive-integer'); + +var $RangeError = RangeError; + +module.exports = function (it, BYTES) { + var offset = toPositiveInteger(it); + if (offset % BYTES) throw $RangeError('Wrong offset'); + return offset; +}; diff --git a/node_modules/core-js/internals/to-positive-integer.js b/node_modules/core-js/internals/to-positive-integer.js new file mode 100644 index 00000000..606d4860 --- /dev/null +++ b/node_modules/core-js/internals/to-positive-integer.js @@ -0,0 +1,10 @@ +'use strict'; +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); + +var $RangeError = RangeError; + +module.exports = function (it) { + var result = toIntegerOrInfinity(it); + if (result < 0) throw $RangeError("The argument can't be less than 0"); + return result; +}; diff --git a/node_modules/core-js/internals/to-primitive.js b/node_modules/core-js/internals/to-primitive.js new file mode 100644 index 00000000..04b65aa4 --- /dev/null +++ b/node_modules/core-js/internals/to-primitive.js @@ -0,0 +1,26 @@ +'use strict'; +var call = require('../internals/function-call'); +var isObject = require('../internals/is-object'); +var isSymbol = require('../internals/is-symbol'); +var getMethod = require('../internals/get-method'); +var ordinaryToPrimitive = require('../internals/ordinary-to-primitive'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var $TypeError = TypeError; +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + +// `ToPrimitive` abstract operation +// https://tc39.es/ecma262/#sec-toprimitive +module.exports = function (input, pref) { + if (!isObject(input) || isSymbol(input)) return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === undefined) pref = 'default'; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) return result; + throw $TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); +}; diff --git a/node_modules/core-js/internals/to-property-key.js b/node_modules/core-js/internals/to-property-key.js new file mode 100644 index 00000000..f11cf995 --- /dev/null +++ b/node_modules/core-js/internals/to-property-key.js @@ -0,0 +1,10 @@ +'use strict'; +var toPrimitive = require('../internals/to-primitive'); +var isSymbol = require('../internals/is-symbol'); + +// `ToPropertyKey` abstract operation +// https://tc39.es/ecma262/#sec-topropertykey +module.exports = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; +}; diff --git a/node_modules/core-js/internals/to-set-like.js b/node_modules/core-js/internals/to-set-like.js new file mode 100644 index 00000000..dcdbda31 --- /dev/null +++ b/node_modules/core-js/internals/to-set-like.js @@ -0,0 +1,20 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); +var isCallable = require('../internals/is-callable'); +var isIterable = require('../internals/is-iterable'); +var isObject = require('../internals/is-object'); + +var Set = getBuiltIn('Set'); + +var isSetLike = function (it) { + return isObject(it) + && typeof it.size == 'number' + && isCallable(it.has) + && isCallable(it.keys); +}; + +// fallback old -> new set methods proposal arguments +module.exports = function (it) { + if (isSetLike(it)) return it; + return isIterable(it) ? new Set(it) : it; +}; diff --git a/node_modules/core-js/internals/to-string-tag-support.js b/node_modules/core-js/internals/to-string-tag-support.js new file mode 100644 index 00000000..916a7888 --- /dev/null +++ b/node_modules/core-js/internals/to-string-tag-support.js @@ -0,0 +1,9 @@ +'use strict'; +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var test = {}; + +test[TO_STRING_TAG] = 'z'; + +module.exports = String(test) === '[object z]'; diff --git a/node_modules/core-js/internals/to-string.js b/node_modules/core-js/internals/to-string.js new file mode 100644 index 00000000..7ced615f --- /dev/null +++ b/node_modules/core-js/internals/to-string.js @@ -0,0 +1,9 @@ +'use strict'; +var classof = require('../internals/classof'); + +var $String = String; + +module.exports = function (argument) { + if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); +}; diff --git a/node_modules/core-js/internals/to-uint8-clamped.js b/node_modules/core-js/internals/to-uint8-clamped.js new file mode 100644 index 00000000..f4bda190 --- /dev/null +++ b/node_modules/core-js/internals/to-uint8-clamped.js @@ -0,0 +1,7 @@ +'use strict'; +var round = Math.round; + +module.exports = function (it) { + var value = round(it); + return value < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; +}; diff --git a/node_modules/core-js/internals/try-node-require.js b/node_modules/core-js/internals/try-node-require.js new file mode 100644 index 00000000..4c12620c --- /dev/null +++ b/node_modules/core-js/internals/try-node-require.js @@ -0,0 +1,9 @@ +'use strict'; +var IS_NODE = require('../internals/engine-is-node'); + +module.exports = function (name) { + try { + // eslint-disable-next-line no-new-func -- safe + if (IS_NODE) return Function('return require("' + name + '")')(); + } catch (error) { /* empty */ } +}; diff --git a/node_modules/core-js/internals/try-to-string.js b/node_modules/core-js/internals/try-to-string.js new file mode 100644 index 00000000..8f2357dd --- /dev/null +++ b/node_modules/core-js/internals/try-to-string.js @@ -0,0 +1,10 @@ +'use strict'; +var $String = String; + +module.exports = function (argument) { + try { + return $String(argument); + } catch (error) { + return 'Object'; + } +}; diff --git a/node_modules/core-js/internals/typed-array-constructor.js b/node_modules/core-js/internals/typed-array-constructor.js new file mode 100644 index 00000000..4a20e7e2 --- /dev/null +++ b/node_modules/core-js/internals/typed-array-constructor.js @@ -0,0 +1,245 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var call = require('../internals/function-call'); +var DESCRIPTORS = require('../internals/descriptors'); +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var ArrayBufferModule = require('../internals/array-buffer'); +var anInstance = require('../internals/an-instance'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var isIntegralNumber = require('../internals/is-integral-number'); +var toLength = require('../internals/to-length'); +var toIndex = require('../internals/to-index'); +var toOffset = require('../internals/to-offset'); +var toUint8Clamped = require('../internals/to-uint8-clamped'); +var toPropertyKey = require('../internals/to-property-key'); +var hasOwn = require('../internals/has-own-property'); +var classof = require('../internals/classof'); +var isObject = require('../internals/is-object'); +var isSymbol = require('../internals/is-symbol'); +var create = require('../internals/object-create'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); +var getOwnPropertyNames = require('../internals/object-get-own-property-names').f; +var typedArrayFrom = require('../internals/typed-array-from'); +var forEach = require('../internals/array-iteration').forEach; +var setSpecies = require('../internals/set-species'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var definePropertyModule = require('../internals/object-define-property'); +var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); +var InternalStateModule = require('../internals/internal-state'); +var inheritIfRequired = require('../internals/inherit-if-required'); + +var getInternalState = InternalStateModule.get; +var setInternalState = InternalStateModule.set; +var enforceInternalState = InternalStateModule.enforce; +var nativeDefineProperty = definePropertyModule.f; +var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; +var RangeError = global.RangeError; +var ArrayBuffer = ArrayBufferModule.ArrayBuffer; +var ArrayBufferPrototype = ArrayBuffer.prototype; +var DataView = ArrayBufferModule.DataView; +var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; +var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG; +var TypedArray = ArrayBufferViewCore.TypedArray; +var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype; +var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; +var isTypedArray = ArrayBufferViewCore.isTypedArray; +var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; +var WRONG_LENGTH = 'Wrong length'; + +var fromList = function (C, list) { + aTypedArrayConstructor(C); + var index = 0; + var length = list.length; + var result = new C(length); + while (length > index) result[index] = list[index++]; + return result; +}; + +var addGetter = function (it, key) { + defineBuiltInAccessor(it, key, { + configurable: true, + get: function () { + return getInternalState(this)[key]; + } + }); +}; + +var isArrayBuffer = function (it) { + var klass; + return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; +}; + +var isTypedArrayIndex = function (target, key) { + return isTypedArray(target) + && !isSymbol(key) + && key in target + && isIntegralNumber(+key) + && key >= 0; +}; + +var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { + key = toPropertyKey(key); + return isTypedArrayIndex(target, key) + ? createPropertyDescriptor(2, target[key]) + : nativeGetOwnPropertyDescriptor(target, key); +}; + +var wrappedDefineProperty = function defineProperty(target, key, descriptor) { + key = toPropertyKey(key); + if (isTypedArrayIndex(target, key) + && isObject(descriptor) + && hasOwn(descriptor, 'value') + && !hasOwn(descriptor, 'get') + && !hasOwn(descriptor, 'set') + // TODO: add validation descriptor w/o calling accessors + && !descriptor.configurable + && (!hasOwn(descriptor, 'writable') || descriptor.writable) + && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable) + ) { + target[key] = descriptor.value; + return target; + } return nativeDefineProperty(target, key, descriptor); +}; + +if (DESCRIPTORS) { + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor; + definePropertyModule.f = wrappedDefineProperty; + addGetter(TypedArrayPrototype, 'buffer'); + addGetter(TypedArrayPrototype, 'byteOffset'); + addGetter(TypedArrayPrototype, 'byteLength'); + addGetter(TypedArrayPrototype, 'length'); + } + + $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { + getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, + defineProperty: wrappedDefineProperty + }); + + module.exports = function (TYPE, wrapper, CLAMPED) { + var BYTES = TYPE.match(/\d+/)[0] / 8; + var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; + var GETTER = 'get' + TYPE; + var SETTER = 'set' + TYPE; + var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME]; + var TypedArrayConstructor = NativeTypedArrayConstructor; + var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; + var exported = {}; + + var getter = function (that, index) { + var data = getInternalState(that); + return data.view[GETTER](index * BYTES + data.byteOffset, true); + }; + + var setter = function (that, index, value) { + var data = getInternalState(that); + data.view[SETTER](index * BYTES + data.byteOffset, CLAMPED ? toUint8Clamped(value) : value, true); + }; + + var addElement = function (that, index) { + nativeDefineProperty(that, index, { + get: function () { + return getter(this, index); + }, + set: function (value) { + return setter(this, index, value); + }, + enumerable: true + }); + }; + + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + TypedArrayConstructor = wrapper(function (that, data, offset, $length) { + anInstance(that, TypedArrayConstructorPrototype); + var index = 0; + var byteOffset = 0; + var buffer, byteLength, length; + if (!isObject(data)) { + length = toIndex(data); + byteLength = length * BYTES; + buffer = new ArrayBuffer(byteLength); + } else if (isArrayBuffer(data)) { + buffer = data; + byteOffset = toOffset(offset, BYTES); + var $len = data.byteLength; + if ($length === undefined) { + if ($len % BYTES) throw RangeError(WRONG_LENGTH); + byteLength = $len - byteOffset; + if (byteLength < 0) throw RangeError(WRONG_LENGTH); + } else { + byteLength = toLength($length) * BYTES; + if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); + } + length = byteLength / BYTES; + } else if (isTypedArray(data)) { + return fromList(TypedArrayConstructor, data); + } else { + return call(typedArrayFrom, TypedArrayConstructor, data); + } + setInternalState(that, { + buffer: buffer, + byteOffset: byteOffset, + byteLength: byteLength, + length: length, + view: new DataView(buffer) + }); + while (index < length) addElement(that, index++); + }); + + if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); + TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype); + } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) { + TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { + anInstance(dummy, TypedArrayConstructorPrototype); + return inheritIfRequired(function () { + if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data)); + if (isArrayBuffer(data)) return $length !== undefined + ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) + : typedArrayOffset !== undefined + ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) + : new NativeTypedArrayConstructor(data); + if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); + return call(typedArrayFrom, TypedArrayConstructor, data); + }(), dummy, TypedArrayConstructor); + }); + + if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); + forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { + if (!(key in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); + } + }); + TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; + } + + if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); + } + + enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor; + + if (TYPED_ARRAY_TAG) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); + } + + var FORCED = TypedArrayConstructor != NativeTypedArrayConstructor; + + exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; + + $({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported); + + if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); + } + + if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); + } + + setSpecies(CONSTRUCTOR_NAME); + }; +} else module.exports = function () { /* empty */ }; diff --git a/node_modules/core-js/internals/typed-array-constructors-require-wrappers.js b/node_modules/core-js/internals/typed-array-constructors-require-wrappers.js new file mode 100644 index 00000000..7dc44c1d --- /dev/null +++ b/node_modules/core-js/internals/typed-array-constructors-require-wrappers.js @@ -0,0 +1,23 @@ +'use strict'; +/* eslint-disable no-new -- required for testing */ +var global = require('../internals/global'); +var fails = require('../internals/fails'); +var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration'); +var NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS; + +var ArrayBuffer = global.ArrayBuffer; +var Int8Array = global.Int8Array; + +module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { + Int8Array(1); +}) || !fails(function () { + new Int8Array(-1); +}) || !checkCorrectnessOfIteration(function (iterable) { + new Int8Array(); + new Int8Array(null); + new Int8Array(1.5); + new Int8Array(iterable); +}, true) || fails(function () { + // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill + return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1; +}); diff --git a/node_modules/core-js/internals/typed-array-from-species-and-list.js b/node_modules/core-js/internals/typed-array-from-species-and-list.js new file mode 100644 index 00000000..94170807 --- /dev/null +++ b/node_modules/core-js/internals/typed-array-from-species-and-list.js @@ -0,0 +1,7 @@ +'use strict'; +var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list'); +var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); + +module.exports = function (instance, list) { + return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); +}; diff --git a/node_modules/core-js/internals/typed-array-from.js b/node_modules/core-js/internals/typed-array-from.js new file mode 100644 index 00000000..f9cf1dae --- /dev/null +++ b/node_modules/core-js/internals/typed-array-from.js @@ -0,0 +1,42 @@ +'use strict'; +var bind = require('../internals/function-bind-context'); +var call = require('../internals/function-call'); +var aConstructor = require('../internals/a-constructor'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var getIterator = require('../internals/get-iterator'); +var getIteratorMethod = require('../internals/get-iterator-method'); +var isArrayIteratorMethod = require('../internals/is-array-iterator-method'); +var isBigIntArray = require('../internals/is-big-int-array'); +var aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor; +var toBigInt = require('../internals/to-big-int'); + +module.exports = function from(source /* , mapfn, thisArg */) { + var C = aConstructor(this); + var O = toObject(source); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var iteratorMethod = getIteratorMethod(O); + var i, length, result, thisIsBigIntArray, value, step, iterator, next; + if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) { + iterator = getIterator(O, iteratorMethod); + next = iterator.next; + O = []; + while (!(step = call(next, iterator)).done) { + O.push(step.value); + } + } + if (mapping && argumentsLength > 2) { + mapfn = bind(mapfn, arguments[2]); + } + length = lengthOfArrayLike(O); + result = new (aTypedArrayConstructor(C))(length); + thisIsBigIntArray = isBigIntArray(result); + for (i = 0; length > i; i++) { + value = mapping ? mapfn(O[i], i) : O[i]; + // FF30- typed arrays doesn't properly convert objects to typed array values + result[i] = thisIsBigIntArray ? toBigInt(value) : +value; + } + return result; +}; diff --git a/node_modules/core-js/internals/typed-array-species-constructor.js b/node_modules/core-js/internals/typed-array-species-constructor.js new file mode 100644 index 00000000..4e1e2358 --- /dev/null +++ b/node_modules/core-js/internals/typed-array-species-constructor.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var speciesConstructor = require('../internals/species-constructor'); + +var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + +// a part of `TypedArraySpeciesCreate` abstract operation +// https://tc39.es/ecma262/#typedarray-species-create +module.exports = function (originalArray) { + return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray))); +}; diff --git a/node_modules/core-js/internals/uid.js b/node_modules/core-js/internals/uid.js new file mode 100644 index 00000000..c02c4011 --- /dev/null +++ b/node_modules/core-js/internals/uid.js @@ -0,0 +1,10 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +var id = 0; +var postfix = Math.random(); +var toString = uncurryThis(1.0.toString); + +module.exports = function (key) { + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); +}; diff --git a/node_modules/core-js/internals/url-constructor-detection.js b/node_modules/core-js/internals/url-constructor-detection.js new file mode 100644 index 00000000..fd828f8e --- /dev/null +++ b/node_modules/core-js/internals/url-constructor-detection.js @@ -0,0 +1,42 @@ +'use strict'; +var fails = require('../internals/fails'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var DESCRIPTORS = require('../internals/descriptors'); +var IS_PURE = require('../internals/is-pure'); + +var ITERATOR = wellKnownSymbol('iterator'); + +module.exports = !fails(function () { + // eslint-disable-next-line unicorn/relative-url-style -- required for testing + var url = new URL('b?a=1&b=2&c=3', 'http://a'); + var params = url.searchParams; + var params2 = new URLSearchParams('a=1&a=2&b=3'); + var result = ''; + url.pathname = 'c%20d'; + params.forEach(function (value, key) { + params['delete']('b'); + result += key + value; + }); + params2['delete']('a', 2); + // `undefined` case is a Chromium 117 bug + // https://bugs.chromium.org/p/v8/issues/detail?id=14222 + params2['delete']('b', undefined); + return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b'))) + || (!params.size && (IS_PURE || !DESCRIPTORS)) + || !params.sort + || url.href !== 'http://a/c%20d?a=1&c=3' + || params.get('c') !== '3' + || String(new URLSearchParams('?a=1')) !== 'a=1' + || !params[ITERATOR] + // throws in Edge + || new URL('https://a@b').username !== 'a' + || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' + // not punycoded in Edge + || new URL('http://тест').host !== 'xn--e1aybc' + // not escaped in Chrome 62- + || new URL('http://a#б').hash !== '#%D0%B1' + // fails in Chrome 66- + || result !== 'a1c3' + // throws in Safari + || new URL('http://x', undefined).host !== 'x'; +}); diff --git a/node_modules/core-js/internals/use-symbol-as-uid.js b/node_modules/core-js/internals/use-symbol-as-uid.js new file mode 100644 index 00000000..677b0c95 --- /dev/null +++ b/node_modules/core-js/internals/use-symbol-as-uid.js @@ -0,0 +1,7 @@ +'use strict'; +/* eslint-disable es/no-symbol -- required for testing */ +var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection'); + +module.exports = NATIVE_SYMBOL + && !Symbol.sham + && typeof Symbol.iterator == 'symbol'; diff --git a/node_modules/core-js/internals/v8-prototype-define-bug.js b/node_modules/core-js/internals/v8-prototype-define-bug.js new file mode 100644 index 00000000..36ee4105 --- /dev/null +++ b/node_modules/core-js/internals/v8-prototype-define-bug.js @@ -0,0 +1,13 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var fails = require('../internals/fails'); + +// V8 ~ Chrome 36- +// https://bugs.chromium.org/p/v8/issues/detail?id=3334 +module.exports = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(function () { /* empty */ }, 'prototype', { + value: 42, + writable: false + }).prototype != 42; +}); diff --git a/node_modules/core-js/internals/validate-arguments-length.js b/node_modules/core-js/internals/validate-arguments-length.js new file mode 100644 index 00000000..02daf065 --- /dev/null +++ b/node_modules/core-js/internals/validate-arguments-length.js @@ -0,0 +1,7 @@ +'use strict'; +var $TypeError = TypeError; + +module.exports = function (passed, required) { + if (passed < required) throw $TypeError('Not enough arguments'); + return passed; +}; diff --git a/node_modules/core-js/internals/weak-map-basic-detection.js b/node_modules/core-js/internals/weak-map-basic-detection.js new file mode 100644 index 00000000..d4f87f4b --- /dev/null +++ b/node_modules/core-js/internals/weak-map-basic-detection.js @@ -0,0 +1,7 @@ +'use strict'; +var global = require('../internals/global'); +var isCallable = require('../internals/is-callable'); + +var WeakMap = global.WeakMap; + +module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); diff --git a/node_modules/core-js/internals/weak-map-helpers.js b/node_modules/core-js/internals/weak-map-helpers.js new file mode 100644 index 00000000..a58bc827 --- /dev/null +++ b/node_modules/core-js/internals/weak-map-helpers.js @@ -0,0 +1,14 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +// eslint-disable-next-line es/no-weak-map -- safe +var WeakMapPrototype = WeakMap.prototype; + +module.exports = { + // eslint-disable-next-line es/no-weak-map -- safe + WeakMap: WeakMap, + set: uncurryThis(WeakMapPrototype.set), + get: uncurryThis(WeakMapPrototype.get), + has: uncurryThis(WeakMapPrototype.has), + remove: uncurryThis(WeakMapPrototype['delete']) +}; diff --git a/node_modules/core-js/internals/weak-set-helpers.js b/node_modules/core-js/internals/weak-set-helpers.js new file mode 100644 index 00000000..1714de94 --- /dev/null +++ b/node_modules/core-js/internals/weak-set-helpers.js @@ -0,0 +1,13 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); + +// eslint-disable-next-line es/no-weak-set -- safe +var WeakSetPrototype = WeakSet.prototype; + +module.exports = { + // eslint-disable-next-line es/no-weak-set -- safe + WeakSet: WeakSet, + add: uncurryThis(WeakSetPrototype.add), + has: uncurryThis(WeakSetPrototype.has), + remove: uncurryThis(WeakSetPrototype['delete']) +}; diff --git a/node_modules/core-js/internals/well-known-symbol-define.js b/node_modules/core-js/internals/well-known-symbol-define.js new file mode 100644 index 00000000..f17892ca --- /dev/null +++ b/node_modules/core-js/internals/well-known-symbol-define.js @@ -0,0 +1,12 @@ +'use strict'; +var path = require('../internals/path'); +var hasOwn = require('../internals/has-own-property'); +var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped'); +var defineProperty = require('../internals/object-define-property').f; + +module.exports = function (NAME) { + var Symbol = path.Symbol || (path.Symbol = {}); + if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, { + value: wrappedWellKnownSymbolModule.f(NAME) + }); +}; diff --git a/node_modules/core-js/internals/well-known-symbol-wrapped.js b/node_modules/core-js/internals/well-known-symbol-wrapped.js new file mode 100644 index 00000000..41d3b77e --- /dev/null +++ b/node_modules/core-js/internals/well-known-symbol-wrapped.js @@ -0,0 +1,4 @@ +'use strict'; +var wellKnownSymbol = require('../internals/well-known-symbol'); + +exports.f = wellKnownSymbol; diff --git a/node_modules/core-js/internals/well-known-symbol.js b/node_modules/core-js/internals/well-known-symbol.js new file mode 100644 index 00000000..7e629a59 --- /dev/null +++ b/node_modules/core-js/internals/well-known-symbol.js @@ -0,0 +1,19 @@ +'use strict'; +var global = require('../internals/global'); +var shared = require('../internals/shared'); +var hasOwn = require('../internals/has-own-property'); +var uid = require('../internals/uid'); +var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection'); +var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid'); + +var Symbol = global.Symbol; +var WellKnownSymbolsStore = shared('wks'); +var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; + +module.exports = function (name) { + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) + ? Symbol[name] + : createWellKnownSymbol('Symbol.' + name); + } return WellKnownSymbolsStore[name]; +}; diff --git a/node_modules/core-js/internals/whitespaces.js b/node_modules/core-js/internals/whitespaces.js new file mode 100644 index 00000000..916b2fe4 --- /dev/null +++ b/node_modules/core-js/internals/whitespaces.js @@ -0,0 +1,4 @@ +'use strict'; +// a string of all valid unicode whitespaces +module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; diff --git a/node_modules/core-js/internals/wrap-error-constructor-with-cause.js b/node_modules/core-js/internals/wrap-error-constructor-with-cause.js new file mode 100644 index 00000000..5431c5b0 --- /dev/null +++ b/node_modules/core-js/internals/wrap-error-constructor-with-cause.js @@ -0,0 +1,65 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); +var hasOwn = require('../internals/has-own-property'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); +var copyConstructorProperties = require('../internals/copy-constructor-properties'); +var proxyAccessor = require('../internals/proxy-accessor'); +var inheritIfRequired = require('../internals/inherit-if-required'); +var normalizeStringArgument = require('../internals/normalize-string-argument'); +var installErrorCause = require('../internals/install-error-cause'); +var installErrorStack = require('../internals/error-stack-install'); +var DESCRIPTORS = require('../internals/descriptors'); +var IS_PURE = require('../internals/is-pure'); + +module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { + var STACK_TRACE_LIMIT = 'stackTraceLimit'; + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; + var path = FULL_NAME.split('.'); + var ERROR_NAME = path[path.length - 1]; + var OriginalError = getBuiltIn.apply(null, path); + + if (!OriginalError) return; + + var OriginalErrorPrototype = OriginalError.prototype; + + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; + + if (!FORCED) return OriginalError; + + var BaseError = getBuiltIn('Error'); + + var WrappedError = wrapper(function (a, b) { + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); + if (message !== undefined) createNonEnumerableProperty(result, 'message', message); + installErrorStack(result, WrappedError, result.stack, 2); + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); + return result; + }); + + WrappedError.prototype = OriginalErrorPrototype; + + if (ERROR_NAME !== 'Error') { + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); + else copyConstructorProperties(WrappedError, BaseError, { name: true }); + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); + } + + copyConstructorProperties(WrappedError, OriginalError); + + if (!IS_PURE) try { + // Safari 13- bug: WebAssembly errors does not have a proper `.name` + if (OriginalErrorPrototype.name !== ERROR_NAME) { + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); + } + OriginalErrorPrototype.constructor = WrappedError; + } catch (error) { /* empty */ } + + return WrappedError; +}; diff --git a/node_modules/core-js/modules/README.md b/node_modules/core-js/modules/README.md new file mode 100644 index 00000000..0d6b3cb0 --- /dev/null +++ b/node_modules/core-js/modules/README.md @@ -0,0 +1 @@ +This folder contains implementations of polyfills. It's not recommended to include in your projects directly if you don't completely understand what are you doing. diff --git a/node_modules/core-js/modules/es.aggregate-error.cause.js b/node_modules/core-js/modules/es.aggregate-error.cause.js new file mode 100644 index 00000000..dfc3b38d --- /dev/null +++ b/node_modules/core-js/modules/es.aggregate-error.cause.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var apply = require('../internals/function-apply'); +var fails = require('../internals/fails'); +var wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause'); + +var AGGREGATE_ERROR = 'AggregateError'; +var $AggregateError = getBuiltIn(AGGREGATE_ERROR); + +var FORCED = !fails(function () { + return $AggregateError([1]).errors[0] !== 1; +}) && fails(function () { + return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7; +}); + +// https://tc39.es/ecma262/#sec-aggregate-error +$({ global: true, constructor: true, arity: 2, forced: FORCED }, { + AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) { + // eslint-disable-next-line no-unused-vars -- required for functions `.length` + return function AggregateError(errors, message) { return apply(init, this, arguments); }; + }, FORCED, true) +}); diff --git a/node_modules/core-js/modules/es.aggregate-error.constructor.js b/node_modules/core-js/modules/es.aggregate-error.constructor.js new file mode 100644 index 00000000..63381a84 --- /dev/null +++ b/node_modules/core-js/modules/es.aggregate-error.constructor.js @@ -0,0 +1,51 @@ +'use strict'; +var $ = require('../internals/export'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); +var copyConstructorProperties = require('../internals/copy-constructor-properties'); +var create = require('../internals/object-create'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var installErrorCause = require('../internals/install-error-cause'); +var installErrorStack = require('../internals/error-stack-install'); +var iterate = require('../internals/iterate'); +var normalizeStringArgument = require('../internals/normalize-string-argument'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var $Error = Error; +var push = [].push; + +var $AggregateError = function AggregateError(errors, message /* , options */) { + var isInstance = isPrototypeOf(AggregateErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype); + } else { + that = isInstance ? this : create(AggregateErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, 'Error'); + } + if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message)); + installErrorStack(that, $AggregateError, that.stack, 1); + if (arguments.length > 2) installErrorCause(that, arguments[2]); + var errorsArray = []; + iterate(errors, push, { that: errorsArray }); + createNonEnumerableProperty(that, 'errors', errorsArray); + return that; +}; + +if (setPrototypeOf) setPrototypeOf($AggregateError, $Error); +else copyConstructorProperties($AggregateError, $Error, { name: true }); + +var AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $AggregateError), + message: createPropertyDescriptor(1, ''), + name: createPropertyDescriptor(1, 'AggregateError') +}); + +// `AggregateError` constructor +// https://tc39.es/ecma262/#sec-aggregate-error-constructor +$({ global: true, constructor: true, arity: 2 }, { + AggregateError: $AggregateError +}); diff --git a/node_modules/core-js/modules/es.aggregate-error.js b/node_modules/core-js/modules/es.aggregate-error.js new file mode 100644 index 00000000..649517e3 --- /dev/null +++ b/node_modules/core-js/modules/es.aggregate-error.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's replaced to module below +require('../modules/es.aggregate-error.constructor'); diff --git a/node_modules/core-js/modules/es.array-buffer.constructor.js b/node_modules/core-js/modules/es.array-buffer.constructor.js new file mode 100644 index 00000000..7af8885a --- /dev/null +++ b/node_modules/core-js/modules/es.array-buffer.constructor.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var arrayBufferModule = require('../internals/array-buffer'); +var setSpecies = require('../internals/set-species'); + +var ARRAY_BUFFER = 'ArrayBuffer'; +var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER]; +var NativeArrayBuffer = global[ARRAY_BUFFER]; + +// `ArrayBuffer` constructor +// https://tc39.es/ecma262/#sec-arraybuffer-constructor +$({ global: true, constructor: true, forced: NativeArrayBuffer !== ArrayBuffer }, { + ArrayBuffer: ArrayBuffer +}); + +setSpecies(ARRAY_BUFFER); diff --git a/node_modules/core-js/modules/es.array-buffer.is-view.js b/node_modules/core-js/modules/es.array-buffer.is-view.js new file mode 100644 index 00000000..b83a614b --- /dev/null +++ b/node_modules/core-js/modules/es.array-buffer.is-view.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); + +var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; + +// `ArrayBuffer.isView` method +// https://tc39.es/ecma262/#sec-arraybuffer.isview +$({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { + isView: ArrayBufferViewCore.isView +}); diff --git a/node_modules/core-js/modules/es.array-buffer.slice.js b/node_modules/core-js/modules/es.array-buffer.slice.js new file mode 100644 index 00000000..52af48ca --- /dev/null +++ b/node_modules/core-js/modules/es.array-buffer.slice.js @@ -0,0 +1,40 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this-clause'); +var fails = require('../internals/fails'); +var ArrayBufferModule = require('../internals/array-buffer'); +var anObject = require('../internals/an-object'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var toLength = require('../internals/to-length'); +var speciesConstructor = require('../internals/species-constructor'); + +var ArrayBuffer = ArrayBufferModule.ArrayBuffer; +var DataView = ArrayBufferModule.DataView; +var DataViewPrototype = DataView.prototype; +var nativeArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice); +var getUint8 = uncurryThis(DataViewPrototype.getUint8); +var setUint8 = uncurryThis(DataViewPrototype.setUint8); + +var INCORRECT_SLICE = fails(function () { + return !new ArrayBuffer(2).slice(1, undefined).byteLength; +}); + +// `ArrayBuffer.prototype.slice` method +// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice +$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, { + slice: function slice(start, end) { + if (nativeArrayBufferSlice && end === undefined) { + return nativeArrayBufferSlice(anObject(this), start); // FF fix + } + var length = anObject(this).byteLength; + var first = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first)); + var viewSource = new DataView(this); + var viewTarget = new DataView(result); + var index = 0; + while (first < fin) { + setUint8(viewTarget, index++, getUint8(viewSource, first++)); + } return result; + } +}); diff --git a/node_modules/core-js/modules/es.array.at.js b/node_modules/core-js/modules/es.array.at.js new file mode 100644 index 00000000..965c266a --- /dev/null +++ b/node_modules/core-js/modules/es.array.at.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.at` method +// https://tc39.es/ecma262/#sec-array.prototype.at +$({ target: 'Array', proto: true }, { + at: function at(index) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; + } +}); + +addToUnscopables('at'); diff --git a/node_modules/core-js/modules/es.array.concat.js b/node_modules/core-js/modules/es.array.concat.js new file mode 100644 index 00000000..e1a01932 --- /dev/null +++ b/node_modules/core-js/modules/es.array.concat.js @@ -0,0 +1,58 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var isArray = require('../internals/is-array'); +var isObject = require('../internals/is-object'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer'); +var createProperty = require('../internals/create-property'); +var arraySpeciesCreate = require('../internals/array-species-create'); +var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var V8_VERSION = require('../internals/engine-v8-version'); + +var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); + +// We can't use this feature detection in V8 since it causes +// deoptimization and serious performance degradation +// https://github.com/zloirock/core-js/issues/679 +var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; +}); + +var isConcatSpreadable = function (O) { + if (!isObject(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray(O); +}; + +var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat'); + +// `Array.prototype.concat` method +// https://tc39.es/ecma262/#sec-array.prototype.concat +// with adding support of @@isConcatSpreadable and @@species +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject(this); + var A = arraySpeciesCreate(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = lengthOfArrayLike(E); + doesNotExceedSafeInteger(n + len); + for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); + } else { + doesNotExceedSafeInteger(n + 1); + createProperty(A, n++, E); + } + } + A.length = n; + return A; + } +}); diff --git a/node_modules/core-js/modules/es.array.copy-within.js b/node_modules/core-js/modules/es.array.copy-within.js new file mode 100644 index 00000000..021ca3cf --- /dev/null +++ b/node_modules/core-js/modules/es.array.copy-within.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var copyWithin = require('../internals/array-copy-within'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.copyWithin` method +// https://tc39.es/ecma262/#sec-array.prototype.copywithin +$({ target: 'Array', proto: true }, { + copyWithin: copyWithin +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('copyWithin'); diff --git a/node_modules/core-js/modules/es.array.every.js b/node_modules/core-js/modules/es.array.every.js new file mode 100644 index 00000000..61b526e1 --- /dev/null +++ b/node_modules/core-js/modules/es.array.every.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var $every = require('../internals/array-iteration').every; +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); + +var STRICT_METHOD = arrayMethodIsStrict('every'); + +// `Array.prototype.every` method +// https://tc39.es/ecma262/#sec-array.prototype.every +$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { + every: function every(callbackfn /* , thisArg */) { + return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); diff --git a/node_modules/core-js/modules/es.array.fill.js b/node_modules/core-js/modules/es.array.fill.js new file mode 100644 index 00000000..31e640e4 --- /dev/null +++ b/node_modules/core-js/modules/es.array.fill.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var fill = require('../internals/array-fill'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.fill` method +// https://tc39.es/ecma262/#sec-array.prototype.fill +$({ target: 'Array', proto: true }, { + fill: fill +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('fill'); diff --git a/node_modules/core-js/modules/es.array.filter.js b/node_modules/core-js/modules/es.array.filter.js new file mode 100644 index 00000000..beb43a5d --- /dev/null +++ b/node_modules/core-js/modules/es.array.filter.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var $filter = require('../internals/array-iteration').filter; +var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); + +var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); + +// `Array.prototype.filter` method +// https://tc39.es/ecma262/#sec-array.prototype.filter +// with adding support of @@species +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + filter: function filter(callbackfn /* , thisArg */) { + return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); diff --git a/node_modules/core-js/modules/es.array.find-index.js b/node_modules/core-js/modules/es.array.find-index.js new file mode 100644 index 00000000..ba3fd9fb --- /dev/null +++ b/node_modules/core-js/modules/es.array.find-index.js @@ -0,0 +1,22 @@ +'use strict'; +var $ = require('../internals/export'); +var $findIndex = require('../internals/array-iteration').findIndex; +var addToUnscopables = require('../internals/add-to-unscopables'); + +var FIND_INDEX = 'findIndex'; +var SKIPS_HOLES = true; + +// Shouldn't skip holes +// eslint-disable-next-line es/no-array-prototype-findindex -- testing +if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); + +// `Array.prototype.findIndex` method +// https://tc39.es/ecma262/#sec-array.prototype.findindex +$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + findIndex: function findIndex(callbackfn /* , that = undefined */) { + return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables(FIND_INDEX); diff --git a/node_modules/core-js/modules/es.array.find-last-index.js b/node_modules/core-js/modules/es.array.find-last-index.js new file mode 100644 index 00000000..82d8984d --- /dev/null +++ b/node_modules/core-js/modules/es.array.find-last-index.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var $findLastIndex = require('../internals/array-iteration-from-last').findLastIndex; +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.findLastIndex` method +// https://tc39.es/ecma262/#sec-array.prototype.findlastindex +$({ target: 'Array', proto: true }, { + findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) { + return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables('findLastIndex'); diff --git a/node_modules/core-js/modules/es.array.find-last.js b/node_modules/core-js/modules/es.array.find-last.js new file mode 100644 index 00000000..479c1733 --- /dev/null +++ b/node_modules/core-js/modules/es.array.find-last.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var $findLast = require('../internals/array-iteration-from-last').findLast; +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.findLast` method +// https://tc39.es/ecma262/#sec-array.prototype.findlast +$({ target: 'Array', proto: true }, { + findLast: function findLast(callbackfn /* , that = undefined */) { + return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables('findLast'); diff --git a/node_modules/core-js/modules/es.array.find.js b/node_modules/core-js/modules/es.array.find.js new file mode 100644 index 00000000..f7fab66f --- /dev/null +++ b/node_modules/core-js/modules/es.array.find.js @@ -0,0 +1,22 @@ +'use strict'; +var $ = require('../internals/export'); +var $find = require('../internals/array-iteration').find; +var addToUnscopables = require('../internals/add-to-unscopables'); + +var FIND = 'find'; +var SKIPS_HOLES = true; + +// Shouldn't skip holes +// eslint-disable-next-line es/no-array-prototype-find -- testing +if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); + +// `Array.prototype.find` method +// https://tc39.es/ecma262/#sec-array.prototype.find +$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + find: function find(callbackfn /* , that = undefined */) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables(FIND); diff --git a/node_modules/core-js/modules/es.array.flat-map.js b/node_modules/core-js/modules/es.array.flat-map.js new file mode 100644 index 00000000..9b177dec --- /dev/null +++ b/node_modules/core-js/modules/es.array.flat-map.js @@ -0,0 +1,21 @@ +'use strict'; +var $ = require('../internals/export'); +var flattenIntoArray = require('../internals/flatten-into-array'); +var aCallable = require('../internals/a-callable'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var arraySpeciesCreate = require('../internals/array-species-create'); + +// `Array.prototype.flatMap` method +// https://tc39.es/ecma262/#sec-array.prototype.flatmap +$({ target: 'Array', proto: true }, { + flatMap: function flatMap(callbackfn /* , thisArg */) { + var O = toObject(this); + var sourceLen = lengthOfArrayLike(O); + var A; + aCallable(callbackfn); + A = arraySpeciesCreate(O, 0); + A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return A; + } +}); diff --git a/node_modules/core-js/modules/es.array.flat.js b/node_modules/core-js/modules/es.array.flat.js new file mode 100644 index 00000000..146adecf --- /dev/null +++ b/node_modules/core-js/modules/es.array.flat.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var flattenIntoArray = require('../internals/flatten-into-array'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var arraySpeciesCreate = require('../internals/array-species-create'); + +// `Array.prototype.flat` method +// https://tc39.es/ecma262/#sec-array.prototype.flat +$({ target: 'Array', proto: true }, { + flat: function flat(/* depthArg = 1 */) { + var depthArg = arguments.length ? arguments[0] : undefined; + var O = toObject(this); + var sourceLen = lengthOfArrayLike(O); + var A = arraySpeciesCreate(O, 0); + A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg)); + return A; + } +}); diff --git a/node_modules/core-js/modules/es.array.for-each.js b/node_modules/core-js/modules/es.array.for-each.js new file mode 100644 index 00000000..55934d03 --- /dev/null +++ b/node_modules/core-js/modules/es.array.for-each.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var forEach = require('../internals/array-for-each'); + +// `Array.prototype.forEach` method +// https://tc39.es/ecma262/#sec-array.prototype.foreach +// eslint-disable-next-line es/no-array-prototype-foreach -- safe +$({ target: 'Array', proto: true, forced: [].forEach != forEach }, { + forEach: forEach +}); diff --git a/node_modules/core-js/modules/es.array.from.js b/node_modules/core-js/modules/es.array.from.js new file mode 100644 index 00000000..0015b09d --- /dev/null +++ b/node_modules/core-js/modules/es.array.from.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var from = require('../internals/array-from'); +var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration'); + +var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { + // eslint-disable-next-line es/no-array-from -- required for testing + Array.from(iterable); +}); + +// `Array.from` method +// https://tc39.es/ecma262/#sec-array.from +$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { + from: from +}); diff --git a/node_modules/core-js/modules/es.array.includes.js b/node_modules/core-js/modules/es.array.includes.js new file mode 100644 index 00000000..7ada6d96 --- /dev/null +++ b/node_modules/core-js/modules/es.array.includes.js @@ -0,0 +1,22 @@ +'use strict'; +var $ = require('../internals/export'); +var $includes = require('../internals/array-includes').includes; +var fails = require('../internals/fails'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +// FF99+ bug +var BROKEN_ON_SPARSE = fails(function () { + // eslint-disable-next-line es/no-array-prototype-includes -- detection + return !Array(1).includes(); +}); + +// `Array.prototype.includes` method +// https://tc39.es/ecma262/#sec-array.prototype.includes +$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { + includes: function includes(el /* , fromIndex = 0 */) { + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('includes'); diff --git a/node_modules/core-js/modules/es.array.index-of.js b/node_modules/core-js/modules/es.array.index-of.js new file mode 100644 index 00000000..9cca6115 --- /dev/null +++ b/node_modules/core-js/modules/es.array.index-of.js @@ -0,0 +1,23 @@ +'use strict'; +/* eslint-disable es/no-array-prototype-indexof -- required for testing */ +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this-clause'); +var $indexOf = require('../internals/array-includes').indexOf; +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); + +var nativeIndexOf = uncurryThis([].indexOf); + +var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; +var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf'); + +// `Array.prototype.indexOf` method +// https://tc39.es/ecma262/#sec-array.prototype.indexof +$({ target: 'Array', proto: true, forced: FORCED }, { + indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { + var fromIndex = arguments.length > 1 ? arguments[1] : undefined; + return NEGATIVE_ZERO + // convert -0 to +0 + ? nativeIndexOf(this, searchElement, fromIndex) || 0 + : $indexOf(this, searchElement, fromIndex); + } +}); diff --git a/node_modules/core-js/modules/es.array.is-array.js b/node_modules/core-js/modules/es.array.is-array.js new file mode 100644 index 00000000..44824279 --- /dev/null +++ b/node_modules/core-js/modules/es.array.is-array.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var isArray = require('../internals/is-array'); + +// `Array.isArray` method +// https://tc39.es/ecma262/#sec-array.isarray +$({ target: 'Array', stat: true }, { + isArray: isArray +}); diff --git a/node_modules/core-js/modules/es.array.iterator.js b/node_modules/core-js/modules/es.array.iterator.js new file mode 100644 index 00000000..1f68a06c --- /dev/null +++ b/node_modules/core-js/modules/es.array.iterator.js @@ -0,0 +1,62 @@ +'use strict'; +var toIndexedObject = require('../internals/to-indexed-object'); +var addToUnscopables = require('../internals/add-to-unscopables'); +var Iterators = require('../internals/iterators'); +var InternalStateModule = require('../internals/internal-state'); +var defineProperty = require('../internals/object-define-property').f; +var defineIterator = require('../internals/iterator-define'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var IS_PURE = require('../internals/is-pure'); +var DESCRIPTORS = require('../internals/descriptors'); + +var ARRAY_ITERATOR = 'Array Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); + +// `Array.prototype.entries` method +// https://tc39.es/ecma262/#sec-array.prototype.entries +// `Array.prototype.keys` method +// https://tc39.es/ecma262/#sec-array.prototype.keys +// `Array.prototype.values` method +// https://tc39.es/ecma262/#sec-array.prototype.values +// `Array.prototype[@@iterator]` method +// https://tc39.es/ecma262/#sec-array.prototype-@@iterator +// `CreateArrayIterator` internal method +// https://tc39.es/ecma262/#sec-createarrayiterator +module.exports = defineIterator(Array, 'Array', function (iterated, kind) { + setInternalState(this, { + type: ARRAY_ITERATOR, + target: toIndexedObject(iterated), // target + index: 0, // next index + kind: kind // kind + }); +// `%ArrayIteratorPrototype%.next` method +// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next +}, function () { + var state = getInternalState(this); + var target = state.target; + var kind = state.kind; + var index = state.index++; + if (!target || index >= target.length) { + state.target = undefined; + return createIterResultObject(undefined, true); + } + if (kind == 'keys') return createIterResultObject(index, false); + if (kind == 'values') return createIterResultObject(target[index], false); + return createIterResultObject([index, target[index]], false); +}, 'values'); + +// argumentsList[@@iterator] is %ArrayProto_values% +// https://tc39.es/ecma262/#sec-createunmappedargumentsobject +// https://tc39.es/ecma262/#sec-createmappedargumentsobject +var values = Iterators.Arguments = Iterators.Array; + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('keys'); +addToUnscopables('values'); +addToUnscopables('entries'); + +// V8 ~ Chrome 45- bug +if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try { + defineProperty(values, 'name', { value: 'values' }); +} catch (error) { /* empty */ } diff --git a/node_modules/core-js/modules/es.array.join.js b/node_modules/core-js/modules/es.array.join.js new file mode 100644 index 00000000..ee3cb9e6 --- /dev/null +++ b/node_modules/core-js/modules/es.array.join.js @@ -0,0 +1,19 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var IndexedObject = require('../internals/indexed-object'); +var toIndexedObject = require('../internals/to-indexed-object'); +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); + +var nativeJoin = uncurryThis([].join); + +var ES3_STRINGS = IndexedObject != Object; +var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ','); + +// `Array.prototype.join` method +// https://tc39.es/ecma262/#sec-array.prototype.join +$({ target: 'Array', proto: true, forced: FORCED }, { + join: function join(separator) { + return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator); + } +}); diff --git a/node_modules/core-js/modules/es.array.last-index-of.js b/node_modules/core-js/modules/es.array.last-index-of.js new file mode 100644 index 00000000..0f3cfc52 --- /dev/null +++ b/node_modules/core-js/modules/es.array.last-index-of.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var lastIndexOf = require('../internals/array-last-index-of'); + +// `Array.prototype.lastIndexOf` method +// https://tc39.es/ecma262/#sec-array.prototype.lastindexof +// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing +$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, { + lastIndexOf: lastIndexOf +}); diff --git a/node_modules/core-js/modules/es.array.map.js b/node_modules/core-js/modules/es.array.map.js new file mode 100644 index 00000000..4419a0b7 --- /dev/null +++ b/node_modules/core-js/modules/es.array.map.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var $map = require('../internals/array-iteration').map; +var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); + +var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); + +// `Array.prototype.map` method +// https://tc39.es/ecma262/#sec-array.prototype.map +// with adding support of @@species +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + map: function map(callbackfn /* , thisArg */) { + return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); diff --git a/node_modules/core-js/modules/es.array.of.js b/node_modules/core-js/modules/es.array.of.js new file mode 100644 index 00000000..4dbb2341 --- /dev/null +++ b/node_modules/core-js/modules/es.array.of.js @@ -0,0 +1,27 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var isConstructor = require('../internals/is-constructor'); +var createProperty = require('../internals/create-property'); + +var $Array = Array; + +var ISNT_GENERIC = fails(function () { + function F() { /* empty */ } + // eslint-disable-next-line es/no-array-of -- safe + return !($Array.of.call(F) instanceof F); +}); + +// `Array.of` method +// https://tc39.es/ecma262/#sec-array.of +// WebKit Array.of isn't generic +$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { + of: function of(/* ...args */) { + var index = 0; + var argumentsLength = arguments.length; + var result = new (isConstructor(this) ? this : $Array)(argumentsLength); + while (argumentsLength > index) createProperty(result, index, arguments[index++]); + result.length = argumentsLength; + return result; + } +}); diff --git a/node_modules/core-js/modules/es.array.push.js b/node_modules/core-js/modules/es.array.push.js new file mode 100644 index 00000000..61a9b914 --- /dev/null +++ b/node_modules/core-js/modules/es.array.push.js @@ -0,0 +1,42 @@ +'use strict'; +var $ = require('../internals/export'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var setArrayLength = require('../internals/array-set-length'); +var doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer'); +var fails = require('../internals/fails'); + +var INCORRECT_TO_LENGTH = fails(function () { + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; +}); + +// V8 and Safari <= 15.4, FF < 23 throws InternalError +// https://bugs.chromium.org/p/v8/issues/detail?id=12681 +var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } +}; + +var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); + +// `Array.prototype.push` method +// https://tc39.es/ecma262/#sec-array.prototype.push +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + doesNotExceedSafeInteger(len + argCount); + for (var i = 0; i < argCount; i++) { + O[len] = arguments[i]; + len++; + } + setArrayLength(O, len); + return len; + } +}); diff --git a/node_modules/core-js/modules/es.array.reduce-right.js b/node_modules/core-js/modules/es.array.reduce-right.js new file mode 100644 index 00000000..c9ed1120 --- /dev/null +++ b/node_modules/core-js/modules/es.array.reduce-right.js @@ -0,0 +1,19 @@ +'use strict'; +var $ = require('../internals/export'); +var $reduceRight = require('../internals/array-reduce').right; +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); +var CHROME_VERSION = require('../internals/engine-v8-version'); +var IS_NODE = require('../internals/engine-is-node'); + +// Chrome 80-82 has a critical bug +// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 +var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; +var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduceRight'); + +// `Array.prototype.reduceRight` method +// https://tc39.es/ecma262/#sec-array.prototype.reduceright +$({ target: 'Array', proto: true, forced: FORCED }, { + reduceRight: function reduceRight(callbackfn /* , initialValue */) { + return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + } +}); diff --git a/node_modules/core-js/modules/es.array.reduce.js b/node_modules/core-js/modules/es.array.reduce.js new file mode 100644 index 00000000..0c299075 --- /dev/null +++ b/node_modules/core-js/modules/es.array.reduce.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var $reduce = require('../internals/array-reduce').left; +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); +var CHROME_VERSION = require('../internals/engine-v8-version'); +var IS_NODE = require('../internals/engine-is-node'); + +// Chrome 80-82 has a critical bug +// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 +var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; +var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce'); + +// `Array.prototype.reduce` method +// https://tc39.es/ecma262/#sec-array.prototype.reduce +$({ target: 'Array', proto: true, forced: FORCED }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var length = arguments.length; + return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined); + } +}); diff --git a/node_modules/core-js/modules/es.array.reverse.js b/node_modules/core-js/modules/es.array.reverse.js new file mode 100644 index 00000000..79047586 --- /dev/null +++ b/node_modules/core-js/modules/es.array.reverse.js @@ -0,0 +1,19 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var isArray = require('../internals/is-array'); + +var nativeReverse = uncurryThis([].reverse); +var test = [1, 2]; + +// `Array.prototype.reverse` method +// https://tc39.es/ecma262/#sec-array.prototype.reverse +// fix for Safari 12.0 bug +// https://bugs.webkit.org/show_bug.cgi?id=188794 +$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, { + reverse: function reverse() { + // eslint-disable-next-line no-self-assign -- dirty hack + if (isArray(this)) this.length = this.length; + return nativeReverse(this); + } +}); diff --git a/node_modules/core-js/modules/es.array.slice.js b/node_modules/core-js/modules/es.array.slice.js new file mode 100644 index 00000000..373cab53 --- /dev/null +++ b/node_modules/core-js/modules/es.array.slice.js @@ -0,0 +1,49 @@ +'use strict'; +var $ = require('../internals/export'); +var isArray = require('../internals/is-array'); +var isConstructor = require('../internals/is-constructor'); +var isObject = require('../internals/is-object'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var toIndexedObject = require('../internals/to-indexed-object'); +var createProperty = require('../internals/create-property'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); +var nativeSlice = require('../internals/array-slice'); + +var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); + +var SPECIES = wellKnownSymbol('species'); +var $Array = Array; +var max = Math.max; + +// `Array.prototype.slice` method +// https://tc39.es/ecma262/#sec-array.prototype.slice +// fallback for not array-like ES3 strings and DOM objects +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + slice: function slice(start, end) { + var O = toIndexedObject(this); + var length = lengthOfArrayLike(O); + var k = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible + var Constructor, result, n; + if (isArray(O)) { + Constructor = O.constructor; + // cross-realm fallback + if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { + Constructor = undefined; + } else if (isObject(Constructor)) { + Constructor = Constructor[SPECIES]; + if (Constructor === null) Constructor = undefined; + } + if (Constructor === $Array || Constructor === undefined) { + return nativeSlice(O, k, fin); + } + } + result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0)); + for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); + result.length = n; + return result; + } +}); diff --git a/node_modules/core-js/modules/es.array.some.js b/node_modules/core-js/modules/es.array.some.js new file mode 100644 index 00000000..f1b4462d --- /dev/null +++ b/node_modules/core-js/modules/es.array.some.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var $some = require('../internals/array-iteration').some; +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); + +var STRICT_METHOD = arrayMethodIsStrict('some'); + +// `Array.prototype.some` method +// https://tc39.es/ecma262/#sec-array.prototype.some +$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { + some: function some(callbackfn /* , thisArg */) { + return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); diff --git a/node_modules/core-js/modules/es.array.sort.js b/node_modules/core-js/modules/es.array.sort.js new file mode 100644 index 00000000..b5c012b4 --- /dev/null +++ b/node_modules/core-js/modules/es.array.sort.js @@ -0,0 +1,106 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var deletePropertyOrThrow = require('../internals/delete-property-or-throw'); +var toString = require('../internals/to-string'); +var fails = require('../internals/fails'); +var internalSort = require('../internals/array-sort'); +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); +var FF = require('../internals/engine-ff-version'); +var IE_OR_EDGE = require('../internals/engine-is-ie-or-edge'); +var V8 = require('../internals/engine-v8-version'); +var WEBKIT = require('../internals/engine-webkit-version'); + +var test = []; +var nativeSort = uncurryThis(test.sort); +var push = uncurryThis(test.push); + +// IE8- +var FAILS_ON_UNDEFINED = fails(function () { + test.sort(undefined); +}); +// V8 bug +var FAILS_ON_NULL = fails(function () { + test.sort(null); +}); +// Old WebKit +var STRICT_METHOD = arrayMethodIsStrict('sort'); + +var STABLE_SORT = !fails(function () { + // feature detection can be too slow, so check engines versions + if (V8) return V8 < 70; + if (FF && FF > 3) return; + if (IE_OR_EDGE) return true; + if (WEBKIT) return WEBKIT < 603; + + var result = ''; + var code, chr, value, index; + + // generate an array with more 512 elements (Chakra and old V8 fails only in this case) + for (code = 65; code < 76; code++) { + chr = String.fromCharCode(code); + + switch (code) { + case 66: case 69: case 70: case 72: value = 3; break; + case 68: case 71: value = 4; break; + default: value = 2; + } + + for (index = 0; index < 47; index++) { + test.push({ k: chr + index, v: value }); + } + } + + test.sort(function (a, b) { return b.v - a.v; }); + + for (index = 0; index < test.length; index++) { + chr = test[index].k.charAt(0); + if (result.charAt(result.length - 1) !== chr) result += chr; + } + + return result !== 'DGBEFHACIJK'; +}); + +var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; + +var getSortCompare = function (comparefn) { + return function (x, y) { + if (y === undefined) return -1; + if (x === undefined) return 1; + if (comparefn !== undefined) return +comparefn(x, y) || 0; + return toString(x) > toString(y) ? 1 : -1; + }; +}; + +// `Array.prototype.sort` method +// https://tc39.es/ecma262/#sec-array.prototype.sort +$({ target: 'Array', proto: true, forced: FORCED }, { + sort: function sort(comparefn) { + if (comparefn !== undefined) aCallable(comparefn); + + var array = toObject(this); + + if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn); + + var items = []; + var arrayLength = lengthOfArrayLike(array); + var itemsLength, index; + + for (index = 0; index < arrayLength; index++) { + if (index in array) push(items, array[index]); + } + + internalSort(items, getSortCompare(comparefn)); + + itemsLength = lengthOfArrayLike(items); + index = 0; + + while (index < itemsLength) array[index] = items[index++]; + while (index < arrayLength) deletePropertyOrThrow(array, index++); + + return array; + } +}); diff --git a/node_modules/core-js/modules/es.array.species.js b/node_modules/core-js/modules/es.array.species.js new file mode 100644 index 00000000..11ada491 --- /dev/null +++ b/node_modules/core-js/modules/es.array.species.js @@ -0,0 +1,6 @@ +'use strict'; +var setSpecies = require('../internals/set-species'); + +// `Array[@@species]` getter +// https://tc39.es/ecma262/#sec-get-array-@@species +setSpecies('Array'); diff --git a/node_modules/core-js/modules/es.array.splice.js b/node_modules/core-js/modules/es.array.splice.js new file mode 100644 index 00000000..2da6a795 --- /dev/null +++ b/node_modules/core-js/modules/es.array.splice.js @@ -0,0 +1,67 @@ +'use strict'; +var $ = require('../internals/export'); +var toObject = require('../internals/to-object'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var setArrayLength = require('../internals/array-set-length'); +var doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer'); +var arraySpeciesCreate = require('../internals/array-species-create'); +var createProperty = require('../internals/create-property'); +var deletePropertyOrThrow = require('../internals/delete-property-or-throw'); +var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); + +var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); + +var max = Math.max; +var min = Math.min; + +// `Array.prototype.splice` method +// https://tc39.es/ecma262/#sec-array.prototype.splice +// with adding support of @@species +$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + splice: function splice(start, deleteCount /* , ...items */) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var insertCount, actualDeleteCount, A, k, from, to; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + } + doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A = arraySpeciesCreate(O, actualDeleteCount); + for (k = 0; k < actualDeleteCount; k++) { + from = actualStart + k; + if (from in O) createProperty(A, k, O[from]); + } + A.length = actualDeleteCount; + if (insertCount < actualDeleteCount) { + for (k = actualStart; k < len - actualDeleteCount; k++) { + from = k + actualDeleteCount; + to = k + insertCount; + if (from in O) O[to] = O[from]; + else deletePropertyOrThrow(O, to); + } + for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); + } else if (insertCount > actualDeleteCount) { + for (k = len - actualDeleteCount; k > actualStart; k--) { + from = k + actualDeleteCount - 1; + to = k + insertCount - 1; + if (from in O) O[to] = O[from]; + else deletePropertyOrThrow(O, to); + } + } + for (k = 0; k < insertCount; k++) { + O[k + actualStart] = arguments[k + 2]; + } + setArrayLength(O, len - actualDeleteCount + insertCount); + return A; + } +}); diff --git a/node_modules/core-js/modules/es.array.to-reversed.js b/node_modules/core-js/modules/es.array.to-reversed.js new file mode 100644 index 00000000..00c5d0d0 --- /dev/null +++ b/node_modules/core-js/modules/es.array.to-reversed.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var arrayToReversed = require('../internals/array-to-reversed'); +var toIndexedObject = require('../internals/to-indexed-object'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +var $Array = Array; + +// `Array.prototype.toReversed` method +// https://tc39.es/ecma262/#sec-array.prototype.toreversed +$({ target: 'Array', proto: true }, { + toReversed: function toReversed() { + return arrayToReversed(toIndexedObject(this), $Array); + } +}); + +addToUnscopables('toReversed'); diff --git a/node_modules/core-js/modules/es.array.to-sorted.js b/node_modules/core-js/modules/es.array.to-sorted.js new file mode 100644 index 00000000..9e39f6ba --- /dev/null +++ b/node_modules/core-js/modules/es.array.to-sorted.js @@ -0,0 +1,24 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); +var toIndexedObject = require('../internals/to-indexed-object'); +var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list'); +var getVirtual = require('../internals/entry-virtual'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +var $Array = Array; +var sort = uncurryThis(getVirtual('Array').sort); + +// `Array.prototype.toSorted` method +// https://tc39.es/ecma262/#sec-array.prototype.tosorted +$({ target: 'Array', proto: true }, { + toSorted: function toSorted(compareFn) { + if (compareFn !== undefined) aCallable(compareFn); + var O = toIndexedObject(this); + var A = arrayFromConstructorAndList($Array, O); + return sort(A, compareFn); + } +}); + +addToUnscopables('toSorted'); diff --git a/node_modules/core-js/modules/es.array.to-spliced.js b/node_modules/core-js/modules/es.array.to-spliced.js new file mode 100644 index 00000000..cad654ee --- /dev/null +++ b/node_modules/core-js/modules/es.array.to-spliced.js @@ -0,0 +1,44 @@ +'use strict'; +var $ = require('../internals/export'); +var addToUnscopables = require('../internals/add-to-unscopables'); +var doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var toIndexedObject = require('../internals/to-indexed-object'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); + +var $Array = Array; +var max = Math.max; +var min = Math.min; + +// `Array.prototype.toSpliced` method +// https://tc39.es/ecma262/#sec-array.prototype.tospliced +$({ target: 'Array', proto: true }, { + toSpliced: function toSpliced(start, deleteCount /* , ...items */) { + var O = toIndexedObject(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + } + newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A = $Array(newLen); + + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; + } +}); + +addToUnscopables('toSpliced'); diff --git a/node_modules/core-js/modules/es.array.unscopables.flat-map.js b/node_modules/core-js/modules/es.array.unscopables.flat-map.js new file mode 100644 index 00000000..788076de --- /dev/null +++ b/node_modules/core-js/modules/es.array.unscopables.flat-map.js @@ -0,0 +1,7 @@ +'use strict'; +// this method was added to unscopables after implementation +// in popular engines, so it's moved to a separate module +var addToUnscopables = require('../internals/add-to-unscopables'); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('flatMap'); diff --git a/node_modules/core-js/modules/es.array.unscopables.flat.js b/node_modules/core-js/modules/es.array.unscopables.flat.js new file mode 100644 index 00000000..4fa66a88 --- /dev/null +++ b/node_modules/core-js/modules/es.array.unscopables.flat.js @@ -0,0 +1,7 @@ +'use strict'; +// this method was added to unscopables after implementation +// in popular engines, so it's moved to a separate module +var addToUnscopables = require('../internals/add-to-unscopables'); + +// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('flat'); diff --git a/node_modules/core-js/modules/es.array.unshift.js b/node_modules/core-js/modules/es.array.unshift.js new file mode 100644 index 00000000..4d31cd89 --- /dev/null +++ b/node_modules/core-js/modules/es.array.unshift.js @@ -0,0 +1,45 @@ +'use strict'; +var $ = require('../internals/export'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var setArrayLength = require('../internals/array-set-length'); +var deletePropertyOrThrow = require('../internals/delete-property-or-throw'); +var doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer'); + +// IE8- +var INCORRECT_RESULT = [].unshift(0) !== 1; + +// V8 ~ Chrome < 71 and Safari <= 15.4, FF < 23 throws InternalError +var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).unshift(); + } catch (error) { + return error instanceof TypeError; + } +}; + +var FORCED = INCORRECT_RESULT || !properErrorOnNonWritableLength(); + +// `Array.prototype.unshift` method +// https://tc39.es/ecma262/#sec-array.prototype.unshift +$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + unshift: function unshift(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + if (argCount) { + doesNotExceedSafeInteger(len + argCount); + var k = len; + while (k--) { + var to = k + argCount; + if (k in O) O[to] = O[k]; + else deletePropertyOrThrow(O, to); + } + for (var j = 0; j < argCount; j++) { + O[j] = arguments[j]; + } + } return setArrayLength(O, len + argCount); + } +}); diff --git a/node_modules/core-js/modules/es.array.with.js b/node_modules/core-js/modules/es.array.with.js new file mode 100644 index 00000000..77fd99f8 --- /dev/null +++ b/node_modules/core-js/modules/es.array.with.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var arrayWith = require('../internals/array-with'); +var toIndexedObject = require('../internals/to-indexed-object'); + +var $Array = Array; + +// `Array.prototype.with` method +// https://tc39.es/ecma262/#sec-array.prototype.with +$({ target: 'Array', proto: true }, { + 'with': function (index, value) { + return arrayWith(toIndexedObject(this), $Array, index, value); + } +}); diff --git a/node_modules/core-js/modules/es.data-view.constructor.js b/node_modules/core-js/modules/es.data-view.constructor.js new file mode 100644 index 00000000..0c33e768 --- /dev/null +++ b/node_modules/core-js/modules/es.data-view.constructor.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var ArrayBufferModule = require('../internals/array-buffer'); +var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection'); + +// `DataView` constructor +// https://tc39.es/ecma262/#sec-dataview-constructor +$({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, { + DataView: ArrayBufferModule.DataView +}); diff --git a/node_modules/core-js/modules/es.data-view.js b/node_modules/core-js/modules/es.data-view.js new file mode 100644 index 00000000..97728492 --- /dev/null +++ b/node_modules/core-js/modules/es.data-view.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's replaced to module below +require('../modules/es.data-view.constructor'); diff --git a/node_modules/core-js/modules/es.date.get-year.js b/node_modules/core-js/modules/es.date.get-year.js new file mode 100644 index 00000000..3558c192 --- /dev/null +++ b/node_modules/core-js/modules/es.date.get-year.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); + +// IE8- non-standard case +var FORCED = fails(function () { + // eslint-disable-next-line es/no-date-prototype-getyear-setyear -- detection + return new Date(16e11).getYear() !== 120; +}); + +var getFullYear = uncurryThis(Date.prototype.getFullYear); + +// `Date.prototype.getYear` method +// https://tc39.es/ecma262/#sec-date.prototype.getyear +$({ target: 'Date', proto: true, forced: FORCED }, { + getYear: function getYear() { + return getFullYear(this) - 1900; + } +}); diff --git a/node_modules/core-js/modules/es.date.now.js b/node_modules/core-js/modules/es.date.now.js new file mode 100644 index 00000000..df018fe1 --- /dev/null +++ b/node_modules/core-js/modules/es.date.now.js @@ -0,0 +1,15 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); + +var $Date = Date; +var thisTimeValue = uncurryThis($Date.prototype.getTime); + +// `Date.now` method +// https://tc39.es/ecma262/#sec-date.now +$({ target: 'Date', stat: true }, { + now: function now() { + return thisTimeValue(new $Date()); + } +}); diff --git a/node_modules/core-js/modules/es.date.set-year.js b/node_modules/core-js/modules/es.date.set-year.js new file mode 100644 index 00000000..93b00b4b --- /dev/null +++ b/node_modules/core-js/modules/es.date.set-year.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); + +var DatePrototype = Date.prototype; +var thisTimeValue = uncurryThis(DatePrototype.getTime); +var setFullYear = uncurryThis(DatePrototype.setFullYear); + +// `Date.prototype.setYear` method +// https://tc39.es/ecma262/#sec-date.prototype.setyear +$({ target: 'Date', proto: true }, { + setYear: function setYear(year) { + // validate + thisTimeValue(this); + var yi = toIntegerOrInfinity(year); + var yyyy = 0 <= yi && yi <= 99 ? yi + 1900 : yi; + return setFullYear(this, yyyy); + } +}); diff --git a/node_modules/core-js/modules/es.date.to-gmt-string.js b/node_modules/core-js/modules/es.date.to-gmt-string.js new file mode 100644 index 00000000..7be854ea --- /dev/null +++ b/node_modules/core-js/modules/es.date.to-gmt-string.js @@ -0,0 +1,8 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Date.prototype.toGMTString` method +// https://tc39.es/ecma262/#sec-date.prototype.togmtstring +$({ target: 'Date', proto: true }, { + toGMTString: Date.prototype.toUTCString +}); diff --git a/node_modules/core-js/modules/es.date.to-iso-string.js b/node_modules/core-js/modules/es.date.to-iso-string.js new file mode 100644 index 00000000..d22cd273 --- /dev/null +++ b/node_modules/core-js/modules/es.date.to-iso-string.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var toISOString = require('../internals/date-to-iso-string'); + +// `Date.prototype.toISOString` method +// https://tc39.es/ecma262/#sec-date.prototype.toisostring +// PhantomJS / old WebKit has a broken implementations +$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, { + toISOString: toISOString +}); diff --git a/node_modules/core-js/modules/es.date.to-json.js b/node_modules/core-js/modules/es.date.to-json.js new file mode 100644 index 00000000..328ee26f --- /dev/null +++ b/node_modules/core-js/modules/es.date.to-json.js @@ -0,0 +1,21 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var toObject = require('../internals/to-object'); +var toPrimitive = require('../internals/to-primitive'); + +var FORCED = fails(function () { + return new Date(NaN).toJSON() !== null + || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; +}); + +// `Date.prototype.toJSON` method +// https://tc39.es/ecma262/#sec-date.prototype.tojson +$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + toJSON: function toJSON(key) { + var O = toObject(this); + var pv = toPrimitive(O, 'number'); + return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); + } +}); diff --git a/node_modules/core-js/modules/es.date.to-primitive.js b/node_modules/core-js/modules/es.date.to-primitive.js new file mode 100644 index 00000000..6e20634a --- /dev/null +++ b/node_modules/core-js/modules/es.date.to-primitive.js @@ -0,0 +1,14 @@ +'use strict'; +var hasOwn = require('../internals/has-own-property'); +var defineBuiltIn = require('../internals/define-built-in'); +var dateToPrimitive = require('../internals/date-to-primitive'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); +var DatePrototype = Date.prototype; + +// `Date.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive +if (!hasOwn(DatePrototype, TO_PRIMITIVE)) { + defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive); +} diff --git a/node_modules/core-js/modules/es.date.to-string.js b/node_modules/core-js/modules/es.date.to-string.js new file mode 100644 index 00000000..e5fdae0c --- /dev/null +++ b/node_modules/core-js/modules/es.date.to-string.js @@ -0,0 +1,20 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var uncurryThis = require('../internals/function-uncurry-this'); +var defineBuiltIn = require('../internals/define-built-in'); + +var DatePrototype = Date.prototype; +var INVALID_DATE = 'Invalid Date'; +var TO_STRING = 'toString'; +var nativeDateToString = uncurryThis(DatePrototype[TO_STRING]); +var thisTimeValue = uncurryThis(DatePrototype.getTime); + +// `Date.prototype.toString` method +// https://tc39.es/ecma262/#sec-date.prototype.tostring +if (String(new Date(NaN)) != INVALID_DATE) { + defineBuiltIn(DatePrototype, TO_STRING, function toString() { + var value = thisTimeValue(this); + // eslint-disable-next-line no-self-compare -- NaN check + return value === value ? nativeDateToString(this) : INVALID_DATE; + }); +} diff --git a/node_modules/core-js/modules/es.error.cause.js b/node_modules/core-js/modules/es.error.cause.js new file mode 100644 index 00000000..ce169b7d --- /dev/null +++ b/node_modules/core-js/modules/es.error.cause.js @@ -0,0 +1,57 @@ +'use strict'; +/* eslint-disable no-unused-vars -- required for functions `.length` */ +var $ = require('../internals/export'); +var global = require('../internals/global'); +var apply = require('../internals/function-apply'); +var wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause'); + +var WEB_ASSEMBLY = 'WebAssembly'; +var WebAssembly = global[WEB_ASSEMBLY]; + +var FORCED = Error('e', { cause: 7 }).cause !== 7; + +var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O); +}; + +var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { + if (WebAssembly && WebAssembly[ERROR_NAME]) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); + } +}; + +// https://tc39.es/ecma262/#sec-nativeerror +exportGlobalErrorCauseWrapper('Error', function (init) { + return function Error(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('EvalError', function (init) { + return function EvalError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('RangeError', function (init) { + return function RangeError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('ReferenceError', function (init) { + return function ReferenceError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('SyntaxError', function (init) { + return function SyntaxError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('TypeError', function (init) { + return function TypeError(message) { return apply(init, this, arguments); }; +}); +exportGlobalErrorCauseWrapper('URIError', function (init) { + return function URIError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { + return function CompileError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { + return function LinkError(message) { return apply(init, this, arguments); }; +}); +exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { + return function RuntimeError(message) { return apply(init, this, arguments); }; +}); diff --git a/node_modules/core-js/modules/es.error.to-string.js b/node_modules/core-js/modules/es.error.to-string.js new file mode 100644 index 00000000..490c2738 --- /dev/null +++ b/node_modules/core-js/modules/es.error.to-string.js @@ -0,0 +1,11 @@ +'use strict'; +var defineBuiltIn = require('../internals/define-built-in'); +var errorToString = require('../internals/error-to-string'); + +var ErrorPrototype = Error.prototype; + +// `Error.prototype.toString` method fix +// https://tc39.es/ecma262/#sec-error.prototype.tostring +if (ErrorPrototype.toString !== errorToString) { + defineBuiltIn(ErrorPrototype, 'toString', errorToString); +} diff --git a/node_modules/core-js/modules/es.escape.js b/node_modules/core-js/modules/es.escape.js new file mode 100644 index 00000000..20e1b998 --- /dev/null +++ b/node_modules/core-js/modules/es.escape.js @@ -0,0 +1,43 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toString = require('../internals/to-string'); + +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var exec = uncurryThis(/./.exec); +var numberToString = uncurryThis(1.0.toString); +var toUpperCase = uncurryThis(''.toUpperCase); + +var raw = /[\w*+\-./@]/; + +var hex = function (code, length) { + var result = numberToString(code, 16); + while (result.length < length) result = '0' + result; + return result; +}; + +// `escape` method +// https://tc39.es/ecma262/#sec-escape-string +$({ global: true }, { + escape: function escape(string) { + var str = toString(string); + var result = ''; + var length = str.length; + var index = 0; + var chr, code; + while (index < length) { + chr = charAt(str, index++); + if (exec(raw, chr)) { + result += chr; + } else { + code = charCodeAt(chr, 0); + if (code < 256) { + result += '%' + hex(code, 2); + } else { + result += '%u' + toUpperCase(hex(code, 4)); + } + } + } return result; + } +}); diff --git a/node_modules/core-js/modules/es.function.bind.js b/node_modules/core-js/modules/es.function.bind.js new file mode 100644 index 00000000..f8650c2c --- /dev/null +++ b/node_modules/core-js/modules/es.function.bind.js @@ -0,0 +1,11 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var bind = require('../internals/function-bind'); + +// `Function.prototype.bind` method +// https://tc39.es/ecma262/#sec-function.prototype.bind +// eslint-disable-next-line es/no-function-prototype-bind -- detection +$({ target: 'Function', proto: true, forced: Function.bind !== bind }, { + bind: bind +}); diff --git a/node_modules/core-js/modules/es.function.has-instance.js b/node_modules/core-js/modules/es.function.has-instance.js new file mode 100644 index 00000000..467fec9c --- /dev/null +++ b/node_modules/core-js/modules/es.function.has-instance.js @@ -0,0 +1,23 @@ +'use strict'; +var isCallable = require('../internals/is-callable'); +var isObject = require('../internals/is-object'); +var definePropertyModule = require('../internals/object-define-property'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var makeBuiltIn = require('../internals/make-built-in'); + +var HAS_INSTANCE = wellKnownSymbol('hasInstance'); +var FunctionPrototype = Function.prototype; + +// `Function.prototype[@@hasInstance]` method +// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance +if (!(HAS_INSTANCE in FunctionPrototype)) { + definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: makeBuiltIn(function (O) { + if (!isCallable(this) || !isObject(O)) return false; + var P = this.prototype; + if (!isObject(P)) return O instanceof this; + // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: + while (O = getPrototypeOf(O)) if (P === O) return true; + return false; + }, HAS_INSTANCE) }); +} diff --git a/node_modules/core-js/modules/es.function.name.js b/node_modules/core-js/modules/es.function.name.js new file mode 100644 index 00000000..aa833e4c --- /dev/null +++ b/node_modules/core-js/modules/es.function.name.js @@ -0,0 +1,26 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS; +var uncurryThis = require('../internals/function-uncurry-this'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); + +var FunctionPrototype = Function.prototype; +var functionToString = uncurryThis(FunctionPrototype.toString); +var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; +var regExpExec = uncurryThis(nameRE.exec); +var NAME = 'name'; + +// Function instances `.name` property +// https://tc39.es/ecma262/#sec-function-instances-name +if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) { + defineBuiltInAccessor(FunctionPrototype, NAME, { + configurable: true, + get: function () { + try { + return regExpExec(nameRE, functionToString(this))[1]; + } catch (error) { + return ''; + } + } + }); +} diff --git a/node_modules/core-js/modules/es.global-this.js b/node_modules/core-js/modules/es.global-this.js new file mode 100644 index 00000000..aacb400a --- /dev/null +++ b/node_modules/core-js/modules/es.global-this.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); + +// `globalThis` object +// https://tc39.es/ecma262/#sec-globalthis +$({ global: true, forced: global.globalThis !== global }, { + globalThis: global +}); diff --git a/node_modules/core-js/modules/es.json.stringify.js b/node_modules/core-js/modules/es.json.stringify.js new file mode 100644 index 00000000..275ef347 --- /dev/null +++ b/node_modules/core-js/modules/es.json.stringify.js @@ -0,0 +1,73 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var apply = require('../internals/function-apply'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); +var isCallable = require('../internals/is-callable'); +var isSymbol = require('../internals/is-symbol'); +var arraySlice = require('../internals/array-slice'); +var getReplacerFunction = require('../internals/get-json-replacer-function'); +var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection'); + +var $String = String; +var $stringify = getBuiltIn('JSON', 'stringify'); +var exec = uncurryThis(/./.exec); +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var replace = uncurryThis(''.replace); +var numberToString = uncurryThis(1.0.toString); + +var tester = /[\uD800-\uDFFF]/g; +var low = /^[\uD800-\uDBFF]$/; +var hi = /^[\uDC00-\uDFFF]$/; + +var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () { + var symbol = getBuiltIn('Symbol')(); + // MS Edge converts symbol values to JSON as {} + return $stringify([symbol]) != '[null]' + // WebKit converts symbol values to JSON as null + || $stringify({ a: symbol }) != '{}' + // V8 throws on boxed symbols + || $stringify(Object(symbol)) != '{}'; +}); + +// https://github.com/tc39/proposal-well-formed-stringify +var ILL_FORMED_UNICODE = fails(function () { + return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' + || $stringify('\uDEAD') !== '"\\udead"'; +}); + +var stringifyWithSymbolsFix = function (it, replacer) { + var args = arraySlice(arguments); + var $replacer = getReplacerFunction(replacer); + if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined + args[1] = function (key, value) { + // some old implementations (like WebKit) could pass numbers as keys + if (isCallable($replacer)) value = call($replacer, this, $String(key), value); + if (!isSymbol(value)) return value; + }; + return apply($stringify, null, args); +}; + +var fixIllFormed = function (match, offset, string) { + var prev = charAt(string, offset - 1); + var next = charAt(string, offset + 1); + if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) { + return '\\u' + numberToString(charCodeAt(match, 0), 16); + } return match; +}; + +if ($stringify) { + // `JSON.stringify` method + // https://tc39.es/ecma262/#sec-json.stringify + $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + stringify: function stringify(it, replacer, space) { + var args = arraySlice(arguments); + var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); + return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result; + } + }); +} diff --git a/node_modules/core-js/modules/es.json.to-string-tag.js b/node_modules/core-js/modules/es.json.to-string-tag.js new file mode 100644 index 00000000..358d446c --- /dev/null +++ b/node_modules/core-js/modules/es.json.to-string-tag.js @@ -0,0 +1,7 @@ +'use strict'; +var global = require('../internals/global'); +var setToStringTag = require('../internals/set-to-string-tag'); + +// JSON[@@toStringTag] property +// https://tc39.es/ecma262/#sec-json-@@tostringtag +setToStringTag(global.JSON, 'JSON', true); diff --git a/node_modules/core-js/modules/es.map.constructor.js b/node_modules/core-js/modules/es.map.constructor.js new file mode 100644 index 00000000..c78dcf6d --- /dev/null +++ b/node_modules/core-js/modules/es.map.constructor.js @@ -0,0 +1,9 @@ +'use strict'; +var collection = require('../internals/collection'); +var collectionStrong = require('../internals/collection-strong'); + +// `Map` constructor +// https://tc39.es/ecma262/#sec-map-objects +collection('Map', function (init) { + return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; +}, collectionStrong); diff --git a/node_modules/core-js/modules/es.map.js b/node_modules/core-js/modules/es.map.js new file mode 100644 index 00000000..abe2fe5e --- /dev/null +++ b/node_modules/core-js/modules/es.map.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's replaced to module below +require('../modules/es.map.constructor'); diff --git a/node_modules/core-js/modules/es.math.acosh.js b/node_modules/core-js/modules/es.math.acosh.js new file mode 100644 index 00000000..555f951d --- /dev/null +++ b/node_modules/core-js/modules/es.math.acosh.js @@ -0,0 +1,26 @@ +'use strict'; +var $ = require('../internals/export'); +var log1p = require('../internals/math-log1p'); + +// eslint-disable-next-line es/no-math-acosh -- required for testing +var $acosh = Math.acosh; +var log = Math.log; +var sqrt = Math.sqrt; +var LN2 = Math.LN2; + +var FORCED = !$acosh + // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 + || Math.floor($acosh(Number.MAX_VALUE)) != 710 + // Tor Browser bug: Math.acosh(Infinity) -> NaN + || $acosh(Infinity) != Infinity; + +// `Math.acosh` method +// https://tc39.es/ecma262/#sec-math.acosh +$({ target: 'Math', stat: true, forced: FORCED }, { + acosh: function acosh(x) { + var n = +x; + return n < 1 ? NaN : n > 94906265.62425156 + ? log(n) + LN2 + : log1p(n - 1 + sqrt(n - 1) * sqrt(n + 1)); + } +}); diff --git a/node_modules/core-js/modules/es.math.asinh.js b/node_modules/core-js/modules/es.math.asinh.js new file mode 100644 index 00000000..df5cddad --- /dev/null +++ b/node_modules/core-js/modules/es.math.asinh.js @@ -0,0 +1,21 @@ +'use strict'; +var $ = require('../internals/export'); + +// eslint-disable-next-line es/no-math-asinh -- required for testing +var $asinh = Math.asinh; +var log = Math.log; +var sqrt = Math.sqrt; + +function asinh(x) { + var n = +x; + return !isFinite(n) || n == 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1)); +} + +var FORCED = !($asinh && 1 / $asinh(0) > 0); + +// `Math.asinh` method +// https://tc39.es/ecma262/#sec-math.asinh +// Tor Browser bug: Math.asinh(0) -> -0 +$({ target: 'Math', stat: true, forced: FORCED }, { + asinh: asinh +}); diff --git a/node_modules/core-js/modules/es.math.atanh.js b/node_modules/core-js/modules/es.math.atanh.js new file mode 100644 index 00000000..cffa5f15 --- /dev/null +++ b/node_modules/core-js/modules/es.math.atanh.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); + +// eslint-disable-next-line es/no-math-atanh -- required for testing +var $atanh = Math.atanh; +var log = Math.log; + +var FORCED = !($atanh && 1 / $atanh(-0) < 0); + +// `Math.atanh` method +// https://tc39.es/ecma262/#sec-math.atanh +// Tor Browser bug: Math.atanh(-0) -> 0 +$({ target: 'Math', stat: true, forced: FORCED }, { + atanh: function atanh(x) { + var n = +x; + return n == 0 ? n : log((1 + n) / (1 - n)) / 2; + } +}); diff --git a/node_modules/core-js/modules/es.math.cbrt.js b/node_modules/core-js/modules/es.math.cbrt.js new file mode 100644 index 00000000..1c634cfb --- /dev/null +++ b/node_modules/core-js/modules/es.math.cbrt.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var sign = require('../internals/math-sign'); + +var abs = Math.abs; +var pow = Math.pow; + +// `Math.cbrt` method +// https://tc39.es/ecma262/#sec-math.cbrt +$({ target: 'Math', stat: true }, { + cbrt: function cbrt(x) { + var n = +x; + return sign(n) * pow(abs(n), 1 / 3); + } +}); diff --git a/node_modules/core-js/modules/es.math.clz32.js b/node_modules/core-js/modules/es.math.clz32.js new file mode 100644 index 00000000..65f7ffc0 --- /dev/null +++ b/node_modules/core-js/modules/es.math.clz32.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); + +var floor = Math.floor; +var log = Math.log; +var LOG2E = Math.LOG2E; + +// `Math.clz32` method +// https://tc39.es/ecma262/#sec-math.clz32 +$({ target: 'Math', stat: true }, { + clz32: function clz32(x) { + var n = x >>> 0; + return n ? 31 - floor(log(n + 0.5) * LOG2E) : 32; + } +}); diff --git a/node_modules/core-js/modules/es.math.cosh.js b/node_modules/core-js/modules/es.math.cosh.js new file mode 100644 index 00000000..6846eadb --- /dev/null +++ b/node_modules/core-js/modules/es.math.cosh.js @@ -0,0 +1,19 @@ +'use strict'; +var $ = require('../internals/export'); +var expm1 = require('../internals/math-expm1'); + +// eslint-disable-next-line es/no-math-cosh -- required for testing +var $cosh = Math.cosh; +var abs = Math.abs; +var E = Math.E; + +var FORCED = !$cosh || $cosh(710) === Infinity; + +// `Math.cosh` method +// https://tc39.es/ecma262/#sec-math.cosh +$({ target: 'Math', stat: true, forced: FORCED }, { + cosh: function cosh(x) { + var t = expm1(abs(x) - 1) + 1; + return (t + 1 / (t * E * E)) * (E / 2); + } +}); diff --git a/node_modules/core-js/modules/es.math.expm1.js b/node_modules/core-js/modules/es.math.expm1.js new file mode 100644 index 00000000..1690209c --- /dev/null +++ b/node_modules/core-js/modules/es.math.expm1.js @@ -0,0 +1,8 @@ +'use strict'; +var $ = require('../internals/export'); +var expm1 = require('../internals/math-expm1'); + +// `Math.expm1` method +// https://tc39.es/ecma262/#sec-math.expm1 +// eslint-disable-next-line es/no-math-expm1 -- required for testing +$({ target: 'Math', stat: true, forced: expm1 != Math.expm1 }, { expm1: expm1 }); diff --git a/node_modules/core-js/modules/es.math.fround.js b/node_modules/core-js/modules/es.math.fround.js new file mode 100644 index 00000000..dedce41c --- /dev/null +++ b/node_modules/core-js/modules/es.math.fround.js @@ -0,0 +1,7 @@ +'use strict'; +var $ = require('../internals/export'); +var fround = require('../internals/math-fround'); + +// `Math.fround` method +// https://tc39.es/ecma262/#sec-math.fround +$({ target: 'Math', stat: true }, { fround: fround }); diff --git a/node_modules/core-js/modules/es.math.hypot.js b/node_modules/core-js/modules/es.math.hypot.js new file mode 100644 index 00000000..0c15598d --- /dev/null +++ b/node_modules/core-js/modules/es.math.hypot.js @@ -0,0 +1,36 @@ +'use strict'; +var $ = require('../internals/export'); + +// eslint-disable-next-line es/no-math-hypot -- required for testing +var $hypot = Math.hypot; +var abs = Math.abs; +var sqrt = Math.sqrt; + +// Chrome 77 bug +// https://bugs.chromium.org/p/v8/issues/detail?id=9546 +var FORCED = !!$hypot && $hypot(Infinity, NaN) !== Infinity; + +// `Math.hypot` method +// https://tc39.es/ecma262/#sec-math.hypot +$({ target: 'Math', stat: true, arity: 2, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + hypot: function hypot(value1, value2) { + var sum = 0; + var i = 0; + var aLen = arguments.length; + var larg = 0; + var arg, div; + while (i < aLen) { + arg = abs(arguments[i++]); + if (larg < arg) { + div = larg / arg; + sum = sum * div * div + 1; + larg = arg; + } else if (arg > 0) { + div = arg / larg; + sum += div * div; + } else sum += arg; + } + return larg === Infinity ? Infinity : larg * sqrt(sum); + } +}); diff --git a/node_modules/core-js/modules/es.math.imul.js b/node_modules/core-js/modules/es.math.imul.js new file mode 100644 index 00000000..5c3c8af9 --- /dev/null +++ b/node_modules/core-js/modules/es.math.imul.js @@ -0,0 +1,24 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); + +// eslint-disable-next-line es/no-math-imul -- required for testing +var $imul = Math.imul; + +var FORCED = fails(function () { + return $imul(0xFFFFFFFF, 5) != -5 || $imul.length != 2; +}); + +// `Math.imul` method +// https://tc39.es/ecma262/#sec-math.imul +// some WebKit versions fails with big numbers, some has wrong arity +$({ target: 'Math', stat: true, forced: FORCED }, { + imul: function imul(x, y) { + var UINT16 = 0xFFFF; + var xn = +x; + var yn = +y; + var xl = UINT16 & xn; + var yl = UINT16 & yn; + return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); + } +}); diff --git a/node_modules/core-js/modules/es.math.log10.js b/node_modules/core-js/modules/es.math.log10.js new file mode 100644 index 00000000..ebdcea32 --- /dev/null +++ b/node_modules/core-js/modules/es.math.log10.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var log10 = require('../internals/math-log10'); + +// `Math.log10` method +// https://tc39.es/ecma262/#sec-math.log10 +$({ target: 'Math', stat: true }, { + log10: log10 +}); diff --git a/node_modules/core-js/modules/es.math.log1p.js b/node_modules/core-js/modules/es.math.log1p.js new file mode 100644 index 00000000..951bb343 --- /dev/null +++ b/node_modules/core-js/modules/es.math.log1p.js @@ -0,0 +1,7 @@ +'use strict'; +var $ = require('../internals/export'); +var log1p = require('../internals/math-log1p'); + +// `Math.log1p` method +// https://tc39.es/ecma262/#sec-math.log1p +$({ target: 'Math', stat: true }, { log1p: log1p }); diff --git a/node_modules/core-js/modules/es.math.log2.js b/node_modules/core-js/modules/es.math.log2.js new file mode 100644 index 00000000..95cb4f94 --- /dev/null +++ b/node_modules/core-js/modules/es.math.log2.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); + +var log = Math.log; +var LN2 = Math.LN2; + +// `Math.log2` method +// https://tc39.es/ecma262/#sec-math.log2 +$({ target: 'Math', stat: true }, { + log2: function log2(x) { + return log(x) / LN2; + } +}); diff --git a/node_modules/core-js/modules/es.math.sign.js b/node_modules/core-js/modules/es.math.sign.js new file mode 100644 index 00000000..f28f17f1 --- /dev/null +++ b/node_modules/core-js/modules/es.math.sign.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var sign = require('../internals/math-sign'); + +// `Math.sign` method +// https://tc39.es/ecma262/#sec-math.sign +$({ target: 'Math', stat: true }, { + sign: sign +}); diff --git a/node_modules/core-js/modules/es.math.sinh.js b/node_modules/core-js/modules/es.math.sinh.js new file mode 100644 index 00000000..25cf0aac --- /dev/null +++ b/node_modules/core-js/modules/es.math.sinh.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var expm1 = require('../internals/math-expm1'); + +var abs = Math.abs; +var exp = Math.exp; +var E = Math.E; + +var FORCED = fails(function () { + // eslint-disable-next-line es/no-math-sinh -- required for testing + return Math.sinh(-2e-17) != -2e-17; +}); + +// `Math.sinh` method +// https://tc39.es/ecma262/#sec-math.sinh +// V8 near Chromium 38 has a problem with very small numbers +$({ target: 'Math', stat: true, forced: FORCED }, { + sinh: function sinh(x) { + var n = +x; + return abs(n) < 1 ? (expm1(n) - expm1(-n)) / 2 : (exp(n - 1) - exp(-n - 1)) * (E / 2); + } +}); diff --git a/node_modules/core-js/modules/es.math.tanh.js b/node_modules/core-js/modules/es.math.tanh.js new file mode 100644 index 00000000..d37403e5 --- /dev/null +++ b/node_modules/core-js/modules/es.math.tanh.js @@ -0,0 +1,16 @@ +'use strict'; +var $ = require('../internals/export'); +var expm1 = require('../internals/math-expm1'); + +var exp = Math.exp; + +// `Math.tanh` method +// https://tc39.es/ecma262/#sec-math.tanh +$({ target: 'Math', stat: true }, { + tanh: function tanh(x) { + var n = +x; + var a = expm1(n); + var b = expm1(-n); + return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(n) + exp(-n)); + } +}); diff --git a/node_modules/core-js/modules/es.math.to-string-tag.js b/node_modules/core-js/modules/es.math.to-string-tag.js new file mode 100644 index 00000000..183b9b8f --- /dev/null +++ b/node_modules/core-js/modules/es.math.to-string-tag.js @@ -0,0 +1,6 @@ +'use strict'; +var setToStringTag = require('../internals/set-to-string-tag'); + +// Math[@@toStringTag] property +// https://tc39.es/ecma262/#sec-math-@@tostringtag +setToStringTag(Math, 'Math', true); diff --git a/node_modules/core-js/modules/es.math.trunc.js b/node_modules/core-js/modules/es.math.trunc.js new file mode 100644 index 00000000..68d99216 --- /dev/null +++ b/node_modules/core-js/modules/es.math.trunc.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var trunc = require('../internals/math-trunc'); + +// `Math.trunc` method +// https://tc39.es/ecma262/#sec-math.trunc +$({ target: 'Math', stat: true }, { + trunc: trunc +}); diff --git a/node_modules/core-js/modules/es.number.constructor.js b/node_modules/core-js/modules/es.number.constructor.js new file mode 100644 index 00000000..055701ec --- /dev/null +++ b/node_modules/core-js/modules/es.number.constructor.js @@ -0,0 +1,104 @@ +'use strict'; +var $ = require('../internals/export'); +var IS_PURE = require('../internals/is-pure'); +var DESCRIPTORS = require('../internals/descriptors'); +var global = require('../internals/global'); +var path = require('../internals/path'); +var uncurryThis = require('../internals/function-uncurry-this'); +var isForced = require('../internals/is-forced'); +var hasOwn = require('../internals/has-own-property'); +var inheritIfRequired = require('../internals/inherit-if-required'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var isSymbol = require('../internals/is-symbol'); +var toPrimitive = require('../internals/to-primitive'); +var fails = require('../internals/fails'); +var getOwnPropertyNames = require('../internals/object-get-own-property-names').f; +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; +var defineProperty = require('../internals/object-define-property').f; +var thisNumberValue = require('../internals/this-number-value'); +var trim = require('../internals/string-trim').trim; + +var NUMBER = 'Number'; +var NativeNumber = global[NUMBER]; +var PureNumberNamespace = path[NUMBER]; +var NumberPrototype = NativeNumber.prototype; +var TypeError = global.TypeError; +var stringSlice = uncurryThis(''.slice); +var charCodeAt = uncurryThis(''.charCodeAt); + +// `ToNumeric` abstract operation +// https://tc39.es/ecma262/#sec-tonumeric +var toNumeric = function (value) { + var primValue = toPrimitive(value, 'number'); + return typeof primValue == 'bigint' ? primValue : toNumber(primValue); +}; + +// `ToNumber` abstract operation +// https://tc39.es/ecma262/#sec-tonumber +var toNumber = function (argument) { + var it = toPrimitive(argument, 'number'); + var first, third, radix, maxCode, digits, length, index, code; + if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number'); + if (typeof it == 'string' && it.length > 2) { + it = trim(it); + first = charCodeAt(it, 0); + if (first === 43 || first === 45) { + third = charCodeAt(it, 2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (charCodeAt(it, 1)) { + case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i + case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i + default: return +it; + } + digits = stringSlice(it, 2); + length = digits.length; + for (index = 0; index < length; index++) { + code = charCodeAt(digits, index); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; +}; + +var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1')); + +var calledWithNew = function (dummy) { + // includes check on 1..constructor(foo) case + return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); }); +}; + +// `Number` constructor +// https://tc39.es/ecma262/#sec-number-constructor +var NumberWrapper = function Number(value) { + var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); + return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n; +}; + +NumberWrapper.prototype = NumberPrototype; +if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper; + +$({ global: true, constructor: true, wrap: true, forced: FORCED }, { + Number: NumberWrapper +}); + +// Use `internal/copy-constructor-properties` helper in `core-js@4` +var copyConstructorProperties = function (target, source) { + for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES2015 (in case, if modules with ES2015 Number statics required before): + 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + + // ESNext + 'fromString,range' + ).split(','), j = 0, key; keys.length > j; j++) { + if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } +}; + +if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace); +if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber); diff --git a/node_modules/core-js/modules/es.number.epsilon.js b/node_modules/core-js/modules/es.number.epsilon.js new file mode 100644 index 00000000..30aa42a2 --- /dev/null +++ b/node_modules/core-js/modules/es.number.epsilon.js @@ -0,0 +1,8 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Number.EPSILON` constant +// https://tc39.es/ecma262/#sec-number.epsilon +$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { + EPSILON: Math.pow(2, -52) +}); diff --git a/node_modules/core-js/modules/es.number.is-finite.js b/node_modules/core-js/modules/es.number.is-finite.js new file mode 100644 index 00000000..61e10e79 --- /dev/null +++ b/node_modules/core-js/modules/es.number.is-finite.js @@ -0,0 +1,7 @@ +'use strict'; +var $ = require('../internals/export'); +var numberIsFinite = require('../internals/number-is-finite'); + +// `Number.isFinite` method +// https://tc39.es/ecma262/#sec-number.isfinite +$({ target: 'Number', stat: true }, { isFinite: numberIsFinite }); diff --git a/node_modules/core-js/modules/es.number.is-integer.js b/node_modules/core-js/modules/es.number.is-integer.js new file mode 100644 index 00000000..57620dfe --- /dev/null +++ b/node_modules/core-js/modules/es.number.is-integer.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var isIntegralNumber = require('../internals/is-integral-number'); + +// `Number.isInteger` method +// https://tc39.es/ecma262/#sec-number.isinteger +$({ target: 'Number', stat: true }, { + isInteger: isIntegralNumber +}); diff --git a/node_modules/core-js/modules/es.number.is-nan.js b/node_modules/core-js/modules/es.number.is-nan.js new file mode 100644 index 00000000..39b5dcee --- /dev/null +++ b/node_modules/core-js/modules/es.number.is-nan.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Number.isNaN` method +// https://tc39.es/ecma262/#sec-number.isnan +$({ target: 'Number', stat: true }, { + isNaN: function isNaN(number) { + // eslint-disable-next-line no-self-compare -- NaN check + return number != number; + } +}); diff --git a/node_modules/core-js/modules/es.number.is-safe-integer.js b/node_modules/core-js/modules/es.number.is-safe-integer.js new file mode 100644 index 00000000..5720637c --- /dev/null +++ b/node_modules/core-js/modules/es.number.is-safe-integer.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var isIntegralNumber = require('../internals/is-integral-number'); + +var abs = Math.abs; + +// `Number.isSafeInteger` method +// https://tc39.es/ecma262/#sec-number.issafeinteger +$({ target: 'Number', stat: true }, { + isSafeInteger: function isSafeInteger(number) { + return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF; + } +}); diff --git a/node_modules/core-js/modules/es.number.max-safe-integer.js b/node_modules/core-js/modules/es.number.max-safe-integer.js new file mode 100644 index 00000000..44e1cbba --- /dev/null +++ b/node_modules/core-js/modules/es.number.max-safe-integer.js @@ -0,0 +1,8 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Number.MAX_SAFE_INTEGER` constant +// https://tc39.es/ecma262/#sec-number.max_safe_integer +$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { + MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF +}); diff --git a/node_modules/core-js/modules/es.number.min-safe-integer.js b/node_modules/core-js/modules/es.number.min-safe-integer.js new file mode 100644 index 00000000..1d6a8712 --- /dev/null +++ b/node_modules/core-js/modules/es.number.min-safe-integer.js @@ -0,0 +1,8 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Number.MIN_SAFE_INTEGER` constant +// https://tc39.es/ecma262/#sec-number.min_safe_integer +$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { + MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF +}); diff --git a/node_modules/core-js/modules/es.number.parse-float.js b/node_modules/core-js/modules/es.number.parse-float.js new file mode 100644 index 00000000..20d551df --- /dev/null +++ b/node_modules/core-js/modules/es.number.parse-float.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var parseFloat = require('../internals/number-parse-float'); + +// `Number.parseFloat` method +// https://tc39.es/ecma262/#sec-number.parseFloat +// eslint-disable-next-line es/no-number-parsefloat -- required for testing +$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, { + parseFloat: parseFloat +}); diff --git a/node_modules/core-js/modules/es.number.parse-int.js b/node_modules/core-js/modules/es.number.parse-int.js new file mode 100644 index 00000000..83274e74 --- /dev/null +++ b/node_modules/core-js/modules/es.number.parse-int.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var parseInt = require('../internals/number-parse-int'); + +// `Number.parseInt` method +// https://tc39.es/ecma262/#sec-number.parseint +// eslint-disable-next-line es/no-number-parseint -- required for testing +$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, { + parseInt: parseInt +}); diff --git a/node_modules/core-js/modules/es.number.to-exponential.js b/node_modules/core-js/modules/es.number.to-exponential.js new file mode 100644 index 00000000..597938d2 --- /dev/null +++ b/node_modules/core-js/modules/es.number.to-exponential.js @@ -0,0 +1,102 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var thisNumberValue = require('../internals/this-number-value'); +var $repeat = require('../internals/string-repeat'); +var log10 = require('../internals/math-log10'); +var fails = require('../internals/fails'); + +var $RangeError = RangeError; +var $String = String; +var $isFinite = isFinite; +var abs = Math.abs; +var floor = Math.floor; +var pow = Math.pow; +var round = Math.round; +var nativeToExponential = uncurryThis(1.0.toExponential); +var repeat = uncurryThis($repeat); +var stringSlice = uncurryThis(''.slice); + +// Edge 17- +var ROUNDS_PROPERLY = nativeToExponential(-6.9e-11, 4) === '-6.9000e-11' + // IE11- && Edge 14- + && nativeToExponential(1.255, 2) === '1.25e+0' + // FF86-, V8 ~ Chrome 49-50 + && nativeToExponential(12345, 3) === '1.235e+4' + // FF86-, V8 ~ Chrome 49-50 + && nativeToExponential(25, 0) === '3e+1'; + +// IE8- +var throwsOnInfinityFraction = function () { + return fails(function () { + nativeToExponential(1, Infinity); + }) && fails(function () { + nativeToExponential(1, -Infinity); + }); +}; + +// Safari <11 && FF <50 +var properNonFiniteThisCheck = function () { + return !fails(function () { + nativeToExponential(Infinity, Infinity); + nativeToExponential(NaN, Infinity); + }); +}; + +var FORCED = !ROUNDS_PROPERLY || !throwsOnInfinityFraction() || !properNonFiniteThisCheck(); + +// `Number.prototype.toExponential` method +// https://tc39.es/ecma262/#sec-number.prototype.toexponential +$({ target: 'Number', proto: true, forced: FORCED }, { + toExponential: function toExponential(fractionDigits) { + var x = thisNumberValue(this); + if (fractionDigits === undefined) return nativeToExponential(x); + var f = toIntegerOrInfinity(fractionDigits); + if (!$isFinite(x)) return String(x); + // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation + if (f < 0 || f > 20) throw $RangeError('Incorrect fraction digits'); + if (ROUNDS_PROPERLY) return nativeToExponential(x, f); + var s = ''; + var m = ''; + var e = 0; + var c = ''; + var d = ''; + if (x < 0) { + s = '-'; + x = -x; + } + if (x === 0) { + e = 0; + m = repeat('0', f + 1); + } else { + // this block is based on https://gist.github.com/SheetJSDev/1100ad56b9f856c95299ed0e068eea08 + // TODO: improve accuracy with big fraction digits + var l = log10(x); + e = floor(l); + var n = 0; + var w = pow(10, e - f); + n = round(x / w); + if (2 * x >= (2 * n + 1) * w) { + n += 1; + } + if (n >= pow(10, f + 1)) { + n /= 10; + e += 1; + } + m = $String(n); + } + if (f !== 0) { + m = stringSlice(m, 0, 1) + '.' + stringSlice(m, 1); + } + if (e === 0) { + c = '+'; + d = '0'; + } else { + c = e > 0 ? '+' : '-'; + d = $String(abs(e)); + } + m += 'e' + c + d; + return s + m; + } +}); diff --git a/node_modules/core-js/modules/es.number.to-fixed.js b/node_modules/core-js/modules/es.number.to-fixed.js new file mode 100644 index 00000000..5930e48c --- /dev/null +++ b/node_modules/core-js/modules/es.number.to-fixed.js @@ -0,0 +1,131 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var thisNumberValue = require('../internals/this-number-value'); +var $repeat = require('../internals/string-repeat'); +var fails = require('../internals/fails'); + +var $RangeError = RangeError; +var $String = String; +var floor = Math.floor; +var repeat = uncurryThis($repeat); +var stringSlice = uncurryThis(''.slice); +var nativeToFixed = uncurryThis(1.0.toFixed); + +var pow = function (x, n, acc) { + return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); +}; + +var log = function (x) { + var n = 0; + var x2 = x; + while (x2 >= 4096) { + n += 12; + x2 /= 4096; + } + while (x2 >= 2) { + n += 1; + x2 /= 2; + } return n; +}; + +var multiply = function (data, n, c) { + var index = -1; + var c2 = c; + while (++index < 6) { + c2 += n * data[index]; + data[index] = c2 % 1e7; + c2 = floor(c2 / 1e7); + } +}; + +var divide = function (data, n) { + var index = 6; + var c = 0; + while (--index >= 0) { + c += data[index]; + data[index] = floor(c / n); + c = (c % n) * 1e7; + } +}; + +var dataToString = function (data) { + var index = 6; + var s = ''; + while (--index >= 0) { + if (s !== '' || index === 0 || data[index] !== 0) { + var t = $String(data[index]); + s = s === '' ? t : s + repeat('0', 7 - t.length) + t; + } + } return s; +}; + +var FORCED = fails(function () { + return nativeToFixed(0.00008, 3) !== '0.000' || + nativeToFixed(0.9, 0) !== '1' || + nativeToFixed(1.255, 2) !== '1.25' || + nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128'; +}) || !fails(function () { + // V8 ~ Android 4.3- + nativeToFixed({}); +}); + +// `Number.prototype.toFixed` method +// https://tc39.es/ecma262/#sec-number.prototype.tofixed +$({ target: 'Number', proto: true, forced: FORCED }, { + toFixed: function toFixed(fractionDigits) { + var number = thisNumberValue(this); + var fractDigits = toIntegerOrInfinity(fractionDigits); + var data = [0, 0, 0, 0, 0, 0]; + var sign = ''; + var result = '0'; + var e, z, j, k; + + // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation + if (fractDigits < 0 || fractDigits > 20) throw $RangeError('Incorrect fraction digits'); + // eslint-disable-next-line no-self-compare -- NaN check + if (number != number) return 'NaN'; + if (number <= -1e21 || number >= 1e21) return $String(number); + if (number < 0) { + sign = '-'; + number = -number; + } + if (number > 1e-21) { + e = log(number * pow(2, 69, 1)) - 69; + z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1); + z *= 0x10000000000000; + e = 52 - e; + if (e > 0) { + multiply(data, 0, z); + j = fractDigits; + while (j >= 7) { + multiply(data, 1e7, 0); + j -= 7; + } + multiply(data, pow(10, j, 1), 0); + j = e - 1; + while (j >= 23) { + divide(data, 1 << 23); + j -= 23; + } + divide(data, 1 << j); + multiply(data, 1, 1); + divide(data, 2); + result = dataToString(data); + } else { + multiply(data, 0, z); + multiply(data, 1 << -e, 0); + result = dataToString(data) + repeat('0', fractDigits); + } + } + if (fractDigits > 0) { + k = result.length; + result = sign + (k <= fractDigits + ? '0.' + repeat('0', fractDigits - k) + result + : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits)); + } else { + result = sign + result; + } return result; + } +}); diff --git a/node_modules/core-js/modules/es.number.to-precision.js b/node_modules/core-js/modules/es.number.to-precision.js new file mode 100644 index 00000000..9e49e53a --- /dev/null +++ b/node_modules/core-js/modules/es.number.to-precision.js @@ -0,0 +1,25 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); +var thisNumberValue = require('../internals/this-number-value'); + +var nativeToPrecision = uncurryThis(1.0.toPrecision); + +var FORCED = fails(function () { + // IE7- + return nativeToPrecision(1, undefined) !== '1'; +}) || !fails(function () { + // V8 ~ Android 4.3- + nativeToPrecision({}); +}); + +// `Number.prototype.toPrecision` method +// https://tc39.es/ecma262/#sec-number.prototype.toprecision +$({ target: 'Number', proto: true, forced: FORCED }, { + toPrecision: function toPrecision(precision) { + return precision === undefined + ? nativeToPrecision(thisNumberValue(this)) + : nativeToPrecision(thisNumberValue(this), precision); + } +}); diff --git a/node_modules/core-js/modules/es.object.assign.js b/node_modules/core-js/modules/es.object.assign.js new file mode 100644 index 00000000..88b10728 --- /dev/null +++ b/node_modules/core-js/modules/es.object.assign.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var assign = require('../internals/object-assign'); + +// `Object.assign` method +// https://tc39.es/ecma262/#sec-object.assign +// eslint-disable-next-line es/no-object-assign -- required for testing +$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign +}); diff --git a/node_modules/core-js/modules/es.object.create.js b/node_modules/core-js/modules/es.object.create.js new file mode 100644 index 00000000..5522f62e --- /dev/null +++ b/node_modules/core-js/modules/es.object.create.js @@ -0,0 +1,11 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var create = require('../internals/object-create'); + +// `Object.create` method +// https://tc39.es/ecma262/#sec-object.create +$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { + create: create +}); diff --git a/node_modules/core-js/modules/es.object.define-getter.js b/node_modules/core-js/modules/es.object.define-getter.js new file mode 100644 index 00000000..50fd442c --- /dev/null +++ b/node_modules/core-js/modules/es.object.define-getter.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var FORCED = require('../internals/object-prototype-accessors-forced'); +var aCallable = require('../internals/a-callable'); +var toObject = require('../internals/to-object'); +var definePropertyModule = require('../internals/object-define-property'); + +// `Object.prototype.__defineGetter__` method +// https://tc39.es/ecma262/#sec-object.prototype.__defineGetter__ +if (DESCRIPTORS) { + $({ target: 'Object', proto: true, forced: FORCED }, { + __defineGetter__: function __defineGetter__(P, getter) { + definePropertyModule.f(toObject(this), P, { get: aCallable(getter), enumerable: true, configurable: true }); + } + }); +} diff --git a/node_modules/core-js/modules/es.object.define-properties.js b/node_modules/core-js/modules/es.object.define-properties.js new file mode 100644 index 00000000..b19cc603 --- /dev/null +++ b/node_modules/core-js/modules/es.object.define-properties.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var defineProperties = require('../internals/object-define-properties').f; + +// `Object.defineProperties` method +// https://tc39.es/ecma262/#sec-object.defineproperties +// eslint-disable-next-line es/no-object-defineproperties -- safe +$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, { + defineProperties: defineProperties +}); diff --git a/node_modules/core-js/modules/es.object.define-property.js b/node_modules/core-js/modules/es.object.define-property.js new file mode 100644 index 00000000..691c9c4d --- /dev/null +++ b/node_modules/core-js/modules/es.object.define-property.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var defineProperty = require('../internals/object-define-property').f; + +// `Object.defineProperty` method +// https://tc39.es/ecma262/#sec-object.defineproperty +// eslint-disable-next-line es/no-object-defineproperty -- safe +$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, { + defineProperty: defineProperty +}); diff --git a/node_modules/core-js/modules/es.object.define-setter.js b/node_modules/core-js/modules/es.object.define-setter.js new file mode 100644 index 00000000..186976f3 --- /dev/null +++ b/node_modules/core-js/modules/es.object.define-setter.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var FORCED = require('../internals/object-prototype-accessors-forced'); +var aCallable = require('../internals/a-callable'); +var toObject = require('../internals/to-object'); +var definePropertyModule = require('../internals/object-define-property'); + +// `Object.prototype.__defineSetter__` method +// https://tc39.es/ecma262/#sec-object.prototype.__defineSetter__ +if (DESCRIPTORS) { + $({ target: 'Object', proto: true, forced: FORCED }, { + __defineSetter__: function __defineSetter__(P, setter) { + definePropertyModule.f(toObject(this), P, { set: aCallable(setter), enumerable: true, configurable: true }); + } + }); +} diff --git a/node_modules/core-js/modules/es.object.entries.js b/node_modules/core-js/modules/es.object.entries.js new file mode 100644 index 00000000..41b6ad25 --- /dev/null +++ b/node_modules/core-js/modules/es.object.entries.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $entries = require('../internals/object-to-array').entries; + +// `Object.entries` method +// https://tc39.es/ecma262/#sec-object.entries +$({ target: 'Object', stat: true }, { + entries: function entries(O) { + return $entries(O); + } +}); diff --git a/node_modules/core-js/modules/es.object.freeze.js b/node_modules/core-js/modules/es.object.freeze.js new file mode 100644 index 00000000..bd48bc74 --- /dev/null +++ b/node_modules/core-js/modules/es.object.freeze.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var FREEZING = require('../internals/freezing'); +var fails = require('../internals/fails'); +var isObject = require('../internals/is-object'); +var onFreeze = require('../internals/internal-metadata').onFreeze; + +// eslint-disable-next-line es/no-object-freeze -- safe +var $freeze = Object.freeze; +var FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); }); + +// `Object.freeze` method +// https://tc39.es/ecma262/#sec-object.freeze +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + freeze: function freeze(it) { + return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it; + } +}); diff --git a/node_modules/core-js/modules/es.object.from-entries.js b/node_modules/core-js/modules/es.object.from-entries.js new file mode 100644 index 00000000..12332a8a --- /dev/null +++ b/node_modules/core-js/modules/es.object.from-entries.js @@ -0,0 +1,16 @@ +'use strict'; +var $ = require('../internals/export'); +var iterate = require('../internals/iterate'); +var createProperty = require('../internals/create-property'); + +// `Object.fromEntries` method +// https://github.com/tc39/proposal-object-from-entries +$({ target: 'Object', stat: true }, { + fromEntries: function fromEntries(iterable) { + var obj = {}; + iterate(iterable, function (k, v) { + createProperty(obj, k, v); + }, { AS_ENTRIES: true }); + return obj; + } +}); diff --git a/node_modules/core-js/modules/es.object.get-own-property-descriptor.js b/node_modules/core-js/modules/es.object.get-own-property-descriptor.js new file mode 100644 index 00000000..44606a4a --- /dev/null +++ b/node_modules/core-js/modules/es.object.get-own-property-descriptor.js @@ -0,0 +1,16 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var toIndexedObject = require('../internals/to-indexed-object'); +var nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; +var DESCRIPTORS = require('../internals/descriptors'); + +var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); }); + +// `Object.getOwnPropertyDescriptor` method +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor +$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { + return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key); + } +}); diff --git a/node_modules/core-js/modules/es.object.get-own-property-descriptors.js b/node_modules/core-js/modules/es.object.get-own-property-descriptors.js new file mode 100644 index 00000000..7c1a22c0 --- /dev/null +++ b/node_modules/core-js/modules/es.object.get-own-property-descriptors.js @@ -0,0 +1,25 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var ownKeys = require('../internals/own-keys'); +var toIndexedObject = require('../internals/to-indexed-object'); +var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); +var createProperty = require('../internals/create-property'); + +// `Object.getOwnPropertyDescriptors` method +// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors +$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { + var O = toIndexedObject(object); + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + var keys = ownKeys(O); + var result = {}; + var index = 0; + var key, descriptor; + while (keys.length > index) { + descriptor = getOwnPropertyDescriptor(O, key = keys[index++]); + if (descriptor !== undefined) createProperty(result, key, descriptor); + } + return result; + } +}); diff --git a/node_modules/core-js/modules/es.object.get-own-property-names.js b/node_modules/core-js/modules/es.object.get-own-property-names.js new file mode 100644 index 00000000..c076a51c --- /dev/null +++ b/node_modules/core-js/modules/es.object.get-own-property-names.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var getOwnPropertyNames = require('../internals/object-get-own-property-names-external').f; + +// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing +var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); }); + +// `Object.getOwnPropertyNames` method +// https://tc39.es/ecma262/#sec-object.getownpropertynames +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { + getOwnPropertyNames: getOwnPropertyNames +}); diff --git a/node_modules/core-js/modules/es.object.get-own-property-symbols.js b/node_modules/core-js/modules/es.object.get-own-property-symbols.js new file mode 100644 index 00000000..62ebd30d --- /dev/null +++ b/node_modules/core-js/modules/es.object.get-own-property-symbols.js @@ -0,0 +1,19 @@ +'use strict'; +var $ = require('../internals/export'); +var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection'); +var fails = require('../internals/fails'); +var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols'); +var toObject = require('../internals/to-object'); + +// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 +var FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); }); + +// `Object.getOwnPropertySymbols` method +// https://tc39.es/ecma262/#sec-object.getownpropertysymbols +$({ target: 'Object', stat: true, forced: FORCED }, { + getOwnPropertySymbols: function getOwnPropertySymbols(it) { + var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : []; + } +}); diff --git a/node_modules/core-js/modules/es.object.get-prototype-of.js b/node_modules/core-js/modules/es.object.get-prototype-of.js new file mode 100644 index 00000000..e8b53163 --- /dev/null +++ b/node_modules/core-js/modules/es.object.get-prototype-of.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var toObject = require('../internals/to-object'); +var nativeGetPrototypeOf = require('../internals/object-get-prototype-of'); +var CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter'); + +var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); }); + +// `Object.getPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.getprototypeof +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, { + getPrototypeOf: function getPrototypeOf(it) { + return nativeGetPrototypeOf(toObject(it)); + } +}); + diff --git a/node_modules/core-js/modules/es.object.has-own.js b/node_modules/core-js/modules/es.object.has-own.js new file mode 100644 index 00000000..0723a801 --- /dev/null +++ b/node_modules/core-js/modules/es.object.has-own.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var hasOwn = require('../internals/has-own-property'); + +// `Object.hasOwn` method +// https://tc39.es/ecma262/#sec-object.hasown +$({ target: 'Object', stat: true }, { + hasOwn: hasOwn +}); diff --git a/node_modules/core-js/modules/es.object.is-extensible.js b/node_modules/core-js/modules/es.object.is-extensible.js new file mode 100644 index 00000000..4b05a297 --- /dev/null +++ b/node_modules/core-js/modules/es.object.is-extensible.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var $isExtensible = require('../internals/object-is-extensible'); + +// `Object.isExtensible` method +// https://tc39.es/ecma262/#sec-object.isextensible +// eslint-disable-next-line es/no-object-isextensible -- safe +$({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible }, { + isExtensible: $isExtensible +}); diff --git a/node_modules/core-js/modules/es.object.is-frozen.js b/node_modules/core-js/modules/es.object.is-frozen.js new file mode 100644 index 00000000..8fdd6f05 --- /dev/null +++ b/node_modules/core-js/modules/es.object.is-frozen.js @@ -0,0 +1,21 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var isObject = require('../internals/is-object'); +var classof = require('../internals/classof-raw'); +var ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible'); + +// eslint-disable-next-line es/no-object-isfrozen -- safe +var $isFrozen = Object.isFrozen; + +var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isFrozen(1); }); + +// `Object.isFrozen` method +// https://tc39.es/ecma262/#sec-object.isfrozen +$({ target: 'Object', stat: true, forced: FORCED }, { + isFrozen: function isFrozen(it) { + if (!isObject(it)) return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true; + return $isFrozen ? $isFrozen(it) : false; + } +}); diff --git a/node_modules/core-js/modules/es.object.is-sealed.js b/node_modules/core-js/modules/es.object.is-sealed.js new file mode 100644 index 00000000..72e2de79 --- /dev/null +++ b/node_modules/core-js/modules/es.object.is-sealed.js @@ -0,0 +1,21 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var isObject = require('../internals/is-object'); +var classof = require('../internals/classof-raw'); +var ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible'); + +// eslint-disable-next-line es/no-object-issealed -- safe +var $isSealed = Object.isSealed; + +var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isSealed(1); }); + +// `Object.isSealed` method +// https://tc39.es/ecma262/#sec-object.issealed +$({ target: 'Object', stat: true, forced: FORCED }, { + isSealed: function isSealed(it) { + if (!isObject(it)) return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true; + return $isSealed ? $isSealed(it) : false; + } +}); diff --git a/node_modules/core-js/modules/es.object.is.js b/node_modules/core-js/modules/es.object.is.js new file mode 100644 index 00000000..7478e2d0 --- /dev/null +++ b/node_modules/core-js/modules/es.object.is.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var is = require('../internals/same-value'); + +// `Object.is` method +// https://tc39.es/ecma262/#sec-object.is +$({ target: 'Object', stat: true }, { + is: is +}); diff --git a/node_modules/core-js/modules/es.object.keys.js b/node_modules/core-js/modules/es.object.keys.js new file mode 100644 index 00000000..92356b7d --- /dev/null +++ b/node_modules/core-js/modules/es.object.keys.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var toObject = require('../internals/to-object'); +var nativeKeys = require('../internals/object-keys'); +var fails = require('../internals/fails'); + +var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); }); + +// `Object.keys` method +// https://tc39.es/ecma262/#sec-object.keys +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { + keys: function keys(it) { + return nativeKeys(toObject(it)); + } +}); diff --git a/node_modules/core-js/modules/es.object.lookup-getter.js b/node_modules/core-js/modules/es.object.lookup-getter.js new file mode 100644 index 00000000..d7f59fec --- /dev/null +++ b/node_modules/core-js/modules/es.object.lookup-getter.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var FORCED = require('../internals/object-prototype-accessors-forced'); +var toObject = require('../internals/to-object'); +var toPropertyKey = require('../internals/to-property-key'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; + +// `Object.prototype.__lookupGetter__` method +// https://tc39.es/ecma262/#sec-object.prototype.__lookupGetter__ +if (DESCRIPTORS) { + $({ target: 'Object', proto: true, forced: FORCED }, { + __lookupGetter__: function __lookupGetter__(P) { + var O = toObject(this); + var key = toPropertyKey(P); + var desc; + do { + if (desc = getOwnPropertyDescriptor(O, key)) return desc.get; + } while (O = getPrototypeOf(O)); + } + }); +} diff --git a/node_modules/core-js/modules/es.object.lookup-setter.js b/node_modules/core-js/modules/es.object.lookup-setter.js new file mode 100644 index 00000000..77397132 --- /dev/null +++ b/node_modules/core-js/modules/es.object.lookup-setter.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var FORCED = require('../internals/object-prototype-accessors-forced'); +var toObject = require('../internals/to-object'); +var toPropertyKey = require('../internals/to-property-key'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; + +// `Object.prototype.__lookupSetter__` method +// https://tc39.es/ecma262/#sec-object.prototype.__lookupSetter__ +if (DESCRIPTORS) { + $({ target: 'Object', proto: true, forced: FORCED }, { + __lookupSetter__: function __lookupSetter__(P) { + var O = toObject(this); + var key = toPropertyKey(P); + var desc; + do { + if (desc = getOwnPropertyDescriptor(O, key)) return desc.set; + } while (O = getPrototypeOf(O)); + } + }); +} diff --git a/node_modules/core-js/modules/es.object.prevent-extensions.js b/node_modules/core-js/modules/es.object.prevent-extensions.js new file mode 100644 index 00000000..0f826f8c --- /dev/null +++ b/node_modules/core-js/modules/es.object.prevent-extensions.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var isObject = require('../internals/is-object'); +var onFreeze = require('../internals/internal-metadata').onFreeze; +var FREEZING = require('../internals/freezing'); +var fails = require('../internals/fails'); + +// eslint-disable-next-line es/no-object-preventextensions -- safe +var $preventExtensions = Object.preventExtensions; +var FAILS_ON_PRIMITIVES = fails(function () { $preventExtensions(1); }); + +// `Object.preventExtensions` method +// https://tc39.es/ecma262/#sec-object.preventextensions +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + preventExtensions: function preventExtensions(it) { + return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it; + } +}); diff --git a/node_modules/core-js/modules/es.object.proto.js b/node_modules/core-js/modules/es.object.proto.js new file mode 100644 index 00000000..2ec56275 --- /dev/null +++ b/node_modules/core-js/modules/es.object.proto.js @@ -0,0 +1,29 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var isObject = require('../internals/is-object'); +var toObject = require('../internals/to-object'); +var requireObjectCoercible = require('../internals/require-object-coercible'); + +// eslint-disable-next-line es/no-object-getprototypeof -- safe +var getPrototypeOf = Object.getPrototypeOf; +// eslint-disable-next-line es/no-object-setprototypeof -- safe +var setPrototypeOf = Object.setPrototypeOf; +var ObjectPrototype = Object.prototype; +var PROTO = '__proto__'; + +// `Object.prototype.__proto__` accessor +// https://tc39.es/ecma262/#sec-object.prototype.__proto__ +if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototype)) try { + defineBuiltInAccessor(ObjectPrototype, PROTO, { + configurable: true, + get: function __proto__() { + return getPrototypeOf(toObject(this)); + }, + set: function __proto__(proto) { + var O = requireObjectCoercible(this); + if (!isObject(proto) && proto !== null || !isObject(O)) return; + setPrototypeOf(O, proto); + } + }); +} catch (error) { /* empty */ } diff --git a/node_modules/core-js/modules/es.object.seal.js b/node_modules/core-js/modules/es.object.seal.js new file mode 100644 index 00000000..b77983b6 --- /dev/null +++ b/node_modules/core-js/modules/es.object.seal.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var isObject = require('../internals/is-object'); +var onFreeze = require('../internals/internal-metadata').onFreeze; +var FREEZING = require('../internals/freezing'); +var fails = require('../internals/fails'); + +// eslint-disable-next-line es/no-object-seal -- safe +var $seal = Object.seal; +var FAILS_ON_PRIMITIVES = fails(function () { $seal(1); }); + +// `Object.seal` method +// https://tc39.es/ecma262/#sec-object.seal +$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { + seal: function seal(it) { + return $seal && isObject(it) ? $seal(onFreeze(it)) : it; + } +}); diff --git a/node_modules/core-js/modules/es.object.set-prototype-of.js b/node_modules/core-js/modules/es.object.set-prototype-of.js new file mode 100644 index 00000000..3d0952e7 --- /dev/null +++ b/node_modules/core-js/modules/es.object.set-prototype-of.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); + +// `Object.setPrototypeOf` method +// https://tc39.es/ecma262/#sec-object.setprototypeof +$({ target: 'Object', stat: true }, { + setPrototypeOf: setPrototypeOf +}); diff --git a/node_modules/core-js/modules/es.object.to-string.js b/node_modules/core-js/modules/es.object.to-string.js new file mode 100644 index 00000000..63253be1 --- /dev/null +++ b/node_modules/core-js/modules/es.object.to-string.js @@ -0,0 +1,10 @@ +'use strict'; +var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support'); +var defineBuiltIn = require('../internals/define-built-in'); +var toString = require('../internals/object-to-string'); + +// `Object.prototype.toString` method +// https://tc39.es/ecma262/#sec-object.prototype.tostring +if (!TO_STRING_TAG_SUPPORT) { + defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); +} diff --git a/node_modules/core-js/modules/es.object.values.js b/node_modules/core-js/modules/es.object.values.js new file mode 100644 index 00000000..e35348e0 --- /dev/null +++ b/node_modules/core-js/modules/es.object.values.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $values = require('../internals/object-to-array').values; + +// `Object.values` method +// https://tc39.es/ecma262/#sec-object.values +$({ target: 'Object', stat: true }, { + values: function values(O) { + return $values(O); + } +}); diff --git a/node_modules/core-js/modules/es.parse-float.js b/node_modules/core-js/modules/es.parse-float.js new file mode 100644 index 00000000..bd1ec523 --- /dev/null +++ b/node_modules/core-js/modules/es.parse-float.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var $parseFloat = require('../internals/number-parse-float'); + +// `parseFloat` method +// https://tc39.es/ecma262/#sec-parsefloat-string +$({ global: true, forced: parseFloat != $parseFloat }, { + parseFloat: $parseFloat +}); diff --git a/node_modules/core-js/modules/es.parse-int.js b/node_modules/core-js/modules/es.parse-int.js new file mode 100644 index 00000000..e9d6d729 --- /dev/null +++ b/node_modules/core-js/modules/es.parse-int.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var $parseInt = require('../internals/number-parse-int'); + +// `parseInt` method +// https://tc39.es/ecma262/#sec-parseint-string-radix +$({ global: true, forced: parseInt != $parseInt }, { + parseInt: $parseInt +}); diff --git a/node_modules/core-js/modules/es.promise.all-settled.js b/node_modules/core-js/modules/es.promise.all-settled.js new file mode 100644 index 00000000..73b282a4 --- /dev/null +++ b/node_modules/core-js/modules/es.promise.all-settled.js @@ -0,0 +1,44 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var newPromiseCapabilityModule = require('../internals/new-promise-capability'); +var perform = require('../internals/perform'); +var iterate = require('../internals/iterate'); +var PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration'); + +// `Promise.allSettled` method +// https://tc39.es/ecma262/#sec-promise.allsettled +$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + allSettled: function allSettled(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var promiseResolve = aCallable(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call(promiseResolve, C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = { status: 'fulfilled', value: value }; + --remaining || resolve(values); + }, function (error) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = { status: 'rejected', reason: error }; + --remaining || resolve(values); + }); + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + } +}); diff --git a/node_modules/core-js/modules/es.promise.all.js b/node_modules/core-js/modules/es.promise.all.js new file mode 100644 index 00000000..77e81c93 --- /dev/null +++ b/node_modules/core-js/modules/es.promise.all.js @@ -0,0 +1,39 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var newPromiseCapabilityModule = require('../internals/new-promise-capability'); +var perform = require('../internals/perform'); +var iterate = require('../internals/iterate'); +var PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration'); + +// `Promise.all` method +// https://tc39.es/ecma262/#sec-promise.all +$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + all: function all(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aCallable(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call($promiseResolve, C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = value; + --remaining || resolve(values); + }, reject); + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + } +}); diff --git a/node_modules/core-js/modules/es.promise.any.js b/node_modules/core-js/modules/es.promise.any.js new file mode 100644 index 00000000..dd92bd76 --- /dev/null +++ b/node_modules/core-js/modules/es.promise.any.js @@ -0,0 +1,48 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var getBuiltIn = require('../internals/get-built-in'); +var newPromiseCapabilityModule = require('../internals/new-promise-capability'); +var perform = require('../internals/perform'); +var iterate = require('../internals/iterate'); +var PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration'); + +var PROMISE_ANY_ERROR = 'No one promise resolved'; + +// `Promise.any` method +// https://tc39.es/ecma262/#sec-promise.any +$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + any: function any(iterable) { + var C = this; + var AggregateError = getBuiltIn('AggregateError'); + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var promiseResolve = aCallable(C.resolve); + var errors = []; + var counter = 0; + var remaining = 1; + var alreadyResolved = false; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyRejected = false; + remaining++; + call(promiseResolve, C, promise).then(function (value) { + if (alreadyRejected || alreadyResolved) return; + alreadyResolved = true; + resolve(value); + }, function (error) { + if (alreadyRejected || alreadyResolved) return; + alreadyRejected = true; + errors[index] = error; + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + }); + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + if (result.error) reject(result.value); + return capability.promise; + } +}); diff --git a/node_modules/core-js/modules/es.promise.catch.js b/node_modules/core-js/modules/es.promise.catch.js new file mode 100644 index 00000000..c4947fde --- /dev/null +++ b/node_modules/core-js/modules/es.promise.catch.js @@ -0,0 +1,26 @@ +'use strict'; +var $ = require('../internals/export'); +var IS_PURE = require('../internals/is-pure'); +var FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR; +var NativePromiseConstructor = require('../internals/promise-native-constructor'); +var getBuiltIn = require('../internals/get-built-in'); +var isCallable = require('../internals/is-callable'); +var defineBuiltIn = require('../internals/define-built-in'); + +var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + +// `Promise.prototype.catch` method +// https://tc39.es/ecma262/#sec-promise.prototype.catch +$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, { + 'catch': function (onRejected) { + return this.then(undefined, onRejected); + } +}); + +// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` +if (!IS_PURE && isCallable(NativePromiseConstructor)) { + var method = getBuiltIn('Promise').prototype['catch']; + if (NativePromisePrototype['catch'] !== method) { + defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true }); + } +} diff --git a/node_modules/core-js/modules/es.promise.constructor.js b/node_modules/core-js/modules/es.promise.constructor.js new file mode 100644 index 00000000..e82feb3a --- /dev/null +++ b/node_modules/core-js/modules/es.promise.constructor.js @@ -0,0 +1,288 @@ +'use strict'; +var $ = require('../internals/export'); +var IS_PURE = require('../internals/is-pure'); +var IS_NODE = require('../internals/engine-is-node'); +var global = require('../internals/global'); +var call = require('../internals/function-call'); +var defineBuiltIn = require('../internals/define-built-in'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); +var setToStringTag = require('../internals/set-to-string-tag'); +var setSpecies = require('../internals/set-species'); +var aCallable = require('../internals/a-callable'); +var isCallable = require('../internals/is-callable'); +var isObject = require('../internals/is-object'); +var anInstance = require('../internals/an-instance'); +var speciesConstructor = require('../internals/species-constructor'); +var task = require('../internals/task').set; +var microtask = require('../internals/microtask'); +var hostReportErrors = require('../internals/host-report-errors'); +var perform = require('../internals/perform'); +var Queue = require('../internals/queue'); +var InternalStateModule = require('../internals/internal-state'); +var NativePromiseConstructor = require('../internals/promise-native-constructor'); +var PromiseConstructorDetection = require('../internals/promise-constructor-detection'); +var newPromiseCapabilityModule = require('../internals/new-promise-capability'); + +var PROMISE = 'Promise'; +var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; +var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT; +var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING; +var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); +var setInternalState = InternalStateModule.set; +var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; +var PromiseConstructor = NativePromiseConstructor; +var PromisePrototype = NativePromisePrototype; +var TypeError = global.TypeError; +var document = global.document; +var process = global.process; +var newPromiseCapability = newPromiseCapabilityModule.f; +var newGenericPromiseCapability = newPromiseCapability; + +var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); +var UNHANDLED_REJECTION = 'unhandledrejection'; +var REJECTION_HANDLED = 'rejectionhandled'; +var PENDING = 0; +var FULFILLED = 1; +var REJECTED = 2; +var HANDLED = 1; +var UNHANDLED = 2; + +var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; + +// helpers +var isThenable = function (it) { + var then; + return isObject(it) && isCallable(then = it.then) ? then : false; +}; + +var callReaction = function (reaction, state) { + var value = state.value; + var ok = state.state == FULFILLED; + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then, exited; + try { + if (handler) { + if (!ok) { + if (state.rejection === UNHANDLED) onHandleUnhandled(state); + state.rejection = HANDLED; + } + if (handler === true) result = value; + else { + if (domain) domain.enter(); + result = handler(value); // can throw + if (domain) { + domain.exit(); + exited = true; + } + } + if (result === reaction.promise) { + reject(TypeError('Promise-chain cycle')); + } else if (then = isThenable(result)) { + call(then, result, resolve, reject); + } else resolve(result); + } else reject(value); + } catch (error) { + if (domain && !exited) domain.exit(); + reject(error); + } +}; + +var notify = function (state, isReject) { + if (state.notified) return; + state.notified = true; + microtask(function () { + var reactions = state.reactions; + var reaction; + while (reaction = reactions.get()) { + callReaction(reaction, state); + } + state.notified = false; + if (isReject && !state.rejection) onUnhandled(state); + }); +}; + +var dispatchEvent = function (name, promise, reason) { + var event, handler; + if (DISPATCH_EVENT) { + event = document.createEvent('Event'); + event.promise = promise; + event.reason = reason; + event.initEvent(name, false, true); + global.dispatchEvent(event); + } else event = { promise: promise, reason: reason }; + if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event); + else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); +}; + +var onUnhandled = function (state) { + call(task, global, function () { + var promise = state.facade; + var value = state.value; + var IS_UNHANDLED = isUnhandled(state); + var result; + if (IS_UNHANDLED) { + result = perform(function () { + if (IS_NODE) { + process.emit('unhandledRejection', value, promise); + } else dispatchEvent(UNHANDLED_REJECTION, promise, value); + }); + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should + state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; + if (result.error) throw result.value; + } + }); +}; + +var isUnhandled = function (state) { + return state.rejection !== HANDLED && !state.parent; +}; + +var onHandleUnhandled = function (state) { + call(task, global, function () { + var promise = state.facade; + if (IS_NODE) { + process.emit('rejectionHandled', promise); + } else dispatchEvent(REJECTION_HANDLED, promise, state.value); + }); +}; + +var bind = function (fn, state, unwrap) { + return function (value) { + fn(state, value, unwrap); + }; +}; + +var internalReject = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + state.value = value; + state.state = REJECTED; + notify(state, true); +}; + +var internalResolve = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + try { + if (state.facade === value) throw TypeError("Promise can't be resolved itself"); + var then = isThenable(value); + if (then) { + microtask(function () { + var wrapper = { done: false }; + try { + call(then, value, + bind(internalResolve, wrapper, state), + bind(internalReject, wrapper, state) + ); + } catch (error) { + internalReject(wrapper, error, state); + } + }); + } else { + state.value = value; + state.state = FULFILLED; + notify(state, false); + } + } catch (error) { + internalReject({ done: false }, error, state); + } +}; + +// constructor polyfill +if (FORCED_PROMISE_CONSTRUCTOR) { + // 25.4.3.1 Promise(executor) + PromiseConstructor = function Promise(executor) { + anInstance(this, PromisePrototype); + aCallable(executor); + call(Internal, this); + var state = getInternalPromiseState(this); + try { + executor(bind(internalResolve, state), bind(internalReject, state)); + } catch (error) { + internalReject(state, error); + } + }; + + PromisePrototype = PromiseConstructor.prototype; + + // eslint-disable-next-line no-unused-vars -- required for `.length` + Internal = function Promise(executor) { + setInternalState(this, { + type: PROMISE, + done: false, + notified: false, + parent: false, + reactions: new Queue(), + rejection: false, + state: PENDING, + value: undefined + }); + }; + + // `Promise.prototype.then` method + // https://tc39.es/ecma262/#sec-promise.prototype.then + Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) { + var state = getInternalPromiseState(this); + var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); + state.parent = true; + reaction.ok = isCallable(onFulfilled) ? onFulfilled : true; + reaction.fail = isCallable(onRejected) && onRejected; + reaction.domain = IS_NODE ? process.domain : undefined; + if (state.state == PENDING) state.reactions.add(reaction); + else microtask(function () { + callReaction(reaction, state); + }); + return reaction.promise; + }); + + OwnPromiseCapability = function () { + var promise = new Internal(); + var state = getInternalPromiseState(promise); + this.promise = promise; + this.resolve = bind(internalResolve, state); + this.reject = bind(internalReject, state); + }; + + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { + return C === PromiseConstructor || C === PromiseWrapper + ? new OwnPromiseCapability(C) + : newGenericPromiseCapability(C); + }; + + if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) { + nativeThen = NativePromisePrototype.then; + + if (!NATIVE_PROMISE_SUBCLASSING) { + // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs + defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { + var that = this; + return new PromiseConstructor(function (resolve, reject) { + call(nativeThen, that, resolve, reject); + }).then(onFulfilled, onRejected); + // https://github.com/zloirock/core-js/issues/640 + }, { unsafe: true }); + } + + // make `.constructor === Promise` work for native promise-based APIs + try { + delete NativePromisePrototype.constructor; + } catch (error) { /* empty */ } + + // make `instanceof Promise` work for native promise-based APIs + if (setPrototypeOf) { + setPrototypeOf(NativePromisePrototype, PromisePrototype); + } + } +} + +$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + Promise: PromiseConstructor +}); + +setToStringTag(PromiseConstructor, PROMISE, false, true); +setSpecies(PROMISE); diff --git a/node_modules/core-js/modules/es.promise.finally.js b/node_modules/core-js/modules/es.promise.finally.js new file mode 100644 index 00000000..d5644b6f --- /dev/null +++ b/node_modules/core-js/modules/es.promise.finally.js @@ -0,0 +1,43 @@ +'use strict'; +var $ = require('../internals/export'); +var IS_PURE = require('../internals/is-pure'); +var NativePromiseConstructor = require('../internals/promise-native-constructor'); +var fails = require('../internals/fails'); +var getBuiltIn = require('../internals/get-built-in'); +var isCallable = require('../internals/is-callable'); +var speciesConstructor = require('../internals/species-constructor'); +var promiseResolve = require('../internals/promise-resolve'); +var defineBuiltIn = require('../internals/define-built-in'); + +var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + +// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829 +var NON_GENERIC = !!NativePromiseConstructor && fails(function () { + // eslint-disable-next-line unicorn/no-thenable -- required for testing + NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ }); +}); + +// `Promise.prototype.finally` method +// https://tc39.es/ecma262/#sec-promise.prototype.finally +$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, { + 'finally': function (onFinally) { + var C = speciesConstructor(this, getBuiltIn('Promise')); + var isFunction = isCallable(onFinally); + return this.then( + isFunction ? function (x) { + return promiseResolve(C, onFinally()).then(function () { return x; }); + } : onFinally, + isFunction ? function (e) { + return promiseResolve(C, onFinally()).then(function () { throw e; }); + } : onFinally + ); + } +}); + +// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then` +if (!IS_PURE && isCallable(NativePromiseConstructor)) { + var method = getBuiltIn('Promise').prototype['finally']; + if (NativePromisePrototype['finally'] !== method) { + defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true }); + } +} diff --git a/node_modules/core-js/modules/es.promise.js b/node_modules/core-js/modules/es.promise.js new file mode 100644 index 00000000..86067786 --- /dev/null +++ b/node_modules/core-js/modules/es.promise.js @@ -0,0 +1,8 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +require('../modules/es.promise.constructor'); +require('../modules/es.promise.all'); +require('../modules/es.promise.catch'); +require('../modules/es.promise.race'); +require('../modules/es.promise.reject'); +require('../modules/es.promise.resolve'); diff --git a/node_modules/core-js/modules/es.promise.race.js b/node_modules/core-js/modules/es.promise.race.js new file mode 100644 index 00000000..2fb470d2 --- /dev/null +++ b/node_modules/core-js/modules/es.promise.race.js @@ -0,0 +1,26 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var newPromiseCapabilityModule = require('../internals/new-promise-capability'); +var perform = require('../internals/perform'); +var iterate = require('../internals/iterate'); +var PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration'); + +// `Promise.race` method +// https://tc39.es/ecma262/#sec-promise.race +$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + race: function race(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aCallable(C.resolve); + iterate(iterable, function (promise) { + call($promiseResolve, C, promise).then(capability.resolve, reject); + }); + }); + if (result.error) reject(result.value); + return capability.promise; + } +}); diff --git a/node_modules/core-js/modules/es.promise.reject.js b/node_modules/core-js/modules/es.promise.reject.js new file mode 100644 index 00000000..ee759e4a --- /dev/null +++ b/node_modules/core-js/modules/es.promise.reject.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var newPromiseCapabilityModule = require('../internals/new-promise-capability'); +var FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR; + +// `Promise.reject` method +// https://tc39.es/ecma262/#sec-promise.reject +$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + reject: function reject(r) { + var capability = newPromiseCapabilityModule.f(this); + call(capability.reject, undefined, r); + return capability.promise; + } +}); diff --git a/node_modules/core-js/modules/es.promise.resolve.js b/node_modules/core-js/modules/es.promise.resolve.js new file mode 100644 index 00000000..f1a0a0ea --- /dev/null +++ b/node_modules/core-js/modules/es.promise.resolve.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var IS_PURE = require('../internals/is-pure'); +var NativePromiseConstructor = require('../internals/promise-native-constructor'); +var FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR; +var promiseResolve = require('../internals/promise-resolve'); + +var PromiseConstructorWrapper = getBuiltIn('Promise'); +var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR; + +// `Promise.resolve` method +// https://tc39.es/ecma262/#sec-promise.resolve +$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, { + resolve: function resolve(x) { + return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x); + } +}); diff --git a/node_modules/core-js/modules/es.reflect.apply.js b/node_modules/core-js/modules/es.reflect.apply.js new file mode 100644 index 00000000..2e19c8f3 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.apply.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var functionApply = require('../internals/function-apply'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var fails = require('../internals/fails'); + +// MS Edge argumentsList argument is optional +var OPTIONAL_ARGUMENTS_LIST = !fails(function () { + // eslint-disable-next-line es/no-reflect -- required for testing + Reflect.apply(function () { /* empty */ }); +}); + +// `Reflect.apply` method +// https://tc39.es/ecma262/#sec-reflect.apply +$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { + apply: function apply(target, thisArgument, argumentsList) { + return functionApply(aCallable(target), thisArgument, anObject(argumentsList)); + } +}); diff --git a/node_modules/core-js/modules/es.reflect.construct.js b/node_modules/core-js/modules/es.reflect.construct.js new file mode 100644 index 00000000..632b0efb --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.construct.js @@ -0,0 +1,57 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var apply = require('../internals/function-apply'); +var bind = require('../internals/function-bind'); +var aConstructor = require('../internals/a-constructor'); +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var create = require('../internals/object-create'); +var fails = require('../internals/fails'); + +var nativeConstruct = getBuiltIn('Reflect', 'construct'); +var ObjectPrototype = Object.prototype; +var push = [].push; + +// `Reflect.construct` method +// https://tc39.es/ecma262/#sec-reflect.construct +// MS Edge supports only 2 arguments and argumentsList argument is optional +// FF Nightly sets third argument as `new.target`, but does not create `this` from it +var NEW_TARGET_BUG = fails(function () { + function F() { /* empty */ } + return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F); +}); + +var ARGS_BUG = !fails(function () { + nativeConstruct(function () { /* empty */ }); +}); + +var FORCED = NEW_TARGET_BUG || ARGS_BUG; + +$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, { + construct: function construct(Target, args /* , newTarget */) { + aConstructor(Target); + anObject(args); + var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]); + if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget); + if (Target == newTarget) { + // w/o altered newTarget, optimization for 0-4 arguments + switch (args.length) { + case 0: return new Target(); + case 1: return new Target(args[0]); + case 2: return new Target(args[0], args[1]); + case 3: return new Target(args[0], args[1], args[2]); + case 4: return new Target(args[0], args[1], args[2], args[3]); + } + // w/o altered newTarget, lot of arguments case + var $args = [null]; + apply(push, $args, args); + return new (apply(bind, Target, $args))(); + } + // with altered newTarget, not support built-in constructors + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : ObjectPrototype); + var result = apply(Target, instance, args); + return isObject(result) ? result : instance; + } +}); diff --git a/node_modules/core-js/modules/es.reflect.define-property.js b/node_modules/core-js/modules/es.reflect.define-property.js new file mode 100644 index 00000000..c01ee5a4 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.define-property.js @@ -0,0 +1,29 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var anObject = require('../internals/an-object'); +var toPropertyKey = require('../internals/to-property-key'); +var definePropertyModule = require('../internals/object-define-property'); +var fails = require('../internals/fails'); + +// MS Edge has broken Reflect.defineProperty - throwing instead of returning false +var ERROR_INSTEAD_OF_FALSE = fails(function () { + // eslint-disable-next-line es/no-reflect -- required for testing + Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 }); +}); + +// `Reflect.defineProperty` method +// https://tc39.es/ecma262/#sec-reflect.defineproperty +$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, { + defineProperty: function defineProperty(target, propertyKey, attributes) { + anObject(target); + var key = toPropertyKey(propertyKey); + anObject(attributes); + try { + definePropertyModule.f(target, key, attributes); + return true; + } catch (error) { + return false; + } + } +}); diff --git a/node_modules/core-js/modules/es.reflect.delete-property.js b/node_modules/core-js/modules/es.reflect.delete-property.js new file mode 100644 index 00000000..fa9c1e66 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.delete-property.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var anObject = require('../internals/an-object'); +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; + +// `Reflect.deleteProperty` method +// https://tc39.es/ecma262/#sec-reflect.deleteproperty +$({ target: 'Reflect', stat: true }, { + deleteProperty: function deleteProperty(target, propertyKey) { + var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey); + return descriptor && !descriptor.configurable ? false : delete target[propertyKey]; + } +}); diff --git a/node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js b/node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js new file mode 100644 index 00000000..2e978bf0 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var anObject = require('../internals/an-object'); +var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); + +// `Reflect.getOwnPropertyDescriptor` method +// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor +$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { + return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); + } +}); diff --git a/node_modules/core-js/modules/es.reflect.get-prototype-of.js b/node_modules/core-js/modules/es.reflect.get-prototype-of.js new file mode 100644 index 00000000..1fef329e --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.get-prototype-of.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var anObject = require('../internals/an-object'); +var objectGetPrototypeOf = require('../internals/object-get-prototype-of'); +var CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter'); + +// `Reflect.getPrototypeOf` method +// https://tc39.es/ecma262/#sec-reflect.getprototypeof +$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { + getPrototypeOf: function getPrototypeOf(target) { + return objectGetPrototypeOf(anObject(target)); + } +}); diff --git a/node_modules/core-js/modules/es.reflect.get.js b/node_modules/core-js/modules/es.reflect.get.js new file mode 100644 index 00000000..e5fc8d1b --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.get.js @@ -0,0 +1,25 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var isObject = require('../internals/is-object'); +var anObject = require('../internals/an-object'); +var isDataDescriptor = require('../internals/is-data-descriptor'); +var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); + +// `Reflect.get` method +// https://tc39.es/ecma262/#sec-reflect.get +function get(target, propertyKey /* , receiver */) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var descriptor, prototype; + if (anObject(target) === receiver) return target[propertyKey]; + descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey); + if (descriptor) return isDataDescriptor(descriptor) + ? descriptor.value + : descriptor.get === undefined ? undefined : call(descriptor.get, receiver); + if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver); +} + +$({ target: 'Reflect', stat: true }, { + get: get +}); diff --git a/node_modules/core-js/modules/es.reflect.has.js b/node_modules/core-js/modules/es.reflect.has.js new file mode 100644 index 00000000..5d4a7f26 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.has.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Reflect.has` method +// https://tc39.es/ecma262/#sec-reflect.has +$({ target: 'Reflect', stat: true }, { + has: function has(target, propertyKey) { + return propertyKey in target; + } +}); diff --git a/node_modules/core-js/modules/es.reflect.is-extensible.js b/node_modules/core-js/modules/es.reflect.is-extensible.js new file mode 100644 index 00000000..35480ba9 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.is-extensible.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var anObject = require('../internals/an-object'); +var $isExtensible = require('../internals/object-is-extensible'); + +// `Reflect.isExtensible` method +// https://tc39.es/ecma262/#sec-reflect.isextensible +$({ target: 'Reflect', stat: true }, { + isExtensible: function isExtensible(target) { + anObject(target); + return $isExtensible(target); + } +}); diff --git a/node_modules/core-js/modules/es.reflect.own-keys.js b/node_modules/core-js/modules/es.reflect.own-keys.js new file mode 100644 index 00000000..17646526 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.own-keys.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var ownKeys = require('../internals/own-keys'); + +// `Reflect.ownKeys` method +// https://tc39.es/ecma262/#sec-reflect.ownkeys +$({ target: 'Reflect', stat: true }, { + ownKeys: ownKeys +}); diff --git a/node_modules/core-js/modules/es.reflect.prevent-extensions.js b/node_modules/core-js/modules/es.reflect.prevent-extensions.js new file mode 100644 index 00000000..57b298d8 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.prevent-extensions.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var anObject = require('../internals/an-object'); +var FREEZING = require('../internals/freezing'); + +// `Reflect.preventExtensions` method +// https://tc39.es/ecma262/#sec-reflect.preventextensions +$({ target: 'Reflect', stat: true, sham: !FREEZING }, { + preventExtensions: function preventExtensions(target) { + anObject(target); + try { + var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions'); + if (objectPreventExtensions) objectPreventExtensions(target); + return true; + } catch (error) { + return false; + } + } +}); diff --git a/node_modules/core-js/modules/es.reflect.set-prototype-of.js b/node_modules/core-js/modules/es.reflect.set-prototype-of.js new file mode 100644 index 00000000..4b7faffc --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.set-prototype-of.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var anObject = require('../internals/an-object'); +var aPossiblePrototype = require('../internals/a-possible-prototype'); +var objectSetPrototypeOf = require('../internals/object-set-prototype-of'); + +// `Reflect.setPrototypeOf` method +// https://tc39.es/ecma262/#sec-reflect.setprototypeof +if (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, { + setPrototypeOf: function setPrototypeOf(target, proto) { + anObject(target); + aPossiblePrototype(proto); + try { + objectSetPrototypeOf(target, proto); + return true; + } catch (error) { + return false; + } + } +}); diff --git a/node_modules/core-js/modules/es.reflect.set.js b/node_modules/core-js/modules/es.reflect.set.js new file mode 100644 index 00000000..5a0d3b12 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.set.js @@ -0,0 +1,50 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var isDataDescriptor = require('../internals/is-data-descriptor'); +var fails = require('../internals/fails'); +var definePropertyModule = require('../internals/object-define-property'); +var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); + +// `Reflect.set` method +// https://tc39.es/ecma262/#sec-reflect.set +function set(target, propertyKey, V /* , receiver */) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); + var existingDescriptor, prototype, setter; + if (!ownDescriptor) { + if (isObject(prototype = getPrototypeOf(target))) { + return set(prototype, propertyKey, V, receiver); + } + ownDescriptor = createPropertyDescriptor(0); + } + if (isDataDescriptor(ownDescriptor)) { + if (ownDescriptor.writable === false || !isObject(receiver)) return false; + if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) { + if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; + existingDescriptor.value = V; + definePropertyModule.f(receiver, propertyKey, existingDescriptor); + } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V)); + } else { + setter = ownDescriptor.set; + if (setter === undefined) return false; + call(setter, receiver, V); + } return true; +} + +// MS Edge 17-18 Reflect.set allows setting the property to object +// with non-writable property on the prototype +var MS_EDGE_BUG = fails(function () { + var Constructor = function () { /* empty */ }; + var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true }); + // eslint-disable-next-line es/no-reflect -- required for testing + return Reflect.set(Constructor.prototype, 'a', 1, object) !== false; +}); + +$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, { + set: set +}); diff --git a/node_modules/core-js/modules/es.reflect.to-string-tag.js b/node_modules/core-js/modules/es.reflect.to-string-tag.js new file mode 100644 index 00000000..14f27161 --- /dev/null +++ b/node_modules/core-js/modules/es.reflect.to-string-tag.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var setToStringTag = require('../internals/set-to-string-tag'); + +$({ global: true }, { Reflect: {} }); + +// Reflect[@@toStringTag] property +// https://tc39.es/ecma262/#sec-reflect-@@tostringtag +setToStringTag(global.Reflect, 'Reflect', true); diff --git a/node_modules/core-js/modules/es.regexp.constructor.js b/node_modules/core-js/modules/es.regexp.constructor.js new file mode 100644 index 00000000..2f4bc137 --- /dev/null +++ b/node_modules/core-js/modules/es.regexp.constructor.js @@ -0,0 +1,191 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); +var isForced = require('../internals/is-forced'); +var inheritIfRequired = require('../internals/inherit-if-required'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var getOwnPropertyNames = require('../internals/object-get-own-property-names').f; +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var isRegExp = require('../internals/is-regexp'); +var toString = require('../internals/to-string'); +var getRegExpFlags = require('../internals/regexp-get-flags'); +var stickyHelpers = require('../internals/regexp-sticky-helpers'); +var proxyAccessor = require('../internals/proxy-accessor'); +var defineBuiltIn = require('../internals/define-built-in'); +var fails = require('../internals/fails'); +var hasOwn = require('../internals/has-own-property'); +var enforceInternalState = require('../internals/internal-state').enforce; +var setSpecies = require('../internals/set-species'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all'); +var UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg'); + +var MATCH = wellKnownSymbol('match'); +var NativeRegExp = global.RegExp; +var RegExpPrototype = NativeRegExp.prototype; +var SyntaxError = global.SyntaxError; +var exec = uncurryThis(RegExpPrototype.exec); +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var stringIndexOf = uncurryThis(''.indexOf); +var stringSlice = uncurryThis(''.slice); +// TODO: Use only proper RegExpIdentifierName +var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; +var re1 = /a/g; +var re2 = /a/g; + +// "new" should create a new object, old webkit bug +var CORRECT_NEW = new NativeRegExp(re1) !== re1; + +var MISSED_STICKY = stickyHelpers.MISSED_STICKY; +var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; + +var BASE_FORCED = DESCRIPTORS && + (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () { + re2[MATCH] = false; + // RegExp constructor can alter flags and IsRegExp works correct with @@match + return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; + })); + +var handleDotAll = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var brackets = false; + var chr; + for (; index <= length; index++) { + chr = charAt(string, index); + if (chr === '\\') { + result += chr + charAt(string, ++index); + continue; + } + if (!brackets && chr === '.') { + result += '[\\s\\S]'; + } else { + if (chr === '[') { + brackets = true; + } else if (chr === ']') { + brackets = false; + } result += chr; + } + } return result; +}; + +var handleNCG = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var named = []; + var names = {}; + var brackets = false; + var ncg = false; + var groupid = 0; + var groupname = ''; + var chr; + for (; index <= length; index++) { + chr = charAt(string, index); + if (chr === '\\') { + chr = chr + charAt(string, ++index); + } else if (chr === ']') { + brackets = false; + } else if (!brackets) switch (true) { + case chr === '[': + brackets = true; + break; + case chr === '(': + if (exec(IS_NCG, stringSlice(string, index + 1))) { + index += 2; + ncg = true; + } + result += chr; + groupid++; + continue; + case chr === '>' && ncg: + if (groupname === '' || hasOwn(names, groupname)) { + throw new SyntaxError('Invalid capture group name'); + } + names[groupname] = true; + named[named.length] = [groupname, groupid]; + ncg = false; + groupname = ''; + continue; + } + if (ncg) groupname += chr; + else result += chr; + } return [result, named]; +}; + +// `RegExp` constructor +// https://tc39.es/ecma262/#sec-regexp-constructor +if (isForced('RegExp', BASE_FORCED)) { + var RegExpWrapper = function RegExp(pattern, flags) { + var thisIsRegExp = isPrototypeOf(RegExpPrototype, this); + var patternIsRegExp = isRegExp(pattern); + var flagsAreUndefined = flags === undefined; + var groups = []; + var rawPattern = pattern; + var rawFlags, dotAll, sticky, handled, result, state; + + if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { + return pattern; + } + + if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) { + pattern = pattern.source; + if (flagsAreUndefined) flags = getRegExpFlags(rawPattern); + } + + pattern = pattern === undefined ? '' : toString(pattern); + flags = flags === undefined ? '' : toString(flags); + rawPattern = pattern; + + if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) { + dotAll = !!flags && stringIndexOf(flags, 's') > -1; + if (dotAll) flags = replace(flags, /s/g, ''); + } + + rawFlags = flags; + + if (MISSED_STICKY && 'sticky' in re1) { + sticky = !!flags && stringIndexOf(flags, 'y') > -1; + if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, ''); + } + + if (UNSUPPORTED_NCG) { + handled = handleNCG(pattern); + pattern = handled[0]; + groups = handled[1]; + } + + result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); + + if (dotAll || sticky || groups.length) { + state = enforceInternalState(result); + if (dotAll) { + state.dotAll = true; + state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); + } + if (sticky) state.sticky = true; + if (groups.length) state.groups = groups; + } + + if (pattern !== rawPattern) try { + // fails in old engines, but we have no alternatives for unsupported regex syntax + createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); + } catch (error) { /* empty */ } + + return result; + }; + + for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) { + proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]); + } + + RegExpPrototype.constructor = RegExpWrapper; + RegExpWrapper.prototype = RegExpPrototype; + defineBuiltIn(global, 'RegExp', RegExpWrapper, { constructor: true }); +} + +// https://tc39.es/ecma262/#sec-get-regexp-@@species +setSpecies('RegExp'); diff --git a/node_modules/core-js/modules/es.regexp.dot-all.js b/node_modules/core-js/modules/es.regexp.dot-all.js new file mode 100644 index 00000000..cca3eb48 --- /dev/null +++ b/node_modules/core-js/modules/es.regexp.dot-all.js @@ -0,0 +1,26 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all'); +var classof = require('../internals/classof-raw'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var getInternalState = require('../internals/internal-state').get; + +var RegExpPrototype = RegExp.prototype; +var $TypeError = TypeError; + +// `RegExp.prototype.dotAll` getter +// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall +if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) { + defineBuiltInAccessor(RegExpPrototype, 'dotAll', { + configurable: true, + get: function dotAll() { + if (this === RegExpPrototype) return undefined; + // We can't use InternalStateModule.getterFor because + // we don't add metadata for regexps created by a literal. + if (classof(this) === 'RegExp') { + return !!getInternalState(this).dotAll; + } + throw $TypeError('Incompatible receiver, RegExp required'); + } + }); +} diff --git a/node_modules/core-js/modules/es.regexp.exec.js b/node_modules/core-js/modules/es.regexp.exec.js new file mode 100644 index 00000000..072f2be3 --- /dev/null +++ b/node_modules/core-js/modules/es.regexp.exec.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var exec = require('../internals/regexp-exec'); + +// `RegExp.prototype.exec` method +// https://tc39.es/ecma262/#sec-regexp.prototype.exec +$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { + exec: exec +}); diff --git a/node_modules/core-js/modules/es.regexp.flags.js b/node_modules/core-js/modules/es.regexp.flags.js new file mode 100644 index 00000000..d42b8cb4 --- /dev/null +++ b/node_modules/core-js/modules/es.regexp.flags.js @@ -0,0 +1,56 @@ +'use strict'; +var global = require('../internals/global'); +var DESCRIPTORS = require('../internals/descriptors'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var regExpFlags = require('../internals/regexp-flags'); +var fails = require('../internals/fails'); + +// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError +var RegExp = global.RegExp; +var RegExpPrototype = RegExp.prototype; + +var FORCED = DESCRIPTORS && fails(function () { + var INDICES_SUPPORT = true; + try { + RegExp('.', 'd'); + } catch (error) { + INDICES_SUPPORT = false; + } + + var O = {}; + // modern V8 bug + var calls = ''; + var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy'; + + var addGetter = function (key, chr) { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(O, key, { get: function () { + calls += chr; + return true; + } }); + }; + + var pairs = { + dotAll: 's', + global: 'g', + ignoreCase: 'i', + multiline: 'm', + sticky: 'y' + }; + + if (INDICES_SUPPORT) pairs.hasIndices = 'd'; + + for (var key in pairs) addGetter(key, pairs[key]); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O); + + return result !== expected || calls !== expected; +}); + +// `RegExp.prototype.flags` getter +// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags +if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', { + configurable: true, + get: regExpFlags +}); diff --git a/node_modules/core-js/modules/es.regexp.sticky.js b/node_modules/core-js/modules/es.regexp.sticky.js new file mode 100644 index 00000000..78fe7bbc --- /dev/null +++ b/node_modules/core-js/modules/es.regexp.sticky.js @@ -0,0 +1,26 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var MISSED_STICKY = require('../internals/regexp-sticky-helpers').MISSED_STICKY; +var classof = require('../internals/classof-raw'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var getInternalState = require('../internals/internal-state').get; + +var RegExpPrototype = RegExp.prototype; +var $TypeError = TypeError; + +// `RegExp.prototype.sticky` getter +// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky +if (DESCRIPTORS && MISSED_STICKY) { + defineBuiltInAccessor(RegExpPrototype, 'sticky', { + configurable: true, + get: function sticky() { + if (this === RegExpPrototype) return; + // We can't use InternalStateModule.getterFor because + // we don't add metadata for regexps created by a literal. + if (classof(this) === 'RegExp') { + return !!getInternalState(this).sticky; + } + throw $TypeError('Incompatible receiver, RegExp required'); + } + }); +} diff --git a/node_modules/core-js/modules/es.regexp.test.js b/node_modules/core-js/modules/es.regexp.test.js new file mode 100644 index 00000000..20daaa00 --- /dev/null +++ b/node_modules/core-js/modules/es.regexp.test.js @@ -0,0 +1,35 @@ +'use strict'; +// TODO: Remove from `core-js@4` since it's moved to entry points +require('../modules/es.regexp.exec'); +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var isCallable = require('../internals/is-callable'); +var anObject = require('../internals/an-object'); +var toString = require('../internals/to-string'); + +var DELEGATES_TO_EXEC = function () { + var execCalled = false; + var re = /[ac]/; + re.exec = function () { + execCalled = true; + return /./.exec.apply(this, arguments); + }; + return re.test('abc') === true && execCalled; +}(); + +var nativeTest = /./.test; + +// `RegExp.prototype.test` method +// https://tc39.es/ecma262/#sec-regexp.prototype.test +$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { + test: function (S) { + var R = anObject(this); + var string = toString(S); + var exec = R.exec; + if (!isCallable(exec)) return call(nativeTest, R, string); + var result = call(exec, R, string); + if (result === null) return false; + anObject(result); + return true; + } +}); diff --git a/node_modules/core-js/modules/es.regexp.to-string.js b/node_modules/core-js/modules/es.regexp.to-string.js new file mode 100644 index 00000000..66f701b5 --- /dev/null +++ b/node_modules/core-js/modules/es.regexp.to-string.js @@ -0,0 +1,26 @@ +'use strict'; +var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER; +var defineBuiltIn = require('../internals/define-built-in'); +var anObject = require('../internals/an-object'); +var $toString = require('../internals/to-string'); +var fails = require('../internals/fails'); +var getRegExpFlags = require('../internals/regexp-get-flags'); + +var TO_STRING = 'toString'; +var RegExpPrototype = RegExp.prototype; +var nativeToString = RegExpPrototype[TO_STRING]; + +var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); +// FF44- RegExp#toString has a wrong name +var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING; + +// `RegExp.prototype.toString` method +// https://tc39.es/ecma262/#sec-regexp.prototype.tostring +if (NOT_GENERIC || INCORRECT_NAME) { + defineBuiltIn(RegExp.prototype, TO_STRING, function toString() { + var R = anObject(this); + var pattern = $toString(R.source); + var flags = $toString(getRegExpFlags(R)); + return '/' + pattern + '/' + flags; + }, { unsafe: true }); +} diff --git a/node_modules/core-js/modules/es.set.constructor.js b/node_modules/core-js/modules/es.set.constructor.js new file mode 100644 index 00000000..a35ebe1e --- /dev/null +++ b/node_modules/core-js/modules/es.set.constructor.js @@ -0,0 +1,9 @@ +'use strict'; +var collection = require('../internals/collection'); +var collectionStrong = require('../internals/collection-strong'); + +// `Set` constructor +// https://tc39.es/ecma262/#sec-set-objects +collection('Set', function (init) { + return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; +}, collectionStrong); diff --git a/node_modules/core-js/modules/es.set.js b/node_modules/core-js/modules/es.set.js new file mode 100644 index 00000000..ff66f709 --- /dev/null +++ b/node_modules/core-js/modules/es.set.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's replaced to module below +require('../modules/es.set.constructor'); diff --git a/node_modules/core-js/modules/es.string.anchor.js b/node_modules/core-js/modules/es.string.anchor.js new file mode 100644 index 00000000..9c0f0dae --- /dev/null +++ b/node_modules/core-js/modules/es.string.anchor.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.anchor` method +// https://tc39.es/ecma262/#sec-string.prototype.anchor +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, { + anchor: function anchor(name) { + return createHTML(this, 'a', 'name', name); + } +}); diff --git a/node_modules/core-js/modules/es.string.at-alternative.js b/node_modules/core-js/modules/es.string.at-alternative.js new file mode 100644 index 00000000..63a5e63b --- /dev/null +++ b/node_modules/core-js/modules/es.string.at-alternative.js @@ -0,0 +1,26 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toString = require('../internals/to-string'); +var fails = require('../internals/fails'); + +var charAt = uncurryThis(''.charAt); + +var FORCED = fails(function () { + // eslint-disable-next-line es/no-array-string-prototype-at -- safe + return '𠮷'.at(-2) !== '\uD842'; +}); + +// `String.prototype.at` method +// https://tc39.es/ecma262/#sec-string.prototype.at +$({ target: 'String', proto: true, forced: FORCED }, { + at: function at(index) { + var S = toString(requireObjectCoercible(this)); + var len = S.length; + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : charAt(S, k); + } +}); diff --git a/node_modules/core-js/modules/es.string.big.js b/node_modules/core-js/modules/es.string.big.js new file mode 100644 index 00000000..478a31c4 --- /dev/null +++ b/node_modules/core-js/modules/es.string.big.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.big` method +// https://tc39.es/ecma262/#sec-string.prototype.big +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, { + big: function big() { + return createHTML(this, 'big', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.blink.js b/node_modules/core-js/modules/es.string.blink.js new file mode 100644 index 00000000..2599a0fe --- /dev/null +++ b/node_modules/core-js/modules/es.string.blink.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.blink` method +// https://tc39.es/ecma262/#sec-string.prototype.blink +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, { + blink: function blink() { + return createHTML(this, 'blink', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.bold.js b/node_modules/core-js/modules/es.string.bold.js new file mode 100644 index 00000000..ed15e728 --- /dev/null +++ b/node_modules/core-js/modules/es.string.bold.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.bold` method +// https://tc39.es/ecma262/#sec-string.prototype.bold +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, { + bold: function bold() { + return createHTML(this, 'b', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.code-point-at.js b/node_modules/core-js/modules/es.string.code-point-at.js new file mode 100644 index 00000000..927e4138 --- /dev/null +++ b/node_modules/core-js/modules/es.string.code-point-at.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var codeAt = require('../internals/string-multibyte').codeAt; + +// `String.prototype.codePointAt` method +// https://tc39.es/ecma262/#sec-string.prototype.codepointat +$({ target: 'String', proto: true }, { + codePointAt: function codePointAt(pos) { + return codeAt(this, pos); + } +}); diff --git a/node_modules/core-js/modules/es.string.ends-with.js b/node_modules/core-js/modules/es.string.ends-with.js new file mode 100644 index 00000000..3124aa17 --- /dev/null +++ b/node_modules/core-js/modules/es.string.ends-with.js @@ -0,0 +1,38 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this-clause'); +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; +var toLength = require('../internals/to-length'); +var toString = require('../internals/to-string'); +var notARegExp = require('../internals/not-a-regexp'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var correctIsRegExpLogic = require('../internals/correct-is-regexp-logic'); +var IS_PURE = require('../internals/is-pure'); + +// eslint-disable-next-line es/no-string-prototype-endswith -- safe +var nativeEndsWith = uncurryThis(''.endsWith); +var slice = uncurryThis(''.slice); +var min = Math.min; + +var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith'); +// https://github.com/zloirock/core-js/pull/702 +var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { + var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith'); + return descriptor && !descriptor.writable; +}(); + +// `String.prototype.endsWith` method +// https://tc39.es/ecma262/#sec-string.prototype.endswith +$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { + endsWith: function endsWith(searchString /* , endPosition = @length */) { + var that = toString(requireObjectCoercible(this)); + notARegExp(searchString); + var endPosition = arguments.length > 1 ? arguments[1] : undefined; + var len = that.length; + var end = endPosition === undefined ? len : min(toLength(endPosition), len); + var search = toString(searchString); + return nativeEndsWith + ? nativeEndsWith(that, search, end) + : slice(that, end - search.length, end) === search; + } +}); diff --git a/node_modules/core-js/modules/es.string.fixed.js b/node_modules/core-js/modules/es.string.fixed.js new file mode 100644 index 00000000..9f9b87d5 --- /dev/null +++ b/node_modules/core-js/modules/es.string.fixed.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.fixed` method +// https://tc39.es/ecma262/#sec-string.prototype.fixed +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, { + fixed: function fixed() { + return createHTML(this, 'tt', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.fontcolor.js b/node_modules/core-js/modules/es.string.fontcolor.js new file mode 100644 index 00000000..f96ebb4e --- /dev/null +++ b/node_modules/core-js/modules/es.string.fontcolor.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.fontcolor` method +// https://tc39.es/ecma262/#sec-string.prototype.fontcolor +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, { + fontcolor: function fontcolor(color) { + return createHTML(this, 'font', 'color', color); + } +}); diff --git a/node_modules/core-js/modules/es.string.fontsize.js b/node_modules/core-js/modules/es.string.fontsize.js new file mode 100644 index 00000000..e5760460 --- /dev/null +++ b/node_modules/core-js/modules/es.string.fontsize.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.fontsize` method +// https://tc39.es/ecma262/#sec-string.prototype.fontsize +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, { + fontsize: function fontsize(size) { + return createHTML(this, 'font', 'size', size); + } +}); diff --git a/node_modules/core-js/modules/es.string.from-code-point.js b/node_modules/core-js/modules/es.string.from-code-point.js new file mode 100644 index 00000000..73e87a81 --- /dev/null +++ b/node_modules/core-js/modules/es.string.from-code-point.js @@ -0,0 +1,32 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); + +var $RangeError = RangeError; +var fromCharCode = String.fromCharCode; +// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing +var $fromCodePoint = String.fromCodePoint; +var join = uncurryThis([].join); + +// length should be 1, old FF problem +var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1; + +// `String.fromCodePoint` method +// https://tc39.es/ecma262/#sec-string.fromcodepoint +$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + fromCodePoint: function fromCodePoint(x) { + var elements = []; + var length = arguments.length; + var i = 0; + var code; + while (length > i) { + code = +arguments[i++]; + if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw $RangeError(code + ' is not a valid code point'); + elements[i] = code < 0x10000 + ? fromCharCode(code) + : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00); + } return join(elements, ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.includes.js b/node_modules/core-js/modules/es.string.includes.js new file mode 100644 index 00000000..22afdcaf --- /dev/null +++ b/node_modules/core-js/modules/es.string.includes.js @@ -0,0 +1,21 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var notARegExp = require('../internals/not-a-regexp'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toString = require('../internals/to-string'); +var correctIsRegExpLogic = require('../internals/correct-is-regexp-logic'); + +var stringIndexOf = uncurryThis(''.indexOf); + +// `String.prototype.includes` method +// https://tc39.es/ecma262/#sec-string.prototype.includes +$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { + includes: function includes(searchString /* , position = 0 */) { + return !!~stringIndexOf( + toString(requireObjectCoercible(this)), + toString(notARegExp(searchString)), + arguments.length > 1 ? arguments[1] : undefined + ); + } +}); diff --git a/node_modules/core-js/modules/es.string.is-well-formed.js b/node_modules/core-js/modules/es.string.is-well-formed.js new file mode 100644 index 00000000..7c77f380 --- /dev/null +++ b/node_modules/core-js/modules/es.string.is-well-formed.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toString = require('../internals/to-string'); + +var charCodeAt = uncurryThis(''.charCodeAt); + +// `String.prototype.isWellFormed` method +// https://github.com/tc39/proposal-is-usv-string +$({ target: 'String', proto: true }, { + isWellFormed: function isWellFormed() { + var S = toString(requireObjectCoercible(this)); + var length = S.length; + for (var i = 0; i < length; i++) { + var charCode = charCodeAt(S, i); + // single UTF-16 code unit + if ((charCode & 0xF800) != 0xD800) continue; + // unpaired surrogate + if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) != 0xDC00) return false; + } return true; + } +}); diff --git a/node_modules/core-js/modules/es.string.italics.js b/node_modules/core-js/modules/es.string.italics.js new file mode 100644 index 00000000..fca5e06e --- /dev/null +++ b/node_modules/core-js/modules/es.string.italics.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.italics` method +// https://tc39.es/ecma262/#sec-string.prototype.italics +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, { + italics: function italics() { + return createHTML(this, 'i', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.iterator.js b/node_modules/core-js/modules/es.string.iterator.js new file mode 100644 index 00000000..cfd486c1 --- /dev/null +++ b/node_modules/core-js/modules/es.string.iterator.js @@ -0,0 +1,31 @@ +'use strict'; +var charAt = require('../internals/string-multibyte').charAt; +var toString = require('../internals/to-string'); +var InternalStateModule = require('../internals/internal-state'); +var defineIterator = require('../internals/iterator-define'); +var createIterResultObject = require('../internals/create-iter-result-object'); + +var STRING_ITERATOR = 'String Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); + +// `String.prototype[@@iterator]` method +// https://tc39.es/ecma262/#sec-string.prototype-@@iterator +defineIterator(String, 'String', function (iterated) { + setInternalState(this, { + type: STRING_ITERATOR, + string: toString(iterated), + index: 0 + }); +// `%StringIteratorPrototype%.next` method +// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next +}, function next() { + var state = getInternalState(this); + var string = state.string; + var index = state.index; + var point; + if (index >= string.length) return createIterResultObject(undefined, true); + point = charAt(string, index); + state.index += point.length; + return createIterResultObject(point, false); +}); diff --git a/node_modules/core-js/modules/es.string.link.js b/node_modules/core-js/modules/es.string.link.js new file mode 100644 index 00000000..0d128915 --- /dev/null +++ b/node_modules/core-js/modules/es.string.link.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.link` method +// https://tc39.es/ecma262/#sec-string.prototype.link +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, { + link: function link(url) { + return createHTML(this, 'a', 'href', url); + } +}); diff --git a/node_modules/core-js/modules/es.string.match-all.js b/node_modules/core-js/modules/es.string.match-all.js new file mode 100644 index 00000000..a01381b4 --- /dev/null +++ b/node_modules/core-js/modules/es.string.match-all.js @@ -0,0 +1,102 @@ +'use strict'; +/* eslint-disable es/no-string-prototype-matchall -- safe */ +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this-clause'); +var createIteratorConstructor = require('../internals/iterator-create-constructor'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toLength = require('../internals/to-length'); +var toString = require('../internals/to-string'); +var anObject = require('../internals/an-object'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var classof = require('../internals/classof-raw'); +var isRegExp = require('../internals/is-regexp'); +var getRegExpFlags = require('../internals/regexp-get-flags'); +var getMethod = require('../internals/get-method'); +var defineBuiltIn = require('../internals/define-built-in'); +var fails = require('../internals/fails'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var speciesConstructor = require('../internals/species-constructor'); +var advanceStringIndex = require('../internals/advance-string-index'); +var regExpExec = require('../internals/regexp-exec-abstract'); +var InternalStateModule = require('../internals/internal-state'); +var IS_PURE = require('../internals/is-pure'); + +var MATCH_ALL = wellKnownSymbol('matchAll'); +var REGEXP_STRING = 'RegExp String'; +var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR); +var RegExpPrototype = RegExp.prototype; +var $TypeError = TypeError; +var stringIndexOf = uncurryThis(''.indexOf); +var nativeMatchAll = uncurryThis(''.matchAll); + +var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function () { + nativeMatchAll('a', /./); +}); + +var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) { + setInternalState(this, { + type: REGEXP_STRING_ITERATOR, + regexp: regexp, + string: string, + global: $global, + unicode: fullUnicode, + done: false + }); +}, REGEXP_STRING, function next() { + var state = getInternalState(this); + if (state.done) return createIterResultObject(undefined, true); + var R = state.regexp; + var S = state.string; + var match = regExpExec(R, S); + if (match === null) { + state.done = true; + return createIterResultObject(undefined, true); + } + if (state.global) { + if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode); + return createIterResultObject(match, false); + } + state.done = true; + return createIterResultObject(match, false); +}); + +var $matchAll = function (string) { + var R = anObject(this); + var S = toString(string); + var C = speciesConstructor(R, RegExp); + var flags = toString(getRegExpFlags(R)); + var matcher, $global, fullUnicode; + matcher = new C(C === RegExp ? R.source : R, flags); + $global = !!~stringIndexOf(flags, 'g'); + fullUnicode = !!~stringIndexOf(flags, 'u'); + matcher.lastIndex = toLength(R.lastIndex); + return new $RegExpStringIterator(matcher, S, $global, fullUnicode); +}; + +// `String.prototype.matchAll` method +// https://tc39.es/ecma262/#sec-string.prototype.matchall +$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { + matchAll: function matchAll(regexp) { + var O = requireObjectCoercible(this); + var flags, S, matcher, rx; + if (!isNullOrUndefined(regexp)) { + if (isRegExp(regexp)) { + flags = toString(requireObjectCoercible(getRegExpFlags(regexp))); + if (!~stringIndexOf(flags, 'g')) throw $TypeError('`.matchAll` does not allow non-global regexes'); + } + if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp); + matcher = getMethod(regexp, MATCH_ALL); + if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll; + if (matcher) return call(matcher, regexp, O); + } else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp); + S = toString(O); + rx = new RegExp(regexp, 'g'); + return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S); + } +}); + +IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll); diff --git a/node_modules/core-js/modules/es.string.match.js b/node_modules/core-js/modules/es.string.match.js new file mode 100644 index 00000000..354c40f0 --- /dev/null +++ b/node_modules/core-js/modules/es.string.match.js @@ -0,0 +1,48 @@ +'use strict'; +var call = require('../internals/function-call'); +var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); +var anObject = require('../internals/an-object'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var toLength = require('../internals/to-length'); +var toString = require('../internals/to-string'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var getMethod = require('../internals/get-method'); +var advanceStringIndex = require('../internals/advance-string-index'); +var regExpExec = require('../internals/regexp-exec-abstract'); + +// @@match logic +fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) { + return [ + // `String.prototype.match` method + // https://tc39.es/ecma262/#sec-string.prototype.match + function match(regexp) { + var O = requireObjectCoercible(this); + var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH); + return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O)); + }, + // `RegExp.prototype[@@match]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@match + function (string) { + var rx = anObject(this); + var S = toString(string); + var res = maybeCallNative(nativeMatch, rx, S); + + if (res.done) return res.value; + + if (!rx.global) return regExpExec(rx, S); + + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + var A = []; + var n = 0; + var result; + while ((result = regExpExec(rx, S)) !== null) { + var matchStr = toString(result[0]); + A[n] = matchStr; + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + n++; + } + return n === 0 ? null : A; + } + ]; +}); diff --git a/node_modules/core-js/modules/es.string.pad-end.js b/node_modules/core-js/modules/es.string.pad-end.js new file mode 100644 index 00000000..f770a85f --- /dev/null +++ b/node_modules/core-js/modules/es.string.pad-end.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var $padEnd = require('../internals/string-pad').end; +var WEBKIT_BUG = require('../internals/string-pad-webkit-bug'); + +// `String.prototype.padEnd` method +// https://tc39.es/ecma262/#sec-string.prototype.padend +$({ target: 'String', proto: true, forced: WEBKIT_BUG }, { + padEnd: function padEnd(maxLength /* , fillString = ' ' */) { + return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); + } +}); diff --git a/node_modules/core-js/modules/es.string.pad-start.js b/node_modules/core-js/modules/es.string.pad-start.js new file mode 100644 index 00000000..d213b46e --- /dev/null +++ b/node_modules/core-js/modules/es.string.pad-start.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var $padStart = require('../internals/string-pad').start; +var WEBKIT_BUG = require('../internals/string-pad-webkit-bug'); + +// `String.prototype.padStart` method +// https://tc39.es/ecma262/#sec-string.prototype.padstart +$({ target: 'String', proto: true, forced: WEBKIT_BUG }, { + padStart: function padStart(maxLength /* , fillString = ' ' */) { + return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); + } +}); diff --git a/node_modules/core-js/modules/es.string.raw.js b/node_modules/core-js/modules/es.string.raw.js new file mode 100644 index 00000000..65ed7c86 --- /dev/null +++ b/node_modules/core-js/modules/es.string.raw.js @@ -0,0 +1,28 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toIndexedObject = require('../internals/to-indexed-object'); +var toObject = require('../internals/to-object'); +var toString = require('../internals/to-string'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); + +var push = uncurryThis([].push); +var join = uncurryThis([].join); + +// `String.raw` method +// https://tc39.es/ecma262/#sec-string.raw +$({ target: 'String', stat: true }, { + raw: function raw(template) { + var rawTemplate = toIndexedObject(toObject(template).raw); + var literalSegments = lengthOfArrayLike(rawTemplate); + if (!literalSegments) return ''; + var argumentsLength = arguments.length; + var elements = []; + var i = 0; + while (true) { + push(elements, toString(rawTemplate[i++])); + if (i === literalSegments) return join(elements, ''); + if (i < argumentsLength) push(elements, toString(arguments[i])); + } + } +}); diff --git a/node_modules/core-js/modules/es.string.repeat.js b/node_modules/core-js/modules/es.string.repeat.js new file mode 100644 index 00000000..7ec1c2ba --- /dev/null +++ b/node_modules/core-js/modules/es.string.repeat.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var repeat = require('../internals/string-repeat'); + +// `String.prototype.repeat` method +// https://tc39.es/ecma262/#sec-string.prototype.repeat +$({ target: 'String', proto: true }, { + repeat: repeat +}); diff --git a/node_modules/core-js/modules/es.string.replace-all.js b/node_modules/core-js/modules/es.string.replace-all.js new file mode 100644 index 00000000..57f05ca2 --- /dev/null +++ b/node_modules/core-js/modules/es.string.replace-all.js @@ -0,0 +1,71 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var isCallable = require('../internals/is-callable'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var isRegExp = require('../internals/is-regexp'); +var toString = require('../internals/to-string'); +var getMethod = require('../internals/get-method'); +var getRegExpFlags = require('../internals/regexp-get-flags'); +var getSubstitution = require('../internals/get-substitution'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var IS_PURE = require('../internals/is-pure'); + +var REPLACE = wellKnownSymbol('replace'); +var $TypeError = TypeError; +var indexOf = uncurryThis(''.indexOf); +var replace = uncurryThis(''.replace); +var stringSlice = uncurryThis(''.slice); +var max = Math.max; + +var stringIndexOf = function (string, searchValue, fromIndex) { + if (fromIndex > string.length) return -1; + if (searchValue === '') return fromIndex; + return indexOf(string, searchValue, fromIndex); +}; + +// `String.prototype.replaceAll` method +// https://tc39.es/ecma262/#sec-string.prototype.replaceall +$({ target: 'String', proto: true }, { + replaceAll: function replaceAll(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement; + var position = 0; + var endOfLastMatch = 0; + var result = ''; + if (!isNullOrUndefined(searchValue)) { + IS_REG_EXP = isRegExp(searchValue); + if (IS_REG_EXP) { + flags = toString(requireObjectCoercible(getRegExpFlags(searchValue))); + if (!~indexOf(flags, 'g')) throw $TypeError('`.replaceAll` does not allow non-global regexes'); + } + replacer = getMethod(searchValue, REPLACE); + if (replacer) { + return call(replacer, searchValue, O, replaceValue); + } else if (IS_PURE && IS_REG_EXP) { + return replace(toString(O), searchValue, replaceValue); + } + } + string = toString(O); + searchString = toString(searchValue); + functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); + searchLength = searchString.length; + advanceBy = max(1, searchLength); + position = stringIndexOf(string, searchString, 0); + while (position !== -1) { + replacement = functionalReplace + ? toString(replaceValue(searchString, position, string)) + : getSubstitution(searchString, string, position, [], undefined, replaceValue); + result += stringSlice(string, endOfLastMatch, position) + replacement; + endOfLastMatch = position + searchLength; + position = stringIndexOf(string, searchString, position + advanceBy); + } + if (endOfLastMatch < string.length) { + result += stringSlice(string, endOfLastMatch); + } + return result; + } +}); diff --git a/node_modules/core-js/modules/es.string.replace.js b/node_modules/core-js/modules/es.string.replace.js new file mode 100644 index 00000000..d90357c9 --- /dev/null +++ b/node_modules/core-js/modules/es.string.replace.js @@ -0,0 +1,137 @@ +'use strict'; +var apply = require('../internals/function-apply'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); +var fails = require('../internals/fails'); +var anObject = require('../internals/an-object'); +var isCallable = require('../internals/is-callable'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toLength = require('../internals/to-length'); +var toString = require('../internals/to-string'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var advanceStringIndex = require('../internals/advance-string-index'); +var getMethod = require('../internals/get-method'); +var getSubstitution = require('../internals/get-substitution'); +var regExpExec = require('../internals/regexp-exec-abstract'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var REPLACE = wellKnownSymbol('replace'); +var max = Math.max; +var min = Math.min; +var concat = uncurryThis([].concat); +var push = uncurryThis([].push); +var stringIndexOf = uncurryThis(''.indexOf); +var stringSlice = uncurryThis(''.slice); + +var maybeToString = function (it) { + return it === undefined ? it : String(it); +}; + +// IE <= 11 replaces $0 with the whole match, as if it was $& +// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 +var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing + return 'a'.replace(/./, '$0') === '$0'; +})(); + +// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string +var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; +})(); + +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive + return ''.replace(re, '$') !== '7'; +}); + +// @@replace logic +fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { + var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; + + return [ + // `String.prototype.replace` method + // https://tc39.es/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE); + return replacer + ? call(replacer, searchValue, O, replaceValue) + : call(nativeReplace, toString(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace + function (string, replaceValue) { + var rx = anObject(this); + var S = toString(string); + + if ( + typeof replaceValue == 'string' && + stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && + stringIndexOf(replaceValue, '$<') === -1 + ) { + var res = maybeCallNative(nativeReplace, rx, S, replaceValue); + if (res.done) return res.value; + } + + var functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); + + var global = rx.global; + if (global) { + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + var results = []; + while (true) { + var result = regExpExec(rx, S); + if (result === null) break; + + push(results, result); + if (!global) break; + + var matchStr = toString(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + } + + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + + var matched = toString(result[0]); + var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); + var captures = []; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = concat([matched], captures, position, S); + if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); + var replacement = toString(apply(replaceValue, undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + return accumulatedResult + stringSlice(S, nextSourcePosition); + } + ]; +}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); diff --git a/node_modules/core-js/modules/es.string.search.js b/node_modules/core-js/modules/es.string.search.js new file mode 100644 index 00000000..17bf7ba2 --- /dev/null +++ b/node_modules/core-js/modules/es.string.search.js @@ -0,0 +1,38 @@ +'use strict'; +var call = require('../internals/function-call'); +var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); +var anObject = require('../internals/an-object'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var sameValue = require('../internals/same-value'); +var toString = require('../internals/to-string'); +var getMethod = require('../internals/get-method'); +var regExpExec = require('../internals/regexp-exec-abstract'); + +// @@search logic +fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.es/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = requireObjectCoercible(this); + var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH); + return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@search + function (string) { + var rx = anObject(this); + var S = toString(string); + var res = maybeCallNative(nativeSearch, rx, S); + + if (res.done) return res.value; + + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regExpExec(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; +}); diff --git a/node_modules/core-js/modules/es.string.small.js b/node_modules/core-js/modules/es.string.small.js new file mode 100644 index 00000000..ab9f6658 --- /dev/null +++ b/node_modules/core-js/modules/es.string.small.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.small` method +// https://tc39.es/ecma262/#sec-string.prototype.small +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, { + small: function small() { + return createHTML(this, 'small', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.split.js b/node_modules/core-js/modules/es.string.split.js new file mode 100644 index 00000000..2d51c61d --- /dev/null +++ b/node_modules/core-js/modules/es.string.split.js @@ -0,0 +1,157 @@ +'use strict'; +var apply = require('../internals/function-apply'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic'); +var anObject = require('../internals/an-object'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var isRegExp = require('../internals/is-regexp'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var speciesConstructor = require('../internals/species-constructor'); +var advanceStringIndex = require('../internals/advance-string-index'); +var toLength = require('../internals/to-length'); +var toString = require('../internals/to-string'); +var getMethod = require('../internals/get-method'); +var arraySlice = require('../internals/array-slice-simple'); +var callRegExpExec = require('../internals/regexp-exec-abstract'); +var regexpExec = require('../internals/regexp-exec'); +var stickyHelpers = require('../internals/regexp-sticky-helpers'); +var fails = require('../internals/fails'); + +var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; +var MAX_UINT32 = 0xFFFFFFFF; +var min = Math.min; +var $push = [].push; +var exec = uncurryThis(/./.exec); +var push = uncurryThis($push); +var stringSlice = uncurryThis(''.slice); + +// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec +// Weex JS has frozen built-in prototypes, so use try / catch wrapper +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { + // eslint-disable-next-line regexp/no-empty-group -- required for testing + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function () { return originalExec.apply(this, arguments); }; + var result = 'ab'.split(re); + return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; +}); + +// @@split logic +fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) { + var internalSplit; + if ( + 'abbc'.split(/(b)*/)[1] == 'c' || + // eslint-disable-next-line regexp/no-empty-group -- required for testing + 'test'.split(/(?:)/, -1).length != 4 || + 'ab'.split(/(?:ab)*/).length != 2 || + '.'.split(/(.?)(.?)/).length != 4 || + // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing + '.'.split(/()()/).length > 1 || + ''.split(/.?/).length + ) { + // based on es5-shim implementation, need to rework it + internalSplit = function (separator, limit) { + var string = toString(requireObjectCoercible(this)); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (separator === undefined) return [string]; + // If `separator` is not a regex, use native split + if (!isRegExp(separator)) { + return call(nativeSplit, string, separator, lim); + } + var output = []; + var flags = (separator.ignoreCase ? 'i' : '') + + (separator.multiline ? 'm' : '') + + (separator.unicode ? 'u' : '') + + (separator.sticky ? 'y' : ''); + var lastLastIndex = 0; + // Make `global` and avoid `lastIndex` issues by working with a copy + var separatorCopy = new RegExp(separator.source, flags + 'g'); + var match, lastIndex, lastLength; + while (match = call(regexpExec, separatorCopy, string)) { + lastIndex = separatorCopy.lastIndex; + if (lastIndex > lastLastIndex) { + push(output, stringSlice(string, lastLastIndex, match.index)); + if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1)); + lastLength = match[0].length; + lastLastIndex = lastIndex; + if (output.length >= lim) break; + } + if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop + } + if (lastLastIndex === string.length) { + if (lastLength || !exec(separatorCopy, '')) push(output, ''); + } else push(output, stringSlice(string, lastLastIndex)); + return output.length > lim ? arraySlice(output, 0, lim) : output; + }; + // Chakra, V8 + } else if ('0'.split(undefined, 0).length) { + internalSplit = function (separator, limit) { + return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit); + }; + } else internalSplit = nativeSplit; + + return [ + // `String.prototype.split` method + // https://tc39.es/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = requireObjectCoercible(this); + var splitter = isNullOrUndefined(separator) ? undefined : getMethod(separator, SPLIT); + return splitter + ? call(splitter, separator, O, limit) + : call(internalSplit, toString(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function (string, limit) { + var rx = anObject(this); + var S = toString(string); + var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); + + if (res.done) return res.value; + + var C = speciesConstructor(rx, RegExp); + + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? 'i' : '') + + (rx.multiline ? 'm' : '') + + (rx.unicode ? 'u' : '') + + (UNSUPPORTED_Y ? 'g' : 'y'); + + // ^(? + rx + ) is needed, in combination with some S slicing, to + // simulate the 'y' flag. + var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; + var p = 0; + var q = 0; + var A = []; + while (q < S.length) { + splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; + var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S); + var e; + if ( + z === null || + (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p + ) { + q = advanceStringIndex(S, q, unicodeMatching); + } else { + push(A, stringSlice(S, p, q)); + if (A.length === lim) return A; + for (var i = 1; i <= z.length - 1; i++) { + push(A, z[i]); + if (A.length === lim) return A; + } + q = p = e; + } + } + push(A, stringSlice(S, p)); + return A; + } + ]; +}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); diff --git a/node_modules/core-js/modules/es.string.starts-with.js b/node_modules/core-js/modules/es.string.starts-with.js new file mode 100644 index 00000000..32424109 --- /dev/null +++ b/node_modules/core-js/modules/es.string.starts-with.js @@ -0,0 +1,36 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this-clause'); +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; +var toLength = require('../internals/to-length'); +var toString = require('../internals/to-string'); +var notARegExp = require('../internals/not-a-regexp'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var correctIsRegExpLogic = require('../internals/correct-is-regexp-logic'); +var IS_PURE = require('../internals/is-pure'); + +// eslint-disable-next-line es/no-string-prototype-startswith -- safe +var nativeStartsWith = uncurryThis(''.startsWith); +var stringSlice = uncurryThis(''.slice); +var min = Math.min; + +var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); +// https://github.com/zloirock/core-js/pull/702 +var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { + var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith'); + return descriptor && !descriptor.writable; +}(); + +// `String.prototype.startsWith` method +// https://tc39.es/ecma262/#sec-string.prototype.startswith +$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { + startsWith: function startsWith(searchString /* , position = 0 */) { + var that = toString(requireObjectCoercible(this)); + notARegExp(searchString); + var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length)); + var search = toString(searchString); + return nativeStartsWith + ? nativeStartsWith(that, search, index) + : stringSlice(that, index, index + search.length) === search; + } +}); diff --git a/node_modules/core-js/modules/es.string.strike.js b/node_modules/core-js/modules/es.string.strike.js new file mode 100644 index 00000000..f78a222e --- /dev/null +++ b/node_modules/core-js/modules/es.string.strike.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.strike` method +// https://tc39.es/ecma262/#sec-string.prototype.strike +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, { + strike: function strike() { + return createHTML(this, 'strike', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.sub.js b/node_modules/core-js/modules/es.string.sub.js new file mode 100644 index 00000000..bc62879c --- /dev/null +++ b/node_modules/core-js/modules/es.string.sub.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.sub` method +// https://tc39.es/ecma262/#sec-string.prototype.sub +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, { + sub: function sub() { + return createHTML(this, 'sub', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.substr.js b/node_modules/core-js/modules/es.string.substr.js new file mode 100644 index 00000000..57595da6 --- /dev/null +++ b/node_modules/core-js/modules/es.string.substr.js @@ -0,0 +1,30 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toString = require('../internals/to-string'); + +var stringSlice = uncurryThis(''.slice); +var max = Math.max; +var min = Math.min; + +// eslint-disable-next-line unicorn/prefer-string-slice -- required for testing +var FORCED = !''.substr || 'ab'.substr(-1) !== 'b'; + +// `String.prototype.substr` method +// https://tc39.es/ecma262/#sec-string.prototype.substr +$({ target: 'String', proto: true, forced: FORCED }, { + substr: function substr(start, length) { + var that = toString(requireObjectCoercible(this)); + var size = that.length; + var intStart = toIntegerOrInfinity(start); + var intLength, intEnd; + if (intStart === Infinity) intStart = 0; + if (intStart < 0) intStart = max(size + intStart, 0); + intLength = length === undefined ? size : toIntegerOrInfinity(length); + if (intLength <= 0 || intLength === Infinity) return ''; + intEnd = min(intStart + intLength, size); + return intStart >= intEnd ? '' : stringSlice(that, intStart, intEnd); + } +}); diff --git a/node_modules/core-js/modules/es.string.sup.js b/node_modules/core-js/modules/es.string.sup.js new file mode 100644 index 00000000..6e1e5cbe --- /dev/null +++ b/node_modules/core-js/modules/es.string.sup.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var createHTML = require('../internals/create-html'); +var forcedStringHTMLMethod = require('../internals/string-html-forced'); + +// `String.prototype.sup` method +// https://tc39.es/ecma262/#sec-string.prototype.sup +$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, { + sup: function sup() { + return createHTML(this, 'sup', '', ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.to-well-formed.js b/node_modules/core-js/modules/es.string.to-well-formed.js new file mode 100644 index 00000000..8a7a46b0 --- /dev/null +++ b/node_modules/core-js/modules/es.string.to-well-formed.js @@ -0,0 +1,43 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toString = require('../internals/to-string'); +var fails = require('../internals/fails'); + +var $Array = Array; +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); +var join = uncurryThis([].join); +// eslint-disable-next-line es/no-string-prototype-iswellformed-towellformed -- safe +var $toWellFormed = ''.toWellFormed; +var REPLACEMENT_CHARACTER = '\uFFFD'; + +// Safari bug +var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function () { + return call($toWellFormed, 1) !== '1'; +}); + +// `String.prototype.toWellFormed` method +// https://github.com/tc39/proposal-is-usv-string +$({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, { + toWellFormed: function toWellFormed() { + var S = toString(requireObjectCoercible(this)); + if (TO_STRING_CONVERSION_BUG) return call($toWellFormed, S); + var length = S.length; + var result = $Array(length); + for (var i = 0; i < length; i++) { + var charCode = charCodeAt(S, i); + // single UTF-16 code unit + if ((charCode & 0xF800) != 0xD800) result[i] = charAt(S, i); + // unpaired surrogate + else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) != 0xDC00) result[i] = REPLACEMENT_CHARACTER; + // surrogate pair + else { + result[i] = charAt(S, i); + result[++i] = charAt(S, i); + } + } return join(result, ''); + } +}); diff --git a/node_modules/core-js/modules/es.string.trim-end.js b/node_modules/core-js/modules/es.string.trim-end.js new file mode 100644 index 00000000..7d218db4 --- /dev/null +++ b/node_modules/core-js/modules/es.string.trim-end.js @@ -0,0 +1,12 @@ +'use strict'; +// TODO: Remove this line from `core-js@4` +require('../modules/es.string.trim-right'); +var $ = require('../internals/export'); +var trimEnd = require('../internals/string-trim-end'); + +// `String.prototype.trimEnd` method +// https://tc39.es/ecma262/#sec-string.prototype.trimend +// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe +$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimEnd !== trimEnd }, { + trimEnd: trimEnd +}); diff --git a/node_modules/core-js/modules/es.string.trim-left.js b/node_modules/core-js/modules/es.string.trim-left.js new file mode 100644 index 00000000..55a38f45 --- /dev/null +++ b/node_modules/core-js/modules/es.string.trim-left.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var trimStart = require('../internals/string-trim-start'); + +// `String.prototype.trimLeft` method +// https://tc39.es/ecma262/#sec-string.prototype.trimleft +// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe +$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimLeft !== trimStart }, { + trimLeft: trimStart +}); diff --git a/node_modules/core-js/modules/es.string.trim-right.js b/node_modules/core-js/modules/es.string.trim-right.js new file mode 100644 index 00000000..eb33758c --- /dev/null +++ b/node_modules/core-js/modules/es.string.trim-right.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var trimEnd = require('../internals/string-trim-end'); + +// `String.prototype.trimRight` method +// https://tc39.es/ecma262/#sec-string.prototype.trimend +// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe +$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimRight !== trimEnd }, { + trimRight: trimEnd +}); diff --git a/node_modules/core-js/modules/es.string.trim-start.js b/node_modules/core-js/modules/es.string.trim-start.js new file mode 100644 index 00000000..c09ce7aa --- /dev/null +++ b/node_modules/core-js/modules/es.string.trim-start.js @@ -0,0 +1,12 @@ +'use strict'; +// TODO: Remove this line from `core-js@4` +require('../modules/es.string.trim-left'); +var $ = require('../internals/export'); +var trimStart = require('../internals/string-trim-start'); + +// `String.prototype.trimStart` method +// https://tc39.es/ecma262/#sec-string.prototype.trimstart +// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe +$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimStart !== trimStart }, { + trimStart: trimStart +}); diff --git a/node_modules/core-js/modules/es.string.trim.js b/node_modules/core-js/modules/es.string.trim.js new file mode 100644 index 00000000..e9cfb4ba --- /dev/null +++ b/node_modules/core-js/modules/es.string.trim.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var $trim = require('../internals/string-trim').trim; +var forcedStringTrimMethod = require('../internals/string-trim-forced'); + +// `String.prototype.trim` method +// https://tc39.es/ecma262/#sec-string.prototype.trim +$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { + trim: function trim() { + return $trim(this); + } +}); diff --git a/node_modules/core-js/modules/es.symbol.async-iterator.js b/node_modules/core-js/modules/es.symbol.async-iterator.js new file mode 100644 index 00000000..40d1930c --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.async-iterator.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.asyncIterator` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.asynciterator +defineWellKnownSymbol('asyncIterator'); diff --git a/node_modules/core-js/modules/es.symbol.constructor.js b/node_modules/core-js/modules/es.symbol.constructor.js new file mode 100644 index 00000000..aad7637c --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.constructor.js @@ -0,0 +1,253 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var IS_PURE = require('../internals/is-pure'); +var DESCRIPTORS = require('../internals/descriptors'); +var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection'); +var fails = require('../internals/fails'); +var hasOwn = require('../internals/has-own-property'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var anObject = require('../internals/an-object'); +var toIndexedObject = require('../internals/to-indexed-object'); +var toPropertyKey = require('../internals/to-property-key'); +var $toString = require('../internals/to-string'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var nativeObjectCreate = require('../internals/object-create'); +var objectKeys = require('../internals/object-keys'); +var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names'); +var getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external'); +var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols'); +var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor'); +var definePropertyModule = require('../internals/object-define-property'); +var definePropertiesModule = require('../internals/object-define-properties'); +var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable'); +var defineBuiltIn = require('../internals/define-built-in'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var shared = require('../internals/shared'); +var sharedKey = require('../internals/shared-key'); +var hiddenKeys = require('../internals/hidden-keys'); +var uid = require('../internals/uid'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped'); +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); +var defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive'); +var setToStringTag = require('../internals/set-to-string-tag'); +var InternalStateModule = require('../internals/internal-state'); +var $forEach = require('../internals/array-iteration').forEach; + +var HIDDEN = sharedKey('hidden'); +var SYMBOL = 'Symbol'; +var PROTOTYPE = 'prototype'; + +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(SYMBOL); + +var ObjectPrototype = Object[PROTOTYPE]; +var $Symbol = global.Symbol; +var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE]; +var TypeError = global.TypeError; +var QObject = global.QObject; +var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; +var nativeDefineProperty = definePropertyModule.f; +var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; +var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; +var push = uncurryThis([].push); + +var AllSymbols = shared('symbols'); +var ObjectPrototypeSymbols = shared('op-symbols'); +var WellKnownSymbolsStore = shared('wks'); + +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 +var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; + +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 +var setSymbolDescriptor = DESCRIPTORS && fails(function () { + return nativeObjectCreate(nativeDefineProperty({}, 'a', { + get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } + })).a != 7; +}) ? function (O, P, Attributes) { + var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); + if (ObjectPrototypeDescriptor) delete ObjectPrototype[P]; + nativeDefineProperty(O, P, Attributes); + if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { + nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); + } +} : nativeDefineProperty; + +var wrap = function (tag, description) { + var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype); + setInternalState(symbol, { + type: SYMBOL, + tag: tag, + description: description + }); + if (!DESCRIPTORS) symbol.description = description; + return symbol; +}; + +var $defineProperty = function defineProperty(O, P, Attributes) { + if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes); + anObject(O); + var key = toPropertyKey(P); + anObject(Attributes); + if (hasOwn(AllSymbols, key)) { + if (!Attributes.enumerable) { + if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); + O[HIDDEN][key] = true; + } else { + if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; + Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); + } return setSymbolDescriptor(O, key, Attributes); + } return nativeDefineProperty(O, key, Attributes); +}; + +var $defineProperties = function defineProperties(O, Properties) { + anObject(O); + var properties = toIndexedObject(Properties); + var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); + $forEach(keys, function (key) { + if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]); + }); + return O; +}; + +var $create = function create(O, Properties) { + return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); +}; + +var $propertyIsEnumerable = function propertyIsEnumerable(V) { + var P = toPropertyKey(V); + var enumerable = call(nativePropertyIsEnumerable, this, P); + if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false; + return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P] + ? enumerable : true; +}; + +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { + var it = toIndexedObject(O); + var key = toPropertyKey(P); + if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return; + var descriptor = nativeGetOwnPropertyDescriptor(it, key); + if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) { + descriptor.enumerable = true; + } + return descriptor; +}; + +var $getOwnPropertyNames = function getOwnPropertyNames(O) { + var names = nativeGetOwnPropertyNames(toIndexedObject(O)); + var result = []; + $forEach(names, function (key) { + if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key); + }); + return result; +}; + +var $getOwnPropertySymbols = function (O) { + var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; + var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); + var result = []; + $forEach(names, function (key) { + if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) { + push(result, AllSymbols[key]); + } + }); + return result; +}; + +// `Symbol` constructor +// https://tc39.es/ecma262/#sec-symbol-constructor +if (!NATIVE_SYMBOL) { + $Symbol = function Symbol() { + if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor'); + var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]); + var tag = uid(description); + var setter = function (value) { + if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value); + if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false; + setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); + }; + if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); + return wrap(tag, description); + }; + + SymbolPrototype = $Symbol[PROTOTYPE]; + + defineBuiltIn(SymbolPrototype, 'toString', function toString() { + return getInternalState(this).tag; + }); + + defineBuiltIn($Symbol, 'withoutSetter', function (description) { + return wrap(uid(description), description); + }); + + propertyIsEnumerableModule.f = $propertyIsEnumerable; + definePropertyModule.f = $defineProperty; + definePropertiesModule.f = $defineProperties; + getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; + getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; + getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; + + wrappedWellKnownSymbolModule.f = function (name) { + return wrap(wellKnownSymbol(name), name); + }; + + if (DESCRIPTORS) { + // https://github.com/tc39/proposal-Symbol-description + defineBuiltInAccessor(SymbolPrototype, 'description', { + configurable: true, + get: function description() { + return getInternalState(this).description; + } + }); + if (!IS_PURE) { + defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); + } + } +} + +$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { + Symbol: $Symbol +}); + +$forEach(objectKeys(WellKnownSymbolsStore), function (name) { + defineWellKnownSymbol(name); +}); + +$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { + useSetter: function () { USE_SETTER = true; }, + useSimple: function () { USE_SETTER = false; } +}); + +$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + create: $create, + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + defineProperty: $defineProperty, + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + defineProperties: $defineProperties, + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors + getOwnPropertyDescriptor: $getOwnPropertyDescriptor +}); + +$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + getOwnPropertyNames: $getOwnPropertyNames +}); + +// `Symbol.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive +defineSymbolToPrimitive(); + +// `Symbol.prototype[@@toStringTag]` property +// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag +setToStringTag($Symbol, SYMBOL); + +hiddenKeys[HIDDEN] = true; diff --git a/node_modules/core-js/modules/es.symbol.description.js b/node_modules/core-js/modules/es.symbol.description.js new file mode 100644 index 00000000..b486d31e --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.description.js @@ -0,0 +1,59 @@ +// `Symbol.prototype.description` getter +// https://tc39.es/ecma262/#sec-symbol.prototype.description +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); +var hasOwn = require('../internals/has-own-property'); +var isCallable = require('../internals/is-callable'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var toString = require('../internals/to-string'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var copyConstructorProperties = require('../internals/copy-constructor-properties'); + +var NativeSymbol = global.Symbol; +var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; + +if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) || + // Safari 12 bug + NativeSymbol().description !== undefined +)) { + var EmptyStringDescriptionStore = {}; + // wrap Symbol constructor for correct work with undefined description + var SymbolWrapper = function Symbol() { + var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]); + var result = isPrototypeOf(SymbolPrototype, this) + ? new NativeSymbol(description) + // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' + : description === undefined ? NativeSymbol() : NativeSymbol(description); + if (description === '') EmptyStringDescriptionStore[result] = true; + return result; + }; + + copyConstructorProperties(SymbolWrapper, NativeSymbol); + SymbolWrapper.prototype = SymbolPrototype; + SymbolPrototype.constructor = SymbolWrapper; + + var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)'; + var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf); + var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString); + var regexp = /^Symbol\((.*)\)[^)]+$/; + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + + defineBuiltInAccessor(SymbolPrototype, 'description', { + configurable: true, + get: function description() { + var symbol = thisSymbolValue(this); + if (hasOwn(EmptyStringDescriptionStore, symbol)) return ''; + var string = symbolDescriptiveString(symbol); + var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1'); + return desc === '' ? undefined : desc; + } + }); + + $({ global: true, constructor: true, forced: true }, { + Symbol: SymbolWrapper + }); +} diff --git a/node_modules/core-js/modules/es.symbol.for.js b/node_modules/core-js/modules/es.symbol.for.js new file mode 100644 index 00000000..e056b6b5 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.for.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var hasOwn = require('../internals/has-own-property'); +var toString = require('../internals/to-string'); +var shared = require('../internals/shared'); +var NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection'); + +var StringToSymbolRegistry = shared('string-to-symbol-registry'); +var SymbolToStringRegistry = shared('symbol-to-string-registry'); + +// `Symbol.for` method +// https://tc39.es/ecma262/#sec-symbol.for +$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { + 'for': function (key) { + var string = toString(key); + if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; + var symbol = getBuiltIn('Symbol')(string); + StringToSymbolRegistry[string] = symbol; + SymbolToStringRegistry[symbol] = string; + return symbol; + } +}); diff --git a/node_modules/core-js/modules/es.symbol.has-instance.js b/node_modules/core-js/modules/es.symbol.has-instance.js new file mode 100644 index 00000000..a37c6663 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.has-instance.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.hasInstance` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.hasinstance +defineWellKnownSymbol('hasInstance'); diff --git a/node_modules/core-js/modules/es.symbol.is-concat-spreadable.js b/node_modules/core-js/modules/es.symbol.is-concat-spreadable.js new file mode 100644 index 00000000..f449e796 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.is-concat-spreadable.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.isConcatSpreadable` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable +defineWellKnownSymbol('isConcatSpreadable'); diff --git a/node_modules/core-js/modules/es.symbol.iterator.js b/node_modules/core-js/modules/es.symbol.iterator.js new file mode 100644 index 00000000..545ad973 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.iterator.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.iterator` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.iterator +defineWellKnownSymbol('iterator'); diff --git a/node_modules/core-js/modules/es.symbol.js b/node_modules/core-js/modules/es.symbol.js new file mode 100644 index 00000000..aaef3c14 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +require('../modules/es.symbol.constructor'); +require('../modules/es.symbol.for'); +require('../modules/es.symbol.key-for'); +require('../modules/es.json.stringify'); +require('../modules/es.object.get-own-property-symbols'); diff --git a/node_modules/core-js/modules/es.symbol.key-for.js b/node_modules/core-js/modules/es.symbol.key-for.js new file mode 100644 index 00000000..87d090e3 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.key-for.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var hasOwn = require('../internals/has-own-property'); +var isSymbol = require('../internals/is-symbol'); +var tryToString = require('../internals/try-to-string'); +var shared = require('../internals/shared'); +var NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection'); + +var SymbolToStringRegistry = shared('symbol-to-string-registry'); + +// `Symbol.keyFor` method +// https://tc39.es/ecma262/#sec-symbol.keyfor +$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { + keyFor: function keyFor(sym) { + if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol'); + if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; + } +}); diff --git a/node_modules/core-js/modules/es.symbol.match-all.js b/node_modules/core-js/modules/es.symbol.match-all.js new file mode 100644 index 00000000..19a3bd07 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.match-all.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.matchAll` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.matchall +defineWellKnownSymbol('matchAll'); diff --git a/node_modules/core-js/modules/es.symbol.match.js b/node_modules/core-js/modules/es.symbol.match.js new file mode 100644 index 00000000..4947d02f --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.match.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.match` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.match +defineWellKnownSymbol('match'); diff --git a/node_modules/core-js/modules/es.symbol.replace.js b/node_modules/core-js/modules/es.symbol.replace.js new file mode 100644 index 00000000..73062093 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.replace.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.replace` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.replace +defineWellKnownSymbol('replace'); diff --git a/node_modules/core-js/modules/es.symbol.search.js b/node_modules/core-js/modules/es.symbol.search.js new file mode 100644 index 00000000..61bdf8ac --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.search.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.search` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.search +defineWellKnownSymbol('search'); diff --git a/node_modules/core-js/modules/es.symbol.species.js b/node_modules/core-js/modules/es.symbol.species.js new file mode 100644 index 00000000..67b995c5 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.species.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.species` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.species +defineWellKnownSymbol('species'); diff --git a/node_modules/core-js/modules/es.symbol.split.js b/node_modules/core-js/modules/es.symbol.split.js new file mode 100644 index 00000000..926e02ca --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.split.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.split` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.split +defineWellKnownSymbol('split'); diff --git a/node_modules/core-js/modules/es.symbol.to-primitive.js b/node_modules/core-js/modules/es.symbol.to-primitive.js new file mode 100644 index 00000000..c263093a --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.to-primitive.js @@ -0,0 +1,11 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); +var defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive'); + +// `Symbol.toPrimitive` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.toprimitive +defineWellKnownSymbol('toPrimitive'); + +// `Symbol.prototype[@@toPrimitive]` method +// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive +defineSymbolToPrimitive(); diff --git a/node_modules/core-js/modules/es.symbol.to-string-tag.js b/node_modules/core-js/modules/es.symbol.to-string-tag.js new file mode 100644 index 00000000..4a09f112 --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.to-string-tag.js @@ -0,0 +1,12 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); +var setToStringTag = require('../internals/set-to-string-tag'); + +// `Symbol.toStringTag` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.tostringtag +defineWellKnownSymbol('toStringTag'); + +// `Symbol.prototype[@@toStringTag]` property +// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag +setToStringTag(getBuiltIn('Symbol'), 'Symbol'); diff --git a/node_modules/core-js/modules/es.symbol.unscopables.js b/node_modules/core-js/modules/es.symbol.unscopables.js new file mode 100644 index 00000000..e5df05ec --- /dev/null +++ b/node_modules/core-js/modules/es.symbol.unscopables.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.unscopables` well-known symbol +// https://tc39.es/ecma262/#sec-symbol.unscopables +defineWellKnownSymbol('unscopables'); diff --git a/node_modules/core-js/modules/es.typed-array.at.js b/node_modules/core-js/modules/es.typed-array.at.js new file mode 100644 index 00000000..c2c2208e --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.at.js @@ -0,0 +1,17 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.at` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at +exportTypedArrayMethod('at', function at(index) { + var O = aTypedArray(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; +}); diff --git a/node_modules/core-js/modules/es.typed-array.copy-within.js b/node_modules/core-js/modules/es.typed-array.copy-within.js new file mode 100644 index 00000000..ec0baff5 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.copy-within.js @@ -0,0 +1,14 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $ArrayCopyWithin = require('../internals/array-copy-within'); + +var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin); +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.copyWithin` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin +exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) { + return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.every.js b/node_modules/core-js/modules/es.typed-array.every.js new file mode 100644 index 00000000..625a0c59 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.every.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $every = require('../internals/array-iteration').every; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.every` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every +exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) { + return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.fill.js b/node_modules/core-js/modules/es.typed-array.fill.js new file mode 100644 index 00000000..3fa8a878 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.fill.js @@ -0,0 +1,29 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $fill = require('../internals/array-fill'); +var toBigInt = require('../internals/to-big-int'); +var classof = require('../internals/classof'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var slice = uncurryThis(''.slice); + +// V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18 +var CONVERSION_BUG = fails(function () { + var count = 0; + // eslint-disable-next-line es/no-typed-arrays -- safe + new Int8Array(2).fill({ valueOf: function () { return count++; } }); + return count !== 1; +}); + +// `%TypedArray%.prototype.fill` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill +exportTypedArrayMethod('fill', function fill(value /* , start, end */) { + var length = arguments.length; + aTypedArray(this); + var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value; + return call($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined); +}, CONVERSION_BUG); diff --git a/node_modules/core-js/modules/es.typed-array.filter.js b/node_modules/core-js/modules/es.typed-array.filter.js new file mode 100644 index 00000000..9d22eef3 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.filter.js @@ -0,0 +1,14 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $filter = require('../internals/array-iteration').filter; +var fromSpeciesAndList = require('../internals/typed-array-from-species-and-list'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.filter` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter +exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) { + var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return fromSpeciesAndList(this, list); +}); diff --git a/node_modules/core-js/modules/es.typed-array.find-index.js b/node_modules/core-js/modules/es.typed-array.find-index.js new file mode 100644 index 00000000..b1266565 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.find-index.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $findIndex = require('../internals/array-iteration').findIndex; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.findIndex` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex +exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) { + return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.find-last-index.js b/node_modules/core-js/modules/es.typed-array.find-last-index.js new file mode 100644 index 00000000..5e8b501a --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.find-last-index.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $findLastIndex = require('../internals/array-iteration-from-last').findLastIndex; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.findLastIndex` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlastindex +exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) { + return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.find-last.js b/node_modules/core-js/modules/es.typed-array.find-last.js new file mode 100644 index 00000000..2b124cfb --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.find-last.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $findLast = require('../internals/array-iteration-from-last').findLast; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.findLast` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlast +exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) { + return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.find.js b/node_modules/core-js/modules/es.typed-array.find.js new file mode 100644 index 00000000..db7ee3f7 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.find.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $find = require('../internals/array-iteration').find; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.find` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find +exportTypedArrayMethod('find', function find(predicate /* , thisArg */) { + return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.float32-array.js b/node_modules/core-js/modules/es.typed-array.float32-array.js new file mode 100644 index 00000000..95b84811 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.float32-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Float32Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Float32', function (init) { + return function Float32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); diff --git a/node_modules/core-js/modules/es.typed-array.float64-array.js b/node_modules/core-js/modules/es.typed-array.float64-array.js new file mode 100644 index 00000000..da82da24 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.float64-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Float64Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Float64', function (init) { + return function Float64Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); diff --git a/node_modules/core-js/modules/es.typed-array.for-each.js b/node_modules/core-js/modules/es.typed-array.for-each.js new file mode 100644 index 00000000..bc2f28f7 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.for-each.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $forEach = require('../internals/array-iteration').forEach; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.forEach` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach +exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) { + $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.from.js b/node_modules/core-js/modules/es.typed-array.from.js new file mode 100644 index 00000000..79ad0f13 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.from.js @@ -0,0 +1,8 @@ +'use strict'; +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers'); +var exportTypedArrayStaticMethod = require('../internals/array-buffer-view-core').exportTypedArrayStaticMethod; +var typedArrayFrom = require('../internals/typed-array-from'); + +// `%TypedArray%.from` method +// https://tc39.es/ecma262/#sec-%typedarray%.from +exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); diff --git a/node_modules/core-js/modules/es.typed-array.includes.js b/node_modules/core-js/modules/es.typed-array.includes.js new file mode 100644 index 00000000..b465840f --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.includes.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $includes = require('../internals/array-includes').includes; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.includes` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes +exportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) { + return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.index-of.js b/node_modules/core-js/modules/es.typed-array.index-of.js new file mode 100644 index 00000000..b369f5c1 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.index-of.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $indexOf = require('../internals/array-includes').indexOf; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.indexOf` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof +exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) { + return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.int16-array.js b/node_modules/core-js/modules/es.typed-array.int16-array.js new file mode 100644 index 00000000..fe3da1dc --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.int16-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Int16Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Int16', function (init) { + return function Int16Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); diff --git a/node_modules/core-js/modules/es.typed-array.int32-array.js b/node_modules/core-js/modules/es.typed-array.int32-array.js new file mode 100644 index 00000000..38afed59 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.int32-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Int32Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Int32', function (init) { + return function Int32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); diff --git a/node_modules/core-js/modules/es.typed-array.int8-array.js b/node_modules/core-js/modules/es.typed-array.int8-array.js new file mode 100644 index 00000000..dda9bd4d --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.int8-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Int8Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Int8', function (init) { + return function Int8Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); diff --git a/node_modules/core-js/modules/es.typed-array.iterator.js b/node_modules/core-js/modules/es.typed-array.iterator.js new file mode 100644 index 00000000..09950277 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.iterator.js @@ -0,0 +1,46 @@ +'use strict'; +var global = require('../internals/global'); +var fails = require('../internals/fails'); +var uncurryThis = require('../internals/function-uncurry-this'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var ArrayIterators = require('../modules/es.array.iterator'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var ITERATOR = wellKnownSymbol('iterator'); +var Uint8Array = global.Uint8Array; +var arrayValues = uncurryThis(ArrayIterators.values); +var arrayKeys = uncurryThis(ArrayIterators.keys); +var arrayEntries = uncurryThis(ArrayIterators.entries); +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var TypedArrayPrototype = Uint8Array && Uint8Array.prototype; + +var GENERIC = !fails(function () { + TypedArrayPrototype[ITERATOR].call([1]); +}); + +var ITERATOR_IS_VALUES = !!TypedArrayPrototype + && TypedArrayPrototype.values + && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values + && TypedArrayPrototype.values.name === 'values'; + +var typedArrayValues = function values() { + return arrayValues(aTypedArray(this)); +}; + +// `%TypedArray%.prototype.entries` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries +exportTypedArrayMethod('entries', function entries() { + return arrayEntries(aTypedArray(this)); +}, GENERIC); +// `%TypedArray%.prototype.keys` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys +exportTypedArrayMethod('keys', function keys() { + return arrayKeys(aTypedArray(this)); +}, GENERIC); +// `%TypedArray%.prototype.values` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values +exportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); +// `%TypedArray%.prototype[@@iterator]` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator +exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); diff --git a/node_modules/core-js/modules/es.typed-array.join.js b/node_modules/core-js/modules/es.typed-array.join.js new file mode 100644 index 00000000..e8e7720e --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.join.js @@ -0,0 +1,13 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var uncurryThis = require('../internals/function-uncurry-this'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var $join = uncurryThis([].join); + +// `%TypedArray%.prototype.join` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join +exportTypedArrayMethod('join', function join(separator) { + return $join(aTypedArray(this), separator); +}); diff --git a/node_modules/core-js/modules/es.typed-array.last-index-of.js b/node_modules/core-js/modules/es.typed-array.last-index-of.js new file mode 100644 index 00000000..89c2fc2f --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.last-index-of.js @@ -0,0 +1,14 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var apply = require('../internals/function-apply'); +var $lastIndexOf = require('../internals/array-last-index-of'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.lastIndexOf` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof +exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { + var length = arguments.length; + return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]); +}); diff --git a/node_modules/core-js/modules/es.typed-array.map.js b/node_modules/core-js/modules/es.typed-array.map.js new file mode 100644 index 00000000..92dd0629 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.map.js @@ -0,0 +1,15 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $map = require('../internals/array-iteration').map; +var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.map` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map +exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) { + return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { + return new (typedArraySpeciesConstructor(O))(length); + }); +}); diff --git a/node_modules/core-js/modules/es.typed-array.of.js b/node_modules/core-js/modules/es.typed-array.of.js new file mode 100644 index 00000000..2c9064b4 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.of.js @@ -0,0 +1,16 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers'); + +var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; +var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; + +// `%TypedArray%.of` method +// https://tc39.es/ecma262/#sec-%typedarray%.of +exportTypedArrayStaticMethod('of', function of(/* ...items */) { + var index = 0; + var length = arguments.length; + var result = new (aTypedArrayConstructor(this))(length); + while (length > index) result[index] = arguments[index++]; + return result; +}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); diff --git a/node_modules/core-js/modules/es.typed-array.reduce-right.js b/node_modules/core-js/modules/es.typed-array.reduce-right.js new file mode 100644 index 00000000..5df1ca12 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.reduce-right.js @@ -0,0 +1,13 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $reduceRight = require('../internals/array-reduce').right; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.reduceRight` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright +exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) { + var length = arguments.length; + return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.reduce.js b/node_modules/core-js/modules/es.typed-array.reduce.js new file mode 100644 index 00000000..4a71707a --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.reduce.js @@ -0,0 +1,13 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $reduce = require('../internals/array-reduce').left; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.reduce` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce +exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) { + var length = arguments.length; + return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.reverse.js b/node_modules/core-js/modules/es.typed-array.reverse.js new file mode 100644 index 00000000..4a5a8706 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.reverse.js @@ -0,0 +1,21 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var floor = Math.floor; + +// `%TypedArray%.prototype.reverse` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse +exportTypedArrayMethod('reverse', function reverse() { + var that = this; + var length = aTypedArray(that).length; + var middle = floor(length / 2); + var index = 0; + var value; + while (index < middle) { + value = that[index]; + that[index++] = that[--length]; + that[length] = value; + } return that; +}); diff --git a/node_modules/core-js/modules/es.typed-array.set.js b/node_modules/core-js/modules/es.typed-array.set.js new file mode 100644 index 00000000..b658ef91 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.set.js @@ -0,0 +1,44 @@ +'use strict'; +var global = require('../internals/global'); +var call = require('../internals/function-call'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var toOffset = require('../internals/to-offset'); +var toIndexedObject = require('../internals/to-object'); +var fails = require('../internals/fails'); + +var RangeError = global.RangeError; +var Int8Array = global.Int8Array; +var Int8ArrayPrototype = Int8Array && Int8Array.prototype; +var $set = Int8ArrayPrototype && Int8ArrayPrototype.set; +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + var array = new Uint8ClampedArray(2); + call($set, array, { length: 1, 0: 3 }, 1); + return array[1] !== 3; +}); + +// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other +var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () { + var array = new Int8Array(2); + array.set(1); + array.set('2', 1); + return array[0] !== 0 || array[1] !== 2; +}); + +// `%TypedArray%.prototype.set` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set +exportTypedArrayMethod('set', function set(arrayLike /* , offset */) { + aTypedArray(this); + var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); + var src = toIndexedObject(arrayLike); + if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset); + var length = this.length; + var len = lengthOfArrayLike(src); + var index = 0; + if (len + offset > length) throw RangeError('Wrong length'); + while (index < len) this[offset + index] = src[index++]; +}, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG); diff --git a/node_modules/core-js/modules/es.typed-array.slice.js b/node_modules/core-js/modules/es.typed-array.slice.js new file mode 100644 index 00000000..33dc2b9d --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.slice.js @@ -0,0 +1,25 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); +var fails = require('../internals/fails'); +var arraySlice = require('../internals/array-slice'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +var FORCED = fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + new Int8Array(1).slice(); +}); + +// `%TypedArray%.prototype.slice` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice +exportTypedArrayMethod('slice', function slice(start, end) { + var list = arraySlice(aTypedArray(this), start, end); + var C = typedArraySpeciesConstructor(this); + var index = 0; + var length = list.length; + var result = new C(length); + while (length > index) result[index] = list[index++]; + return result; +}, FORCED); diff --git a/node_modules/core-js/modules/es.typed-array.some.js b/node_modules/core-js/modules/es.typed-array.some.js new file mode 100644 index 00000000..214115b8 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.some.js @@ -0,0 +1,12 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $some = require('../internals/array-iteration').some; + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.some` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some +exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) { + return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +}); diff --git a/node_modules/core-js/modules/es.typed-array.sort.js b/node_modules/core-js/modules/es.typed-array.sort.js new file mode 100644 index 00000000..40cfcbb5 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.sort.js @@ -0,0 +1,70 @@ +'use strict'; +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this-clause'); +var fails = require('../internals/fails'); +var aCallable = require('../internals/a-callable'); +var internalSort = require('../internals/array-sort'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var FF = require('../internals/engine-ff-version'); +var IE_OR_EDGE = require('../internals/engine-is-ie-or-edge'); +var V8 = require('../internals/engine-v8-version'); +var WEBKIT = require('../internals/engine-webkit-version'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var Uint16Array = global.Uint16Array; +var nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort); + +// WebKit +var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function () { + nativeSort(new Uint16Array(2), null); +}) && fails(function () { + nativeSort(new Uint16Array(2), {}); +})); + +var STABLE_SORT = !!nativeSort && !fails(function () { + // feature detection can be too slow, so check engines versions + if (V8) return V8 < 74; + if (FF) return FF < 67; + if (IE_OR_EDGE) return true; + if (WEBKIT) return WEBKIT < 602; + + var array = new Uint16Array(516); + var expected = Array(516); + var index, mod; + + for (index = 0; index < 516; index++) { + mod = index % 4; + array[index] = 515 - index; + expected[index] = index - 2 * mod + 3; + } + + nativeSort(array, function (a, b) { + return (a / 4 | 0) - (b / 4 | 0); + }); + + for (index = 0; index < 516; index++) { + if (array[index] !== expected[index]) return true; + } +}); + +var getSortCompare = function (comparefn) { + return function (x, y) { + if (comparefn !== undefined) return +comparefn(x, y) || 0; + // eslint-disable-next-line no-self-compare -- NaN check + if (y !== y) return -1; + // eslint-disable-next-line no-self-compare -- NaN check + if (x !== x) return 1; + if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1; + return x > y; + }; +}; + +// `%TypedArray%.prototype.sort` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort +exportTypedArrayMethod('sort', function sort(comparefn) { + if (comparefn !== undefined) aCallable(comparefn); + if (STABLE_SORT) return nativeSort(this, comparefn); + + return internalSort(aTypedArray(this), getSortCompare(comparefn)); +}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); diff --git a/node_modules/core-js/modules/es.typed-array.subarray.js b/node_modules/core-js/modules/es.typed-array.subarray.js new file mode 100644 index 00000000..f2e1ae5f --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.subarray.js @@ -0,0 +1,22 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var toLength = require('../internals/to-length'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.subarray` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray +exportTypedArrayMethod('subarray', function subarray(begin, end) { + var O = aTypedArray(this); + var length = O.length; + var beginIndex = toAbsoluteIndex(begin, length); + var C = typedArraySpeciesConstructor(O); + return new C( + O.buffer, + O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, + toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) + ); +}); diff --git a/node_modules/core-js/modules/es.typed-array.to-locale-string.js b/node_modules/core-js/modules/es.typed-array.to-locale-string.js new file mode 100644 index 00000000..f3baf21a --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.to-locale-string.js @@ -0,0 +1,32 @@ +'use strict'; +var global = require('../internals/global'); +var apply = require('../internals/function-apply'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var fails = require('../internals/fails'); +var arraySlice = require('../internals/array-slice'); + +var Int8Array = global.Int8Array; +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var $toLocaleString = [].toLocaleString; + +// iOS Safari 6.x fails here +var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () { + $toLocaleString.call(new Int8Array(1)); +}); + +var FORCED = fails(function () { + return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString(); +}) || !fails(function () { + Int8Array.prototype.toLocaleString.call([1, 2]); +}); + +// `%TypedArray%.prototype.toLocaleString` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring +exportTypedArrayMethod('toLocaleString', function toLocaleString() { + return apply( + $toLocaleString, + TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this), + arraySlice(arguments) + ); +}, FORCED); diff --git a/node_modules/core-js/modules/es.typed-array.to-reversed.js b/node_modules/core-js/modules/es.typed-array.to-reversed.js new file mode 100644 index 00000000..500d44f8 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.to-reversed.js @@ -0,0 +1,13 @@ +'use strict'; +var arrayToReversed = require('../internals/array-to-reversed'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + +// `%TypedArray%.prototype.toReversed` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed +exportTypedArrayMethod('toReversed', function toReversed() { + return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); +}); diff --git a/node_modules/core-js/modules/es.typed-array.to-sorted.js b/node_modules/core-js/modules/es.typed-array.to-sorted.js new file mode 100644 index 00000000..09b9afdc --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.to-sorted.js @@ -0,0 +1,19 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); +var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); + +// `%TypedArray%.prototype.toSorted` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted +exportTypedArrayMethod('toSorted', function toSorted(compareFn) { + if (compareFn !== undefined) aCallable(compareFn); + var O = aTypedArray(this); + var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); + return sort(A, compareFn); +}); diff --git a/node_modules/core-js/modules/es.typed-array.to-string.js b/node_modules/core-js/modules/es.typed-array.to-string.js new file mode 100644 index 00000000..3f1d24fc --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.to-string.js @@ -0,0 +1,22 @@ +'use strict'; +var exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod; +var fails = require('../internals/fails'); +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); + +var Uint8Array = global.Uint8Array; +var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {}; +var arrayToString = [].toString; +var join = uncurryThis([].join); + +if (fails(function () { arrayToString.call({}); })) { + arrayToString = function toString() { + return join(this); + }; +} + +var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; + +// `%TypedArray%.prototype.toString` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring +exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD); diff --git a/node_modules/core-js/modules/es.typed-array.uint16-array.js b/node_modules/core-js/modules/es.typed-array.uint16-array.js new file mode 100644 index 00000000..81750e1a --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.uint16-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Uint16Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Uint16', function (init) { + return function Uint16Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); diff --git a/node_modules/core-js/modules/es.typed-array.uint32-array.js b/node_modules/core-js/modules/es.typed-array.uint32-array.js new file mode 100644 index 00000000..eb3e9d17 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.uint32-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Uint32Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Uint32', function (init) { + return function Uint32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); diff --git a/node_modules/core-js/modules/es.typed-array.uint8-array.js b/node_modules/core-js/modules/es.typed-array.uint8-array.js new file mode 100644 index 00000000..24a1830e --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.uint8-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Uint8Array` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Uint8', function (init) { + return function Uint8Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); diff --git a/node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js b/node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js new file mode 100644 index 00000000..46103ce9 --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js @@ -0,0 +1,10 @@ +'use strict'; +var createTypedArrayConstructor = require('../internals/typed-array-constructor'); + +// `Uint8ClampedArray` constructor +// https://tc39.es/ecma262/#sec-typedarray-objects +createTypedArrayConstructor('Uint8', function (init) { + return function Uint8ClampedArray(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}, true); diff --git a/node_modules/core-js/modules/es.typed-array.with.js b/node_modules/core-js/modules/es.typed-array.with.js new file mode 100644 index 00000000..f9e83cde --- /dev/null +++ b/node_modules/core-js/modules/es.typed-array.with.js @@ -0,0 +1,30 @@ +'use strict'; +var arrayWith = require('../internals/array-with'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var isBigIntArray = require('../internals/is-big-int-array'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toBigInt = require('../internals/to-big-int'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +var PROPER_ORDER = !!function () { + try { + // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing + new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } }); + } catch (error) { + // some early implementations, like WebKit, does not follow the final semantic + // https://github.com/tc39/proposal-change-array-by-copy/pull/86 + return error === 8; + } +}(); + +// `%TypedArray%.prototype.with` method +// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with +exportTypedArrayMethod('with', { 'with': function (index, value) { + var O = aTypedArray(this); + var relativeIndex = toIntegerOrInfinity(index); + var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; + return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); +} }['with'], !PROPER_ORDER); diff --git a/node_modules/core-js/modules/es.unescape.js b/node_modules/core-js/modules/es.unescape.js new file mode 100644 index 00000000..c23b68c1 --- /dev/null +++ b/node_modules/core-js/modules/es.unescape.js @@ -0,0 +1,45 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toString = require('../internals/to-string'); + +var fromCharCode = String.fromCharCode; +var charAt = uncurryThis(''.charAt); +var exec = uncurryThis(/./.exec); +var stringSlice = uncurryThis(''.slice); + +var hex2 = /^[\da-f]{2}$/i; +var hex4 = /^[\da-f]{4}$/i; + +// `unescape` method +// https://tc39.es/ecma262/#sec-unescape-string +$({ global: true }, { + unescape: function unescape(string) { + var str = toString(string); + var result = ''; + var length = str.length; + var index = 0; + var chr, part; + while (index < length) { + chr = charAt(str, index++); + if (chr === '%') { + if (charAt(str, index) === 'u') { + part = stringSlice(str, index + 1, index + 5); + if (exec(hex4, part)) { + result += fromCharCode(parseInt(part, 16)); + index += 5; + continue; + } + } else { + part = stringSlice(str, index, index + 2); + if (exec(hex2, part)) { + result += fromCharCode(parseInt(part, 16)); + index += 2; + continue; + } + } + } + result += chr; + } return result; + } +}); diff --git a/node_modules/core-js/modules/es.weak-map.constructor.js b/node_modules/core-js/modules/es.weak-map.constructor.js new file mode 100644 index 00000000..72632c4b --- /dev/null +++ b/node_modules/core-js/modules/es.weak-map.constructor.js @@ -0,0 +1,109 @@ +'use strict'; +var FREEZING = require('../internals/freezing'); +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); +var defineBuiltIns = require('../internals/define-built-ins'); +var InternalMetadataModule = require('../internals/internal-metadata'); +var collection = require('../internals/collection'); +var collectionWeak = require('../internals/collection-weak'); +var isObject = require('../internals/is-object'); +var enforceInternalState = require('../internals/internal-state').enforce; +var fails = require('../internals/fails'); +var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection'); + +var $Object = Object; +// eslint-disable-next-line es/no-array-isarray -- safe +var isArray = Array.isArray; +// eslint-disable-next-line es/no-object-isextensible -- safe +var isExtensible = $Object.isExtensible; +// eslint-disable-next-line es/no-object-isfrozen -- safe +var isFrozen = $Object.isFrozen; +// eslint-disable-next-line es/no-object-issealed -- safe +var isSealed = $Object.isSealed; +// eslint-disable-next-line es/no-object-freeze -- safe +var freeze = $Object.freeze; +// eslint-disable-next-line es/no-object-seal -- safe +var seal = $Object.seal; + +var FROZEN = {}; +var SEALED = {}; +var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; +var InternalWeakMap; + +var wrapper = function (init) { + return function WeakMap() { + return init(this, arguments.length ? arguments[0] : undefined); + }; +}; + +// `WeakMap` constructor +// https://tc39.es/ecma262/#sec-weakmap-constructor +var $WeakMap = collection('WeakMap', wrapper, collectionWeak); +var WeakMapPrototype = $WeakMap.prototype; +var nativeSet = uncurryThis(WeakMapPrototype.set); + +// Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them +var hasMSEdgeFreezingBug = function () { + return FREEZING && fails(function () { + var frozenArray = freeze([]); + nativeSet(new $WeakMap(), frozenArray, 1); + return !isFrozen(frozenArray); + }); +}; + +// IE11 WeakMap frozen keys fix +// We can't use feature detection because it crash some old IE builds +// https://github.com/zloirock/core-js/issues/485 +if (NATIVE_WEAK_MAP) if (IS_IE11) { + InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true); + InternalMetadataModule.enable(); + var nativeDelete = uncurryThis(WeakMapPrototype['delete']); + var nativeHas = uncurryThis(WeakMapPrototype.has); + var nativeGet = uncurryThis(WeakMapPrototype.get); + defineBuiltIns(WeakMapPrototype, { + 'delete': function (key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeDelete(this, key) || state.frozen['delete'](key); + } return nativeDelete(this, key); + }, + has: function has(key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeHas(this, key) || state.frozen.has(key); + } return nativeHas(this, key); + }, + get: function get(key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key); + } return nativeGet(this, key); + }, + set: function set(key, value) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value); + } else nativeSet(this, key, value); + return this; + } + }); +// Chakra Edge frozen keys fix +} else if (hasMSEdgeFreezingBug()) { + defineBuiltIns(WeakMapPrototype, { + set: function set(key, value) { + var arrayIntegrityLevel; + if (isArray(key)) { + if (isFrozen(key)) arrayIntegrityLevel = FROZEN; + else if (isSealed(key)) arrayIntegrityLevel = SEALED; + } + nativeSet(this, key, value); + if (arrayIntegrityLevel == FROZEN) freeze(key); + if (arrayIntegrityLevel == SEALED) seal(key); + return this; + } + }); +} diff --git a/node_modules/core-js/modules/es.weak-map.js b/node_modules/core-js/modules/es.weak-map.js new file mode 100644 index 00000000..d59a49f2 --- /dev/null +++ b/node_modules/core-js/modules/es.weak-map.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's replaced to module below +require('../modules/es.weak-map.constructor'); diff --git a/node_modules/core-js/modules/es.weak-set.constructor.js b/node_modules/core-js/modules/es.weak-set.constructor.js new file mode 100644 index 00000000..80d9c34f --- /dev/null +++ b/node_modules/core-js/modules/es.weak-set.constructor.js @@ -0,0 +1,9 @@ +'use strict'; +var collection = require('../internals/collection'); +var collectionWeak = require('../internals/collection-weak'); + +// `WeakSet` constructor +// https://tc39.es/ecma262/#sec-weakset-constructor +collection('WeakSet', function (init) { + return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); }; +}, collectionWeak); diff --git a/node_modules/core-js/modules/es.weak-set.js b/node_modules/core-js/modules/es.weak-set.js new file mode 100644 index 00000000..7d3d93e6 --- /dev/null +++ b/node_modules/core-js/modules/es.weak-set.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's replaced to module below +require('../modules/es.weak-set.constructor'); diff --git a/node_modules/core-js/modules/esnext.aggregate-error.js b/node_modules/core-js/modules/esnext.aggregate-error.js new file mode 100644 index 00000000..677193d2 --- /dev/null +++ b/node_modules/core-js/modules/esnext.aggregate-error.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.aggregate-error'); diff --git a/node_modules/core-js/modules/esnext.array-buffer.detached.js b/node_modules/core-js/modules/esnext.array-buffer.detached.js new file mode 100644 index 00000000..3aa6d9c3 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array-buffer.detached.js @@ -0,0 +1,15 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var isDetached = require('../internals/array-buffer-is-detached'); + +var ArrayBufferPrototype = ArrayBuffer.prototype; + +if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) { + defineBuiltInAccessor(ArrayBufferPrototype, 'detached', { + configurable: true, + get: function detached() { + return isDetached(this); + } + }); +} diff --git a/node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js b/node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js new file mode 100644 index 00000000..55a9f8a7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $transfer = require('../internals/array-buffer-transfer'); + +// `ArrayBuffer.prototype.transferToFixedLength` method +// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength +if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { + transferToFixedLength: function transferToFixedLength() { + return $transfer(this, arguments.length ? arguments[0] : undefined, false); + } +}); diff --git a/node_modules/core-js/modules/esnext.array-buffer.transfer.js b/node_modules/core-js/modules/esnext.array-buffer.transfer.js new file mode 100644 index 00000000..197658de --- /dev/null +++ b/node_modules/core-js/modules/esnext.array-buffer.transfer.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $transfer = require('../internals/array-buffer-transfer'); + +// `ArrayBuffer.prototype.transfer` method +// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer +if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { + transfer: function transfer() { + return $transfer(this, arguments.length ? arguments[0] : undefined, true); + } +}); diff --git a/node_modules/core-js/modules/esnext.array.at.js b/node_modules/core-js/modules/esnext.array.at.js new file mode 100644 index 00000000..13a671b5 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.at.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.array.at'); diff --git a/node_modules/core-js/modules/esnext.array.filter-out.js b/node_modules/core-js/modules/esnext.array.filter-out.js new file mode 100644 index 00000000..fc737f24 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.filter-out.js @@ -0,0 +1,15 @@ +'use strict'; +// TODO: remove from `core-js@4` +var $ = require('../internals/export'); +var $filterReject = require('../internals/array-iteration').filterReject; +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.filterOut` method +// https://github.com/tc39/proposal-array-filtering +$({ target: 'Array', proto: true, forced: true }, { + filterOut: function filterOut(callbackfn /* , thisArg */) { + return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables('filterOut'); diff --git a/node_modules/core-js/modules/esnext.array.filter-reject.js b/node_modules/core-js/modules/esnext.array.filter-reject.js new file mode 100644 index 00000000..8a9ee56d --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.filter-reject.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var $filterReject = require('../internals/array-iteration').filterReject; +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.filterReject` method +// https://github.com/tc39/proposal-array-filtering +$({ target: 'Array', proto: true, forced: true }, { + filterReject: function filterReject(callbackfn /* , thisArg */) { + return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables('filterReject'); diff --git a/node_modules/core-js/modules/esnext.array.find-last-index.js b/node_modules/core-js/modules/esnext.array.find-last-index.js new file mode 100644 index 00000000..bc997fed --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.find-last-index.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.array.find-last-index'); diff --git a/node_modules/core-js/modules/esnext.array.find-last.js b/node_modules/core-js/modules/esnext.array.find-last.js new file mode 100644 index 00000000..04f1cd82 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.find-last.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.array.find-last'); diff --git a/node_modules/core-js/modules/esnext.array.from-async.js b/node_modules/core-js/modules/esnext.array.from-async.js new file mode 100644 index 00000000..10c22e72 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.from-async.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var fromAsync = require('../internals/array-from-async'); + +// `Array.fromAsync` method +// https://github.com/tc39/proposal-array-from-async +$({ target: 'Array', stat: true }, { + fromAsync: fromAsync +}); diff --git a/node_modules/core-js/modules/esnext.array.group-by-to-map.js b/node_modules/core-js/modules/esnext.array.group-by-to-map.js new file mode 100644 index 00000000..f2919a2d --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.group-by-to-map.js @@ -0,0 +1,16 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); +var addToUnscopables = require('../internals/add-to-unscopables'); +var $groupToMap = require('../internals/array-group-to-map'); +var IS_PURE = require('../internals/is-pure'); + +// `Array.prototype.groupByToMap` method +// https://github.com/tc39/proposal-array-grouping +// https://bugs.webkit.org/show_bug.cgi?id=236541 +$({ target: 'Array', proto: true, name: 'groupToMap', forced: IS_PURE || !arrayMethodIsStrict('groupByToMap') }, { + groupByToMap: $groupToMap +}); + +addToUnscopables('groupByToMap'); diff --git a/node_modules/core-js/modules/esnext.array.group-by.js b/node_modules/core-js/modules/esnext.array.group-by.js new file mode 100644 index 00000000..f5b9abf8 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.group-by.js @@ -0,0 +1,18 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var $group = require('../internals/array-group'); +var arrayMethodIsStrict = require('../internals/array-method-is-strict'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.groupBy` method +// https://github.com/tc39/proposal-array-grouping +// https://bugs.webkit.org/show_bug.cgi?id=236541 +$({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupBy') }, { + groupBy: function groupBy(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(this, callbackfn, thisArg); + } +}); + +addToUnscopables('groupBy'); diff --git a/node_modules/core-js/modules/esnext.array.group-to-map.js b/node_modules/core-js/modules/esnext.array.group-to-map.js new file mode 100644 index 00000000..42502649 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.group-to-map.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var addToUnscopables = require('../internals/add-to-unscopables'); +var $groupToMap = require('../internals/array-group-to-map'); +var IS_PURE = require('../internals/is-pure'); + +// `Array.prototype.groupToMap` method +// https://github.com/tc39/proposal-array-grouping +$({ target: 'Array', proto: true, forced: IS_PURE }, { + groupToMap: $groupToMap +}); + +addToUnscopables('groupToMap'); diff --git a/node_modules/core-js/modules/esnext.array.group.js b/node_modules/core-js/modules/esnext.array.group.js new file mode 100644 index 00000000..9afca8c9 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.group.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var $group = require('../internals/array-group'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.group` method +// https://github.com/tc39/proposal-array-grouping +$({ target: 'Array', proto: true }, { + group: function group(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(this, callbackfn, thisArg); + } +}); + +addToUnscopables('group'); diff --git a/node_modules/core-js/modules/esnext.array.is-template-object.js b/node_modules/core-js/modules/esnext.array.is-template-object.js new file mode 100644 index 00000000..0f1a826f --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.is-template-object.js @@ -0,0 +1,29 @@ +'use strict'; +var $ = require('../internals/export'); +var isArray = require('../internals/is-array'); + +// eslint-disable-next-line es/no-object-isfrozen -- safe +var isFrozen = Object.isFrozen; + +var isFrozenStringArray = function (array, allowUndefined) { + if (!isFrozen || !isArray(array) || !isFrozen(array)) return false; + var index = 0; + var length = array.length; + var element; + while (index < length) { + element = array[index++]; + if (!(typeof element == 'string' || (allowUndefined && element === undefined))) { + return false; + } + } return length !== 0; +}; + +// `Array.isTemplateObject` method +// https://github.com/tc39/proposal-array-is-template-object +$({ target: 'Array', stat: true, sham: true, forced: true }, { + isTemplateObject: function isTemplateObject(value) { + if (!isFrozenStringArray(value, true)) return false; + var raw = value.raw; + return raw.length === value.length && isFrozenStringArray(raw, false); + } +}); diff --git a/node_modules/core-js/modules/esnext.array.last-index.js b/node_modules/core-js/modules/esnext.array.last-index.js new file mode 100644 index 00000000..d3d6fc6d --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.last-index.js @@ -0,0 +1,22 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var DESCRIPTORS = require('../internals/descriptors'); +var addToUnscopables = require('../internals/add-to-unscopables'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); + +// `Array.prototype.lastIndex` getter +// https://github.com/keithamus/proposal-array-last +if (DESCRIPTORS) { + defineBuiltInAccessor(Array.prototype, 'lastIndex', { + configurable: true, + get: function lastIndex() { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return len == 0 ? 0 : len - 1; + } + }); + + addToUnscopables('lastIndex'); +} diff --git a/node_modules/core-js/modules/esnext.array.last-item.js b/node_modules/core-js/modules/esnext.array.last-item.js new file mode 100644 index 00000000..9cedec08 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.last-item.js @@ -0,0 +1,27 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var DESCRIPTORS = require('../internals/descriptors'); +var addToUnscopables = require('../internals/add-to-unscopables'); +var toObject = require('../internals/to-object'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); + +// `Array.prototype.lastIndex` accessor +// https://github.com/keithamus/proposal-array-last +if (DESCRIPTORS) { + defineBuiltInAccessor(Array.prototype, 'lastItem', { + configurable: true, + get: function lastItem() { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return len == 0 ? undefined : O[len - 1]; + }, + set: function lastItem(value) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return O[len == 0 ? 0 : len - 1] = value; + } + }); + + addToUnscopables('lastItem'); +} diff --git a/node_modules/core-js/modules/esnext.array.to-reversed.js b/node_modules/core-js/modules/esnext.array.to-reversed.js new file mode 100644 index 00000000..258a90a8 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.to-reversed.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.array.to-reversed'); diff --git a/node_modules/core-js/modules/esnext.array.to-sorted.js b/node_modules/core-js/modules/esnext.array.to-sorted.js new file mode 100644 index 00000000..4ef39e50 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.to-sorted.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.array.to-sorted'); diff --git a/node_modules/core-js/modules/esnext.array.to-spliced.js b/node_modules/core-js/modules/esnext.array.to-spliced.js new file mode 100644 index 00000000..f8d18fb7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.to-spliced.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.array.to-spliced'); diff --git a/node_modules/core-js/modules/esnext.array.unique-by.js b/node_modules/core-js/modules/esnext.array.unique-by.js new file mode 100644 index 00000000..ea8f4f97 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.unique-by.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var addToUnscopables = require('../internals/add-to-unscopables'); +var uniqueBy = require('../internals/array-unique-by'); + +// `Array.prototype.uniqueBy` method +// https://github.com/tc39/proposal-array-unique +$({ target: 'Array', proto: true, forced: true }, { + uniqueBy: uniqueBy +}); + +addToUnscopables('uniqueBy'); diff --git a/node_modules/core-js/modules/esnext.array.with.js b/node_modules/core-js/modules/esnext.array.with.js new file mode 100644 index 00000000..a1e20a17 --- /dev/null +++ b/node_modules/core-js/modules/esnext.array.with.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.array.with'); diff --git a/node_modules/core-js/modules/esnext.async-disposable-stack.constructor.js b/node_modules/core-js/modules/esnext.async-disposable-stack.constructor.js new file mode 100644 index 00000000..539181b0 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-disposable-stack.constructor.js @@ -0,0 +1,130 @@ +'use strict'; +// https://github.com/tc39/proposal-async-explicit-resource-management +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var getBuiltIn = require('../internals/get-built-in'); +var aCallable = require('../internals/a-callable'); +var anInstance = require('../internals/an-instance'); +var defineBuiltIn = require('../internals/define-built-in'); +var defineBuiltIns = require('../internals/define-built-ins'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var InternalStateModule = require('../internals/internal-state'); +var addDisposableResource = require('../internals/add-disposable-resource'); + +var Promise = getBuiltIn('Promise'); +var SuppressedError = getBuiltIn('SuppressedError'); +var $ReferenceError = ReferenceError; + +var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + +var ASYNC_DISPOSABLE_STACK = 'AsyncDisposableStack'; +var setInternalState = InternalStateModule.set; +var getAsyncDisposableStackInternalState = InternalStateModule.getterFor(ASYNC_DISPOSABLE_STACK); + +var HINT = 'async-dispose'; +var DISPOSED = 'disposed'; +var PENDING = 'pending'; + +var getPendingAsyncDisposableStackInternalState = function (stack) { + var internalState = getAsyncDisposableStackInternalState(stack); + if (internalState.state == DISPOSED) throw $ReferenceError(ASYNC_DISPOSABLE_STACK + ' already disposed'); + return internalState; +}; + +var $AsyncDisposableStack = function AsyncDisposableStack() { + setInternalState(anInstance(this, AsyncDisposableStackPrototype), { + type: ASYNC_DISPOSABLE_STACK, + state: PENDING, + stack: [] + }); + + if (!DESCRIPTORS) this.disposed = false; +}; + +var AsyncDisposableStackPrototype = $AsyncDisposableStack.prototype; + +defineBuiltIns(AsyncDisposableStackPrototype, { + disposeAsync: function disposeAsync() { + var asyncDisposableStack = this; + return new Promise(function (resolve, reject) { + var internalState = getAsyncDisposableStackInternalState(asyncDisposableStack); + if (internalState.state == DISPOSED) return resolve(undefined); + internalState.state = DISPOSED; + if (!DESCRIPTORS) asyncDisposableStack.disposed = true; + var stack = internalState.stack; + var i = stack.length; + var thrown = false; + var suppressed; + + var handleError = function (result) { + if (thrown) { + suppressed = new SuppressedError(result, suppressed); + } else { + thrown = true; + suppressed = result; + } + + loop(); + }; + + var loop = function () { + if (i) { + var disposeMethod = stack[--i]; + stack[i] = null; + try { + Promise.resolve(disposeMethod()).then(loop, handleError); + } catch (error) { + handleError(error); + } + } else { + internalState.stack = null; + thrown ? reject(suppressed) : resolve(undefined); + } + }; + + loop(); + }); + }, + use: function use(value) { + addDisposableResource(getPendingAsyncDisposableStackInternalState(this), value, HINT); + return value; + }, + adopt: function adopt(value, onDispose) { + var internalState = getPendingAsyncDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, function () { + return onDispose(value); + }); + return value; + }, + defer: function defer(onDispose) { + var internalState = getPendingAsyncDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, onDispose); + }, + move: function move() { + var internalState = getPendingAsyncDisposableStackInternalState(this); + var newAsyncDisposableStack = new $AsyncDisposableStack(); + getAsyncDisposableStackInternalState(newAsyncDisposableStack).stack = internalState.stack; + internalState.stack = []; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + return newAsyncDisposableStack; + } +}); + +if (DESCRIPTORS) defineBuiltInAccessor(AsyncDisposableStackPrototype, 'disposed', { + configurable: true, + get: function disposed() { + return getAsyncDisposableStackInternalState(this).state == DISPOSED; + } +}); + +defineBuiltIn(AsyncDisposableStackPrototype, ASYNC_DISPOSE, AsyncDisposableStackPrototype.disposeAsync, { name: 'disposeAsync' }); +defineBuiltIn(AsyncDisposableStackPrototype, TO_STRING_TAG, ASYNC_DISPOSABLE_STACK, { nonWritable: true }); + +$({ global: true, constructor: true }, { + AsyncDisposableStack: $AsyncDisposableStack +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.as-indexed-pairs.js b/node_modules/core-js/modules/esnext.async-iterator.as-indexed-pairs.js new file mode 100644 index 00000000..bd4e3d84 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.as-indexed-pairs.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var indexed = require('../internals/async-iterator-indexed'); + +// `AsyncIterator.prototype.asIndexedPairs` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'AsyncIterator', name: 'indexed', proto: true, real: true, forced: true }, { + asIndexedPairs: indexed +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.async-dispose.js b/node_modules/core-js/modules/esnext.async-iterator.async-dispose.js new file mode 100644 index 00000000..d6c1cd1c --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.async-dispose.js @@ -0,0 +1,26 @@ +'use strict'; +// https://github.com/tc39/proposal-async-explicit-resource-management +var call = require('../internals/function-call'); +var defineBuiltIn = require('../internals/define-built-in'); +var getBuiltIn = require('../internals/get-built-in'); +var getMethod = require('../internals/get-method'); +var hasOwn = require('../internals/has-own-property'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var AsyncIteratorPrototype = require('../internals/async-iterator-prototype'); + +var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); +var Promise = getBuiltIn('Promise'); + +if (!hasOwn(AsyncIteratorPrototype, ASYNC_DISPOSE)) { + defineBuiltIn(AsyncIteratorPrototype, ASYNC_DISPOSE, function () { + var O = this; + return new Promise(function (resolve, reject) { + var $return = getMethod(O, 'return'); + if ($return) { + Promise.resolve(call($return, O)).then(function () { + resolve(undefined); + }, reject); + } else resolve(undefined); + }); + }); +} diff --git a/node_modules/core-js/modules/esnext.async-iterator.constructor.js b/node_modules/core-js/modules/esnext.async-iterator.constructor.js new file mode 100644 index 00000000..010bf05a --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.constructor.js @@ -0,0 +1,34 @@ +'use strict'; +var $ = require('../internals/export'); +var anInstance = require('../internals/an-instance'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var hasOwn = require('../internals/has-own-property'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var AsyncIteratorPrototype = require('../internals/async-iterator-prototype'); +var IS_PURE = require('../internals/is-pure'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + +var $TypeError = TypeError; + +var AsyncIteratorConstructor = function AsyncIterator() { + anInstance(this, AsyncIteratorPrototype); + if (getPrototypeOf(this) === AsyncIteratorPrototype) throw $TypeError('Abstract class AsyncIterator not directly constructable'); +}; + +AsyncIteratorConstructor.prototype = AsyncIteratorPrototype; + +if (!hasOwn(AsyncIteratorPrototype, TO_STRING_TAG)) { + createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, 'AsyncIterator'); +} + +if (IS_PURE || !hasOwn(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) { + createNonEnumerableProperty(AsyncIteratorPrototype, 'constructor', AsyncIteratorConstructor); +} + +// `AsyncIterator` constructor +// https://github.com/tc39/proposal-async-iterator-helpers +$({ global: true, constructor: true, forced: IS_PURE }, { + AsyncIterator: AsyncIteratorConstructor +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.drop.js b/node_modules/core-js/modules/esnext.async-iterator.drop.js new file mode 100644 index 00000000..f6535bad --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.drop.js @@ -0,0 +1,51 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var notANaN = require('../internals/not-a-nan'); +var toPositiveInteger = require('../internals/to-positive-integer'); +var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var IS_PURE = require('../internals/is-pure'); + +var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(state.next, state.iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else if (state.remaining) { + state.remaining--; + loop(); + } else resolve(createIterResultObject(step.value, false)); + } catch (err) { doneAndReject(err); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + loop(); + }); +}); + +// `AsyncIterator.prototype.drop` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + drop: function drop(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new AsyncIteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.every.js b/node_modules/core-js/modules/esnext.async-iterator.every.js new file mode 100644 index 00000000..f8a77734 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.every.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $every = require('../internals/async-iterator-iteration').every; + +// `AsyncIterator.prototype.every` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true }, { + every: function every(predicate) { + return $every(this, predicate); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.filter.js b/node_modules/core-js/modules/esnext.async-iterator.filter.js new file mode 100644 index 00000000..14555047 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.filter.js @@ -0,0 +1,67 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var closeAsyncIteration = require('../internals/async-iterator-close'); +var IS_PURE = require('../internals/is-pure'); + +var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var predicate = state.predicate; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else { + var value = step.value; + try { + var result = predicate(value, state.counter++); + + var handler = function (selected) { + selected ? resolve(createIterResultObject(value, false)) : loop(); + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + } catch (error2) { doneAndReject(error2); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + loop(); + }); +}); + +// `AsyncIterator.prototype.filter` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + filter: function filter(predicate) { + anObject(this); + aCallable(predicate); + return new AsyncIteratorProxy(getIteratorDirect(this), { + predicate: predicate + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.find.js b/node_modules/core-js/modules/esnext.async-iterator.find.js new file mode 100644 index 00000000..beb69468 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.find.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $find = require('../internals/async-iterator-iteration').find; + +// `AsyncIterator.prototype.find` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true }, { + find: function find(predicate) { + return $find(this, predicate); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.flat-map.js b/node_modules/core-js/modules/esnext.async-iterator.flat-map.js new file mode 100644 index 00000000..50195b6d --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.flat-map.js @@ -0,0 +1,88 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var getAsyncIteratorFlattenable = require('../internals/get-async-iterator-flattenable'); +var closeAsyncIteration = require('../internals/async-iterator-close'); +var IS_PURE = require('../internals/is-pure'); + +var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var mapper = state.mapper; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + var outerLoop = function () { + try { + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else { + var value = step.value; + try { + var result = mapper(value, state.counter++); + + var handler = function (mapped) { + try { + state.inner = getAsyncIteratorFlattenable(mapped); + innerLoop(); + } catch (error4) { ifAbruptCloseAsyncIterator(error4); } + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + } catch (error2) { doneAndReject(error2); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + var innerLoop = function () { + var inner = state.inner; + if (inner) { + try { + Promise.resolve(anObject(call(inner.next, inner.iterator))).then(function (result) { + try { + if (anObject(result).done) { + state.inner = null; + outerLoop(); + } else resolve(createIterResultObject(result.value, false)); + } catch (error1) { ifAbruptCloseAsyncIterator(error1); } + }, ifAbruptCloseAsyncIterator); + } catch (error) { ifAbruptCloseAsyncIterator(error); } + } else outerLoop(); + }; + + innerLoop(); + }); +}); + +// `AsyncIterator.prototype.flaMap` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + flatMap: function flatMap(mapper) { + anObject(this); + aCallable(mapper); + return new AsyncIteratorProxy(getIteratorDirect(this), { + mapper: mapper, + inner: null + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.for-each.js b/node_modules/core-js/modules/esnext.async-iterator.for-each.js new file mode 100644 index 00000000..c56ad130 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.for-each.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $forEach = require('../internals/async-iterator-iteration').forEach; + +// `AsyncIterator.prototype.forEach` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true }, { + forEach: function forEach(fn) { + return $forEach(this, fn); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.from.js b/node_modules/core-js/modules/esnext.async-iterator.from.js new file mode 100644 index 00000000..8eed9803 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.from.js @@ -0,0 +1,19 @@ +'use strict'; +var $ = require('../internals/export'); +var toObject = require('../internals/to-object'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var getAsyncIteratorFlattenable = require('../internals/get-async-iterator-flattenable'); +var AsyncIteratorPrototype = require('../internals/async-iterator-prototype'); +var WrapAsyncIterator = require('../internals/async-iterator-wrap'); +var IS_PURE = require('../internals/is-pure'); + +// `AsyncIterator.from` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', stat: true, forced: IS_PURE }, { + from: function from(O) { + var iteratorRecord = getAsyncIteratorFlattenable(typeof O == 'string' ? toObject(O) : O); + return isPrototypeOf(AsyncIteratorPrototype, iteratorRecord.iterator) + ? iteratorRecord.iterator + : new WrapAsyncIterator(iteratorRecord); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.indexed.js b/node_modules/core-js/modules/esnext.async-iterator.indexed.js new file mode 100644 index 00000000..66018229 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.indexed.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var indexed = require('../internals/async-iterator-indexed'); + +// `AsyncIterator.prototype.indexed` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true, forced: true }, { + indexed: indexed +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.map.js b/node_modules/core-js/modules/esnext.async-iterator.map.js new file mode 100644 index 00000000..da1a3302 --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.map.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var map = require('../internals/async-iterator-map'); +var IS_PURE = require('../internals/is-pure'); + +// `AsyncIterator.prototype.map` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + map: map +}); + diff --git a/node_modules/core-js/modules/esnext.async-iterator.reduce.js b/node_modules/core-js/modules/esnext.async-iterator.reduce.js new file mode 100644 index 00000000..0764aa2f --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.reduce.js @@ -0,0 +1,65 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var getBuiltIn = require('../internals/get-built-in'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var closeAsyncIteration = require('../internals/async-iterator-close'); + +var Promise = getBuiltIn('Promise'); +var $TypeError = TypeError; + +// `AsyncIterator.prototype.reduce` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true }, { + reduce: function reduce(reducer /* , initialValue */) { + anObject(this); + aCallable(reducer); + var record = getIteratorDirect(this); + var iterator = record.iterator; + var next = record.next; + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + var counter = 0; + + return new Promise(function (resolve, reject) { + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, reject, error, reject); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + noInitial ? reject($TypeError('Reduce of empty iterator with no initial value')) : resolve(accumulator); + } else { + var value = step.value; + if (noInitial) { + noInitial = false; + accumulator = value; + loop(); + } else try { + var result = reducer(accumulator, value, counter); + + var handler = function ($result) { + accumulator = $result; + loop(); + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + counter++; + } catch (error2) { reject(error2); } + }, reject); + } catch (error) { reject(error); } + }; + + loop(); + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.some.js b/node_modules/core-js/modules/esnext.async-iterator.some.js new file mode 100644 index 00000000..1dc324dc --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.some.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $some = require('../internals/async-iterator-iteration').some; + +// `AsyncIterator.prototype.some` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true }, { + some: function some(predicate) { + return $some(this, predicate); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.take.js b/node_modules/core-js/modules/esnext.async-iterator.take.js new file mode 100644 index 00000000..977febad --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.take.js @@ -0,0 +1,48 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var notANaN = require('../internals/not-a-nan'); +var toPositiveInteger = require('../internals/to-positive-integer'); +var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var IS_PURE = require('../internals/is-pure'); + +var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var returnMethod; + + if (!state.remaining--) { + var resultDone = createIterResultObject(undefined, true); + state.done = true; + returnMethod = iterator['return']; + if (returnMethod !== undefined) { + return Promise.resolve(call(returnMethod, iterator, undefined)).then(function () { + return resultDone; + }); + } + return resultDone; + } return Promise.resolve(call(state.next, iterator)).then(function (step) { + if (anObject(step).done) { + state.done = true; + return createIterResultObject(undefined, true); + } return createIterResultObject(step.value, false); + }).then(null, function (error) { + state.done = true; + throw error; + }); +}); + +// `AsyncIterator.prototype.take` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + take: function take(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new AsyncIteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.async-iterator.to-array.js b/node_modules/core-js/modules/esnext.async-iterator.to-array.js new file mode 100644 index 00000000..4476457e --- /dev/null +++ b/node_modules/core-js/modules/esnext.async-iterator.to-array.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var $toArray = require('../internals/async-iterator-iteration').toArray; + +// `AsyncIterator.prototype.toArray` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'AsyncIterator', proto: true, real: true }, { + toArray: function toArray() { + return $toArray(this, undefined, []); + } +}); diff --git a/node_modules/core-js/modules/esnext.bigint.range.js b/node_modules/core-js/modules/esnext.bigint.range.js new file mode 100644 index 00000000..1e86869f --- /dev/null +++ b/node_modules/core-js/modules/esnext.bigint.range.js @@ -0,0 +1,15 @@ +'use strict'; +/* eslint-disable es/no-bigint -- safe */ +var $ = require('../internals/export'); +var NumericRangeIterator = require('../internals/numeric-range-iterator'); + +// `BigInt.range` method +// https://github.com/tc39/proposal-Number.range +// TODO: Remove from `core-js@4` +if (typeof BigInt == 'function') { + $({ target: 'BigInt', stat: true, forced: true }, { + range: function range(start, end, option) { + return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1)); + } + }); +} diff --git a/node_modules/core-js/modules/esnext.composite-key.js b/node_modules/core-js/modules/esnext.composite-key.js new file mode 100644 index 00000000..5eeacfb1 --- /dev/null +++ b/node_modules/core-js/modules/esnext.composite-key.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var apply = require('../internals/function-apply'); +var getCompositeKeyNode = require('../internals/composite-key'); +var getBuiltIn = require('../internals/get-built-in'); +var create = require('../internals/object-create'); + +var $Object = Object; + +var initializer = function () { + var freeze = getBuiltIn('Object', 'freeze'); + return freeze ? freeze(create(null)) : create(null); +}; + +// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey +$({ global: true, forced: true }, { + compositeKey: function compositeKey() { + return apply(getCompositeKeyNode, $Object, arguments).get('object', initializer); + } +}); diff --git a/node_modules/core-js/modules/esnext.composite-symbol.js b/node_modules/core-js/modules/esnext.composite-symbol.js new file mode 100644 index 00000000..4381977d --- /dev/null +++ b/node_modules/core-js/modules/esnext.composite-symbol.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); +var getCompositeKeyNode = require('../internals/composite-key'); +var getBuiltIn = require('../internals/get-built-in'); +var apply = require('../internals/function-apply'); + +// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey +$({ global: true, forced: true }, { + compositeSymbol: function compositeSymbol() { + if (arguments.length == 1 && typeof arguments[0] == 'string') return getBuiltIn('Symbol')['for'](arguments[0]); + return apply(getCompositeKeyNode, null, arguments).get('symbol', getBuiltIn('Symbol')); + } +}); diff --git a/node_modules/core-js/modules/esnext.data-view.get-float16.js b/node_modules/core-js/modules/esnext.data-view.get-float16.js new file mode 100644 index 00000000..eac608cc --- /dev/null +++ b/node_modules/core-js/modules/esnext.data-view.get-float16.js @@ -0,0 +1,16 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var unpackIEEE754 = require('../internals/ieee754').unpack; + +// eslint-disable-next-line es/no-typed-arrays -- safe +var getUint16 = uncurryThis(DataView.prototype.getUint16); + +// `DataView.prototype.getFloat16` method +// https://github.com/tc39/proposal-float16array +$({ target: 'DataView', proto: true }, { + getFloat16: function getFloat16(byteOffset /* , littleEndian */) { + var uint16 = getUint16(this, byteOffset, arguments.length > 1 ? arguments[1] : false); + return unpackIEEE754([uint16 & 0xFF, uint16 >> 8 & 0xFF], 10); + } +}); diff --git a/node_modules/core-js/modules/esnext.data-view.get-uint8-clamped.js b/node_modules/core-js/modules/esnext.data-view.get-uint8-clamped.js new file mode 100644 index 00000000..458381dc --- /dev/null +++ b/node_modules/core-js/modules/esnext.data-view.get-uint8-clamped.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); + +// eslint-disable-next-line es/no-typed-arrays -- safe +var getUint8 = uncurryThis(DataView.prototype.getUint8); + +// `DataView.prototype.getUint8Clamped` method +// https://github.com/tc39/proposal-dataview-get-set-uint8c +$({ target: 'DataView', proto: true, forced: true }, { + getUint8Clamped: function getUint8Clamped(byteOffset) { + return getUint8(this, byteOffset); + } +}); diff --git a/node_modules/core-js/modules/esnext.data-view.set-float16.js b/node_modules/core-js/modules/esnext.data-view.set-float16.js new file mode 100644 index 00000000..28e281ff --- /dev/null +++ b/node_modules/core-js/modules/esnext.data-view.set-float16.js @@ -0,0 +1,21 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var classof = require('../internals/classof'); +var toIndex = require('../internals/to-index'); +var packIEEE754 = require('../internals/ieee754').pack; + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-typed-arrays -- safe +var setUint16 = uncurryThis(DataView.prototype.setUint16); + +// `DataView.prototype.setFloat16` method +// https://github.com/tc39/proposal-float16array +$({ target: 'DataView', proto: true }, { + setFloat16: function setFloat16(byteOffset, value /* , littleEndian */) { + if (classof(this) !== 'DataView') throw $TypeError('Incorrect receiver'); + var offset = toIndex(byteOffset); + var bytes = packIEEE754(+value, 10, 2); + return setUint16(this, offset, bytes[1] << 8 | bytes[0], arguments.length > 2 ? arguments[2] : false); + } +}); diff --git a/node_modules/core-js/modules/esnext.data-view.set-uint8-clamped.js b/node_modules/core-js/modules/esnext.data-view.set-uint8-clamped.js new file mode 100644 index 00000000..56053c1f --- /dev/null +++ b/node_modules/core-js/modules/esnext.data-view.set-uint8-clamped.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var classof = require('../internals/classof'); +var toIndex = require('../internals/to-index'); +var toUint8Clamped = require('../internals/to-uint8-clamped'); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-typed-arrays -- safe +var setUint8 = uncurryThis(DataView.prototype.setUint8); + +// `DataView.prototype.setUint8Clamped` method +// https://github.com/tc39/proposal-dataview-get-set-uint8c +$({ target: 'DataView', proto: true, forced: true }, { + setUint8Clamped: function setUint8Clamped(byteOffset, value) { + if (classof(this) !== 'DataView') throw $TypeError('Incorrect receiver'); + var offset = toIndex(byteOffset); + return setUint8(this, offset, toUint8Clamped(value)); + } +}); diff --git a/node_modules/core-js/modules/esnext.disposable-stack.constructor.js b/node_modules/core-js/modules/esnext.disposable-stack.constructor.js new file mode 100644 index 00000000..a8d488e7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.disposable-stack.constructor.js @@ -0,0 +1,114 @@ +'use strict'; +// https://github.com/tc39/proposal-explicit-resource-management +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var getBuiltIn = require('../internals/get-built-in'); +var aCallable = require('../internals/a-callable'); +var anInstance = require('../internals/an-instance'); +var defineBuiltIn = require('../internals/define-built-in'); +var defineBuiltIns = require('../internals/define-built-ins'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var InternalStateModule = require('../internals/internal-state'); +var addDisposableResource = require('../internals/add-disposable-resource'); + +var SuppressedError = getBuiltIn('SuppressedError'); +var $ReferenceError = ReferenceError; + +var DISPOSE = wellKnownSymbol('dispose'); +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + +var DISPOSABLE_STACK = 'DisposableStack'; +var setInternalState = InternalStateModule.set; +var getDisposableStackInternalState = InternalStateModule.getterFor(DISPOSABLE_STACK); + +var HINT = 'sync-dispose'; +var DISPOSED = 'disposed'; +var PENDING = 'pending'; + +var getPendingDisposableStackInternalState = function (stack) { + var internalState = getDisposableStackInternalState(stack); + if (internalState.state == DISPOSED) throw $ReferenceError(DISPOSABLE_STACK + ' already disposed'); + return internalState; +}; + +var $DisposableStack = function DisposableStack() { + setInternalState(anInstance(this, DisposableStackPrototype), { + type: DISPOSABLE_STACK, + state: PENDING, + stack: [] + }); + + if (!DESCRIPTORS) this.disposed = false; +}; + +var DisposableStackPrototype = $DisposableStack.prototype; + +defineBuiltIns(DisposableStackPrototype, { + dispose: function dispose() { + var internalState = getDisposableStackInternalState(this); + if (internalState.state == DISPOSED) return; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + var stack = internalState.stack; + var i = stack.length; + var thrown = false; + var suppressed; + while (i) { + var disposeMethod = stack[--i]; + stack[i] = null; + try { + disposeMethod(); + } catch (errorResult) { + if (thrown) { + suppressed = new SuppressedError(errorResult, suppressed); + } else { + thrown = true; + suppressed = errorResult; + } + } + } + internalState.stack = null; + if (thrown) throw suppressed; + }, + use: function use(value) { + addDisposableResource(getPendingDisposableStackInternalState(this), value, HINT); + return value; + }, + adopt: function adopt(value, onDispose) { + var internalState = getPendingDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, function () { + onDispose(value); + }); + return value; + }, + defer: function defer(onDispose) { + var internalState = getPendingDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, onDispose); + }, + move: function move() { + var internalState = getPendingDisposableStackInternalState(this); + var newDisposableStack = new $DisposableStack(); + getDisposableStackInternalState(newDisposableStack).stack = internalState.stack; + internalState.stack = []; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + return newDisposableStack; + } +}); + +if (DESCRIPTORS) defineBuiltInAccessor(DisposableStackPrototype, 'disposed', { + configurable: true, + get: function disposed() { + return getDisposableStackInternalState(this).state == DISPOSED; + } +}); + +defineBuiltIn(DisposableStackPrototype, DISPOSE, DisposableStackPrototype.dispose, { name: 'dispose' }); +defineBuiltIn(DisposableStackPrototype, TO_STRING_TAG, DISPOSABLE_STACK, { nonWritable: true }); + +$({ global: true, constructor: true }, { + DisposableStack: $DisposableStack +}); diff --git a/node_modules/core-js/modules/esnext.function.demethodize.js b/node_modules/core-js/modules/esnext.function.demethodize.js new file mode 100644 index 00000000..2e17f655 --- /dev/null +++ b/node_modules/core-js/modules/esnext.function.demethodize.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var demethodize = require('../internals/function-demethodize'); + +// `Function.prototype.demethodize` method +// https://github.com/js-choi/proposal-function-demethodize +$({ target: 'Function', proto: true, forced: true }, { + demethodize: demethodize +}); diff --git a/node_modules/core-js/modules/esnext.function.is-callable.js b/node_modules/core-js/modules/esnext.function.is-callable.js new file mode 100644 index 00000000..6dac60c0 --- /dev/null +++ b/node_modules/core-js/modules/esnext.function.is-callable.js @@ -0,0 +1,30 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var $isCallable = require('../internals/is-callable'); +var inspectSource = require('../internals/inspect-source'); +var hasOwn = require('../internals/has-own-property'); +var DESCRIPTORS = require('../internals/descriptors'); + +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +var classRegExp = /^\s*class\b/; +var exec = uncurryThis(classRegExp.exec); + +var isClassConstructor = function (argument) { + try { + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + if (!DESCRIPTORS || !exec(classRegExp, inspectSource(argument))) return false; + } catch (error) { /* empty */ } + var prototype = getOwnPropertyDescriptor(argument, 'prototype'); + return !!prototype && hasOwn(prototype, 'writable') && !prototype.writable; +}; + +// `Function.isCallable` method +// https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md +$({ target: 'Function', stat: true, sham: true, forced: true }, { + isCallable: function isCallable(argument) { + return $isCallable(argument) && !isClassConstructor(argument); + } +}); diff --git a/node_modules/core-js/modules/esnext.function.is-constructor.js b/node_modules/core-js/modules/esnext.function.is-constructor.js new file mode 100644 index 00000000..5ad81e13 --- /dev/null +++ b/node_modules/core-js/modules/esnext.function.is-constructor.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var isConstructor = require('../internals/is-constructor'); + +// `Function.isConstructor` method +// https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md +$({ target: 'Function', stat: true, forced: true }, { + isConstructor: isConstructor +}); diff --git a/node_modules/core-js/modules/esnext.function.metadata.js b/node_modules/core-js/modules/esnext.function.metadata.js new file mode 100644 index 00000000..58dfa7af --- /dev/null +++ b/node_modules/core-js/modules/esnext.function.metadata.js @@ -0,0 +1,14 @@ +'use strict'; +var wellKnownSymbol = require('../internals/well-known-symbol'); +var defineProperty = require('../internals/object-define-property').f; + +var METADATA = wellKnownSymbol('metadata'); +var FunctionPrototype = Function.prototype; + +// Function.prototype[@@metadata] +// https://github.com/tc39/proposal-decorator-metadata +if (FunctionPrototype[METADATA] === undefined) { + defineProperty(FunctionPrototype, METADATA, { + value: null + }); +} diff --git a/node_modules/core-js/modules/esnext.function.un-this.js b/node_modules/core-js/modules/esnext.function.un-this.js new file mode 100644 index 00000000..020539b7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.function.un-this.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var demethodize = require('../internals/function-demethodize'); + +// `Function.prototype.unThis` method +// https://github.com/js-choi/proposal-function-demethodize +// TODO: Remove from `core-js@4` +$({ target: 'Function', proto: true, forced: true, name: 'demethodize' }, { + unThis: demethodize +}); diff --git a/node_modules/core-js/modules/esnext.global-this.js b/node_modules/core-js/modules/esnext.global-this.js new file mode 100644 index 00000000..1115dfa3 --- /dev/null +++ b/node_modules/core-js/modules/esnext.global-this.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.global-this'); diff --git a/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js b/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js new file mode 100644 index 00000000..6cc37923 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var indexed = require('../internals/iterator-indexed'); + +// `Iterator.prototype.asIndexedPairs` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', name: 'indexed', proto: true, real: true, forced: true }, { + asIndexedPairs: indexed +}); diff --git a/node_modules/core-js/modules/esnext.iterator.constructor.js b/node_modules/core-js/modules/esnext.iterator.constructor.js new file mode 100644 index 00000000..76571d29 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.constructor.js @@ -0,0 +1,45 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var anInstance = require('../internals/an-instance'); +var isCallable = require('../internals/is-callable'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var fails = require('../internals/fails'); +var hasOwn = require('../internals/has-own-property'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype; +var IS_PURE = require('../internals/is-pure'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + +var $TypeError = TypeError; +var NativeIterator = global.Iterator; + +// FF56- have non-standard global helper `Iterator` +var FORCED = IS_PURE + || !isCallable(NativeIterator) + || NativeIterator.prototype !== IteratorPrototype + // FF44- non-standard `Iterator` passes previous tests + || !fails(function () { NativeIterator({}); }); + +var IteratorConstructor = function Iterator() { + anInstance(this, IteratorPrototype); + if (getPrototypeOf(this) === IteratorPrototype) throw $TypeError('Abstract class Iterator not directly constructable'); +}; + +if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) { + createNonEnumerableProperty(IteratorPrototype, TO_STRING_TAG, 'Iterator'); +} + +if (FORCED || !hasOwn(IteratorPrototype, 'constructor') || IteratorPrototype.constructor === Object) { + createNonEnumerableProperty(IteratorPrototype, 'constructor', IteratorConstructor); +} + +IteratorConstructor.prototype = IteratorPrototype; + +// `Iterator` constructor +// https://github.com/tc39/proposal-iterator-helpers +$({ global: true, constructor: true, forced: FORCED }, { + Iterator: IteratorConstructor +}); diff --git a/node_modules/core-js/modules/esnext.iterator.dispose.js b/node_modules/core-js/modules/esnext.iterator.dispose.js new file mode 100644 index 00000000..ac463eeb --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.dispose.js @@ -0,0 +1,17 @@ +'use strict'; +// https://github.com/tc39/proposal-explicit-resource-management +var call = require('../internals/function-call'); +var defineBuiltIn = require('../internals/define-built-in'); +var getMethod = require('../internals/get-method'); +var hasOwn = require('../internals/has-own-property'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype; + +var DISPOSE = wellKnownSymbol('dispose'); + +if (!hasOwn(IteratorPrototype, DISPOSE)) { + defineBuiltIn(IteratorPrototype, DISPOSE, function () { + var $return = getMethod(this, 'return'); + if ($return) call($return, this); + }); +} diff --git a/node_modules/core-js/modules/esnext.iterator.drop.js b/node_modules/core-js/modules/esnext.iterator.drop.js new file mode 100644 index 00000000..3e7a093b --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.drop.js @@ -0,0 +1,36 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var notANaN = require('../internals/not-a-nan'); +var toPositiveInteger = require('../internals/to-positive-integer'); +var createIteratorProxy = require('../internals/iterator-create-proxy'); +var IS_PURE = require('../internals/is-pure'); + +var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var next = this.next; + var result, done; + while (this.remaining) { + this.remaining--; + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (done) return; + } + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (!done) return result.value; +}); + +// `Iterator.prototype.drop` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + drop: function drop(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new IteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.every.js b/node_modules/core-js/modules/esnext.iterator.every.js new file mode 100644 index 00000000..32f470e0 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.every.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var iterate = require('../internals/iterate'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); + +// `Iterator.prototype.every` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true }, { + every: function every(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return !iterate(record, function (value, stop) { + if (!predicate(value, counter++)) return stop(); + }, { IS_RECORD: true, INTERRUPTED: true }).stopped; + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.filter.js b/node_modules/core-js/modules/esnext.iterator.filter.js new file mode 100644 index 00000000..981d68d8 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.filter.js @@ -0,0 +1,35 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var createIteratorProxy = require('../internals/iterator-create-proxy'); +var callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing'); +var IS_PURE = require('../internals/is-pure'); + +var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var predicate = this.predicate; + var next = this.next; + var result, done, value; + while (true) { + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (done) return; + value = result.value; + if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; + } +}); + +// `Iterator.prototype.filter` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + filter: function filter(predicate) { + anObject(this); + aCallable(predicate); + return new IteratorProxy(getIteratorDirect(this), { + predicate: predicate + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.find.js b/node_modules/core-js/modules/esnext.iterator.find.js new file mode 100644 index 00000000..37a717b7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.find.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var iterate = require('../internals/iterate'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); + +// `Iterator.prototype.find` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true }, { + find: function find(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return iterate(record, function (value, stop) { + if (predicate(value, counter++)) return stop(value); + }, { IS_RECORD: true, INTERRUPTED: true }).result; + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.flat-map.js b/node_modules/core-js/modules/esnext.iterator.flat-map.js new file mode 100644 index 00000000..3e616ecf --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.flat-map.js @@ -0,0 +1,45 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var getIteratorFlattenable = require('../internals/get-iterator-flattenable'); +var createIteratorProxy = require('../internals/iterator-create-proxy'); +var iteratorClose = require('../internals/iterator-close'); +var IS_PURE = require('../internals/is-pure'); + +var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var mapper = this.mapper; + var result, inner; + + while (true) { + if (inner = this.inner) try { + result = anObject(call(inner.next, inner.iterator)); + if (!result.done) return result.value; + this.inner = null; + } catch (error) { iteratorClose(iterator, 'throw', error); } + + result = anObject(call(this.next, iterator)); + + if (this.done = !!result.done) return; + + try { + this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false); + } catch (error) { iteratorClose(iterator, 'throw', error); } + } +}); + +// `Iterator.prototype.flatMap` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + flatMap: function flatMap(mapper) { + anObject(this); + aCallable(mapper); + return new IteratorProxy(getIteratorDirect(this), { + mapper: mapper, + inner: null + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.for-each.js b/node_modules/core-js/modules/esnext.iterator.for-each.js new file mode 100644 index 00000000..6fa7bc00 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.for-each.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var iterate = require('../internals/iterate'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); + +// `Iterator.prototype.forEach` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true }, { + forEach: function forEach(fn) { + anObject(this); + aCallable(fn); + var record = getIteratorDirect(this); + var counter = 0; + iterate(record, function (value) { + fn(value, counter++); + }, { IS_RECORD: true }); + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.from.js b/node_modules/core-js/modules/esnext.iterator.from.js new file mode 100644 index 00000000..323db55d --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.from.js @@ -0,0 +1,24 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var toObject = require('../internals/to-object'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype; +var createIteratorProxy = require('../internals/iterator-create-proxy'); +var getIteratorFlattenable = require('../internals/get-iterator-flattenable'); +var IS_PURE = require('../internals/is-pure'); + +var IteratorProxy = createIteratorProxy(function () { + return call(this.next, this.iterator); +}, true); + +// `Iterator.from` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', stat: true, forced: IS_PURE }, { + from: function from(O) { + var iteratorRecord = getIteratorFlattenable(typeof O == 'string' ? toObject(O) : O, true); + return isPrototypeOf(IteratorPrototype, iteratorRecord.iterator) + ? iteratorRecord.iterator + : new IteratorProxy(iteratorRecord); + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.indexed.js b/node_modules/core-js/modules/esnext.iterator.indexed.js new file mode 100644 index 00000000..3d44a3c4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.indexed.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var indexed = require('../internals/iterator-indexed'); + +// `Iterator.prototype.indexed` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true, forced: true }, { + indexed: indexed +}); diff --git a/node_modules/core-js/modules/esnext.iterator.map.js b/node_modules/core-js/modules/esnext.iterator.map.js new file mode 100644 index 00000000..1204e678 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.map.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var map = require('../internals/iterator-map'); +var IS_PURE = require('../internals/is-pure'); + +// `Iterator.prototype.map` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + map: map +}); diff --git a/node_modules/core-js/modules/esnext.iterator.range.js b/node_modules/core-js/modules/esnext.iterator.range.js new file mode 100644 index 00000000..3e79829b --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.range.js @@ -0,0 +1,16 @@ +'use strict'; +/* eslint-disable es/no-bigint -- safe */ +var $ = require('../internals/export'); +var NumericRangeIterator = require('../internals/numeric-range-iterator'); + +var $TypeError = TypeError; + +// `Iterator.range` method +// https://github.com/tc39/proposal-Number.range +$({ target: 'Iterator', stat: true, forced: true }, { + range: function range(start, end, option) { + if (typeof start == 'number') return new NumericRangeIterator(start, end, option, 'number', 0, 1); + if (typeof start == 'bigint') return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1)); + throw $TypeError('Incorrect Iterator.range arguments'); + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.reduce.js b/node_modules/core-js/modules/esnext.iterator.reduce.js new file mode 100644 index 00000000..4c011e93 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.reduce.js @@ -0,0 +1,32 @@ +'use strict'; +var $ = require('../internals/export'); +var iterate = require('../internals/iterate'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); + +var $TypeError = TypeError; + +// `Iterator.prototype.reduce` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true }, { + reduce: function reduce(reducer /* , initialValue */) { + anObject(this); + aCallable(reducer); + var record = getIteratorDirect(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + var counter = 0; + iterate(record, function (value) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = reducer(accumulator, value, counter); + } + counter++; + }, { IS_RECORD: true }); + if (noInitial) throw $TypeError('Reduce of empty iterator with no initial value'); + return accumulator; + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.some.js b/node_modules/core-js/modules/esnext.iterator.some.js new file mode 100644 index 00000000..7d445499 --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.some.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var iterate = require('../internals/iterate'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); + +// `Iterator.prototype.some` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true }, { + some: function some(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return iterate(record, function (value, stop) { + if (predicate(value, counter++)) return stop(); + }, { IS_RECORD: true, INTERRUPTED: true }).stopped; + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.take.js b/node_modules/core-js/modules/esnext.iterator.take.js new file mode 100644 index 00000000..b2c9302e --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.take.js @@ -0,0 +1,33 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var notANaN = require('../internals/not-a-nan'); +var toPositiveInteger = require('../internals/to-positive-integer'); +var createIteratorProxy = require('../internals/iterator-create-proxy'); +var iteratorClose = require('../internals/iterator-close'); +var IS_PURE = require('../internals/is-pure'); + +var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + if (!this.remaining--) { + this.done = true; + return iteratorClose(iterator, 'normal', undefined); + } + var result = anObject(call(this.next, iterator)); + var done = this.done = !!result.done; + if (!done) return result.value; +}); + +// `Iterator.prototype.take` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + take: function take(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new IteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.to-array.js b/node_modules/core-js/modules/esnext.iterator.to-array.js new file mode 100644 index 00000000..e34c35bc --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.to-array.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var anObject = require('../internals/an-object'); +var iterate = require('../internals/iterate'); +var getIteratorDirect = require('../internals/get-iterator-direct'); + +var push = [].push; + +// `Iterator.prototype.toArray` method +// https://github.com/tc39/proposal-iterator-helpers +$({ target: 'Iterator', proto: true, real: true }, { + toArray: function toArray() { + var result = []; + iterate(getIteratorDirect(anObject(this)), push, { that: result, IS_RECORD: true }); + return result; + } +}); diff --git a/node_modules/core-js/modules/esnext.iterator.to-async.js b/node_modules/core-js/modules/esnext.iterator.to-async.js new file mode 100644 index 00000000..fa7ee2ef --- /dev/null +++ b/node_modules/core-js/modules/esnext.iterator.to-async.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var anObject = require('../internals/an-object'); +var AsyncFromSyncIterator = require('../internals/async-from-sync-iterator'); +var WrapAsyncIterator = require('../internals/async-iterator-wrap'); +var getIteratorDirect = require('../internals/get-iterator-direct'); +var IS_PURE = require('../internals/is-pure'); + +// `Iterator.prototype.toAsync` method +// https://github.com/tc39/proposal-async-iterator-helpers +$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + toAsync: function toAsync() { + return new WrapAsyncIterator(getIteratorDirect(new AsyncFromSyncIterator(getIteratorDirect(anObject(this))))); + } +}); diff --git a/node_modules/core-js/modules/esnext.json.is-raw-json.js b/node_modules/core-js/modules/esnext.json.is-raw-json.js new file mode 100644 index 00000000..2fbc9503 --- /dev/null +++ b/node_modules/core-js/modules/esnext.json.is-raw-json.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var NATIVE_RAW_JSON = require('../internals/native-raw-json'); +var isRawJSON = require('../internals/is-raw-json'); + +// `JSON.parse` method +// https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson +// https://github.com/tc39/proposal-json-parse-with-source +$({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, { + isRawJSON: isRawJSON +}); diff --git a/node_modules/core-js/modules/esnext.json.parse.js b/node_modules/core-js/modules/esnext.json.parse.js new file mode 100644 index 00000000..e418d7c4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.json.parse.js @@ -0,0 +1,251 @@ +'use strict'; +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var global = require('../internals/global'); +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var call = require('../internals/function-call'); +var isCallable = require('../internals/is-callable'); +var isObject = require('../internals/is-object'); +var isArray = require('../internals/is-array'); +var hasOwn = require('../internals/has-own-property'); +var toString = require('../internals/to-string'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var createProperty = require('../internals/create-property'); +var fails = require('../internals/fails'); +var parseJSONString = require('../internals/parse-json-string'); +var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection'); + +var JSON = global.JSON; +var Number = global.Number; +var SyntaxError = global.SyntaxError; +var nativeParse = JSON && JSON.parse; +var enumerableOwnProperties = getBuiltIn('Object', 'keys'); +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +var at = uncurryThis(''.charAt); +var slice = uncurryThis(''.slice); +var exec = uncurryThis(/./.exec); +var push = uncurryThis([].push); + +var IS_DIGIT = /^\d$/; +var IS_NON_ZERO_DIGIT = /^[1-9]$/; +var IS_NUMBER_START = /^(-|\d)$/; +var IS_WHITESPACE = /^[\t\n\r ]$/; + +var PRIMITIVE = 0; +var OBJECT = 1; + +var $parse = function (source, reviver) { + source = toString(source); + var context = new Context(source, 0, ''); + var root = context.parse(); + var value = root.value; + var endIndex = context.skip(IS_WHITESPACE, root.end); + if (endIndex < source.length) { + throw SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex); + } + return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value; +}; + +var internalize = function (holder, name, reviver, node) { + var val = holder[name]; + var unmodified = node && val === node.value; + var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {}; + var elementRecordsLen, keys, len, i, P; + if (isObject(val)) { + var nodeIsArray = isArray(val); + var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {}; + if (nodeIsArray) { + elementRecordsLen = nodes.length; + len = lengthOfArrayLike(val); + for (i = 0; i < len; i++) { + internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined)); + } + } else { + keys = enumerableOwnProperties(val); + len = lengthOfArrayLike(keys); + for (i = 0; i < len; i++) { + P = keys[i]; + internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined)); + } + } + } + return call(reviver, holder, name, val, context); +}; + +var internalizeProperty = function (object, key, value) { + if (DESCRIPTORS) { + var descriptor = getOwnPropertyDescriptor(object, key); + if (descriptor && !descriptor.configurable) return; + } + if (value === undefined) delete object[key]; + else createProperty(object, key, value); +}; + +var Node = function (value, end, source, nodes) { + this.value = value; + this.end = end; + this.source = source; + this.nodes = nodes; +}; + +var Context = function (source, index) { + this.source = source; + this.index = index; +}; + +// https://www.json.org/json-en.html +Context.prototype = { + fork: function (nextIndex) { + return new Context(this.source, nextIndex); + }, + parse: function () { + var source = this.source; + var i = this.skip(IS_WHITESPACE, this.index); + var fork = this.fork(i); + var chr = at(source, i); + if (exec(IS_NUMBER_START, chr)) return fork.number(); + switch (chr) { + case '{': + return fork.object(); + case '[': + return fork.array(); + case '"': + return fork.string(); + case 't': + return fork.keyword(true); + case 'f': + return fork.keyword(false); + case 'n': + return fork.keyword(null); + } throw SyntaxError('Unexpected character: "' + chr + '" at: ' + i); + }, + node: function (type, value, start, end, nodes) { + return new Node(value, end, type ? null : slice(this.source, start, end), nodes); + }, + object: function () { + var source = this.source; + var i = this.index + 1; + var expectKeypair = false; + var object = {}; + var nodes = {}; + while (i < source.length) { + i = this.until(['"', '}'], i); + if (at(source, i) == '}' && !expectKeypair) { + i++; + break; + } + // Parsing the key + var result = this.fork(i).string(); + var key = result.value; + i = result.end; + i = this.until([':'], i) + 1; + // Parsing value + i = this.skip(IS_WHITESPACE, i); + result = this.fork(i).parse(); + createProperty(nodes, key, result); + createProperty(object, key, result.value); + i = this.until([',', '}'], result.end); + var chr = at(source, i); + if (chr == ',') { + expectKeypair = true; + i++; + } else if (chr == '}') { + i++; + break; + } + } + return this.node(OBJECT, object, this.index, i, nodes); + }, + array: function () { + var source = this.source; + var i = this.index + 1; + var expectElement = false; + var array = []; + var nodes = []; + while (i < source.length) { + i = this.skip(IS_WHITESPACE, i); + if (at(source, i) == ']' && !expectElement) { + i++; + break; + } + var result = this.fork(i).parse(); + push(nodes, result); + push(array, result.value); + i = this.until([',', ']'], result.end); + if (at(source, i) == ',') { + expectElement = true; + i++; + } else if (at(source, i) == ']') { + i++; + break; + } + } + return this.node(OBJECT, array, this.index, i, nodes); + }, + string: function () { + var index = this.index; + var parsed = parseJSONString(this.source, this.index + 1); + return this.node(PRIMITIVE, parsed.value, index, parsed.end); + }, + number: function () { + var source = this.source; + var startIndex = this.index; + var i = startIndex; + if (at(source, i) == '-') i++; + if (at(source, i) == '0') i++; + else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, ++i); + else throw SyntaxError('Failed to parse number at: ' + i); + if (at(source, i) == '.') i = this.skip(IS_DIGIT, ++i); + if (at(source, i) == 'e' || at(source, i) == 'E') { + i++; + if (at(source, i) == '+' || at(source, i) == '-') i++; + var exponentStartIndex = i; + i = this.skip(IS_DIGIT, i); + if (exponentStartIndex == i) throw SyntaxError("Failed to parse number's exponent value at: " + i); + } + return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i); + }, + keyword: function (value) { + var keyword = '' + value; + var index = this.index; + var endIndex = index + keyword.length; + if (slice(this.source, index, endIndex) != keyword) throw SyntaxError('Failed to parse value at: ' + index); + return this.node(PRIMITIVE, value, index, endIndex); + }, + skip: function (regex, i) { + var source = this.source; + for (; i < source.length; i++) if (!exec(regex, at(source, i))) break; + return i; + }, + until: function (array, i) { + i = this.skip(IS_WHITESPACE, i); + var chr = at(this.source, i); + for (var j = 0; j < array.length; j++) if (array[j] == chr) return i; + throw SyntaxError('Unexpected character: "' + chr + '" at: ' + i); + } +}; + +var NO_SOURCE_SUPPORT = fails(function () { + var unsafeInt = '9007199254740993'; + var source; + nativeParse(unsafeInt, function (key, value, context) { + source = context.source; + }); + return source !== unsafeInt; +}); + +var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () { + // Safari 9 bug + return 1 / nativeParse('-0 \t') !== -Infinity; +}); + +// `JSON.parse` method +// https://tc39.es/ecma262/#sec-json.parse +// https://github.com/tc39/proposal-json-parse-with-source +$({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, { + parse: function parse(text, reviver) { + return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver); + } +}); diff --git a/node_modules/core-js/modules/esnext.json.raw-json.js b/node_modules/core-js/modules/esnext.json.raw-json.js new file mode 100644 index 00000000..f5bdb0d4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.json.raw-json.js @@ -0,0 +1,84 @@ +'use strict'; +var $ = require('../internals/export'); +var FREEZING = require('../internals/freezing'); +var NATIVE_RAW_JSON = require('../internals/native-raw-json'); +var getBuiltIn = require('../internals/get-built-in'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var isCallable = require('../internals/is-callable'); +var isRawJSON = require('../internals/is-raw-json'); +var toString = require('../internals/to-string'); +var createProperty = require('../internals/create-property'); +var parseJSONString = require('../internals/parse-json-string'); +var getReplacerFunction = require('../internals/get-json-replacer-function'); +var uid = require('../internals/uid'); +var setInternalState = require('../internals/internal-state').set; + +var $String = String; +var $SyntaxError = SyntaxError; +var parse = getBuiltIn('JSON', 'parse'); +var $stringify = getBuiltIn('JSON', 'stringify'); +var create = getBuiltIn('Object', 'create'); +var freeze = getBuiltIn('Object', 'freeze'); +var at = uncurryThis(''.charAt); +var slice = uncurryThis(''.slice); +var exec = uncurryThis(/./.exec); +var push = uncurryThis([].push); + +var MARK = uid(); +var MARK_LENGTH = MARK.length; +var ERROR_MESSAGE = 'Unacceptable as raw JSON'; +var IS_WHITESPACE = /^[\t\n\r ]$/; + +// `JSON.parse` method +// https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson +// https://github.com/tc39/proposal-json-parse-with-source +$({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, { + rawJSON: function rawJSON(text) { + var jsonString = toString(text); + if (jsonString == '' || exec(IS_WHITESPACE, at(jsonString, 0)) || exec(IS_WHITESPACE, at(jsonString, jsonString.length - 1))) { + throw $SyntaxError(ERROR_MESSAGE); + } + var parsed = parse(jsonString); + if (typeof parsed == 'object' && parsed !== null) throw $SyntaxError(ERROR_MESSAGE); + var obj = create(null); + setInternalState(obj, { type: 'RawJSON' }); + createProperty(obj, 'rawJSON', jsonString); + return FREEZING ? freeze(obj) : obj; + } +}); + +// `JSON.stringify` method +// https://tc39.es/ecma262/#sec-json.stringify +// https://github.com/tc39/proposal-json-parse-with-source +if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: !NATIVE_RAW_JSON }, { + stringify: function stringify(text, replacer, space) { + var replacerFunction = getReplacerFunction(replacer); + var rawStrings = []; + + var json = $stringify(text, function (key, value) { + // some old implementations (like WebKit) could pass numbers as keys + var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value; + return isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v; + }, space); + + if (typeof json != 'string') return json; + + var result = ''; + var length = json.length; + + for (var i = 0; i < length; i++) { + var chr = at(json, i); + if (chr == '"') { + var end = parseJSONString(json, ++i).end - 1; + var string = slice(json, i, end); + result += slice(string, 0, MARK_LENGTH) == MARK + ? rawStrings[slice(string, MARK_LENGTH)] + : '"' + string + '"'; + i = end; + } else result += chr; + } + + return result; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.delete-all.js b/node_modules/core-js/modules/esnext.map.delete-all.js new file mode 100644 index 00000000..5a0d2425 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.delete-all.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var aMap = require('../internals/a-map'); +var remove = require('../internals/map-helpers').remove; + +// `Map.prototype.deleteAll` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aMap(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.emplace.js b/node_modules/core-js/modules/esnext.map.emplace.js new file mode 100644 index 00000000..24fe86ef --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.emplace.js @@ -0,0 +1,27 @@ +'use strict'; +var $ = require('../internals/export'); +var aMap = require('../internals/a-map'); +var MapHelpers = require('../internals/map-helpers'); + +var get = MapHelpers.get; +var has = MapHelpers.has; +var set = MapHelpers.set; + +// `Map.prototype.emplace` method +// https://github.com/tc39/proposal-upsert +$({ target: 'Map', proto: true, real: true, forced: true }, { + emplace: function emplace(key, handler) { + var map = aMap(this); + var value, inserted; + if (has(map, key)) { + value = get(map, key); + if ('update' in handler) { + value = handler.update(value, key, map); + set(map, key, value); + } return value; + } + inserted = handler.insert(key, map); + set(map, key, inserted); + return inserted; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.every.js b/node_modules/core-js/modules/esnext.map.every.js new file mode 100644 index 00000000..85264c7b --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.every.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aMap = require('../internals/a-map'); +var iterate = require('../internals/map-iterate'); + +// `Map.prototype.every` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + every: function every(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(map, function (value, key) { + if (!boundFunction(value, key, map)) return false; + }, true) !== false; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.filter.js b/node_modules/core-js/modules/esnext.map.filter.js new file mode 100644 index 00000000..67ffe5c8 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.filter.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aMap = require('../internals/a-map'); +var MapHelpers = require('../internals/map-helpers'); +var iterate = require('../internals/map-iterate'); + +var Map = MapHelpers.Map; +var set = MapHelpers.set; + +// `Map.prototype.filter` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + filter: function filter(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + if (boundFunction(value, key, map)) set(newMap, key, value); + }); + return newMap; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.find-key.js b/node_modules/core-js/modules/esnext.map.find-key.js new file mode 100644 index 00000000..c3779a82 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.find-key.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aMap = require('../internals/a-map'); +var iterate = require('../internals/map-iterate'); + +// `Map.prototype.findKey` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + findKey: function findKey(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return { key: key }; + }, true); + return result && result.key; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.find.js b/node_modules/core-js/modules/esnext.map.find.js new file mode 100644 index 00000000..ca1f0f9b --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.find.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aMap = require('../internals/a-map'); +var iterate = require('../internals/map-iterate'); + +// `Map.prototype.find` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + find: function find(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return { value: value }; + }, true); + return result && result.value; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.from.js b/node_modules/core-js/modules/esnext.map.from.js new file mode 100644 index 00000000..5e8642a2 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.from.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var from = require('../internals/collection-from'); + +// `Map.from` method +// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from +$({ target: 'Map', stat: true, forced: true }, { + from: from +}); diff --git a/node_modules/core-js/modules/esnext.map.group-by.js b/node_modules/core-js/modules/esnext.map.group-by.js new file mode 100644 index 00000000..badc3325 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.group-by.js @@ -0,0 +1,31 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var iterate = require('../internals/iterate'); +var MapHelpers = require('../internals/map-helpers'); +var IS_PURE = require('../internals/is-pure'); + +var Map = MapHelpers.Map; +var has = MapHelpers.has; +var get = MapHelpers.get; +var set = MapHelpers.set; +var push = uncurryThis([].push); + +// `Map.groupBy` method +// https://github.com/tc39/proposal-array-grouping +$({ target: 'Map', stat: true, forced: IS_PURE }, { + groupBy: function groupBy(items, callbackfn) { + requireObjectCoercible(items); + aCallable(callbackfn); + var map = new Map(); + var k = 0; + iterate(items, function (value) { + var key = callbackfn(value, k++); + if (!has(map, key)) set(map, key, [value]); + else push(get(map, key), value); + }); + return map; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.includes.js b/node_modules/core-js/modules/esnext.map.includes.js new file mode 100644 index 00000000..14b51ab5 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.includes.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var sameValueZero = require('../internals/same-value-zero'); +var aMap = require('../internals/a-map'); +var iterate = require('../internals/map-iterate'); + +// `Map.prototype.includes` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + includes: function includes(searchElement) { + return iterate(aMap(this), function (value) { + if (sameValueZero(value, searchElement)) return true; + }, true) === true; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.key-by.js b/node_modules/core-js/modules/esnext.map.key-by.js new file mode 100644 index 00000000..67933b59 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.key-by.js @@ -0,0 +1,22 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var iterate = require('../internals/iterate'); +var isCallable = require('../internals/is-callable'); +var aCallable = require('../internals/a-callable'); +var Map = require('../internals/map-helpers').Map; + +// `Map.keyBy` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', stat: true, forced: true }, { + keyBy: function keyBy(iterable, keyDerivative) { + var C = isCallable(this) ? this : Map; + var newMap = new C(); + aCallable(keyDerivative); + var setter = aCallable(newMap.set); + iterate(iterable, function (element) { + call(setter, newMap, keyDerivative(element), element); + }); + return newMap; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.key-of.js b/node_modules/core-js/modules/esnext.map.key-of.js new file mode 100644 index 00000000..07d5d18e --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.key-of.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var aMap = require('../internals/a-map'); +var iterate = require('../internals/map-iterate'); + +// `Map.prototype.keyOf` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + keyOf: function keyOf(searchElement) { + var result = iterate(aMap(this), function (value, key) { + if (value === searchElement) return { key: key }; + }, true); + return result && result.key; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.map-keys.js b/node_modules/core-js/modules/esnext.map.map-keys.js new file mode 100644 index 00000000..dcb1ea82 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.map-keys.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aMap = require('../internals/a-map'); +var MapHelpers = require('../internals/map-helpers'); +var iterate = require('../internals/map-iterate'); + +var Map = MapHelpers.Map; +var set = MapHelpers.set; + +// `Map.prototype.mapKeys` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + mapKeys: function mapKeys(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + set(newMap, boundFunction(value, key, map), value); + }); + return newMap; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.map-values.js b/node_modules/core-js/modules/esnext.map.map-values.js new file mode 100644 index 00000000..e10f42be --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.map-values.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aMap = require('../internals/a-map'); +var MapHelpers = require('../internals/map-helpers'); +var iterate = require('../internals/map-iterate'); + +var Map = MapHelpers.Map; +var set = MapHelpers.set; + +// `Map.prototype.mapValues` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + mapValues: function mapValues(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + set(newMap, key, boundFunction(value, key, map)); + }); + return newMap; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.merge.js b/node_modules/core-js/modules/esnext.map.merge.js new file mode 100644 index 00000000..d2174f80 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.merge.js @@ -0,0 +1,22 @@ +'use strict'; +var $ = require('../internals/export'); +var aMap = require('../internals/a-map'); +var iterate = require('../internals/iterate'); +var set = require('../internals/map-helpers').set; + +// `Map.prototype.merge` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, arity: 1, forced: true }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + merge: function merge(iterable /* ...iterables */) { + var map = aMap(this); + var argumentsLength = arguments.length; + var i = 0; + while (i < argumentsLength) { + iterate(arguments[i++], function (key, value) { + set(map, key, value); + }, { AS_ENTRIES: true }); + } + return map; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.of.js b/node_modules/core-js/modules/esnext.map.of.js new file mode 100644 index 00000000..6062ac0e --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.of.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var of = require('../internals/collection-of'); + +// `Map.of` method +// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of +$({ target: 'Map', stat: true, forced: true }, { + of: of +}); diff --git a/node_modules/core-js/modules/esnext.map.reduce.js b/node_modules/core-js/modules/esnext.map.reduce.js new file mode 100644 index 00000000..d6ab3b43 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.reduce.js @@ -0,0 +1,28 @@ +'use strict'; +var $ = require('../internals/export'); +var aCallable = require('../internals/a-callable'); +var aMap = require('../internals/a-map'); +var iterate = require('../internals/map-iterate'); + +var $TypeError = TypeError; + +// `Map.prototype.reduce` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var map = aMap(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + aCallable(callbackfn); + iterate(map, function (value, key) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = callbackfn(accumulator, value, key, map); + } + }); + if (noInitial) throw $TypeError('Reduce of empty map with no initial value'); + return accumulator; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.some.js b/node_modules/core-js/modules/esnext.map.some.js new file mode 100644 index 00000000..c3d6421f --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.some.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aMap = require('../internals/a-map'); +var iterate = require('../internals/map-iterate'); + +// `Map.prototype.some` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + some: function some(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return true; + }, true) === true; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.update-or-insert.js b/node_modules/core-js/modules/esnext.map.update-or-insert.js new file mode 100644 index 00000000..05003214 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.update-or-insert.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: remove from `core-js@4` +var $ = require('../internals/export'); +var upsert = require('../internals/map-upsert'); + +// `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.emplace`) +// https://github.com/thumbsupep/proposal-upsert +$({ target: 'Map', proto: true, real: true, name: 'upsert', forced: true }, { + updateOrInsert: upsert +}); diff --git a/node_modules/core-js/modules/esnext.map.update.js b/node_modules/core-js/modules/esnext.map.update.js new file mode 100644 index 00000000..b2ac2e81 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.update.js @@ -0,0 +1,27 @@ +'use strict'; +var $ = require('../internals/export'); +var aCallable = require('../internals/a-callable'); +var aMap = require('../internals/a-map'); +var MapHelpers = require('../internals/map-helpers'); + +var $TypeError = TypeError; +var get = MapHelpers.get; +var has = MapHelpers.has; +var set = MapHelpers.set; + +// `Map.prototype.update` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Map', proto: true, real: true, forced: true }, { + update: function update(key, callback /* , thunk */) { + var map = aMap(this); + var length = arguments.length; + aCallable(callback); + var isPresentInMap = has(map, key); + if (!isPresentInMap && length < 3) { + throw $TypeError('Updating absent value'); + } + var value = isPresentInMap ? get(map, key) : aCallable(length > 2 ? arguments[2] : undefined)(key, map); + set(map, key, callback(value, key, map)); + return map; + } +}); diff --git a/node_modules/core-js/modules/esnext.map.upsert.js b/node_modules/core-js/modules/esnext.map.upsert.js new file mode 100644 index 00000000..10d9ad85 --- /dev/null +++ b/node_modules/core-js/modules/esnext.map.upsert.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: remove from `core-js@4` +var $ = require('../internals/export'); +var upsert = require('../internals/map-upsert'); + +// `Map.prototype.upsert` method (replaced by `Map.prototype.emplace`) +// https://github.com/thumbsupep/proposal-upsert +$({ target: 'Map', proto: true, real: true, forced: true }, { + upsert: upsert +}); diff --git a/node_modules/core-js/modules/esnext.math.clamp.js b/node_modules/core-js/modules/esnext.math.clamp.js new file mode 100644 index 00000000..49a3d30f --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.clamp.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); + +var min = Math.min; +var max = Math.max; + +// `Math.clamp` method +// https://rwaldron.github.io/proposal-math-extensions/ +$({ target: 'Math', stat: true, forced: true }, { + clamp: function clamp(x, lower, upper) { + return min(upper, max(lower, x)); + } +}); diff --git a/node_modules/core-js/modules/esnext.math.deg-per-rad.js b/node_modules/core-js/modules/esnext.math.deg-per-rad.js new file mode 100644 index 00000000..2b1d8c44 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.deg-per-rad.js @@ -0,0 +1,8 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Math.DEG_PER_RAD` constant +// https://rwaldron.github.io/proposal-math-extensions/ +$({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { + DEG_PER_RAD: Math.PI / 180 +}); diff --git a/node_modules/core-js/modules/esnext.math.degrees.js b/node_modules/core-js/modules/esnext.math.degrees.js new file mode 100644 index 00000000..aa21ad76 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.degrees.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); + +var RAD_PER_DEG = 180 / Math.PI; + +// `Math.degrees` method +// https://rwaldron.github.io/proposal-math-extensions/ +$({ target: 'Math', stat: true, forced: true }, { + degrees: function degrees(radians) { + return radians * RAD_PER_DEG; + } +}); diff --git a/node_modules/core-js/modules/esnext.math.f16round.js b/node_modules/core-js/modules/esnext.math.f16round.js new file mode 100644 index 00000000..5ad662e5 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.f16round.js @@ -0,0 +1,16 @@ +'use strict'; +var $ = require('../internals/export'); +var IEEE754 = require('../internals/ieee754'); + +var packIEEE754 = IEEE754.pack; +var unpackIEEE754 = IEEE754.unpack; +var $isFinite = isFinite; + +// `Math.f16round` method +// https://github.com/tc39/proposal-float16array +$({ target: 'Math', stat: true }, { + f16round: function f16round(x) { + var n = +x; + return $isFinite(n) && n !== 0 ? unpackIEEE754(packIEEE754(n, 10, 2), 10) : n; + } +}); diff --git a/node_modules/core-js/modules/esnext.math.fscale.js b/node_modules/core-js/modules/esnext.math.fscale.js new file mode 100644 index 00000000..d9767c56 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.fscale.js @@ -0,0 +1,13 @@ +'use strict'; +var $ = require('../internals/export'); + +var scale = require('../internals/math-scale'); +var fround = require('../internals/math-fround'); + +// `Math.fscale` method +// https://rwaldron.github.io/proposal-math-extensions/ +$({ target: 'Math', stat: true, forced: true }, { + fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { + return fround(scale(x, inLow, inHigh, outLow, outHigh)); + } +}); diff --git a/node_modules/core-js/modules/esnext.math.iaddh.js b/node_modules/core-js/modules/esnext.math.iaddh.js new file mode 100644 index 00000000..f446d887 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.iaddh.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Math.iaddh` method +// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 +// TODO: Remove from `core-js@4` +$({ target: 'Math', stat: true, forced: true }, { + iaddh: function iaddh(x0, x1, y0, y1) { + var $x0 = x0 >>> 0; + var $x1 = x1 >>> 0; + var $y0 = y0 >>> 0; + return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0; + } +}); diff --git a/node_modules/core-js/modules/esnext.math.imulh.js b/node_modules/core-js/modules/esnext.math.imulh.js new file mode 100644 index 00000000..b3c8ad6f --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.imulh.js @@ -0,0 +1,19 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Math.imulh` method +// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 +// TODO: Remove from `core-js@4` +$({ target: 'Math', stat: true, forced: true }, { + imulh: function imulh(u, v) { + var UINT16 = 0xFFFF; + var $u = +u; + var $v = +v; + var u0 = $u & UINT16; + var v0 = $v & UINT16; + var u1 = $u >> 16; + var v1 = $v >> 16; + var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); + return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16); + } +}); diff --git a/node_modules/core-js/modules/esnext.math.isubh.js b/node_modules/core-js/modules/esnext.math.isubh.js new file mode 100644 index 00000000..92674e51 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.isubh.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Math.isubh` method +// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 +// TODO: Remove from `core-js@4` +$({ target: 'Math', stat: true, forced: true }, { + isubh: function isubh(x0, x1, y0, y1) { + var $x0 = x0 >>> 0; + var $x1 = x1 >>> 0; + var $y0 = y0 >>> 0; + return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0; + } +}); diff --git a/node_modules/core-js/modules/esnext.math.rad-per-deg.js b/node_modules/core-js/modules/esnext.math.rad-per-deg.js new file mode 100644 index 00000000..ea50751a --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.rad-per-deg.js @@ -0,0 +1,8 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Math.RAD_PER_DEG` constant +// https://rwaldron.github.io/proposal-math-extensions/ +$({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { + RAD_PER_DEG: 180 / Math.PI +}); diff --git a/node_modules/core-js/modules/esnext.math.radians.js b/node_modules/core-js/modules/esnext.math.radians.js new file mode 100644 index 00000000..ea622718 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.radians.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); + +var DEG_PER_RAD = Math.PI / 180; + +// `Math.radians` method +// https://rwaldron.github.io/proposal-math-extensions/ +$({ target: 'Math', stat: true, forced: true }, { + radians: function radians(degrees) { + return degrees * DEG_PER_RAD; + } +}); diff --git a/node_modules/core-js/modules/esnext.math.scale.js b/node_modules/core-js/modules/esnext.math.scale.js new file mode 100644 index 00000000..be0b6c42 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.scale.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var scale = require('../internals/math-scale'); + +// `Math.scale` method +// https://rwaldron.github.io/proposal-math-extensions/ +$({ target: 'Math', stat: true, forced: true }, { + scale: scale +}); diff --git a/node_modules/core-js/modules/esnext.math.seeded-prng.js b/node_modules/core-js/modules/esnext.math.seeded-prng.js new file mode 100644 index 00000000..44dc02f7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.seeded-prng.js @@ -0,0 +1,36 @@ +'use strict'; +var $ = require('../internals/export'); +var anObject = require('../internals/an-object'); +var numberIsFinite = require('../internals/number-is-finite'); +var createIteratorConstructor = require('../internals/iterator-create-constructor'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var InternalStateModule = require('../internals/internal-state'); + +var SEEDED_RANDOM = 'Seeded Random'; +var SEEDED_RANDOM_GENERATOR = SEEDED_RANDOM + ' Generator'; +var SEED_TYPE_ERROR = 'Math.seededPRNG() argument should have a "seed" field with a finite value.'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(SEEDED_RANDOM_GENERATOR); +var $TypeError = TypeError; + +var $SeededRandomGenerator = createIteratorConstructor(function SeededRandomGenerator(seed) { + setInternalState(this, { + type: SEEDED_RANDOM_GENERATOR, + seed: seed % 2147483647 + }); +}, SEEDED_RANDOM, function next() { + var state = getInternalState(this); + var seed = state.seed = (state.seed * 1103515245 + 12345) % 2147483647; + return createIterResultObject((seed & 1073741823) / 1073741823, false); +}); + +// `Math.seededPRNG` method +// https://github.com/tc39/proposal-seeded-random +// based on https://github.com/tc39/proposal-seeded-random/blob/78b8258835b57fc2100d076151ab506bc3202ae6/demo.html +$({ target: 'Math', stat: true, forced: true }, { + seededPRNG: function seededPRNG(it) { + var seed = anObject(it).seed; + if (!numberIsFinite(seed)) throw $TypeError(SEED_TYPE_ERROR); + return new $SeededRandomGenerator(seed); + } +}); diff --git a/node_modules/core-js/modules/esnext.math.signbit.js b/node_modules/core-js/modules/esnext.math.signbit.js new file mode 100644 index 00000000..8a4a138a --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.signbit.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Math.signbit` method +// https://github.com/tc39/proposal-Math.signbit +$({ target: 'Math', stat: true, forced: true }, { + signbit: function signbit(x) { + var n = +x; + // eslint-disable-next-line no-self-compare -- NaN check + return n == n && n == 0 ? 1 / n == -Infinity : n < 0; + } +}); diff --git a/node_modules/core-js/modules/esnext.math.umulh.js b/node_modules/core-js/modules/esnext.math.umulh.js new file mode 100644 index 00000000..db995ce8 --- /dev/null +++ b/node_modules/core-js/modules/esnext.math.umulh.js @@ -0,0 +1,19 @@ +'use strict'; +var $ = require('../internals/export'); + +// `Math.umulh` method +// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 +// TODO: Remove from `core-js@4` +$({ target: 'Math', stat: true, forced: true }, { + umulh: function umulh(u, v) { + var UINT16 = 0xFFFF; + var $u = +u; + var $v = +v; + var u0 = $u & UINT16; + var v0 = $v & UINT16; + var u1 = $u >>> 16; + var v1 = $v >>> 16; + var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); + return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16); + } +}); diff --git a/node_modules/core-js/modules/esnext.number.from-string.js b/node_modules/core-js/modules/esnext.number.from-string.js new file mode 100644 index 00000000..98dfa80d --- /dev/null +++ b/node_modules/core-js/modules/esnext.number.from-string.js @@ -0,0 +1,38 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var parseInt = require('../internals/number-parse-int'); + +var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; +var INVALID_RADIX = 'Invalid radix'; +var $RangeError = RangeError; +var $SyntaxError = SyntaxError; +var $TypeError = TypeError; +var valid = /^[\da-z]+$/; +var charAt = uncurryThis(''.charAt); +var exec = uncurryThis(valid.exec); +var numberToString = uncurryThis(1.0.toString); +var stringSlice = uncurryThis(''.slice); + +// `Number.fromString` method +// https://github.com/tc39/proposal-number-fromstring +$({ target: 'Number', stat: true, forced: true }, { + fromString: function fromString(string, radix) { + var sign = 1; + var R, mathNum; + if (typeof string != 'string') throw $TypeError(INVALID_NUMBER_REPRESENTATION); + if (!string.length) throw $SyntaxError(INVALID_NUMBER_REPRESENTATION); + if (charAt(string, 0) == '-') { + sign = -1; + string = stringSlice(string, 1); + if (!string.length) throw $SyntaxError(INVALID_NUMBER_REPRESENTATION); + } + R = radix === undefined ? 10 : toIntegerOrInfinity(radix); + if (R < 2 || R > 36) throw $RangeError(INVALID_RADIX); + if (!exec(valid, string) || numberToString(mathNum = parseInt(string, R), R) !== string) { + throw $SyntaxError(INVALID_NUMBER_REPRESENTATION); + } + return sign * mathNum; + } +}); diff --git a/node_modules/core-js/modules/esnext.number.range.js b/node_modules/core-js/modules/esnext.number.range.js new file mode 100644 index 00000000..5f44694b --- /dev/null +++ b/node_modules/core-js/modules/esnext.number.range.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var NumericRangeIterator = require('../internals/numeric-range-iterator'); + +// `Number.range` method +// https://github.com/tc39/proposal-Number.range +// TODO: Remove from `core-js@4` +$({ target: 'Number', stat: true, forced: true }, { + range: function range(start, end, option) { + return new NumericRangeIterator(start, end, option, 'number', 0, 1); + } +}); diff --git a/node_modules/core-js/modules/esnext.object.group-by.js b/node_modules/core-js/modules/esnext.object.group-by.js new file mode 100644 index 00000000..aa2464c3 --- /dev/null +++ b/node_modules/core-js/modules/esnext.object.group-by.js @@ -0,0 +1,30 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var aCallable = require('../internals/a-callable'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toPropertyKey = require('../internals/to-property-key'); +var iterate = require('../internals/iterate'); + +var create = getBuiltIn('Object', 'create'); +var push = uncurryThis([].push); + +// `Object.groupBy` method +// https://github.com/tc39/proposal-array-grouping +$({ target: 'Object', stat: true }, { + groupBy: function groupBy(items, callbackfn) { + requireObjectCoercible(items); + aCallable(callbackfn); + var obj = create(null); + var k = 0; + iterate(items, function (value) { + var key = toPropertyKey(callbackfn(value, k++)); + // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys + // but since it's a `null` prototype object, we can safely use `in` + if (key in obj) push(obj[key], value); + else obj[key] = [value]; + }); + return obj; + } +}); diff --git a/node_modules/core-js/modules/esnext.object.has-own.js b/node_modules/core-js/modules/esnext.object.has-own.js new file mode 100644 index 00000000..12bf5589 --- /dev/null +++ b/node_modules/core-js/modules/esnext.object.has-own.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.object.has-own'); diff --git a/node_modules/core-js/modules/esnext.object.iterate-entries.js b/node_modules/core-js/modules/esnext.object.iterate-entries.js new file mode 100644 index 00000000..f93b6841 --- /dev/null +++ b/node_modules/core-js/modules/esnext.object.iterate-entries.js @@ -0,0 +1,12 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ObjectIterator = require('../internals/object-iterator'); + +// `Object.iterateEntries` method +// https://github.com/tc39/proposal-object-iteration +$({ target: 'Object', stat: true, forced: true }, { + iterateEntries: function iterateEntries(object) { + return new ObjectIterator(object, 'entries'); + } +}); diff --git a/node_modules/core-js/modules/esnext.object.iterate-keys.js b/node_modules/core-js/modules/esnext.object.iterate-keys.js new file mode 100644 index 00000000..41e5de9a --- /dev/null +++ b/node_modules/core-js/modules/esnext.object.iterate-keys.js @@ -0,0 +1,12 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ObjectIterator = require('../internals/object-iterator'); + +// `Object.iterateKeys` method +// https://github.com/tc39/proposal-object-iteration +$({ target: 'Object', stat: true, forced: true }, { + iterateKeys: function iterateKeys(object) { + return new ObjectIterator(object, 'keys'); + } +}); diff --git a/node_modules/core-js/modules/esnext.object.iterate-values.js b/node_modules/core-js/modules/esnext.object.iterate-values.js new file mode 100644 index 00000000..490abc8b --- /dev/null +++ b/node_modules/core-js/modules/esnext.object.iterate-values.js @@ -0,0 +1,12 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ObjectIterator = require('../internals/object-iterator'); + +// `Object.iterateValues` method +// https://github.com/tc39/proposal-object-iteration +$({ target: 'Object', stat: true, forced: true }, { + iterateValues: function iterateValues(object) { + return new ObjectIterator(object, 'values'); + } +}); diff --git a/node_modules/core-js/modules/esnext.observable.constructor.js b/node_modules/core-js/modules/esnext.observable.constructor.js new file mode 100644 index 00000000..7a22bef2 --- /dev/null +++ b/node_modules/core-js/modules/esnext.observable.constructor.js @@ -0,0 +1,188 @@ +'use strict'; +// https://github.com/tc39/proposal-observable +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var DESCRIPTORS = require('../internals/descriptors'); +var setSpecies = require('../internals/set-species'); +var aCallable = require('../internals/a-callable'); +var anObject = require('../internals/an-object'); +var anInstance = require('../internals/an-instance'); +var isCallable = require('../internals/is-callable'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var isObject = require('../internals/is-object'); +var getMethod = require('../internals/get-method'); +var defineBuiltIn = require('../internals/define-built-in'); +var defineBuiltIns = require('../internals/define-built-ins'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var hostReportErrors = require('../internals/host-report-errors'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var InternalStateModule = require('../internals/internal-state'); +var OBSERVABLE_FORCED = require('../internals/observable-forced'); + +var $$OBSERVABLE = wellKnownSymbol('observable'); +var OBSERVABLE = 'Observable'; +var SUBSCRIPTION = 'Subscription'; +var SUBSCRIPTION_OBSERVER = 'SubscriptionObserver'; +var getterFor = InternalStateModule.getterFor; +var setInternalState = InternalStateModule.set; +var getObservableInternalState = getterFor(OBSERVABLE); +var getSubscriptionInternalState = getterFor(SUBSCRIPTION); +var getSubscriptionObserverInternalState = getterFor(SUBSCRIPTION_OBSERVER); + +var SubscriptionState = function (observer) { + this.observer = anObject(observer); + this.cleanup = undefined; + this.subscriptionObserver = undefined; +}; + +SubscriptionState.prototype = { + type: SUBSCRIPTION, + clean: function () { + var cleanup = this.cleanup; + if (cleanup) { + this.cleanup = undefined; + try { + cleanup(); + } catch (error) { + hostReportErrors(error); + } + } + }, + close: function () { + if (!DESCRIPTORS) { + var subscription = this.facade; + var subscriptionObserver = this.subscriptionObserver; + subscription.closed = true; + if (subscriptionObserver) subscriptionObserver.closed = true; + } this.observer = undefined; + }, + isClosed: function () { + return this.observer === undefined; + } +}; + +var Subscription = function (observer, subscriber) { + var subscriptionState = setInternalState(this, new SubscriptionState(observer)); + var start; + if (!DESCRIPTORS) this.closed = false; + try { + if (start = getMethod(observer, 'start')) call(start, observer, this); + } catch (error) { + hostReportErrors(error); + } + if (subscriptionState.isClosed()) return; + var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(subscriptionState); + try { + var cleanup = subscriber(subscriptionObserver); + var subscription = cleanup; + if (!isNullOrUndefined(cleanup)) subscriptionState.cleanup = isCallable(cleanup.unsubscribe) + ? function () { subscription.unsubscribe(); } + : aCallable(cleanup); + } catch (error) { + subscriptionObserver.error(error); + return; + } if (subscriptionState.isClosed()) subscriptionState.clean(); +}; + +Subscription.prototype = defineBuiltIns({}, { + unsubscribe: function unsubscribe() { + var subscriptionState = getSubscriptionInternalState(this); + if (!subscriptionState.isClosed()) { + subscriptionState.close(); + subscriptionState.clean(); + } + } +}); + +if (DESCRIPTORS) defineBuiltInAccessor(Subscription.prototype, 'closed', { + configurable: true, + get: function closed() { + return getSubscriptionInternalState(this).isClosed(); + } +}); + +var SubscriptionObserver = function (subscriptionState) { + setInternalState(this, { + type: SUBSCRIPTION_OBSERVER, + subscriptionState: subscriptionState + }); + if (!DESCRIPTORS) this.closed = false; +}; + +SubscriptionObserver.prototype = defineBuiltIns({}, { + next: function next(value) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + try { + var nextMethod = getMethod(observer, 'next'); + if (nextMethod) call(nextMethod, observer, value); + } catch (error) { + hostReportErrors(error); + } + } + }, + error: function error(value) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + subscriptionState.close(); + try { + var errorMethod = getMethod(observer, 'error'); + if (errorMethod) call(errorMethod, observer, value); + else hostReportErrors(value); + } catch (err) { + hostReportErrors(err); + } subscriptionState.clean(); + } + }, + complete: function complete() { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + subscriptionState.close(); + try { + var completeMethod = getMethod(observer, 'complete'); + if (completeMethod) call(completeMethod, observer); + } catch (error) { + hostReportErrors(error); + } subscriptionState.clean(); + } + } +}); + +if (DESCRIPTORS) defineBuiltInAccessor(SubscriptionObserver.prototype, 'closed', { + configurable: true, + get: function closed() { + return getSubscriptionObserverInternalState(this).subscriptionState.isClosed(); + } +}); + +var $Observable = function Observable(subscriber) { + anInstance(this, ObservablePrototype); + setInternalState(this, { + type: OBSERVABLE, + subscriber: aCallable(subscriber) + }); +}; + +var ObservablePrototype = $Observable.prototype; + +defineBuiltIns(ObservablePrototype, { + subscribe: function subscribe(observer) { + var length = arguments.length; + return new Subscription(isCallable(observer) ? { + next: observer, + error: length > 1 ? arguments[1] : undefined, + complete: length > 2 ? arguments[2] : undefined + } : isObject(observer) ? observer : {}, getObservableInternalState(this).subscriber); + } +}); + +defineBuiltIn(ObservablePrototype, $$OBSERVABLE, function () { return this; }); + +$({ global: true, constructor: true, forced: OBSERVABLE_FORCED }, { + Observable: $Observable +}); + +setSpecies(OBSERVABLE); diff --git a/node_modules/core-js/modules/esnext.observable.from.js b/node_modules/core-js/modules/esnext.observable.from.js new file mode 100644 index 00000000..c579c252 --- /dev/null +++ b/node_modules/core-js/modules/esnext.observable.from.js @@ -0,0 +1,36 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var call = require('../internals/function-call'); +var anObject = require('../internals/an-object'); +var isConstructor = require('../internals/is-constructor'); +var getIterator = require('../internals/get-iterator'); +var getMethod = require('../internals/get-method'); +var iterate = require('../internals/iterate'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var OBSERVABLE_FORCED = require('../internals/observable-forced'); + +var $$OBSERVABLE = wellKnownSymbol('observable'); + +// `Observable.from` method +// https://github.com/tc39/proposal-observable +$({ target: 'Observable', stat: true, forced: OBSERVABLE_FORCED }, { + from: function from(x) { + var C = isConstructor(this) ? this : getBuiltIn('Observable'); + var observableMethod = getMethod(anObject(x), $$OBSERVABLE); + if (observableMethod) { + var observable = anObject(call(observableMethod, x)); + return observable.constructor === C ? observable : new C(function (observer) { + return observable.subscribe(observer); + }); + } + var iterator = getIterator(x); + return new C(function (observer) { + iterate(iterator, function (it, stop) { + observer.next(it); + if (observer.closed) return stop(); + }, { IS_ITERATOR: true, INTERRUPTED: true }); + observer.complete(); + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.observable.js b/node_modules/core-js/modules/esnext.observable.js new file mode 100644 index 00000000..7f37b46a --- /dev/null +++ b/node_modules/core-js/modules/esnext.observable.js @@ -0,0 +1,5 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +require('../modules/esnext.observable.constructor'); +require('../modules/esnext.observable.from'); +require('../modules/esnext.observable.of'); diff --git a/node_modules/core-js/modules/esnext.observable.of.js b/node_modules/core-js/modules/esnext.observable.of.js new file mode 100644 index 00000000..ecf5674d --- /dev/null +++ b/node_modules/core-js/modules/esnext.observable.of.js @@ -0,0 +1,25 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var isConstructor = require('../internals/is-constructor'); +var OBSERVABLE_FORCED = require('../internals/observable-forced'); + +var Array = getBuiltIn('Array'); + +// `Observable.of` method +// https://github.com/tc39/proposal-observable +$({ target: 'Observable', stat: true, forced: OBSERVABLE_FORCED }, { + of: function of() { + var C = isConstructor(this) ? this : getBuiltIn('Observable'); + var length = arguments.length; + var items = Array(length); + var index = 0; + while (index < length) items[index] = arguments[index++]; + return new C(function (observer) { + for (var i = 0; i < length; i++) { + observer.next(items[i]); + if (observer.closed) return; + } observer.complete(); + }); + } +}); diff --git a/node_modules/core-js/modules/esnext.promise.all-settled.js b/node_modules/core-js/modules/esnext.promise.all-settled.js new file mode 100644 index 00000000..d7ba53d1 --- /dev/null +++ b/node_modules/core-js/modules/esnext.promise.all-settled.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.promise.all-settled.js'); diff --git a/node_modules/core-js/modules/esnext.promise.any.js b/node_modules/core-js/modules/esnext.promise.any.js new file mode 100644 index 00000000..b50dede4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.promise.any.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.promise.any'); diff --git a/node_modules/core-js/modules/esnext.promise.try.js b/node_modules/core-js/modules/esnext.promise.try.js new file mode 100644 index 00000000..1004b8f7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.promise.try.js @@ -0,0 +1,16 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var newPromiseCapabilityModule = require('../internals/new-promise-capability'); +var perform = require('../internals/perform'); + +// `Promise.try` method +// https://github.com/tc39/proposal-promise-try +$({ target: 'Promise', stat: true, forced: true }, { + 'try': function (callbackfn) { + var promiseCapability = newPromiseCapabilityModule.f(this); + var result = perform(callbackfn); + (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value); + return promiseCapability.promise; + } +}); diff --git a/node_modules/core-js/modules/esnext.promise.with-resolvers.js b/node_modules/core-js/modules/esnext.promise.with-resolvers.js new file mode 100644 index 00000000..2dc0f4f2 --- /dev/null +++ b/node_modules/core-js/modules/esnext.promise.with-resolvers.js @@ -0,0 +1,16 @@ +'use strict'; +var $ = require('../internals/export'); +var newPromiseCapabilityModule = require('../internals/new-promise-capability'); + +// `Promise.withResolvers` method +// https://github.com/tc39/proposal-promise-with-resolvers +$({ target: 'Promise', stat: true }, { + withResolvers: function withResolvers() { + var promiseCapability = newPromiseCapabilityModule.f(this); + return { + promise: promiseCapability.promise, + resolve: promiseCapability.resolve, + reject: promiseCapability.reject + }; + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.define-metadata.js b/node_modules/core-js/modules/esnext.reflect.define-metadata.js new file mode 100644 index 00000000..8ace9f44 --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.define-metadata.js @@ -0,0 +1,17 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); + +var toMetadataKey = ReflectMetadataModule.toKey; +var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; + +// `Reflect.defineMetadata` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) { + var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]); + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey); + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.delete-metadata.js b/node_modules/core-js/modules/esnext.reflect.delete-metadata.js new file mode 100644 index 00000000..13ba13d0 --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.delete-metadata.js @@ -0,0 +1,22 @@ +'use strict'; +var $ = require('../internals/export'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); + +var toMetadataKey = ReflectMetadataModule.toKey; +var getOrCreateMetadataMap = ReflectMetadataModule.getMap; +var store = ReflectMetadataModule.store; + +// `Reflect.deleteMetadata` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; + if (metadataMap.size) return true; + var targetMetadata = store.get(target); + targetMetadata['delete'](targetKey); + return !!targetMetadata.size || store['delete'](target); + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js b/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js new file mode 100644 index 00000000..34fad84b --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js @@ -0,0 +1,30 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var $arrayUniqueBy = require('../internals/array-unique-by'); + +var arrayUniqueBy = uncurryThis($arrayUniqueBy); +var concat = uncurryThis([].concat); +var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; +var toMetadataKey = ReflectMetadataModule.toKey; + +var ordinaryMetadataKeys = function (O, P) { + var oKeys = ordinaryOwnMetadataKeys(O, P); + var parent = getPrototypeOf(O); + if (parent === null) return oKeys; + var pKeys = ordinaryMetadataKeys(parent, P); + return pKeys.length ? oKeys.length ? arrayUniqueBy(concat(oKeys, pKeys)) : pKeys : oKeys; +}; + +// `Reflect.getMetadataKeys` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { + var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); + return ordinaryMetadataKeys(anObject(target), targetKey); + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.get-metadata.js b/node_modules/core-js/modules/esnext.reflect.get-metadata.js new file mode 100644 index 00000000..72582523 --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.get-metadata.js @@ -0,0 +1,26 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); + +var ordinaryHasOwnMetadata = ReflectMetadataModule.has; +var ordinaryGetOwnMetadata = ReflectMetadataModule.get; +var toMetadataKey = ReflectMetadataModule.toKey; + +var ordinaryGetMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; +}; + +// `Reflect.getMetadata` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryGetMetadata(metadataKey, anObject(target), targetKey); + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js b/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js new file mode 100644 index 00000000..3b44e0f0 --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js @@ -0,0 +1,17 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); + +var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; +var toMetadataKey = ReflectMetadataModule.toKey; + +// `Reflect.getOwnMetadataKeys` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { + var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); + return ordinaryOwnMetadataKeys(anObject(target), targetKey); + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js b/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js new file mode 100644 index 00000000..e1f62fc5 --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js @@ -0,0 +1,17 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); + +var ordinaryGetOwnMetadata = ReflectMetadataModule.get; +var toMetadataKey = ReflectMetadataModule.toKey; + +// `Reflect.getOwnMetadata` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey); + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.has-metadata.js b/node_modules/core-js/modules/esnext.reflect.has-metadata.js new file mode 100644 index 00000000..26ce2569 --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.has-metadata.js @@ -0,0 +1,25 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); + +var ordinaryHasOwnMetadata = ReflectMetadataModule.has; +var toMetadataKey = ReflectMetadataModule.toKey; + +var ordinaryHasMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return true; + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; +}; + +// `Reflect.hasMetadata` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryHasMetadata(metadataKey, anObject(target), targetKey); + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js b/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js new file mode 100644 index 00000000..5e388856 --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js @@ -0,0 +1,17 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); + +var ordinaryHasOwnMetadata = ReflectMetadataModule.has; +var toMetadataKey = ReflectMetadataModule.toKey; + +// `Reflect.hasOwnMetadata` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey); + } +}); diff --git a/node_modules/core-js/modules/esnext.reflect.metadata.js b/node_modules/core-js/modules/esnext.reflect.metadata.js new file mode 100644 index 00000000..5d98d032 --- /dev/null +++ b/node_modules/core-js/modules/esnext.reflect.metadata.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var ReflectMetadataModule = require('../internals/reflect-metadata'); +var anObject = require('../internals/an-object'); + +var toMetadataKey = ReflectMetadataModule.toKey; +var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; + +// `Reflect.metadata` method +// https://github.com/rbuckton/reflect-metadata +$({ target: 'Reflect', stat: true }, { + metadata: function metadata(metadataKey, metadataValue) { + return function decorator(target, key) { + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key)); + }; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.add-all.js b/node_modules/core-js/modules/esnext.set.add-all.js new file mode 100644 index 00000000..d168fbe4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.add-all.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var aSet = require('../internals/a-set'); +var add = require('../internals/set-helpers').add; + +// `Set.prototype.addAll` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + addAll: function addAll(/* ...elements */) { + var set = aSet(this); + for (var k = 0, len = arguments.length; k < len; k++) { + add(set, arguments[k]); + } return set; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.delete-all.js b/node_modules/core-js/modules/esnext.set.delete-all.js new file mode 100644 index 00000000..cbba8743 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.delete-all.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var aSet = require('../internals/a-set'); +var remove = require('../internals/set-helpers').remove; + +// `Set.prototype.deleteAll` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aSet(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.difference.js b/node_modules/core-js/modules/esnext.set.difference.js new file mode 100644 index 00000000..d2a40088 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.difference.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var toSetLike = require('../internals/to-set-like'); +var $difference = require('../internals/set-difference'); + +// `Set.prototype.difference` method +// https://github.com/tc39/proposal-set-methods +// TODO: Obsolete version, remove from `core-js@4` +$({ target: 'Set', proto: true, real: true, forced: true }, { + difference: function difference(other) { + return call($difference, this, toSetLike(other)); + } +}); diff --git a/node_modules/core-js/modules/esnext.set.difference.v2.js b/node_modules/core-js/modules/esnext.set.difference.v2.js new file mode 100644 index 00000000..074b3911 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.difference.v2.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var difference = require('../internals/set-difference'); +var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like'); + +// `Set.prototype.difference` method +// https://github.com/tc39/proposal-set-methods +$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, { + difference: difference +}); diff --git a/node_modules/core-js/modules/esnext.set.every.js b/node_modules/core-js/modules/esnext.set.every.js new file mode 100644 index 00000000..999c6be4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.every.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aSet = require('../internals/a-set'); +var iterate = require('../internals/set-iterate'); + +// `Set.prototype.every` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + every: function every(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(set, function (value) { + if (!boundFunction(value, value, set)) return false; + }, true) !== false; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.filter.js b/node_modules/core-js/modules/esnext.set.filter.js new file mode 100644 index 00000000..84e1dac7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.filter.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aSet = require('../internals/a-set'); +var SetHelpers = require('../internals/set-helpers'); +var iterate = require('../internals/set-iterate'); + +var Set = SetHelpers.Set; +var add = SetHelpers.add; + +// `Set.prototype.filter` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + filter: function filter(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newSet = new Set(); + iterate(set, function (value) { + if (boundFunction(value, value, set)) add(newSet, value); + }); + return newSet; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.find.js b/node_modules/core-js/modules/esnext.set.find.js new file mode 100644 index 00000000..ae18ca7c --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.find.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aSet = require('../internals/a-set'); +var iterate = require('../internals/set-iterate'); + +// `Set.prototype.find` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + find: function find(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(set, function (value) { + if (boundFunction(value, value, set)) return { value: value }; + }, true); + return result && result.value; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.from.js b/node_modules/core-js/modules/esnext.set.from.js new file mode 100644 index 00000000..d274d5c2 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.from.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var from = require('../internals/collection-from'); + +// `Set.from` method +// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from +$({ target: 'Set', stat: true, forced: true }, { + from: from +}); diff --git a/node_modules/core-js/modules/esnext.set.intersection.js b/node_modules/core-js/modules/esnext.set.intersection.js new file mode 100644 index 00000000..fed2c438 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.intersection.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var toSetLike = require('../internals/to-set-like'); +var $intersection = require('../internals/set-intersection'); + +// `Set.prototype.intersection` method +// https://github.com/tc39/proposal-set-methods +// TODO: Obsolete version, remove from `core-js@4` +$({ target: 'Set', proto: true, real: true, forced: true }, { + intersection: function intersection(other) { + return call($intersection, this, toSetLike(other)); + } +}); diff --git a/node_modules/core-js/modules/esnext.set.intersection.v2.js b/node_modules/core-js/modules/esnext.set.intersection.v2.js new file mode 100644 index 00000000..01f10724 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.intersection.v2.js @@ -0,0 +1,16 @@ +'use strict'; +var $ = require('../internals/export'); +var fails = require('../internals/fails'); +var intersection = require('../internals/set-intersection'); +var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like'); + +var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () { + // eslint-disable-next-line es/no-array-from, es/no-set -- testing + return Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2]))) != '3,2'; +}); + +// `Set.prototype.intersection` method +// https://github.com/tc39/proposal-set-methods +$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, { + intersection: intersection +}); diff --git a/node_modules/core-js/modules/esnext.set.is-disjoint-from.js b/node_modules/core-js/modules/esnext.set.is-disjoint-from.js new file mode 100644 index 00000000..bec2b235 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.is-disjoint-from.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var toSetLike = require('../internals/to-set-like'); +var $isDisjointFrom = require('../internals/set-is-disjoint-from'); + +// `Set.prototype.isDisjointFrom` method +// https://github.com/tc39/proposal-set-methods +// TODO: Obsolete version, remove from `core-js@4` +$({ target: 'Set', proto: true, real: true, forced: true }, { + isDisjointFrom: function isDisjointFrom(other) { + return call($isDisjointFrom, this, toSetLike(other)); + } +}); diff --git a/node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js b/node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js new file mode 100644 index 00000000..f9139e48 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var isDisjointFrom = require('../internals/set-is-disjoint-from'); +var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like'); + +// `Set.prototype.isDisjointFrom` method +// https://github.com/tc39/proposal-set-methods +$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, { + isDisjointFrom: isDisjointFrom +}); diff --git a/node_modules/core-js/modules/esnext.set.is-subset-of.js b/node_modules/core-js/modules/esnext.set.is-subset-of.js new file mode 100644 index 00000000..7b30e935 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.is-subset-of.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var toSetLike = require('../internals/to-set-like'); +var $isSubsetOf = require('../internals/set-is-subset-of'); + +// `Set.prototype.isSubsetOf` method +// https://github.com/tc39/proposal-set-methods +// TODO: Obsolete version, remove from `core-js@4` +$({ target: 'Set', proto: true, real: true, forced: true }, { + isSubsetOf: function isSubsetOf(other) { + return call($isSubsetOf, this, toSetLike(other)); + } +}); diff --git a/node_modules/core-js/modules/esnext.set.is-subset-of.v2.js b/node_modules/core-js/modules/esnext.set.is-subset-of.v2.js new file mode 100644 index 00000000..cbdf60d0 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.is-subset-of.v2.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var isSubsetOf = require('../internals/set-is-subset-of'); +var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like'); + +// `Set.prototype.isSubsetOf` method +// https://github.com/tc39/proposal-set-methods +$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, { + isSubsetOf: isSubsetOf +}); diff --git a/node_modules/core-js/modules/esnext.set.is-superset-of.js b/node_modules/core-js/modules/esnext.set.is-superset-of.js new file mode 100644 index 00000000..43250853 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.is-superset-of.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var toSetLike = require('../internals/to-set-like'); +var $isSupersetOf = require('../internals/set-is-superset-of'); + +// `Set.prototype.isSupersetOf` method +// https://github.com/tc39/proposal-set-methods +// TODO: Obsolete version, remove from `core-js@4` +$({ target: 'Set', proto: true, real: true, forced: true }, { + isSupersetOf: function isSupersetOf(other) { + return call($isSupersetOf, this, toSetLike(other)); + } +}); diff --git a/node_modules/core-js/modules/esnext.set.is-superset-of.v2.js b/node_modules/core-js/modules/esnext.set.is-superset-of.v2.js new file mode 100644 index 00000000..af2c8229 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.is-superset-of.v2.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var isSupersetOf = require('../internals/set-is-superset-of'); +var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like'); + +// `Set.prototype.isSupersetOf` method +// https://github.com/tc39/proposal-set-methods +$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, { + isSupersetOf: isSupersetOf +}); diff --git a/node_modules/core-js/modules/esnext.set.join.js b/node_modules/core-js/modules/esnext.set.join.js new file mode 100644 index 00000000..4f7a62aa --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.join.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); +var aSet = require('../internals/a-set'); +var iterate = require('../internals/set-iterate'); +var toString = require('../internals/to-string'); + +var arrayJoin = uncurryThis([].join); +var push = uncurryThis([].push); + +// `Set.prototype.join` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + join: function join(separator) { + var set = aSet(this); + var sep = separator === undefined ? ',' : toString(separator); + var array = []; + iterate(set, function (value) { + push(array, value); + }); + return arrayJoin(array, sep); + } +}); diff --git a/node_modules/core-js/modules/esnext.set.map.js b/node_modules/core-js/modules/esnext.set.map.js new file mode 100644 index 00000000..2eea3de7 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.map.js @@ -0,0 +1,23 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aSet = require('../internals/a-set'); +var SetHelpers = require('../internals/set-helpers'); +var iterate = require('../internals/set-iterate'); + +var Set = SetHelpers.Set; +var add = SetHelpers.add; + +// `Set.prototype.map` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + map: function map(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newSet = new Set(); + iterate(set, function (value) { + add(newSet, boundFunction(value, value, set)); + }); + return newSet; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.of.js b/node_modules/core-js/modules/esnext.set.of.js new file mode 100644 index 00000000..3aa97315 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.of.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var of = require('../internals/collection-of'); + +// `Set.of` method +// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of +$({ target: 'Set', stat: true, forced: true }, { + of: of +}); diff --git a/node_modules/core-js/modules/esnext.set.reduce.js b/node_modules/core-js/modules/esnext.set.reduce.js new file mode 100644 index 00000000..77a95df4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.reduce.js @@ -0,0 +1,28 @@ +'use strict'; +var $ = require('../internals/export'); +var aCallable = require('../internals/a-callable'); +var aSet = require('../internals/a-set'); +var iterate = require('../internals/set-iterate'); + +var $TypeError = TypeError; + +// `Set.prototype.reduce` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var set = aSet(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + aCallable(callbackfn); + iterate(set, function (value) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = callbackfn(accumulator, value, value, set); + } + }); + if (noInitial) throw $TypeError('Reduce of empty set with no initial value'); + return accumulator; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.some.js b/node_modules/core-js/modules/esnext.set.some.js new file mode 100644 index 00000000..ab86d1cf --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.some.js @@ -0,0 +1,17 @@ +'use strict'; +var $ = require('../internals/export'); +var bind = require('../internals/function-bind-context'); +var aSet = require('../internals/a-set'); +var iterate = require('../internals/set-iterate'); + +// `Set.prototype.some` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'Set', proto: true, real: true, forced: true }, { + some: function some(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(set, function (value) { + if (boundFunction(value, value, set)) return true; + }, true) === true; + } +}); diff --git a/node_modules/core-js/modules/esnext.set.symmetric-difference.js b/node_modules/core-js/modules/esnext.set.symmetric-difference.js new file mode 100644 index 00000000..fa697f02 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.symmetric-difference.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var toSetLike = require('../internals/to-set-like'); +var $symmetricDifference = require('../internals/set-symmetric-difference'); + +// `Set.prototype.symmetricDifference` method +// https://github.com/tc39/proposal-set-methods +// TODO: Obsolete version, remove from `core-js@4` +$({ target: 'Set', proto: true, real: true, forced: true }, { + symmetricDifference: function symmetricDifference(other) { + return call($symmetricDifference, this, toSetLike(other)); + } +}); diff --git a/node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js b/node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js new file mode 100644 index 00000000..b16890f5 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var symmetricDifference = require('../internals/set-symmetric-difference'); +var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like'); + +// `Set.prototype.symmetricDifference` method +// https://github.com/tc39/proposal-set-methods +$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, { + symmetricDifference: symmetricDifference +}); diff --git a/node_modules/core-js/modules/esnext.set.union.js b/node_modules/core-js/modules/esnext.set.union.js new file mode 100644 index 00000000..0ff06962 --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.union.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); +var toSetLike = require('../internals/to-set-like'); +var $union = require('../internals/set-union'); + +// `Set.prototype.union` method +// https://github.com/tc39/proposal-set-methods +// TODO: Obsolete version, remove from `core-js@4` +$({ target: 'Set', proto: true, real: true, forced: true }, { + union: function union(other) { + return call($union, this, toSetLike(other)); + } +}); diff --git a/node_modules/core-js/modules/esnext.set.union.v2.js b/node_modules/core-js/modules/esnext.set.union.v2.js new file mode 100644 index 00000000..fcfa481e --- /dev/null +++ b/node_modules/core-js/modules/esnext.set.union.v2.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var union = require('../internals/set-union'); +var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like'); + +// `Set.prototype.union` method +// https://github.com/tc39/proposal-set-methods +$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, { + union: union +}); diff --git a/node_modules/core-js/modules/esnext.string.at-alternative.js b/node_modules/core-js/modules/esnext.string.at-alternative.js new file mode 100644 index 00000000..50bc7d13 --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.at-alternative.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.string.at-alternative'); diff --git a/node_modules/core-js/modules/esnext.string.at.js b/node_modules/core-js/modules/esnext.string.at.js new file mode 100644 index 00000000..88d4c951 --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.at.js @@ -0,0 +1,19 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var $ = require('../internals/export'); +var charAt = require('../internals/string-multibyte').charAt; +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var toString = require('../internals/to-string'); + +// `String.prototype.at` method +// https://github.com/mathiasbynens/String.prototype.at +$({ target: 'String', proto: true, forced: true }, { + at: function at(index) { + var S = toString(requireObjectCoercible(this)); + var len = S.length; + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : charAt(S, k); + } +}); diff --git a/node_modules/core-js/modules/esnext.string.code-points.js b/node_modules/core-js/modules/esnext.string.code-points.js new file mode 100644 index 00000000..68720f4b --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.code-points.js @@ -0,0 +1,40 @@ +'use strict'; +var $ = require('../internals/export'); +var createIteratorConstructor = require('../internals/iterator-create-constructor'); +var createIterResultObject = require('../internals/create-iter-result-object'); +var requireObjectCoercible = require('../internals/require-object-coercible'); +var toString = require('../internals/to-string'); +var InternalStateModule = require('../internals/internal-state'); +var StringMultibyteModule = require('../internals/string-multibyte'); + +var codeAt = StringMultibyteModule.codeAt; +var charAt = StringMultibyteModule.charAt; +var STRING_ITERATOR = 'String Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); + +// TODO: unify with String#@@iterator +var $StringIterator = createIteratorConstructor(function StringIterator(string) { + setInternalState(this, { + type: STRING_ITERATOR, + string: string, + index: 0 + }); +}, 'String', function next() { + var state = getInternalState(this); + var string = state.string; + var index = state.index; + var point; + if (index >= string.length) return createIterResultObject(undefined, true); + point = charAt(string, index); + state.index += point.length; + return createIterResultObject({ codePoint: codeAt(point, 0), position: index }, false); +}); + +// `String.prototype.codePoints` method +// https://github.com/tc39/proposal-string-prototype-codepoints +$({ target: 'String', proto: true, forced: true }, { + codePoints: function codePoints() { + return new $StringIterator(toString(requireObjectCoercible(this))); + } +}); diff --git a/node_modules/core-js/modules/esnext.string.cooked.js b/node_modules/core-js/modules/esnext.string.cooked.js new file mode 100644 index 00000000..68c7e0aa --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.cooked.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var cooked = require('../internals/string-cooked'); + +// `String.cooked` method +// https://github.com/tc39/proposal-string-cooked +$({ target: 'String', stat: true, forced: true }, { + cooked: cooked +}); diff --git a/node_modules/core-js/modules/esnext.string.dedent.js b/node_modules/core-js/modules/esnext.string.dedent.js new file mode 100644 index 00000000..cac11484 --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.dedent.js @@ -0,0 +1,152 @@ +'use strict'; +var FREEZING = require('../internals/freezing'); +var $ = require('../internals/export'); +var shared = require('../internals/shared'); +var getBuiltIn = require('../internals/get-built-in'); +var makeBuiltIn = require('../internals/make-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var apply = require('../internals/function-apply'); +var anObject = require('../internals/an-object'); +var toObject = require('../internals/to-object'); +var isCallable = require('../internals/is-callable'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var defineProperty = require('../internals/object-define-property').f; +var createArrayFromList = require('../internals/array-slice-simple'); +var cooked = require('../internals/string-cooked'); +var parse = require('../internals/string-parse'); +var whitespaces = require('../internals/whitespaces'); + +var WeakMap = getBuiltIn('WeakMap'); +var globalDedentRegistry = shared('GlobalDedentRegistry', new WeakMap()); + +/* eslint-disable no-self-assign -- prototype methods protection */ +globalDedentRegistry.has = globalDedentRegistry.has; +globalDedentRegistry.get = globalDedentRegistry.get; +globalDedentRegistry.set = globalDedentRegistry.set; +/* eslint-enable no-self-assign -- prototype methods protection */ + +var $Array = Array; +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-freeze -- safe +var freeze = Object.freeze || Object; +// eslint-disable-next-line es/no-object-isfrozen -- safe +var isFrozen = Object.isFrozen; +var min = Math.min; +var charAt = uncurryThis(''.charAt); +var stringSlice = uncurryThis(''.slice); +var split = uncurryThis(''.split); +var exec = uncurryThis(/./.exec); + +var NEW_LINE = /([\n\u2028\u2029]|\r\n?)/g; +var LEADING_WHITESPACE = RegExp('^[' + whitespaces + ']*'); +var NON_WHITESPACE = RegExp('[^' + whitespaces + ']'); +var INVALID_TAG = 'Invalid tag'; +var INVALID_OPENING_LINE = 'Invalid opening line'; +var INVALID_CLOSING_LINE = 'Invalid closing line'; + +var dedentTemplateStringsArray = function (template) { + var rawInput = template.raw; + // https://github.com/tc39/proposal-string-dedent/issues/75 + if (FREEZING && !isFrozen(rawInput)) throw $TypeError('Raw template should be frozen'); + if (globalDedentRegistry.has(rawInput)) return globalDedentRegistry.get(rawInput); + var raw = dedentStringsArray(rawInput); + var cookedArr = cookStrings(raw); + defineProperty(cookedArr, 'raw', { + value: freeze(raw) + }); + freeze(cookedArr); + globalDedentRegistry.set(rawInput, cookedArr); + return cookedArr; +}; + +var dedentStringsArray = function (template) { + var t = toObject(template); + var length = lengthOfArrayLike(t); + var blocks = $Array(length); + var dedented = $Array(length); + var i = 0; + var lines, common; + + if (!length) throw $TypeError(INVALID_TAG); + + for (; i < length; i++) { + var element = t[i]; + if (typeof element == 'string') blocks[i] = split(element, NEW_LINE); + else throw $TypeError(INVALID_TAG); + } + + for (i = 0; i < length; i++) { + var lastSplit = i + 1 === length; + lines = blocks[i]; + if (i === 0) { + if (lines.length === 1 || lines[0].length > 0) { + throw $TypeError(INVALID_OPENING_LINE); + } + lines[1] = ''; + } + if (lastSplit) { + if (lines.length === 1 || exec(NON_WHITESPACE, lines[lines.length - 1])) { + throw $TypeError(INVALID_CLOSING_LINE); + } + lines[lines.length - 2] = ''; + lines[lines.length - 1] = ''; + } + for (var j = 2; j < lines.length; j += 2) { + var text = lines[j]; + var lineContainsTemplateExpression = j + 1 === lines.length && !lastSplit; + var leading = exec(LEADING_WHITESPACE, text)[0]; + if (!lineContainsTemplateExpression && leading.length === text.length) { + lines[j] = ''; + continue; + } + common = commonLeadingIndentation(leading, common); + } + } + + var count = common ? common.length : 0; + + for (i = 0; i < length; i++) { + lines = blocks[i]; + for (var quasi = lines[0], k = 1; k < lines.length; k += 2) { + quasi += lines[k] + stringSlice(lines[k + 1], count); + } + dedented[i] = quasi; + } + + return dedented; +}; + +var commonLeadingIndentation = function (a, b) { + if (b === undefined || a === b) return a; + var i = 0; + for (var len = min(a.length, b.length); i < len; i++) { + if (charAt(a, i) !== charAt(b, i)) break; + } + return stringSlice(a, 0, i); +}; + +var cookStrings = function (raw) { + for (var i = 0, length = raw.length, result = $Array(length); i < length; i++) { + result[i] = parse(raw[i]); + } return result; +}; + +var makeDedentTag = function (tag) { + return makeBuiltIn(function (template /* , ...substitutions */) { + var args = createArrayFromList(arguments); + args[0] = dedentTemplateStringsArray(anObject(template)); + return apply(tag, this, args); + }, ''); +}; + +var cookedDedentTag = makeDedentTag(cooked); + +// `String.dedent` method +// https://github.com/tc39/proposal-string-dedent +$({ target: 'String', stat: true, forced: true }, { + dedent: function dedent(templateOrFn /* , ...substitutions */) { + anObject(templateOrFn); + if (isCallable(templateOrFn)) return makeDedentTag(templateOrFn); + return apply(cookedDedentTag, this, arguments); + } +}); diff --git a/node_modules/core-js/modules/esnext.string.is-well-formed.js b/node_modules/core-js/modules/esnext.string.is-well-formed.js new file mode 100644 index 00000000..f6205b49 --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.is-well-formed.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.string.is-well-formed'); diff --git a/node_modules/core-js/modules/esnext.string.match-all.js b/node_modules/core-js/modules/esnext.string.match-all.js new file mode 100644 index 00000000..420374c4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.match-all.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.string.match-all'); diff --git a/node_modules/core-js/modules/esnext.string.replace-all.js b/node_modules/core-js/modules/esnext.string.replace-all.js new file mode 100644 index 00000000..74d6117b --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.replace-all.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.string.replace-all'); diff --git a/node_modules/core-js/modules/esnext.string.to-well-formed.js b/node_modules/core-js/modules/esnext.string.to-well-formed.js new file mode 100644 index 00000000..4fcdcf21 --- /dev/null +++ b/node_modules/core-js/modules/esnext.string.to-well-formed.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.string.to-well-formed'); diff --git a/node_modules/core-js/modules/esnext.suppressed-error.constructor.js b/node_modules/core-js/modules/esnext.suppressed-error.constructor.js new file mode 100644 index 00000000..17016e13 --- /dev/null +++ b/node_modules/core-js/modules/esnext.suppressed-error.constructor.js @@ -0,0 +1,46 @@ +'use strict'; +var $ = require('../internals/export'); +var isPrototypeOf = require('../internals/object-is-prototype-of'); +var getPrototypeOf = require('../internals/object-get-prototype-of'); +var setPrototypeOf = require('../internals/object-set-prototype-of'); +var copyConstructorProperties = require('../internals/copy-constructor-properties'); +var create = require('../internals/object-create'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var installErrorStack = require('../internals/error-stack-install'); +var normalizeStringArgument = require('../internals/normalize-string-argument'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var $Error = Error; + +var $SuppressedError = function SuppressedError(error, suppressed, message) { + var isInstance = isPrototypeOf(SuppressedErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : SuppressedErrorPrototype); + } else { + that = isInstance ? this : create(SuppressedErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, 'Error'); + } + if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message)); + installErrorStack(that, $SuppressedError, that.stack, 1); + createNonEnumerableProperty(that, 'error', error); + createNonEnumerableProperty(that, 'suppressed', suppressed); + return that; +}; + +if (setPrototypeOf) setPrototypeOf($SuppressedError, $Error); +else copyConstructorProperties($SuppressedError, $Error, { name: true }); + +var SuppressedErrorPrototype = $SuppressedError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $SuppressedError), + message: createPropertyDescriptor(1, ''), + name: createPropertyDescriptor(1, 'SuppressedError') +}); + +// `SuppressedError` constructor +// https://github.com/tc39/proposal-explicit-resource-management +$({ global: true, constructor: true, arity: 3 }, { + SuppressedError: $SuppressedError +}); diff --git a/node_modules/core-js/modules/esnext.symbol.async-dispose.js b/node_modules/core-js/modules/esnext.symbol.async-dispose.js new file mode 100644 index 00000000..c5889b15 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.async-dispose.js @@ -0,0 +1,21 @@ +'use strict'; +var global = require('../internals/global'); +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); +var defineProperty = require('../internals/object-define-property').f; +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; + +var Symbol = global.Symbol; + +// `Symbol.asyncDispose` well-known symbol +// https://github.com/tc39/proposal-async-explicit-resource-management +defineWellKnownSymbol('asyncDispose'); + +if (Symbol) { + var descriptor = getOwnPropertyDescriptor(Symbol, 'asyncDispose'); + // workaround of NodeJS 20.4 bug + // https://github.com/nodejs/node/issues/48699 + // and incorrect descriptor from some transpilers and userland helpers + if (descriptor.enumerable && descriptor.configurable && descriptor.writable) { + defineProperty(Symbol, 'asyncDispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false }); + } +} diff --git a/node_modules/core-js/modules/esnext.symbol.dispose.js b/node_modules/core-js/modules/esnext.symbol.dispose.js new file mode 100644 index 00000000..d4b913d8 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.dispose.js @@ -0,0 +1,21 @@ +'use strict'; +var global = require('../internals/global'); +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); +var defineProperty = require('../internals/object-define-property').f; +var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; + +var Symbol = global.Symbol; + +// `Symbol.dispose` well-known symbol +// https://github.com/tc39/proposal-explicit-resource-management +defineWellKnownSymbol('dispose'); + +if (Symbol) { + var descriptor = getOwnPropertyDescriptor(Symbol, 'dispose'); + // workaround of NodeJS 20.4 bug + // https://github.com/nodejs/node/issues/48699 + // and incorrect descriptor from some transpilers and userland helpers + if (descriptor.enumerable && descriptor.configurable && descriptor.writable) { + defineProperty(Symbol, 'dispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false }); + } +} diff --git a/node_modules/core-js/modules/esnext.symbol.is-registered-symbol.js b/node_modules/core-js/modules/esnext.symbol.is-registered-symbol.js new file mode 100644 index 00000000..5cd5c203 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.is-registered-symbol.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var isRegisteredSymbol = require('../internals/symbol-is-registered'); + +// `Symbol.isRegisteredSymbol` method +// https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol +$({ target: 'Symbol', stat: true }, { + isRegisteredSymbol: isRegisteredSymbol +}); diff --git a/node_modules/core-js/modules/esnext.symbol.is-registered.js b/node_modules/core-js/modules/esnext.symbol.is-registered.js new file mode 100644 index 00000000..777c9729 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.is-registered.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var isRegisteredSymbol = require('../internals/symbol-is-registered'); + +// `Symbol.isRegistered` method +// obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol +$({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, { + isRegistered: isRegisteredSymbol +}); diff --git a/node_modules/core-js/modules/esnext.symbol.is-well-known-symbol.js b/node_modules/core-js/modules/esnext.symbol.is-well-known-symbol.js new file mode 100644 index 00000000..8663e05a --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.is-well-known-symbol.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var isWellKnownSymbol = require('../internals/symbol-is-well-known'); + +// `Symbol.isWellKnownSymbol` method +// https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol +// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected +$({ target: 'Symbol', stat: true, forced: true }, { + isWellKnownSymbol: isWellKnownSymbol +}); diff --git a/node_modules/core-js/modules/esnext.symbol.is-well-known.js b/node_modules/core-js/modules/esnext.symbol.is-well-known.js new file mode 100644 index 00000000..6c0e0005 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.is-well-known.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var isWellKnownSymbol = require('../internals/symbol-is-well-known'); + +// `Symbol.isWellKnown` method +// obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol +// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected +$({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, { + isWellKnown: isWellKnownSymbol +}); diff --git a/node_modules/core-js/modules/esnext.symbol.matcher.js b/node_modules/core-js/modules/esnext.symbol.matcher.js new file mode 100644 index 00000000..ec224aed --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.matcher.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.matcher` well-known symbol +// https://github.com/tc39/proposal-pattern-matching +defineWellKnownSymbol('matcher'); diff --git a/node_modules/core-js/modules/esnext.symbol.metadata-key.js b/node_modules/core-js/modules/esnext.symbol.metadata-key.js new file mode 100644 index 00000000..6484ace0 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.metadata-key.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.metadataKey` well-known symbol +// https://github.com/tc39/proposal-decorator-metadata +defineWellKnownSymbol('metadataKey'); diff --git a/node_modules/core-js/modules/esnext.symbol.metadata.js b/node_modules/core-js/modules/esnext.symbol.metadata.js new file mode 100644 index 00000000..8a625df0 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.metadata.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.metadata` well-known symbol +// https://github.com/tc39/proposal-decorators +defineWellKnownSymbol('metadata'); diff --git a/node_modules/core-js/modules/esnext.symbol.observable.js b/node_modules/core-js/modules/esnext.symbol.observable.js new file mode 100644 index 00000000..100044da --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.observable.js @@ -0,0 +1,6 @@ +'use strict'; +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.observable` well-known symbol +// https://github.com/tc39/proposal-observable +defineWellKnownSymbol('observable'); diff --git a/node_modules/core-js/modules/esnext.symbol.pattern-match.js b/node_modules/core-js/modules/esnext.symbol.pattern-match.js new file mode 100644 index 00000000..bd587232 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.pattern-match.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +// `Symbol.patternMatch` well-known symbol +// https://github.com/tc39/proposal-pattern-matching +defineWellKnownSymbol('patternMatch'); diff --git a/node_modules/core-js/modules/esnext.symbol.replace-all.js b/node_modules/core-js/modules/esnext.symbol.replace-all.js new file mode 100644 index 00000000..1bd2e1b1 --- /dev/null +++ b/node_modules/core-js/modules/esnext.symbol.replace-all.js @@ -0,0 +1,5 @@ +'use strict'; +// TODO: remove from `core-js@4` +var defineWellKnownSymbol = require('../internals/well-known-symbol-define'); + +defineWellKnownSymbol('replaceAll'); diff --git a/node_modules/core-js/modules/esnext.typed-array.at.js b/node_modules/core-js/modules/esnext.typed-array.at.js new file mode 100644 index 00000000..e9d808c4 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.at.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.typed-array.at'); diff --git a/node_modules/core-js/modules/esnext.typed-array.filter-out.js b/node_modules/core-js/modules/esnext.typed-array.filter-out.js new file mode 100644 index 00000000..deb92308 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.filter-out.js @@ -0,0 +1,15 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $filterReject = require('../internals/array-iteration').filterReject; +var fromSpeciesAndList = require('../internals/typed-array-from-species-and-list'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.filterOut` method +// https://github.com/tc39/proposal-array-filtering +exportTypedArrayMethod('filterOut', function filterOut(callbackfn /* , thisArg */) { + var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return fromSpeciesAndList(this, list); +}, true); diff --git a/node_modules/core-js/modules/esnext.typed-array.filter-reject.js b/node_modules/core-js/modules/esnext.typed-array.filter-reject.js new file mode 100644 index 00000000..ed3375f6 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.filter-reject.js @@ -0,0 +1,14 @@ +'use strict'; +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $filterReject = require('../internals/array-iteration').filterReject; +var fromSpeciesAndList = require('../internals/typed-array-from-species-and-list'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.filterReject` method +// https://github.com/tc39/proposal-array-filtering +exportTypedArrayMethod('filterReject', function filterReject(callbackfn /* , thisArg */) { + var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return fromSpeciesAndList(this, list); +}, true); diff --git a/node_modules/core-js/modules/esnext.typed-array.find-last-index.js b/node_modules/core-js/modules/esnext.typed-array.find-last-index.js new file mode 100644 index 00000000..9b35fb38 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.find-last-index.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.typed-array.find-last-index'); diff --git a/node_modules/core-js/modules/esnext.typed-array.find-last.js b/node_modules/core-js/modules/esnext.typed-array.find-last.js new file mode 100644 index 00000000..ed44d530 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.find-last.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.typed-array.find-last'); diff --git a/node_modules/core-js/modules/esnext.typed-array.from-async.js b/node_modules/core-js/modules/esnext.typed-array.from-async.js new file mode 100644 index 00000000..64c57d79 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.from-async.js @@ -0,0 +1,25 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var getBuiltIn = require('../internals/get-built-in'); +var aConstructor = require('../internals/a-constructor'); +var arrayFromAsync = require('../internals/array-from-async'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list'); + +var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; +var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; + +// `%TypedArray%.fromAsync` method +// https://github.com/tc39/proposal-array-from-async +exportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { + var C = this; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var thisArg = argumentsLength > 2 ? arguments[2] : undefined; + return new (getBuiltIn('Promise'))(function (resolve) { + aConstructor(C); + resolve(arrayFromAsync(asyncItems, mapfn, thisArg)); + }).then(function (list) { + return arrayFromConstructorAndList(aTypedArrayConstructor(C), list); + }); +}, true); diff --git a/node_modules/core-js/modules/esnext.typed-array.group-by.js b/node_modules/core-js/modules/esnext.typed-array.group-by.js new file mode 100644 index 00000000..c180bc20 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.group-by.js @@ -0,0 +1,15 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var $group = require('../internals/array-group'); +var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + +// `%TypedArray%.prototype.groupBy` method +// https://github.com/tc39/proposal-array-grouping +exportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(aTypedArray(this), callbackfn, thisArg, typedArraySpeciesConstructor); +}, true); diff --git a/node_modules/core-js/modules/esnext.typed-array.to-reversed.js b/node_modules/core-js/modules/esnext.typed-array.to-reversed.js new file mode 100644 index 00000000..ba5bcd55 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.to-reversed.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.typed-array.to-reversed'); diff --git a/node_modules/core-js/modules/esnext.typed-array.to-sorted.js b/node_modules/core-js/modules/esnext.typed-array.to-sorted.js new file mode 100644 index 00000000..c38f3b8d --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.to-sorted.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.typed-array.to-sorted'); diff --git a/node_modules/core-js/modules/esnext.typed-array.to-spliced.js b/node_modules/core-js/modules/esnext.typed-array.to-spliced.js new file mode 100644 index 00000000..9ed5450d --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.to-spliced.js @@ -0,0 +1,68 @@ +'use strict'; +// TODO: Remove from `core-js@4` +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var isBigIntArray = require('../internals/is-big-int-array'); +var toAbsoluteIndex = require('../internals/to-absolute-index'); +var toBigInt = require('../internals/to-big-int'); +var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); +var fails = require('../internals/fails'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var max = Math.max; +var min = Math.min; + +// some early implementations, like WebKit, does not follow the final semantic +var PROPER_ORDER = !fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + var array = new Int8Array([1]); + + var spliced = array.toSpliced(1, 0, { + valueOf: function () { + array[0] = 2; + return 3; + } + }); + + return spliced[0] !== 2 || spliced[1] !== 3; +}); + +// `%TypedArray%.prototype.toSpliced` method +// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSpliced +exportTypedArrayMethod('toSpliced', function toSpliced(start, deleteCount /* , ...items */) { + var O = aTypedArray(this); + var C = getTypedArrayConstructor(O); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, thisIsBigIntArray, convertedItems, value, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + insertCount = argumentsLength - 2; + if (insertCount) { + convertedItems = new C(insertCount); + thisIsBigIntArray = isBigIntArray(convertedItems); + for (var i = 2; i < argumentsLength; i++) { + value = arguments[i]; + // FF30- typed arrays doesn't properly convert objects to typed array values + convertedItems[i - 2] = thisIsBigIntArray ? toBigInt(value) : +value; + } + } + } + newLen = len + insertCount - actualDeleteCount; + A = new C(newLen); + + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = convertedItems[k - actualStart]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; +}, !PROPER_ORDER); diff --git a/node_modules/core-js/modules/esnext.typed-array.unique-by.js b/node_modules/core-js/modules/esnext.typed-array.unique-by.js new file mode 100644 index 00000000..4a99e6d8 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.unique-by.js @@ -0,0 +1,17 @@ +'use strict'; +var uncurryThis = require('../internals/function-uncurry-this'); +var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); +var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list'); +var $arrayUniqueBy = require('../internals/array-unique-by'); + +var aTypedArray = ArrayBufferViewCore.aTypedArray; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; +var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var arrayUniqueBy = uncurryThis($arrayUniqueBy); + +// `%TypedArray%.prototype.uniqueBy` method +// https://github.com/tc39/proposal-array-unique +exportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) { + aTypedArray(this); + return arrayFromConstructorAndList(getTypedArrayConstructor(this), arrayUniqueBy(this, resolver)); +}, true); diff --git a/node_modules/core-js/modules/esnext.typed-array.with.js b/node_modules/core-js/modules/esnext.typed-array.with.js new file mode 100644 index 00000000..14bc75c8 --- /dev/null +++ b/node_modules/core-js/modules/esnext.typed-array.with.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove from `core-js@4` +require('../modules/es.typed-array.with'); diff --git a/node_modules/core-js/modules/esnext.weak-map.delete-all.js b/node_modules/core-js/modules/esnext.weak-map.delete-all.js new file mode 100644 index 00000000..7d83a4ac --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-map.delete-all.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var aWeakMap = require('../internals/a-weak-map'); +var remove = require('../internals/weak-map-helpers').remove; + +// `WeakMap.prototype.deleteAll` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'WeakMap', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aWeakMap(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } +}); diff --git a/node_modules/core-js/modules/esnext.weak-map.emplace.js b/node_modules/core-js/modules/esnext.weak-map.emplace.js new file mode 100644 index 00000000..9050c153 --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-map.emplace.js @@ -0,0 +1,27 @@ +'use strict'; +var $ = require('../internals/export'); +var aWeakMap = require('../internals/a-weak-map'); +var WeakMapHelpers = require('../internals/weak-map-helpers'); + +var get = WeakMapHelpers.get; +var has = WeakMapHelpers.has; +var set = WeakMapHelpers.set; + +// `WeakMap.prototype.emplace` method +// https://github.com/tc39/proposal-upsert +$({ target: 'WeakMap', proto: true, real: true, forced: true }, { + emplace: function emplace(key, handler) { + var map = aWeakMap(this); + var value, inserted; + if (has(map, key)) { + value = get(map, key); + if ('update' in handler) { + value = handler.update(value, key, map); + set(map, key, value); + } return value; + } + inserted = handler.insert(key, map); + set(map, key, inserted); + return inserted; + } +}); diff --git a/node_modules/core-js/modules/esnext.weak-map.from.js b/node_modules/core-js/modules/esnext.weak-map.from.js new file mode 100644 index 00000000..2bf410ad --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-map.from.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var from = require('../internals/collection-from'); + +// `WeakMap.from` method +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from +$({ target: 'WeakMap', stat: true, forced: true }, { + from: from +}); diff --git a/node_modules/core-js/modules/esnext.weak-map.of.js b/node_modules/core-js/modules/esnext.weak-map.of.js new file mode 100644 index 00000000..8ed0be03 --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-map.of.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var of = require('../internals/collection-of'); + +// `WeakMap.of` method +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of +$({ target: 'WeakMap', stat: true, forced: true }, { + of: of +}); diff --git a/node_modules/core-js/modules/esnext.weak-map.upsert.js b/node_modules/core-js/modules/esnext.weak-map.upsert.js new file mode 100644 index 00000000..ddef2d81 --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-map.upsert.js @@ -0,0 +1,10 @@ +'use strict'; +// TODO: remove from `core-js@4` +var $ = require('../internals/export'); +var upsert = require('../internals/map-upsert'); + +// `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`) +// https://github.com/tc39/proposal-upsert +$({ target: 'WeakMap', proto: true, real: true, forced: true }, { + upsert: upsert +}); diff --git a/node_modules/core-js/modules/esnext.weak-set.add-all.js b/node_modules/core-js/modules/esnext.weak-set.add-all.js new file mode 100644 index 00000000..3880c709 --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-set.add-all.js @@ -0,0 +1,15 @@ +'use strict'; +var $ = require('../internals/export'); +var aWeakSet = require('../internals/a-weak-set'); +var add = require('../internals/weak-set-helpers').add; + +// `WeakSet.prototype.addAll` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'WeakSet', proto: true, real: true, forced: true }, { + addAll: function addAll(/* ...elements */) { + var set = aWeakSet(this); + for (var k = 0, len = arguments.length; k < len; k++) { + add(set, arguments[k]); + } return set; + } +}); diff --git a/node_modules/core-js/modules/esnext.weak-set.delete-all.js b/node_modules/core-js/modules/esnext.weak-set.delete-all.js new file mode 100644 index 00000000..a3913ac6 --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-set.delete-all.js @@ -0,0 +1,18 @@ +'use strict'; +var $ = require('../internals/export'); +var aWeakSet = require('../internals/a-weak-set'); +var remove = require('../internals/weak-set-helpers').remove; + +// `WeakSet.prototype.deleteAll` method +// https://github.com/tc39/proposal-collection-methods +$({ target: 'WeakSet', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aWeakSet(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } +}); diff --git a/node_modules/core-js/modules/esnext.weak-set.from.js b/node_modules/core-js/modules/esnext.weak-set.from.js new file mode 100644 index 00000000..a49f2c9c --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-set.from.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var from = require('../internals/collection-from'); + +// `WeakSet.from` method +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from +$({ target: 'WeakSet', stat: true, forced: true }, { + from: from +}); diff --git a/node_modules/core-js/modules/esnext.weak-set.of.js b/node_modules/core-js/modules/esnext.weak-set.of.js new file mode 100644 index 00000000..451c51e3 --- /dev/null +++ b/node_modules/core-js/modules/esnext.weak-set.of.js @@ -0,0 +1,9 @@ +'use strict'; +var $ = require('../internals/export'); +var of = require('../internals/collection-of'); + +// `WeakSet.of` method +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of +$({ target: 'WeakSet', stat: true, forced: true }, { + of: of +}); diff --git a/node_modules/core-js/modules/web.atob.js b/node_modules/core-js/modules/web.atob.js new file mode 100644 index 00000000..8be71fb8 --- /dev/null +++ b/node_modules/core-js/modules/web.atob.js @@ -0,0 +1,62 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var call = require('../internals/function-call'); +var fails = require('../internals/fails'); +var toString = require('../internals/to-string'); +var hasOwn = require('../internals/has-own-property'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); +var ctoi = require('../internals/base64-map').ctoi; + +var disallowed = /[^\d+/a-z]/i; +var whitespaces = /[\t\n\f\r ]+/g; +var finalEq = /[=]{1,2}$/; + +var $atob = getBuiltIn('atob'); +var fromCharCode = String.fromCharCode; +var charAt = uncurryThis(''.charAt); +var replace = uncurryThis(''.replace); +var exec = uncurryThis(disallowed.exec); + +var NO_SPACES_IGNORE = fails(function () { + return $atob(' ') !== ''; +}); + +var NO_ENCODING_CHECK = !fails(function () { + $atob('a'); +}); + +var NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && !fails(function () { + $atob(); +}); + +var WRONG_ARITY = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && $atob.length !== 1; + +// `atob` method +// https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob +$({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY }, { + atob: function atob(data) { + validateArgumentsLength(arguments.length, 1); + // `webpack` dev server bug on IE global methods - use call(fn, global, ...) + if (NO_ARG_RECEIVING_CHECK || WRONG_ARITY) return call($atob, global, data); + var string = replace(toString(data), whitespaces, ''); + var output = ''; + var position = 0; + var bc = 0; + var chr, bs; + if (string.length % 4 == 0) { + string = replace(string, finalEq, ''); + } + if (string.length % 4 == 1 || exec(disallowed, string)) { + throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError'); + } + while (chr = charAt(string, position++)) { + if (hasOwn(ctoi, chr)) { + bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr]; + if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6)); + } + } return output; + } +}); diff --git a/node_modules/core-js/modules/web.btoa.js b/node_modules/core-js/modules/web.btoa.js new file mode 100644 index 00000000..c847480d --- /dev/null +++ b/node_modules/core-js/modules/web.btoa.js @@ -0,0 +1,47 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var getBuiltIn = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var call = require('../internals/function-call'); +var fails = require('../internals/fails'); +var toString = require('../internals/to-string'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); +var itoc = require('../internals/base64-map').itoc; + +var $btoa = getBuiltIn('btoa'); +var charAt = uncurryThis(''.charAt); +var charCodeAt = uncurryThis(''.charCodeAt); + +var NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () { + $btoa(); +}); + +var WRONG_ARG_CONVERSION = !!$btoa && fails(function () { + return $btoa(null) !== 'bnVsbA=='; +}); + +var WRONG_ARITY = !!$btoa && $btoa.length !== 1; + +// `btoa` method +// https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa +$({ global: true, bind: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY }, { + btoa: function btoa(data) { + validateArgumentsLength(arguments.length, 1); + // `webpack` dev server bug on IE global methods - use call(fn, global, ...) + if (NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY) return call($btoa, global, toString(data)); + var string = toString(data); + var output = ''; + var position = 0; + var map = itoc; + var block, charCode; + while (charAt(string, position) || (map = '=', position % 1)) { + charCode = charCodeAt(string, position += 3 / 4); + if (charCode > 0xFF) { + throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError'); + } + block = block << 8 | charCode; + output += charAt(map, 63 & block >> 8 - position % 1 * 8); + } return output; + } +}); diff --git a/node_modules/core-js/modules/web.clear-immediate.js b/node_modules/core-js/modules/web.clear-immediate.js new file mode 100644 index 00000000..52da4248 --- /dev/null +++ b/node_modules/core-js/modules/web.clear-immediate.js @@ -0,0 +1,10 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var clearImmediate = require('../internals/task').clear; + +// `clearImmediate` method +// http://w3c.github.io/setImmediate/#si-clearImmediate +$({ global: true, bind: true, enumerable: true, forced: global.clearImmediate !== clearImmediate }, { + clearImmediate: clearImmediate +}); diff --git a/node_modules/core-js/modules/web.dom-collections.for-each.js b/node_modules/core-js/modules/web.dom-collections.for-each.js new file mode 100644 index 00000000..d6c64503 --- /dev/null +++ b/node_modules/core-js/modules/web.dom-collections.for-each.js @@ -0,0 +1,23 @@ +'use strict'; +var global = require('../internals/global'); +var DOMIterables = require('../internals/dom-iterables'); +var DOMTokenListPrototype = require('../internals/dom-token-list-prototype'); +var forEach = require('../internals/array-for-each'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); + +var handlePrototype = function (CollectionPrototype) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { + createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); + } catch (error) { + CollectionPrototype.forEach = forEach; + } +}; + +for (var COLLECTION_NAME in DOMIterables) { + if (DOMIterables[COLLECTION_NAME]) { + handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype); + } +} + +handlePrototype(DOMTokenListPrototype); diff --git a/node_modules/core-js/modules/web.dom-collections.iterator.js b/node_modules/core-js/modules/web.dom-collections.iterator.js new file mode 100644 index 00000000..24407db6 --- /dev/null +++ b/node_modules/core-js/modules/web.dom-collections.iterator.js @@ -0,0 +1,39 @@ +'use strict'; +var global = require('../internals/global'); +var DOMIterables = require('../internals/dom-iterables'); +var DOMTokenListPrototype = require('../internals/dom-token-list-prototype'); +var ArrayIteratorMethods = require('../modules/es.array.iterator'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var wellKnownSymbol = require('../internals/well-known-symbol'); + +var ITERATOR = wellKnownSymbol('iterator'); +var TO_STRING_TAG = wellKnownSymbol('toStringTag'); +var ArrayValues = ArrayIteratorMethods.values; + +var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { + if (CollectionPrototype) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype[ITERATOR] !== ArrayValues) try { + createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); + } catch (error) { + CollectionPrototype[ITERATOR] = ArrayValues; + } + if (!CollectionPrototype[TO_STRING_TAG]) { + createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); + } + if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { + createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); + } catch (error) { + CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; + } + } + } +}; + +for (var COLLECTION_NAME in DOMIterables) { + handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME); +} + +handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); diff --git a/node_modules/core-js/modules/web.dom-exception.constructor.js b/node_modules/core-js/modules/web.dom-exception.constructor.js new file mode 100644 index 00000000..e2c638d9 --- /dev/null +++ b/node_modules/core-js/modules/web.dom-exception.constructor.js @@ -0,0 +1,145 @@ +'use strict'; +var $ = require('../internals/export'); +var tryNodeRequire = require('../internals/try-node-require'); +var getBuiltIn = require('../internals/get-built-in'); +var fails = require('../internals/fails'); +var create = require('../internals/object-create'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var defineProperty = require('../internals/object-define-property').f; +var defineBuiltIn = require('../internals/define-built-in'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var hasOwn = require('../internals/has-own-property'); +var anInstance = require('../internals/an-instance'); +var anObject = require('../internals/an-object'); +var errorToString = require('../internals/error-to-string'); +var normalizeStringArgument = require('../internals/normalize-string-argument'); +var DOMExceptionConstants = require('../internals/dom-exception-constants'); +var clearErrorStack = require('../internals/error-stack-clear'); +var InternalStateModule = require('../internals/internal-state'); +var DESCRIPTORS = require('../internals/descriptors'); +var IS_PURE = require('../internals/is-pure'); + +var DOM_EXCEPTION = 'DOMException'; +var DATA_CLONE_ERR = 'DATA_CLONE_ERR'; +var Error = getBuiltIn('Error'); +// NodeJS < 17.0 does not expose `DOMException` to global +var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () { + try { + // NodeJS < 15.0 does not expose `MessageChannel` to global + var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel; + // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe + new MessageChannel().port1.postMessage(new WeakMap()); + } catch (error) { + if (error.name == DATA_CLONE_ERR && error.code == 25) return error.constructor; + } +})(); +var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype; +var ErrorPrototype = Error.prototype; +var setInternalState = InternalStateModule.set; +var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION); +var HAS_STACK = 'stack' in Error(DOM_EXCEPTION); + +var codeFor = function (name) { + return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0; +}; + +var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); + var code = codeFor(name); + setInternalState(this, { + type: DOM_EXCEPTION, + name: name, + message: message, + code: code + }); + if (!DESCRIPTORS) { + this.name = name; + this.message = message; + this.code = code; + } + if (HAS_STACK) { + var error = Error(message); + error.name = DOM_EXCEPTION; + defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + } +}; + +var DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype); + +var createGetterDescriptor = function (get) { + return { enumerable: true, configurable: true, get: get }; +}; + +var getterFor = function (key) { + return createGetterDescriptor(function () { + return getInternalState(this)[key]; + }); +}; + +if (DESCRIPTORS) { + // `DOMException.prototype.code` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'code', getterFor('code')); + // `DOMException.prototype.message` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'message', getterFor('message')); + // `DOMException.prototype.name` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'name', getterFor('name')); +} + +defineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException)); + +// FF36- DOMException is a function, but can't be constructed +var INCORRECT_CONSTRUCTOR = fails(function () { + return !(new NativeDOMException() instanceof Error); +}); + +// Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs +var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () { + return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1'; +}); + +// Deno 1.6.3- DOMException.prototype.code just missed +var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () { + return new NativeDOMException(1, 'DataCloneError').code !== 25; +}); + +// Deno 1.6.3- DOMException constants just missed +var MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR + || NativeDOMException[DATA_CLONE_ERR] !== 25 + || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25; + +var FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR; + +// `DOMException` constructor +// https://webidl.spec.whatwg.org/#idl-DOMException +$({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, { + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException +}); + +var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); +var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + +if (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) { + defineBuiltIn(PolyfilledDOMExceptionPrototype, 'toString', errorToString); +} + +if (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) { + defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () { + return codeFor(anObject(this).name); + })); +} + +// `DOMException` constants +for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { + var constant = DOMExceptionConstants[key]; + var constantName = constant.s; + var descriptor = createPropertyDescriptor(6, constant.c); + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, descriptor); + } + if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) { + defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor); + } +} diff --git a/node_modules/core-js/modules/web.dom-exception.stack.js b/node_modules/core-js/modules/web.dom-exception.stack.js new file mode 100644 index 00000000..7e67e6fd --- /dev/null +++ b/node_modules/core-js/modules/web.dom-exception.stack.js @@ -0,0 +1,68 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var getBuiltIn = require('../internals/get-built-in'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var defineProperty = require('../internals/object-define-property').f; +var hasOwn = require('../internals/has-own-property'); +var anInstance = require('../internals/an-instance'); +var inheritIfRequired = require('../internals/inherit-if-required'); +var normalizeStringArgument = require('../internals/normalize-string-argument'); +var DOMExceptionConstants = require('../internals/dom-exception-constants'); +var clearErrorStack = require('../internals/error-stack-clear'); +var DESCRIPTORS = require('../internals/descriptors'); +var IS_PURE = require('../internals/is-pure'); + +var DOM_EXCEPTION = 'DOMException'; +var Error = getBuiltIn('Error'); +var NativeDOMException = getBuiltIn(DOM_EXCEPTION); + +var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); + var that = new NativeDOMException(message, name); + var error = Error(message); + error.name = DOM_EXCEPTION; + defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + inheritIfRequired(that, this, $DOMException); + return that; +}; + +var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; + +var ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION); +var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); + +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION); + +// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it +// https://github.com/Jarred-Sumner/bun/issues/399 +var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); + +var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; + +// `DOMException` constructor patch for `.stack` where it's required +// https://webidl.spec.whatwg.org/#es-DOMException-specialness +$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException +}); + +var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); +var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + +if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { + if (!IS_PURE) { + defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); + } + + for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { + var constant = DOMExceptionConstants[key]; + var constantName = constant.s; + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); + } + } +} diff --git a/node_modules/core-js/modules/web.dom-exception.to-string-tag.js b/node_modules/core-js/modules/web.dom-exception.to-string-tag.js new file mode 100644 index 00000000..f53c6d50 --- /dev/null +++ b/node_modules/core-js/modules/web.dom-exception.to-string-tag.js @@ -0,0 +1,8 @@ +'use strict'; +var getBuiltIn = require('../internals/get-built-in'); +var setToStringTag = require('../internals/set-to-string-tag'); + +var DOM_EXCEPTION = 'DOMException'; + +// `DOMException.prototype[@@toStringTag]` property +setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); diff --git a/node_modules/core-js/modules/web.immediate.js b/node_modules/core-js/modules/web.immediate.js new file mode 100644 index 00000000..170a00e6 --- /dev/null +++ b/node_modules/core-js/modules/web.immediate.js @@ -0,0 +1,4 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +require('../modules/web.clear-immediate'); +require('../modules/web.set-immediate'); diff --git a/node_modules/core-js/modules/web.queue-microtask.js b/node_modules/core-js/modules/web.queue-microtask.js new file mode 100644 index 00000000..ba09edfb --- /dev/null +++ b/node_modules/core-js/modules/web.queue-microtask.js @@ -0,0 +1,20 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var microtask = require('../internals/microtask'); +var aCallable = require('../internals/a-callable'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); +var IS_NODE = require('../internals/engine-is-node'); + +var process = global.process; + +// `queueMicrotask` method +// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask +$({ global: true, enumerable: true, dontCallGetSet: true }, { + queueMicrotask: function queueMicrotask(fn) { + validateArgumentsLength(arguments.length, 1); + aCallable(fn); + var domain = IS_NODE && process.domain; + microtask(domain ? domain.bind(fn) : fn); + } +}); diff --git a/node_modules/core-js/modules/web.self.js b/node_modules/core-js/modules/web.self.js new file mode 100644 index 00000000..a89518e9 --- /dev/null +++ b/node_modules/core-js/modules/web.self.js @@ -0,0 +1,41 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var DESCRIPTORS = require('../internals/descriptors'); + +var $TypeError = TypeError; +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty = Object.defineProperty; +var INCORRECT_VALUE = global.self !== global; + +// `self` getter +// https://html.spec.whatwg.org/multipage/window-object.html#dom-self +try { + if (DESCRIPTORS) { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var descriptor = Object.getOwnPropertyDescriptor(global, 'self'); + // some engines have `self`, but with incorrect descriptor + // https://github.com/denoland/deno/issues/15765 + if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) { + defineBuiltInAccessor(global, 'self', { + get: function self() { + return global; + }, + set: function self(value) { + if (this !== global) throw $TypeError('Illegal invocation'); + defineProperty(global, 'self', { + value: value, + writable: true, + configurable: true, + enumerable: true + }); + }, + configurable: true, + enumerable: true + }); + } + } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, { + self: global + }); +} catch (error) { /* empty */ } diff --git a/node_modules/core-js/modules/web.set-immediate.js b/node_modules/core-js/modules/web.set-immediate.js new file mode 100644 index 00000000..6cb313a5 --- /dev/null +++ b/node_modules/core-js/modules/web.set-immediate.js @@ -0,0 +1,14 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var setTask = require('../internals/task').set; +var schedulersFix = require('../internals/schedulers-fix'); + +// https://github.com/oven-sh/bun/issues/1633 +var setImmediate = global.setImmediate ? schedulersFix(setTask, false) : setTask; + +// `setImmediate` method +// http://w3c.github.io/setImmediate/#si-setImmediate +$({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== setImmediate }, { + setImmediate: setImmediate +}); diff --git a/node_modules/core-js/modules/web.set-interval.js b/node_modules/core-js/modules/web.set-interval.js new file mode 100644 index 00000000..caa2737b --- /dev/null +++ b/node_modules/core-js/modules/web.set-interval.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var schedulersFix = require('../internals/schedulers-fix'); + +var setInterval = schedulersFix(global.setInterval, true); + +// Bun / IE9- setInterval additional parameters fix +// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval +$({ global: true, bind: true, forced: global.setInterval !== setInterval }, { + setInterval: setInterval +}); diff --git a/node_modules/core-js/modules/web.set-timeout.js b/node_modules/core-js/modules/web.set-timeout.js new file mode 100644 index 00000000..ebc329bc --- /dev/null +++ b/node_modules/core-js/modules/web.set-timeout.js @@ -0,0 +1,12 @@ +'use strict'; +var $ = require('../internals/export'); +var global = require('../internals/global'); +var schedulersFix = require('../internals/schedulers-fix'); + +var setTimeout = schedulersFix(global.setTimeout, true); + +// Bun / IE9- setTimeout additional parameters fix +// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout +$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, { + setTimeout: setTimeout +}); diff --git a/node_modules/core-js/modules/web.structured-clone.js b/node_modules/core-js/modules/web.structured-clone.js new file mode 100644 index 00000000..3483cb45 --- /dev/null +++ b/node_modules/core-js/modules/web.structured-clone.js @@ -0,0 +1,637 @@ +'use strict'; +var IS_PURE = require('../internals/is-pure'); +var $ = require('../internals/export'); +var global = require('../internals/global'); +var getBuiltin = require('../internals/get-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var fails = require('../internals/fails'); +var uid = require('../internals/uid'); +var isCallable = require('../internals/is-callable'); +var isConstructor = require('../internals/is-constructor'); +var isNullOrUndefined = require('../internals/is-null-or-undefined'); +var isObject = require('../internals/is-object'); +var isSymbol = require('../internals/is-symbol'); +var iterate = require('../internals/iterate'); +var anObject = require('../internals/an-object'); +var classof = require('../internals/classof'); +var hasOwn = require('../internals/has-own-property'); +var createProperty = require('../internals/create-property'); +var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); +var lengthOfArrayLike = require('../internals/length-of-array-like'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); +var getRegExpFlags = require('../internals/regexp-get-flags'); +var MapHelpers = require('../internals/map-helpers'); +var SetHelpers = require('../internals/set-helpers'); +var ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable'); +var PROPER_TRANSFER = require('../internals/structured-clone-proper-transfer'); + +var Object = global.Object; +var Array = global.Array; +var Date = global.Date; +var Error = global.Error; +var EvalError = global.EvalError; +var RangeError = global.RangeError; +var ReferenceError = global.ReferenceError; +var SyntaxError = global.SyntaxError; +var TypeError = global.TypeError; +var URIError = global.URIError; +var PerformanceMark = global.PerformanceMark; +var WebAssembly = global.WebAssembly; +var CompileError = WebAssembly && WebAssembly.CompileError || Error; +var LinkError = WebAssembly && WebAssembly.LinkError || Error; +var RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error; +var DOMException = getBuiltin('DOMException'); +var Map = MapHelpers.Map; +var mapHas = MapHelpers.has; +var mapGet = MapHelpers.get; +var mapSet = MapHelpers.set; +var Set = SetHelpers.Set; +var setAdd = SetHelpers.add; +var objectKeys = getBuiltin('Object', 'keys'); +var push = uncurryThis([].push); +var thisBooleanValue = uncurryThis(true.valueOf); +var thisNumberValue = uncurryThis(1.0.valueOf); +var thisStringValue = uncurryThis(''.valueOf); +var thisTimeValue = uncurryThis(Date.prototype.getTime); +var PERFORMANCE_MARK = uid('structuredClone'); +var DATA_CLONE_ERROR = 'DataCloneError'; +var TRANSFERRING = 'Transferring'; + +var checkBasicSemantic = function (structuredCloneImplementation) { + return !fails(function () { + var set1 = new global.Set([7]); + var set2 = structuredCloneImplementation(set1); + var number = structuredCloneImplementation(Object(7)); + return set2 == set1 || !set2.has(7) || typeof number != 'object' || number != 7; + }) && structuredCloneImplementation; +}; + +var checkErrorsCloning = function (structuredCloneImplementation, $Error) { + return !fails(function () { + var error = new $Error(); + var test = structuredCloneImplementation({ a: error, b: error }); + return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack); + }); +}; + +// https://github.com/whatwg/html/pull/5749 +var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) { + return !fails(function () { + var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 })); + return test.name != 'AggregateError' || test.errors[0] != 1 || test.message != PERFORMANCE_MARK || test.cause != 3; + }); +}; + +// FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+ +// FF<103 and Safari implementations can't clone errors +// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604 +// FF103 can clone errors, but `.stack` of clone is an empty string +// https://bugzilla.mozilla.org/show_bug.cgi?id=1778762 +// FF104+ fixed it on usual errors, but not on DOMExceptions +// https://bugzilla.mozilla.org/show_bug.cgi?id=1777321 +// Chrome <102 returns `null` if cloned object contains multiple references to one error +// https://bugs.chromium.org/p/v8/issues/detail?id=12542 +// NodeJS implementation can't clone DOMExceptions +// https://github.com/nodejs/node/issues/41038 +// only FF103+ supports new (html/5749) error cloning semantic +var nativeStructuredClone = global.structuredClone; + +var FORCED_REPLACEMENT = IS_PURE + || !checkErrorsCloning(nativeStructuredClone, Error) + || !checkErrorsCloning(nativeStructuredClone, DOMException) + || !checkNewErrorsCloningSemantic(nativeStructuredClone); + +// Chrome 82+, Safari 14.1+, Deno 1.11+ +// Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException` +// Chrome returns `null` if cloned object contains multiple references to one error +// Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround +// Safari implementation can't clone errors +// Deno 1.2-1.10 implementations too naive +// NodeJS 16.0+ does not have `PerformanceMark` constructor +// NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive +// and can't clone, for example, `RegExp` or some boxed primitives +// https://github.com/nodejs/node/issues/40840 +// no one of those implementations supports new (html/5749) error cloning semantic +var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) { + return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail; +}); + +var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark; + +var throwUncloneable = function (type) { + throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR); +}; + +var throwUnpolyfillable = function (type, action) { + throw new DOMException((action || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR); +}; + +var tryNativeRestrictedStructuredClone = function (value, type) { + if (!nativeRestrictedStructuredClone) throwUnpolyfillable(type); + return nativeRestrictedStructuredClone(value); +}; + +var createDataTransfer = function () { + var dataTransfer; + try { + dataTransfer = new global.DataTransfer(); + } catch (error) { + try { + dataTransfer = new global.ClipboardEvent('').clipboardData; + } catch (error2) { /* empty */ } + } + return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null; +}; + +var cloneBuffer = function (value, map, $type) { + if (mapHas(map, value)) return mapGet(map, value); + + var type = $type || classof(value); + var clone, length, options, source, target, i; + + if (type === 'SharedArrayBuffer') { + if (nativeRestrictedStructuredClone) clone = nativeRestrictedStructuredClone(value); + // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original + else clone = value; + } else { + var DataView = global.DataView; + + // `ArrayBuffer#slice` is not available in IE10 + // `ArrayBuffer#slice` and `DataView` are not available in old FF + if (!DataView && typeof value.slice != 'function') throwUnpolyfillable('ArrayBuffer'); + // detached buffers throws in `DataView` and `.slice` + try { + if (typeof value.slice == 'function' && !value.resizable) { + clone = value.slice(0); + } else { + length = value.byteLength; + options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined; + clone = new ArrayBuffer(length, options); + source = new DataView(value); + target = new DataView(clone); + for (i = 0; i < length; i++) { + target.setUint8(i, source.getUint8(i)); + } + } + } catch (error) { + throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR); + } + } + + mapSet(map, value, clone); + + return clone; +}; + +var cloneView = function (value, type, offset, length, map) { + var C = global[type]; + // in some old engines like Safari 9, typeof C is 'object' + // on Uint8ClampedArray or some other constructors + if (!isObject(C)) throwUnpolyfillable(type); + return new C(cloneBuffer(value.buffer, map), offset, length); +}; + +var Placeholder = function (object, type, metadata) { + this.object = object; + this.type = type; + this.metadata = metadata; +}; + +var structuredCloneInternal = function (value, map, transferredBuffers) { + if (isSymbol(value)) throwUncloneable('Symbol'); + if (!isObject(value)) return value; + // effectively preserves circular references + if (map) { + if (mapHas(map, value)) return mapGet(map, value); + } else map = new Map(); + + var type = classof(value); + var C, name, cloned, dataTransfer, i, length, keys, key; + + switch (type) { + case 'Array': + cloned = Array(lengthOfArrayLike(value)); + break; + case 'Object': + cloned = {}; + break; + case 'Map': + cloned = new Map(); + break; + case 'Set': + cloned = new Set(); + break; + case 'RegExp': + // in this block because of a Safari 14.1 bug + // old FF does not clone regexes passed to the constructor, so get the source and flags directly + cloned = new RegExp(value.source, getRegExpFlags(value)); + break; + case 'Error': + name = value.name; + switch (name) { + case 'AggregateError': + cloned = getBuiltin('AggregateError')([]); + break; + case 'EvalError': + cloned = EvalError(); + break; + case 'RangeError': + cloned = RangeError(); + break; + case 'ReferenceError': + cloned = ReferenceError(); + break; + case 'SyntaxError': + cloned = SyntaxError(); + break; + case 'TypeError': + cloned = TypeError(); + break; + case 'URIError': + cloned = URIError(); + break; + case 'CompileError': + cloned = CompileError(); + break; + case 'LinkError': + cloned = LinkError(); + break; + case 'RuntimeError': + cloned = RuntimeError(); + break; + default: + cloned = Error(); + } + break; + case 'DOMException': + cloned = new DOMException(value.message, value.name); + break; + case 'ArrayBuffer': + case 'SharedArrayBuffer': + cloned = transferredBuffers + ? new Placeholder(value, type) + : cloneBuffer(value, map, type); + break; + case 'DataView': + case 'Int8Array': + case 'Uint8Array': + case 'Uint8ClampedArray': + case 'Int16Array': + case 'Uint16Array': + case 'Int32Array': + case 'Uint32Array': + case 'Float16Array': + case 'Float32Array': + case 'Float64Array': + case 'BigInt64Array': + case 'BigUint64Array': + length = type === 'DataView' ? value.byteLength : value.length; + cloned = transferredBuffers + ? new Placeholder(value, type, { offset: value.byteOffset, length: length }) + : cloneView(value, type, value.byteOffset, length, map); + break; + case 'DOMQuad': + try { + cloned = new DOMQuad( + structuredCloneInternal(value.p1, map, transferredBuffers), + structuredCloneInternal(value.p2, map, transferredBuffers), + structuredCloneInternal(value.p3, map, transferredBuffers), + structuredCloneInternal(value.p4, map, transferredBuffers) + ); + } catch (error) { + cloned = tryNativeRestrictedStructuredClone(value, type); + } + break; + case 'File': + if (nativeRestrictedStructuredClone) try { + cloned = nativeRestrictedStructuredClone(value); + // NodeJS 20.0.0 bug, https://github.com/nodejs/node/issues/47612 + if (classof(cloned) !== type) cloned = undefined; + } catch (error) { /* empty */ } + if (!cloned) try { + cloned = new File([value], value.name, value); + } catch (error) { /* empty */ } + if (!cloned) throwUnpolyfillable(type); + break; + case 'FileList': + dataTransfer = createDataTransfer(); + if (dataTransfer) { + for (i = 0, length = lengthOfArrayLike(value); i < length; i++) { + dataTransfer.items.add(structuredCloneInternal(value[i], map, transferredBuffers)); + } + cloned = dataTransfer.files; + } else cloned = tryNativeRestrictedStructuredClone(value, type); + break; + case 'ImageData': + // Safari 9 ImageData is a constructor, but typeof ImageData is 'object' + try { + cloned = new ImageData( + structuredCloneInternal(value.data, map, transferredBuffers), + value.width, + value.height, + { colorSpace: value.colorSpace } + ); + } catch (error) { + cloned = tryNativeRestrictedStructuredClone(value, type); + } break; + default: + if (nativeRestrictedStructuredClone) { + cloned = nativeRestrictedStructuredClone(value); + } else switch (type) { + case 'BigInt': + // can be a 3rd party polyfill + cloned = Object(value.valueOf()); + break; + case 'Boolean': + cloned = Object(thisBooleanValue(value)); + break; + case 'Number': + cloned = Object(thisNumberValue(value)); + break; + case 'String': + cloned = Object(thisStringValue(value)); + break; + case 'Date': + cloned = new Date(thisTimeValue(value)); + break; + case 'Blob': + try { + cloned = value.slice(0, value.size, value.type); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMPoint': + case 'DOMPointReadOnly': + C = global[type]; + try { + cloned = C.fromPoint + ? C.fromPoint(value) + : new C(value.x, value.y, value.z, value.w); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMRect': + case 'DOMRectReadOnly': + C = global[type]; + try { + cloned = C.fromRect + ? C.fromRect(value) + : new C(value.x, value.y, value.width, value.height); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMMatrix': + case 'DOMMatrixReadOnly': + C = global[type]; + try { + cloned = C.fromMatrix + ? C.fromMatrix(value) + : new C(value); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'AudioData': + case 'VideoFrame': + if (!isCallable(value.clone)) throwUnpolyfillable(type); + try { + cloned = value.clone(); + } catch (error) { + throwUncloneable(type); + } break; + case 'CropTarget': + case 'CryptoKey': + case 'FileSystemDirectoryHandle': + case 'FileSystemFileHandle': + case 'FileSystemHandle': + case 'GPUCompilationInfo': + case 'GPUCompilationMessage': + case 'ImageBitmap': + case 'RTCCertificate': + case 'WebAssembly.Module': + throwUnpolyfillable(type); + // break omitted + default: + throwUncloneable(type); + } + } + + mapSet(map, value, cloned); + + switch (type) { + case 'Array': + case 'Object': + keys = objectKeys(value); + for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) { + key = keys[i]; + createProperty(cloned, key, structuredCloneInternal(value[key], map, transferredBuffers)); + } break; + case 'Map': + value.forEach(function (v, k) { + mapSet(cloned, structuredCloneInternal(k, map, transferredBuffers), structuredCloneInternal(v, map, transferredBuffers)); + }); + break; + case 'Set': + value.forEach(function (v) { + setAdd(cloned, structuredCloneInternal(v, map, transferredBuffers)); + }); + break; + case 'Error': + createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map, transferredBuffers)); + if (hasOwn(value, 'cause')) { + createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map, transferredBuffers)); + } + if (name == 'AggregateError') { + cloned.errors = structuredCloneInternal(value.errors, map, transferredBuffers); + } // break omitted + case 'DOMException': + if (ERROR_STACK_INSTALLABLE) { + createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map, transferredBuffers)); + } + } + + return cloned; +}; + +var replacePlaceholders = function (value, map) { + if (!isObject(value)) return value; + if (mapHas(map, value)) return mapGet(map, value); + + var type, object, metadata, i, length, keys, key, replacement; + + if (value instanceof Placeholder) { + type = value.type; + object = value.object; + + switch (type) { + case 'ArrayBuffer': + case 'SharedArrayBuffer': + replacement = cloneBuffer(object, map, type); + break; + case 'DataView': + case 'Int8Array': + case 'Uint8Array': + case 'Uint8ClampedArray': + case 'Int16Array': + case 'Uint16Array': + case 'Int32Array': + case 'Uint32Array': + case 'Float16Array': + case 'Float32Array': + case 'Float64Array': + case 'BigInt64Array': + case 'BigUint64Array': + metadata = value.metadata; + replacement = cloneView(object, type, metadata.offset, metadata.length, map); + } + } else switch (classof(value)) { + case 'Array': + case 'Object': + keys = objectKeys(value); + for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) { + key = keys[i]; + value[key] = replacePlaceholders(value[key], map); + } break; + case 'Map': + replacement = new Map(); + value.forEach(function (v, k) { + mapSet(replacement, replacePlaceholders(k, map), replacePlaceholders(v, map)); + }); + break; + case 'Set': + replacement = new Set(); + value.forEach(function (v) { + setAdd(replacement, replacePlaceholders(v, map)); + }); + break; + case 'Error': + value.message = replacePlaceholders(value.message, map); + if (hasOwn(value, 'cause')) { + value.cause = replacePlaceholders(value.cause, map); + } + if (value.name == 'AggregateError') { + value.errors = replacePlaceholders(value.errors, map); + } // break omitted + case 'DOMException': + if (ERROR_STACK_INSTALLABLE) { + value.stack = replacePlaceholders(value.stack, map); + } + } + + mapSet(map, value, replacement || value); + + return replacement || value; +}; + +var tryToTransfer = function (rawTransfer, map) { + if (!isObject(rawTransfer)) throw TypeError('Transfer option cannot be converted to a sequence'); + + var transfer = []; + + iterate(rawTransfer, function (value) { + push(transfer, anObject(value)); + }); + + var i = 0; + var length = lengthOfArrayLike(transfer); + var buffers = []; + var value, type, C, transferred, canvas, context; + + while (i < length) { + value = transfer[i++]; + + type = classof(value); + + if (type === 'ArrayBuffer') { + push(buffers, value); + continue; + } + + if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR); + + if (PROPER_TRANSFER) { + transferred = nativeStructuredClone(value, { transfer: [value] }); + } else switch (type) { + case 'ImageBitmap': + C = global.OffscreenCanvas; + if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING); + try { + canvas = new C(value.width, value.height); + context = canvas.getContext('bitmaprenderer'); + context.transferFromImageBitmap(value); + transferred = canvas.transferToImageBitmap(); + } catch (error) { /* empty */ } + break; + case 'AudioData': + case 'VideoFrame': + if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING); + try { + transferred = value.clone(); + value.close(); + } catch (error) { /* empty */ } + break; + case 'MediaSourceHandle': + case 'MessagePort': + case 'OffscreenCanvas': + case 'ReadableStream': + case 'TransformStream': + case 'WritableStream': + throwUnpolyfillable(type, TRANSFERRING); + } + + if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR); + + mapSet(map, value, transferred); + } + + return buffers; +}; + +var tryToTransferBuffers = function (transfer, map) { + var i = 0; + var length = lengthOfArrayLike(transfer); + var value, transferred; + + while (i < length) { + value = transfer[i++]; + + if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR); + + if (PROPER_TRANSFER) { + transferred = nativeStructuredClone(value, { transfer: [value] }); + } else { + if (!isCallable(value.transfer)) throwUnpolyfillable('ArrayBuffer', TRANSFERRING); + transferred = value.transfer(); + } + + mapSet(map, value, transferred); + } +}; + +// `structuredClone` method +// https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone +$({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, { + structuredClone: function structuredClone(value /* , { transfer } */) { + var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : undefined; + var transfer = options ? options.transfer : undefined; + var transferredBuffers = false; + var map, buffers; + + if (transfer !== undefined) { + map = new Map(); + buffers = tryToTransfer(transfer, map); + transferredBuffers = !!lengthOfArrayLike(buffers); + } + + var clone = structuredCloneInternal(value, map, transferredBuffers); + + // since of an issue with cloning views of transferred buffers, we a forced to transfer / clone them in 2 steps + // https://github.com/zloirock/core-js/issues/1265 + if (transferredBuffers) { + map = new Map(); + tryToTransferBuffers(transfer, map); + clone = replacePlaceholders(clone, map); + } + + return clone; + } +}); diff --git a/node_modules/core-js/modules/web.timers.js b/node_modules/core-js/modules/web.timers.js new file mode 100644 index 00000000..b7876866 --- /dev/null +++ b/node_modules/core-js/modules/web.timers.js @@ -0,0 +1,4 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's split to modules listed below +require('../modules/web.set-interval'); +require('../modules/web.set-timeout'); diff --git a/node_modules/core-js/modules/web.url-search-params.constructor.js b/node_modules/core-js/modules/web.url-search-params.constructor.js new file mode 100644 index 00000000..af7bdf59 --- /dev/null +++ b/node_modules/core-js/modules/web.url-search-params.constructor.js @@ -0,0 +1,415 @@ +'use strict'; +// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` +require('../modules/es.array.iterator'); +var $ = require('../internals/export'); +var global = require('../internals/global'); +var call = require('../internals/function-call'); +var uncurryThis = require('../internals/function-uncurry-this'); +var DESCRIPTORS = require('../internals/descriptors'); +var USE_NATIVE_URL = require('../internals/url-constructor-detection'); +var defineBuiltIn = require('../internals/define-built-in'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var defineBuiltIns = require('../internals/define-built-ins'); +var setToStringTag = require('../internals/set-to-string-tag'); +var createIteratorConstructor = require('../internals/iterator-create-constructor'); +var InternalStateModule = require('../internals/internal-state'); +var anInstance = require('../internals/an-instance'); +var isCallable = require('../internals/is-callable'); +var hasOwn = require('../internals/has-own-property'); +var bind = require('../internals/function-bind-context'); +var classof = require('../internals/classof'); +var anObject = require('../internals/an-object'); +var isObject = require('../internals/is-object'); +var $toString = require('../internals/to-string'); +var create = require('../internals/object-create'); +var createPropertyDescriptor = require('../internals/create-property-descriptor'); +var getIterator = require('../internals/get-iterator'); +var getIteratorMethod = require('../internals/get-iterator-method'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); +var wellKnownSymbol = require('../internals/well-known-symbol'); +var arraySort = require('../internals/array-sort'); + +var ITERATOR = wellKnownSymbol('iterator'); +var URL_SEARCH_PARAMS = 'URLSearchParams'; +var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator'; +var setInternalState = InternalStateModule.set; +var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS); +var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR); +// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + +// Avoid NodeJS experimental warning +var safeGetBuiltIn = function (name) { + if (!DESCRIPTORS) return global[name]; + var descriptor = getOwnPropertyDescriptor(global, name); + return descriptor && descriptor.value; +}; + +var nativeFetch = safeGetBuiltIn('fetch'); +var NativeRequest = safeGetBuiltIn('Request'); +var Headers = safeGetBuiltIn('Headers'); +var RequestPrototype = NativeRequest && NativeRequest.prototype; +var HeadersPrototype = Headers && Headers.prototype; +var RegExp = global.RegExp; +var TypeError = global.TypeError; +var decodeURIComponent = global.decodeURIComponent; +var encodeURIComponent = global.encodeURIComponent; +var charAt = uncurryThis(''.charAt); +var join = uncurryThis([].join); +var push = uncurryThis([].push); +var replace = uncurryThis(''.replace); +var shift = uncurryThis([].shift); +var splice = uncurryThis([].splice); +var split = uncurryThis(''.split); +var stringSlice = uncurryThis(''.slice); + +var plus = /\+/g; +var sequences = Array(4); + +var percentSequence = function (bytes) { + return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\da-f]{2}){' + bytes + '})', 'gi')); +}; + +var percentDecode = function (sequence) { + try { + return decodeURIComponent(sequence); + } catch (error) { + return sequence; + } +}; + +var deserialize = function (it) { + var result = replace(it, plus, ' '); + var bytes = 4; + try { + return decodeURIComponent(result); + } catch (error) { + while (bytes) { + result = replace(result, percentSequence(bytes--), percentDecode); + } + return result; + } +}; + +var find = /[!'()~]|%20/g; + +var replacements = { + '!': '%21', + "'": '%27', + '(': '%28', + ')': '%29', + '~': '%7E', + '%20': '+' +}; + +var replacer = function (match) { + return replacements[match]; +}; + +var serialize = function (it) { + return replace(encodeURIComponent(it), find, replacer); +}; + +var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { + setInternalState(this, { + type: URL_SEARCH_PARAMS_ITERATOR, + iterator: getIterator(getInternalParamsState(params).entries), + kind: kind + }); +}, 'Iterator', function next() { + var state = getInternalIteratorState(this); + var kind = state.kind; + var step = state.iterator.next(); + var entry = step.value; + if (!step.done) { + step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value]; + } return step; +}, true); + +var URLSearchParamsState = function (init) { + this.entries = []; + this.url = null; + + if (init !== undefined) { + if (isObject(init)) this.parseObject(init); + else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init)); + } +}; + +URLSearchParamsState.prototype = { + type: URL_SEARCH_PARAMS, + bindURL: function (url) { + this.url = url; + this.update(); + }, + parseObject: function (object) { + var iteratorMethod = getIteratorMethod(object); + var iterator, next, step, entryIterator, entryNext, first, second; + + if (iteratorMethod) { + iterator = getIterator(object, iteratorMethod); + next = iterator.next; + while (!(step = call(next, iterator)).done) { + entryIterator = getIterator(anObject(step.value)); + entryNext = entryIterator.next; + if ( + (first = call(entryNext, entryIterator)).done || + (second = call(entryNext, entryIterator)).done || + !call(entryNext, entryIterator).done + ) throw TypeError('Expected sequence with length 2'); + push(this.entries, { key: $toString(first.value), value: $toString(second.value) }); + } + } else for (var key in object) if (hasOwn(object, key)) { + push(this.entries, { key: key, value: $toString(object[key]) }); + } + }, + parseQuery: function (query) { + if (query) { + var attributes = split(query, '&'); + var index = 0; + var attribute, entry; + while (index < attributes.length) { + attribute = attributes[index++]; + if (attribute.length) { + entry = split(attribute, '='); + push(this.entries, { + key: deserialize(shift(entry)), + value: deserialize(join(entry, '=')) + }); + } + } + } + }, + serialize: function () { + var entries = this.entries; + var result = []; + var index = 0; + var entry; + while (index < entries.length) { + entry = entries[index++]; + push(result, serialize(entry.key) + '=' + serialize(entry.value)); + } return join(result, '&'); + }, + update: function () { + this.entries.length = 0; + this.parseQuery(this.url.query); + }, + updateURL: function () { + if (this.url) this.url.update(); + } +}; + +// `URLSearchParams` constructor +// https://url.spec.whatwg.org/#interface-urlsearchparams +var URLSearchParamsConstructor = function URLSearchParams(/* init */) { + anInstance(this, URLSearchParamsPrototype); + var init = arguments.length > 0 ? arguments[0] : undefined; + var state = setInternalState(this, new URLSearchParamsState(init)); + if (!DESCRIPTORS) this.size = state.entries.length; +}; + +var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; + +defineBuiltIns(URLSearchParamsPrototype, { + // `URLSearchParams.prototype.append` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-append + append: function append(name, value) { + var state = getInternalParamsState(this); + validateArgumentsLength(arguments.length, 2); + push(state.entries, { key: $toString(name), value: $toString(value) }); + if (!DESCRIPTORS) this.length++; + state.updateURL(); + }, + // `URLSearchParams.prototype.delete` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-delete + 'delete': function (name /* , value */) { + var state = getInternalParamsState(this); + var length = validateArgumentsLength(arguments.length, 1); + var entries = state.entries; + var key = $toString(name); + var $value = length < 2 ? undefined : arguments[1]; + var value = $value === undefined ? $value : $toString($value); + var index = 0; + while (index < entries.length) { + var entry = entries[index]; + if (entry.key === key && (value === undefined || entry.value === value)) { + splice(entries, index, 1); + if (value !== undefined) break; + } else index++; + } + if (!DESCRIPTORS) this.size = entries.length; + state.updateURL(); + }, + // `URLSearchParams.prototype.get` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-get + get: function get(name) { + var entries = getInternalParamsState(this).entries; + validateArgumentsLength(arguments.length, 1); + var key = $toString(name); + var index = 0; + for (; index < entries.length; index++) { + if (entries[index].key === key) return entries[index].value; + } + return null; + }, + // `URLSearchParams.prototype.getAll` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-getall + getAll: function getAll(name) { + var entries = getInternalParamsState(this).entries; + validateArgumentsLength(arguments.length, 1); + var key = $toString(name); + var result = []; + var index = 0; + for (; index < entries.length; index++) { + if (entries[index].key === key) push(result, entries[index].value); + } + return result; + }, + // `URLSearchParams.prototype.has` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-has + has: function has(name /* , value */) { + var entries = getInternalParamsState(this).entries; + var length = validateArgumentsLength(arguments.length, 1); + var key = $toString(name); + var $value = length < 2 ? undefined : arguments[1]; + var value = $value === undefined ? $value : $toString($value); + var index = 0; + while (index < entries.length) { + var entry = entries[index++]; + if (entry.key === key && (value === undefined || entry.value === value)) return true; + } + return false; + }, + // `URLSearchParams.prototype.set` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-set + set: function set(name, value) { + var state = getInternalParamsState(this); + validateArgumentsLength(arguments.length, 1); + var entries = state.entries; + var found = false; + var key = $toString(name); + var val = $toString(value); + var index = 0; + var entry; + for (; index < entries.length; index++) { + entry = entries[index]; + if (entry.key === key) { + if (found) splice(entries, index--, 1); + else { + found = true; + entry.value = val; + } + } + } + if (!found) push(entries, { key: key, value: val }); + if (!DESCRIPTORS) this.size = entries.length; + state.updateURL(); + }, + // `URLSearchParams.prototype.sort` method + // https://url.spec.whatwg.org/#dom-urlsearchparams-sort + sort: function sort() { + var state = getInternalParamsState(this); + arraySort(state.entries, function (a, b) { + return a.key > b.key ? 1 : -1; + }); + state.updateURL(); + }, + // `URLSearchParams.prototype.forEach` method + forEach: function forEach(callback /* , thisArg */) { + var entries = getInternalParamsState(this).entries; + var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined); + var index = 0; + var entry; + while (index < entries.length) { + entry = entries[index++]; + boundFunction(entry.value, entry.key, this); + } + }, + // `URLSearchParams.prototype.keys` method + keys: function keys() { + return new URLSearchParamsIterator(this, 'keys'); + }, + // `URLSearchParams.prototype.values` method + values: function values() { + return new URLSearchParamsIterator(this, 'values'); + }, + // `URLSearchParams.prototype.entries` method + entries: function entries() { + return new URLSearchParamsIterator(this, 'entries'); + } +}, { enumerable: true }); + +// `URLSearchParams.prototype[@@iterator]` method +defineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' }); + +// `URLSearchParams.prototype.toString` method +// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior +defineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() { + return getInternalParamsState(this).serialize(); +}, { enumerable: true }); + +// `URLSearchParams.prototype.size` getter +// https://github.com/whatwg/url/pull/734 +if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { + get: function size() { + return getInternalParamsState(this).entries.length; + }, + configurable: true, + enumerable: true +}); + +setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS); + +$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, { + URLSearchParams: URLSearchParamsConstructor +}); + +// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams` +if (!USE_NATIVE_URL && isCallable(Headers)) { + var headersHas = uncurryThis(HeadersPrototype.has); + var headersSet = uncurryThis(HeadersPrototype.set); + + var wrapRequestOptions = function (init) { + if (isObject(init)) { + var body = init.body; + var headers; + if (classof(body) === URL_SEARCH_PARAMS) { + headers = init.headers ? new Headers(init.headers) : new Headers(); + if (!headersHas(headers, 'content-type')) { + headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); + } + return create(init, { + body: createPropertyDescriptor(0, $toString(body)), + headers: createPropertyDescriptor(0, headers) + }); + } + } return init; + }; + + if (isCallable(nativeFetch)) { + $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, { + fetch: function fetch(input /* , init */) { + return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); + } + }); + } + + if (isCallable(NativeRequest)) { + var RequestConstructor = function Request(input /* , init */) { + anInstance(this, RequestPrototype); + return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); + }; + + RequestPrototype.constructor = RequestConstructor; + RequestConstructor.prototype = RequestPrototype; + + $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, { + Request: RequestConstructor + }); + } +} + +module.exports = { + URLSearchParams: URLSearchParamsConstructor, + getState: getInternalParamsState +}; diff --git a/node_modules/core-js/modules/web.url-search-params.delete.js b/node_modules/core-js/modules/web.url-search-params.delete.js new file mode 100644 index 00000000..0d8023a1 --- /dev/null +++ b/node_modules/core-js/modules/web.url-search-params.delete.js @@ -0,0 +1,49 @@ +'use strict'; +var defineBuiltIn = require('../internals/define-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toString = require('../internals/to-string'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); + +var $URLSearchParams = URLSearchParams; +var URLSearchParamsPrototype = $URLSearchParams.prototype; +var append = uncurryThis(URLSearchParamsPrototype.append); +var $delete = uncurryThis(URLSearchParamsPrototype['delete']); +var forEach = uncurryThis(URLSearchParamsPrototype.forEach); +var push = uncurryThis([].push); +var params = new $URLSearchParams('a=1&a=2&b=3'); + +params['delete']('a', 1); +// `undefined` case is a Chromium 117 bug +// https://bugs.chromium.org/p/v8/issues/detail?id=14222 +params['delete']('b', undefined); + +if (params + '' !== 'a=2') { + defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) { + var length = arguments.length; + var $value = length < 2 ? undefined : arguments[1]; + if (length && $value === undefined) return $delete(this, name); + var entries = []; + forEach(this, function (v, k) { // also validates `this` + push(entries, { key: k, value: v }); + }); + validateArgumentsLength(length, 1); + var key = toString(name); + var value = toString($value); + var index = 0; + var dindex = 0; + var found = false; + var entriesLength = entries.length; + var entry; + while (index < entriesLength) { + entry = entries[index++]; + if (found || entry.key === key) { + found = true; + $delete(this, entry.key); + } else dindex++; + } + while (dindex < entriesLength) { + entry = entries[dindex++]; + if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value); + } + }, { enumerable: true, unsafe: true }); +} diff --git a/node_modules/core-js/modules/web.url-search-params.has.js b/node_modules/core-js/modules/web.url-search-params.has.js new file mode 100644 index 00000000..46f6a2d5 --- /dev/null +++ b/node_modules/core-js/modules/web.url-search-params.has.js @@ -0,0 +1,28 @@ +'use strict'; +var defineBuiltIn = require('../internals/define-built-in'); +var uncurryThis = require('../internals/function-uncurry-this'); +var toString = require('../internals/to-string'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); + +var $URLSearchParams = URLSearchParams; +var URLSearchParamsPrototype = $URLSearchParams.prototype; +var getAll = uncurryThis(URLSearchParamsPrototype.getAll); +var $has = uncurryThis(URLSearchParamsPrototype.has); +var params = new $URLSearchParams('a=1'); + +// `undefined` case is a Chromium 117 bug +// https://bugs.chromium.org/p/v8/issues/detail?id=14222 +if (params.has('a', 2) || !params.has('a', undefined)) { + defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) { + var length = arguments.length; + var $value = length < 2 ? undefined : arguments[1]; + if (length && $value === undefined) return $has(this, name); + var values = getAll(this, name); // also validates `this` + validateArgumentsLength(length, 1); + var value = toString($value); + var index = 0; + while (index < values.length) { + if (values[index++] === value) return true; + } return false; + }, { enumerable: true, unsafe: true }); +} diff --git a/node_modules/core-js/modules/web.url-search-params.js b/node_modules/core-js/modules/web.url-search-params.js new file mode 100644 index 00000000..5ebea93f --- /dev/null +++ b/node_modules/core-js/modules/web.url-search-params.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's replaced to module below +require('../modules/web.url-search-params.constructor'); diff --git a/node_modules/core-js/modules/web.url-search-params.size.js b/node_modules/core-js/modules/web.url-search-params.size.js new file mode 100644 index 00000000..65ab25de --- /dev/null +++ b/node_modules/core-js/modules/web.url-search-params.size.js @@ -0,0 +1,21 @@ +'use strict'; +var DESCRIPTORS = require('../internals/descriptors'); +var uncurryThis = require('../internals/function-uncurry-this'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); + +var URLSearchParamsPrototype = URLSearchParams.prototype; +var forEach = uncurryThis(URLSearchParamsPrototype.forEach); + +// `URLSearchParams.prototype.size` getter +// https://github.com/whatwg/url/pull/734 +if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) { + defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { + get: function size() { + var count = 0; + forEach(this, function () { count++; }); + return count; + }, + configurable: true, + enumerable: true + }); +} diff --git a/node_modules/core-js/modules/web.url.can-parse.js b/node_modules/core-js/modules/web.url.can-parse.js new file mode 100644 index 00000000..874d8802 --- /dev/null +++ b/node_modules/core-js/modules/web.url.can-parse.js @@ -0,0 +1,30 @@ +'use strict'; +var $ = require('../internals/export'); +var getBuiltIn = require('../internals/get-built-in'); +var fails = require('../internals/fails'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); +var toString = require('../internals/to-string'); +var USE_NATIVE_URL = require('../internals/url-constructor-detection'); + +var URL = getBuiltIn('URL'); + +// https://github.com/nodejs/node/issues/47505 +// https://github.com/denoland/deno/issues/18893 +var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () { + URL.canParse(); +}); + +// `URL.canParse` method +// https://url.spec.whatwg.org/#dom-url-canparse +$({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, { + canParse: function canParse(url) { + var length = validateArgumentsLength(arguments.length, 1); + var urlString = toString(url); + var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]); + try { + return !!new URL(urlString, base); + } catch (error) { + return false; + } + } +}); diff --git a/node_modules/core-js/modules/web.url.constructor.js b/node_modules/core-js/modules/web.url.constructor.js new file mode 100644 index 00000000..5cf2f5e2 --- /dev/null +++ b/node_modules/core-js/modules/web.url.constructor.js @@ -0,0 +1,1044 @@ +'use strict'; +// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` +require('../modules/es.string.iterator'); +var $ = require('../internals/export'); +var DESCRIPTORS = require('../internals/descriptors'); +var USE_NATIVE_URL = require('../internals/url-constructor-detection'); +var global = require('../internals/global'); +var bind = require('../internals/function-bind-context'); +var uncurryThis = require('../internals/function-uncurry-this'); +var defineBuiltIn = require('../internals/define-built-in'); +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); +var anInstance = require('../internals/an-instance'); +var hasOwn = require('../internals/has-own-property'); +var assign = require('../internals/object-assign'); +var arrayFrom = require('../internals/array-from'); +var arraySlice = require('../internals/array-slice-simple'); +var codeAt = require('../internals/string-multibyte').codeAt; +var toASCII = require('../internals/string-punycode-to-ascii'); +var $toString = require('../internals/to-string'); +var setToStringTag = require('../internals/set-to-string-tag'); +var validateArgumentsLength = require('../internals/validate-arguments-length'); +var URLSearchParamsModule = require('../modules/web.url-search-params.constructor'); +var InternalStateModule = require('../internals/internal-state'); + +var setInternalState = InternalStateModule.set; +var getInternalURLState = InternalStateModule.getterFor('URL'); +var URLSearchParams = URLSearchParamsModule.URLSearchParams; +var getInternalSearchParamsState = URLSearchParamsModule.getState; + +var NativeURL = global.URL; +var TypeError = global.TypeError; +var parseInt = global.parseInt; +var floor = Math.floor; +var pow = Math.pow; +var charAt = uncurryThis(''.charAt); +var exec = uncurryThis(/./.exec); +var join = uncurryThis([].join); +var numberToString = uncurryThis(1.0.toString); +var pop = uncurryThis([].pop); +var push = uncurryThis([].push); +var replace = uncurryThis(''.replace); +var shift = uncurryThis([].shift); +var split = uncurryThis(''.split); +var stringSlice = uncurryThis(''.slice); +var toLowerCase = uncurryThis(''.toLowerCase); +var unshift = uncurryThis([].unshift); + +var INVALID_AUTHORITY = 'Invalid authority'; +var INVALID_SCHEME = 'Invalid scheme'; +var INVALID_HOST = 'Invalid host'; +var INVALID_PORT = 'Invalid port'; + +var ALPHA = /[a-z]/i; +// eslint-disable-next-line regexp/no-obscure-range -- safe +var ALPHANUMERIC = /[\d+-.a-z]/i; +var DIGIT = /\d/; +var HEX_START = /^0x/i; +var OCT = /^[0-7]+$/; +var DEC = /^\d+$/; +var HEX = /^[\da-f]+$/i; +/* eslint-disable regexp/no-control-character -- safe */ +var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/; +var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/; +var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/; +var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/; +var TAB_AND_NEW_LINE = /[\t\n\r]/g; +/* eslint-enable regexp/no-control-character -- safe */ +var EOF; + +// https://url.spec.whatwg.org/#ipv4-number-parser +var parseIPv4 = function (input) { + var parts = split(input, '.'); + var partsLength, numbers, index, part, radix, number, ipv4; + if (parts.length && parts[parts.length - 1] == '') { + parts.length--; + } + partsLength = parts.length; + if (partsLength > 4) return input; + numbers = []; + for (index = 0; index < partsLength; index++) { + part = parts[index]; + if (part == '') return input; + radix = 10; + if (part.length > 1 && charAt(part, 0) == '0') { + radix = exec(HEX_START, part) ? 16 : 8; + part = stringSlice(part, radix == 8 ? 1 : 2); + } + if (part === '') { + number = 0; + } else { + if (!exec(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input; + number = parseInt(part, radix); + } + push(numbers, number); + } + for (index = 0; index < partsLength; index++) { + number = numbers[index]; + if (index == partsLength - 1) { + if (number >= pow(256, 5 - partsLength)) return null; + } else if (number > 255) return null; + } + ipv4 = pop(numbers); + for (index = 0; index < numbers.length; index++) { + ipv4 += numbers[index] * pow(256, 3 - index); + } + return ipv4; +}; + +// https://url.spec.whatwg.org/#concept-ipv6-parser +// eslint-disable-next-line max-statements -- TODO +var parseIPv6 = function (input) { + var address = [0, 0, 0, 0, 0, 0, 0, 0]; + var pieceIndex = 0; + var compress = null; + var pointer = 0; + var value, length, numbersSeen, ipv4Piece, number, swaps, swap; + + var chr = function () { + return charAt(input, pointer); + }; + + if (chr() == ':') { + if (charAt(input, 1) != ':') return; + pointer += 2; + pieceIndex++; + compress = pieceIndex; + } + while (chr()) { + if (pieceIndex == 8) return; + if (chr() == ':') { + if (compress !== null) return; + pointer++; + pieceIndex++; + compress = pieceIndex; + continue; + } + value = length = 0; + while (length < 4 && exec(HEX, chr())) { + value = value * 16 + parseInt(chr(), 16); + pointer++; + length++; + } + if (chr() == '.') { + if (length == 0) return; + pointer -= length; + if (pieceIndex > 6) return; + numbersSeen = 0; + while (chr()) { + ipv4Piece = null; + if (numbersSeen > 0) { + if (chr() == '.' && numbersSeen < 4) pointer++; + else return; + } + if (!exec(DIGIT, chr())) return; + while (exec(DIGIT, chr())) { + number = parseInt(chr(), 10); + if (ipv4Piece === null) ipv4Piece = number; + else if (ipv4Piece == 0) return; + else ipv4Piece = ipv4Piece * 10 + number; + if (ipv4Piece > 255) return; + pointer++; + } + address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece; + numbersSeen++; + if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++; + } + if (numbersSeen != 4) return; + break; + } else if (chr() == ':') { + pointer++; + if (!chr()) return; + } else if (chr()) return; + address[pieceIndex++] = value; + } + if (compress !== null) { + swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex != 0 && swaps > 0) { + swap = address[pieceIndex]; + address[pieceIndex--] = address[compress + swaps - 1]; + address[compress + --swaps] = swap; + } + } else if (pieceIndex != 8) return; + return address; +}; + +var findLongestZeroSequence = function (ipv6) { + var maxIndex = null; + var maxLength = 1; + var currStart = null; + var currLength = 0; + var index = 0; + for (; index < 8; index++) { + if (ipv6[index] !== 0) { + if (currLength > maxLength) { + maxIndex = currStart; + maxLength = currLength; + } + currStart = null; + currLength = 0; + } else { + if (currStart === null) currStart = index; + ++currLength; + } + } + if (currLength > maxLength) { + maxIndex = currStart; + maxLength = currLength; + } + return maxIndex; +}; + +// https://url.spec.whatwg.org/#host-serializing +var serializeHost = function (host) { + var result, index, compress, ignore0; + // ipv4 + if (typeof host == 'number') { + result = []; + for (index = 0; index < 4; index++) { + unshift(result, host % 256); + host = floor(host / 256); + } return join(result, '.'); + // ipv6 + } else if (typeof host == 'object') { + result = ''; + compress = findLongestZeroSequence(host); + for (index = 0; index < 8; index++) { + if (ignore0 && host[index] === 0) continue; + if (ignore0) ignore0 = false; + if (compress === index) { + result += index ? ':' : '::'; + ignore0 = true; + } else { + result += numberToString(host[index], 16); + if (index < 7) result += ':'; + } + } + return '[' + result + ']'; + } return host; +}; + +var C0ControlPercentEncodeSet = {}; +var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, { + ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1 +}); +var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, { + '#': 1, '?': 1, '{': 1, '}': 1 +}); +var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, { + '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1 +}); + +var percentEncode = function (chr, set) { + var code = codeAt(chr, 0); + return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr); +}; + +// https://url.spec.whatwg.org/#special-scheme +var specialSchemes = { + ftp: 21, + file: null, + http: 80, + https: 443, + ws: 80, + wss: 443 +}; + +// https://url.spec.whatwg.org/#windows-drive-letter +var isWindowsDriveLetter = function (string, normalized) { + var second; + return string.length == 2 && exec(ALPHA, charAt(string, 0)) + && ((second = charAt(string, 1)) == ':' || (!normalized && second == '|')); +}; + +// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter +var startsWithWindowsDriveLetter = function (string) { + var third; + return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && ( + string.length == 2 || + ((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#') + ); +}; + +// https://url.spec.whatwg.org/#single-dot-path-segment +var isSingleDot = function (segment) { + return segment === '.' || toLowerCase(segment) === '%2e'; +}; + +// https://url.spec.whatwg.org/#double-dot-path-segment +var isDoubleDot = function (segment) { + segment = toLowerCase(segment); + return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e'; +}; + +// States: +var SCHEME_START = {}; +var SCHEME = {}; +var NO_SCHEME = {}; +var SPECIAL_RELATIVE_OR_AUTHORITY = {}; +var PATH_OR_AUTHORITY = {}; +var RELATIVE = {}; +var RELATIVE_SLASH = {}; +var SPECIAL_AUTHORITY_SLASHES = {}; +var SPECIAL_AUTHORITY_IGNORE_SLASHES = {}; +var AUTHORITY = {}; +var HOST = {}; +var HOSTNAME = {}; +var PORT = {}; +var FILE = {}; +var FILE_SLASH = {}; +var FILE_HOST = {}; +var PATH_START = {}; +var PATH = {}; +var CANNOT_BE_A_BASE_URL_PATH = {}; +var QUERY = {}; +var FRAGMENT = {}; + +var URLState = function (url, isBase, base) { + var urlString = $toString(url); + var baseState, failure, searchParams; + if (isBase) { + failure = this.parse(urlString); + if (failure) throw TypeError(failure); + this.searchParams = null; + } else { + if (base !== undefined) baseState = new URLState(base, true); + failure = this.parse(urlString, null, baseState); + if (failure) throw TypeError(failure); + searchParams = getInternalSearchParamsState(new URLSearchParams()); + searchParams.bindURL(this); + this.searchParams = searchParams; + } +}; + +URLState.prototype = { + type: 'URL', + // https://url.spec.whatwg.org/#url-parsing + // eslint-disable-next-line max-statements -- TODO + parse: function (input, stateOverride, base) { + var url = this; + var state = stateOverride || SCHEME_START; + var pointer = 0; + var buffer = ''; + var seenAt = false; + var seenBracket = false; + var seenPasswordToken = false; + var codePoints, chr, bufferCodePoints, failure; + + input = $toString(input); + + if (!stateOverride) { + url.scheme = ''; + url.username = ''; + url.password = ''; + url.host = null; + url.port = null; + url.path = []; + url.query = null; + url.fragment = null; + url.cannotBeABaseURL = false; + input = replace(input, LEADING_C0_CONTROL_OR_SPACE, ''); + input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1'); + } + + input = replace(input, TAB_AND_NEW_LINE, ''); + + codePoints = arrayFrom(input); + + while (pointer <= codePoints.length) { + chr = codePoints[pointer]; + switch (state) { + case SCHEME_START: + if (chr && exec(ALPHA, chr)) { + buffer += toLowerCase(chr); + state = SCHEME; + } else if (!stateOverride) { + state = NO_SCHEME; + continue; + } else return INVALID_SCHEME; + break; + + case SCHEME: + if (chr && (exec(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) { + buffer += toLowerCase(chr); + } else if (chr == ':') { + if (stateOverride && ( + (url.isSpecial() != hasOwn(specialSchemes, buffer)) || + (buffer == 'file' && (url.includesCredentials() || url.port !== null)) || + (url.scheme == 'file' && !url.host) + )) return; + url.scheme = buffer; + if (stateOverride) { + if (url.isSpecial() && specialSchemes[url.scheme] == url.port) url.port = null; + return; + } + buffer = ''; + if (url.scheme == 'file') { + state = FILE; + } else if (url.isSpecial() && base && base.scheme == url.scheme) { + state = SPECIAL_RELATIVE_OR_AUTHORITY; + } else if (url.isSpecial()) { + state = SPECIAL_AUTHORITY_SLASHES; + } else if (codePoints[pointer + 1] == '/') { + state = PATH_OR_AUTHORITY; + pointer++; + } else { + url.cannotBeABaseURL = true; + push(url.path, ''); + state = CANNOT_BE_A_BASE_URL_PATH; + } + } else if (!stateOverride) { + buffer = ''; + state = NO_SCHEME; + pointer = 0; + continue; + } else return INVALID_SCHEME; + break; + + case NO_SCHEME: + if (!base || (base.cannotBeABaseURL && chr != '#')) return INVALID_SCHEME; + if (base.cannotBeABaseURL && chr == '#') { + url.scheme = base.scheme; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ''; + url.cannotBeABaseURL = true; + state = FRAGMENT; + break; + } + state = base.scheme == 'file' ? FILE : RELATIVE; + continue; + + case SPECIAL_RELATIVE_OR_AUTHORITY: + if (chr == '/' && codePoints[pointer + 1] == '/') { + state = SPECIAL_AUTHORITY_IGNORE_SLASHES; + pointer++; + } else { + state = RELATIVE; + continue; + } break; + + case PATH_OR_AUTHORITY: + if (chr == '/') { + state = AUTHORITY; + break; + } else { + state = PATH; + continue; + } + + case RELATIVE: + url.scheme = base.scheme; + if (chr == EOF) { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = base.query; + } else if (chr == '/' || (chr == '\\' && url.isSpecial())) { + state = RELATIVE_SLASH; + } else if (chr == '?') { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = ''; + state = QUERY; + } else if (chr == '#') { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ''; + state = FRAGMENT; + } else { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.path.length--; + state = PATH; + continue; + } break; + + case RELATIVE_SLASH: + if (url.isSpecial() && (chr == '/' || chr == '\\')) { + state = SPECIAL_AUTHORITY_IGNORE_SLASHES; + } else if (chr == '/') { + state = AUTHORITY; + } else { + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + state = PATH; + continue; + } break; + + case SPECIAL_AUTHORITY_SLASHES: + state = SPECIAL_AUTHORITY_IGNORE_SLASHES; + if (chr != '/' || charAt(buffer, pointer + 1) != '/') continue; + pointer++; + break; + + case SPECIAL_AUTHORITY_IGNORE_SLASHES: + if (chr != '/' && chr != '\\') { + state = AUTHORITY; + continue; + } break; + + case AUTHORITY: + if (chr == '@') { + if (seenAt) buffer = '%40' + buffer; + seenAt = true; + bufferCodePoints = arrayFrom(buffer); + for (var i = 0; i < bufferCodePoints.length; i++) { + var codePoint = bufferCodePoints[i]; + if (codePoint == ':' && !seenPasswordToken) { + seenPasswordToken = true; + continue; + } + var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet); + if (seenPasswordToken) url.password += encodedCodePoints; + else url.username += encodedCodePoints; + } + buffer = ''; + } else if ( + chr == EOF || chr == '/' || chr == '?' || chr == '#' || + (chr == '\\' && url.isSpecial()) + ) { + if (seenAt && buffer == '') return INVALID_AUTHORITY; + pointer -= arrayFrom(buffer).length + 1; + buffer = ''; + state = HOST; + } else buffer += chr; + break; + + case HOST: + case HOSTNAME: + if (stateOverride && url.scheme == 'file') { + state = FILE_HOST; + continue; + } else if (chr == ':' && !seenBracket) { + if (buffer == '') return INVALID_HOST; + failure = url.parseHost(buffer); + if (failure) return failure; + buffer = ''; + state = PORT; + if (stateOverride == HOSTNAME) return; + } else if ( + chr == EOF || chr == '/' || chr == '?' || chr == '#' || + (chr == '\\' && url.isSpecial()) + ) { + if (url.isSpecial() && buffer == '') return INVALID_HOST; + if (stateOverride && buffer == '' && (url.includesCredentials() || url.port !== null)) return; + failure = url.parseHost(buffer); + if (failure) return failure; + buffer = ''; + state = PATH_START; + if (stateOverride) return; + continue; + } else { + if (chr == '[') seenBracket = true; + else if (chr == ']') seenBracket = false; + buffer += chr; + } break; + + case PORT: + if (exec(DIGIT, chr)) { + buffer += chr; + } else if ( + chr == EOF || chr == '/' || chr == '?' || chr == '#' || + (chr == '\\' && url.isSpecial()) || + stateOverride + ) { + if (buffer != '') { + var port = parseInt(buffer, 10); + if (port > 0xFFFF) return INVALID_PORT; + url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port; + buffer = ''; + } + if (stateOverride) return; + state = PATH_START; + continue; + } else return INVALID_PORT; + break; + + case FILE: + url.scheme = 'file'; + if (chr == '/' || chr == '\\') state = FILE_SLASH; + else if (base && base.scheme == 'file') { + if (chr == EOF) { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = base.query; + } else if (chr == '?') { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = ''; + state = QUERY; + } else if (chr == '#') { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ''; + state = FRAGMENT; + } else { + if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { + url.host = base.host; + url.path = arraySlice(base.path); + url.shortenPath(); + } + state = PATH; + continue; + } + } else { + state = PATH; + continue; + } break; + + case FILE_SLASH: + if (chr == '/' || chr == '\\') { + state = FILE_HOST; + break; + } + if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { + if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]); + else url.host = base.host; + } + state = PATH; + continue; + + case FILE_HOST: + if (chr == EOF || chr == '/' || chr == '\\' || chr == '?' || chr == '#') { + if (!stateOverride && isWindowsDriveLetter(buffer)) { + state = PATH; + } else if (buffer == '') { + url.host = ''; + if (stateOverride) return; + state = PATH_START; + } else { + failure = url.parseHost(buffer); + if (failure) return failure; + if (url.host == 'localhost') url.host = ''; + if (stateOverride) return; + buffer = ''; + state = PATH_START; + } continue; + } else buffer += chr; + break; + + case PATH_START: + if (url.isSpecial()) { + state = PATH; + if (chr != '/' && chr != '\\') continue; + } else if (!stateOverride && chr == '?') { + url.query = ''; + state = QUERY; + } else if (!stateOverride && chr == '#') { + url.fragment = ''; + state = FRAGMENT; + } else if (chr != EOF) { + state = PATH; + if (chr != '/') continue; + } break; + + case PATH: + if ( + chr == EOF || chr == '/' || + (chr == '\\' && url.isSpecial()) || + (!stateOverride && (chr == '?' || chr == '#')) + ) { + if (isDoubleDot(buffer)) { + url.shortenPath(); + if (chr != '/' && !(chr == '\\' && url.isSpecial())) { + push(url.path, ''); + } + } else if (isSingleDot(buffer)) { + if (chr != '/' && !(chr == '\\' && url.isSpecial())) { + push(url.path, ''); + } + } else { + if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) { + if (url.host) url.host = ''; + buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter + } + push(url.path, buffer); + } + buffer = ''; + if (url.scheme == 'file' && (chr == EOF || chr == '?' || chr == '#')) { + while (url.path.length > 1 && url.path[0] === '') { + shift(url.path); + } + } + if (chr == '?') { + url.query = ''; + state = QUERY; + } else if (chr == '#') { + url.fragment = ''; + state = FRAGMENT; + } + } else { + buffer += percentEncode(chr, pathPercentEncodeSet); + } break; + + case CANNOT_BE_A_BASE_URL_PATH: + if (chr == '?') { + url.query = ''; + state = QUERY; + } else if (chr == '#') { + url.fragment = ''; + state = FRAGMENT; + } else if (chr != EOF) { + url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet); + } break; + + case QUERY: + if (!stateOverride && chr == '#') { + url.fragment = ''; + state = FRAGMENT; + } else if (chr != EOF) { + if (chr == "'" && url.isSpecial()) url.query += '%27'; + else if (chr == '#') url.query += '%23'; + else url.query += percentEncode(chr, C0ControlPercentEncodeSet); + } break; + + case FRAGMENT: + if (chr != EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet); + break; + } + + pointer++; + } + }, + // https://url.spec.whatwg.org/#host-parsing + parseHost: function (input) { + var result, codePoints, index; + if (charAt(input, 0) == '[') { + if (charAt(input, input.length - 1) != ']') return INVALID_HOST; + result = parseIPv6(stringSlice(input, 1, -1)); + if (!result) return INVALID_HOST; + this.host = result; + // opaque host + } else if (!this.isSpecial()) { + if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST; + result = ''; + codePoints = arrayFrom(input); + for (index = 0; index < codePoints.length; index++) { + result += percentEncode(codePoints[index], C0ControlPercentEncodeSet); + } + this.host = result; + } else { + input = toASCII(input); + if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST; + result = parseIPv4(input); + if (result === null) return INVALID_HOST; + this.host = result; + } + }, + // https://url.spec.whatwg.org/#cannot-have-a-username-password-port + cannotHaveUsernamePasswordPort: function () { + return !this.host || this.cannotBeABaseURL || this.scheme == 'file'; + }, + // https://url.spec.whatwg.org/#include-credentials + includesCredentials: function () { + return this.username != '' || this.password != ''; + }, + // https://url.spec.whatwg.org/#is-special + isSpecial: function () { + return hasOwn(specialSchemes, this.scheme); + }, + // https://url.spec.whatwg.org/#shorten-a-urls-path + shortenPath: function () { + var path = this.path; + var pathSize = path.length; + if (pathSize && (this.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) { + path.length--; + } + }, + // https://url.spec.whatwg.org/#concept-url-serializer + serialize: function () { + var url = this; + var scheme = url.scheme; + var username = url.username; + var password = url.password; + var host = url.host; + var port = url.port; + var path = url.path; + var query = url.query; + var fragment = url.fragment; + var output = scheme + ':'; + if (host !== null) { + output += '//'; + if (url.includesCredentials()) { + output += username + (password ? ':' + password : '') + '@'; + } + output += serializeHost(host); + if (port !== null) output += ':' + port; + } else if (scheme == 'file') output += '//'; + output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; + if (query !== null) output += '?' + query; + if (fragment !== null) output += '#' + fragment; + return output; + }, + // https://url.spec.whatwg.org/#dom-url-href + setHref: function (href) { + var failure = this.parse(href); + if (failure) throw TypeError(failure); + this.searchParams.update(); + }, + // https://url.spec.whatwg.org/#dom-url-origin + getOrigin: function () { + var scheme = this.scheme; + var port = this.port; + if (scheme == 'blob') try { + return new URLConstructor(scheme.path[0]).origin; + } catch (error) { + return 'null'; + } + if (scheme == 'file' || !this.isSpecial()) return 'null'; + return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : ''); + }, + // https://url.spec.whatwg.org/#dom-url-protocol + getProtocol: function () { + return this.scheme + ':'; + }, + setProtocol: function (protocol) { + this.parse($toString(protocol) + ':', SCHEME_START); + }, + // https://url.spec.whatwg.org/#dom-url-username + getUsername: function () { + return this.username; + }, + setUsername: function (username) { + var codePoints = arrayFrom($toString(username)); + if (this.cannotHaveUsernamePasswordPort()) return; + this.username = ''; + for (var i = 0; i < codePoints.length; i++) { + this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet); + } + }, + // https://url.spec.whatwg.org/#dom-url-password + getPassword: function () { + return this.password; + }, + setPassword: function (password) { + var codePoints = arrayFrom($toString(password)); + if (this.cannotHaveUsernamePasswordPort()) return; + this.password = ''; + for (var i = 0; i < codePoints.length; i++) { + this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet); + } + }, + // https://url.spec.whatwg.org/#dom-url-host + getHost: function () { + var host = this.host; + var port = this.port; + return host === null ? '' + : port === null ? serializeHost(host) + : serializeHost(host) + ':' + port; + }, + setHost: function (host) { + if (this.cannotBeABaseURL) return; + this.parse(host, HOST); + }, + // https://url.spec.whatwg.org/#dom-url-hostname + getHostname: function () { + var host = this.host; + return host === null ? '' : serializeHost(host); + }, + setHostname: function (hostname) { + if (this.cannotBeABaseURL) return; + this.parse(hostname, HOSTNAME); + }, + // https://url.spec.whatwg.org/#dom-url-port + getPort: function () { + var port = this.port; + return port === null ? '' : $toString(port); + }, + setPort: function (port) { + if (this.cannotHaveUsernamePasswordPort()) return; + port = $toString(port); + if (port == '') this.port = null; + else this.parse(port, PORT); + }, + // https://url.spec.whatwg.org/#dom-url-pathname + getPathname: function () { + var path = this.path; + return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; + }, + setPathname: function (pathname) { + if (this.cannotBeABaseURL) return; + this.path = []; + this.parse(pathname, PATH_START); + }, + // https://url.spec.whatwg.org/#dom-url-search + getSearch: function () { + var query = this.query; + return query ? '?' + query : ''; + }, + setSearch: function (search) { + search = $toString(search); + if (search == '') { + this.query = null; + } else { + if ('?' == charAt(search, 0)) search = stringSlice(search, 1); + this.query = ''; + this.parse(search, QUERY); + } + this.searchParams.update(); + }, + // https://url.spec.whatwg.org/#dom-url-searchparams + getSearchParams: function () { + return this.searchParams.facade; + }, + // https://url.spec.whatwg.org/#dom-url-hash + getHash: function () { + var fragment = this.fragment; + return fragment ? '#' + fragment : ''; + }, + setHash: function (hash) { + hash = $toString(hash); + if (hash == '') { + this.fragment = null; + return; + } + if ('#' == charAt(hash, 0)) hash = stringSlice(hash, 1); + this.fragment = ''; + this.parse(hash, FRAGMENT); + }, + update: function () { + this.query = this.searchParams.serialize() || null; + } +}; + +// `URL` constructor +// https://url.spec.whatwg.org/#url-class +var URLConstructor = function URL(url /* , base */) { + var that = anInstance(this, URLPrototype); + var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined; + var state = setInternalState(that, new URLState(url, false, base)); + if (!DESCRIPTORS) { + that.href = state.serialize(); + that.origin = state.getOrigin(); + that.protocol = state.getProtocol(); + that.username = state.getUsername(); + that.password = state.getPassword(); + that.host = state.getHost(); + that.hostname = state.getHostname(); + that.port = state.getPort(); + that.pathname = state.getPathname(); + that.search = state.getSearch(); + that.searchParams = state.getSearchParams(); + that.hash = state.getHash(); + } +}; + +var URLPrototype = URLConstructor.prototype; + +var accessorDescriptor = function (getter, setter) { + return { + get: function () { + return getInternalURLState(this)[getter](); + }, + set: setter && function (value) { + return getInternalURLState(this)[setter](value); + }, + configurable: true, + enumerable: true + }; +}; + +if (DESCRIPTORS) { + // `URL.prototype.href` accessors pair + // https://url.spec.whatwg.org/#dom-url-href + defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref')); + // `URL.prototype.origin` getter + // https://url.spec.whatwg.org/#dom-url-origin + defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin')); + // `URL.prototype.protocol` accessors pair + // https://url.spec.whatwg.org/#dom-url-protocol + defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol')); + // `URL.prototype.username` accessors pair + // https://url.spec.whatwg.org/#dom-url-username + defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername')); + // `URL.prototype.password` accessors pair + // https://url.spec.whatwg.org/#dom-url-password + defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword')); + // `URL.prototype.host` accessors pair + // https://url.spec.whatwg.org/#dom-url-host + defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost')); + // `URL.prototype.hostname` accessors pair + // https://url.spec.whatwg.org/#dom-url-hostname + defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname')); + // `URL.prototype.port` accessors pair + // https://url.spec.whatwg.org/#dom-url-port + defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort')); + // `URL.prototype.pathname` accessors pair + // https://url.spec.whatwg.org/#dom-url-pathname + defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname')); + // `URL.prototype.search` accessors pair + // https://url.spec.whatwg.org/#dom-url-search + defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch')); + // `URL.prototype.searchParams` getter + // https://url.spec.whatwg.org/#dom-url-searchparams + defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams')); + // `URL.prototype.hash` accessors pair + // https://url.spec.whatwg.org/#dom-url-hash + defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash')); +} + +// `URL.prototype.toJSON` method +// https://url.spec.whatwg.org/#dom-url-tojson +defineBuiltIn(URLPrototype, 'toJSON', function toJSON() { + return getInternalURLState(this).serialize(); +}, { enumerable: true }); + +// `URL.prototype.toString` method +// https://url.spec.whatwg.org/#URL-stringification-behavior +defineBuiltIn(URLPrototype, 'toString', function toString() { + return getInternalURLState(this).serialize(); +}, { enumerable: true }); + +if (NativeURL) { + var nativeCreateObjectURL = NativeURL.createObjectURL; + var nativeRevokeObjectURL = NativeURL.revokeObjectURL; + // `URL.createObjectURL` method + // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL + if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL)); + // `URL.revokeObjectURL` method + // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL + if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL)); +} + +setToStringTag(URLConstructor, 'URL'); + +$({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { + URL: URLConstructor +}); diff --git a/node_modules/core-js/modules/web.url.js b/node_modules/core-js/modules/web.url.js new file mode 100644 index 00000000..5ec16d10 --- /dev/null +++ b/node_modules/core-js/modules/web.url.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this module from `core-js@4` since it's replaced to module below +require('../modules/web.url.constructor'); diff --git a/node_modules/core-js/modules/web.url.to-json.js b/node_modules/core-js/modules/web.url.to-json.js new file mode 100644 index 00000000..f4f41c36 --- /dev/null +++ b/node_modules/core-js/modules/web.url.to-json.js @@ -0,0 +1,11 @@ +'use strict'; +var $ = require('../internals/export'); +var call = require('../internals/function-call'); + +// `URL.prototype.toJSON` method +// https://url.spec.whatwg.org/#dom-url-tojson +$({ target: 'URL', proto: true, enumerable: true }, { + toJSON: function toJSON() { + return call(URL.prototype.toString, this); + } +}); diff --git a/node_modules/core-js/package.json b/node_modules/core-js/package.json new file mode 100644 index 00000000..e2029bd8 --- /dev/null +++ b/node_modules/core-js/package.json @@ -0,0 +1,70 @@ +{ + "name": "core-js", + "version": "3.32.0", + "description": "Standard library", + "keywords": [ + "ES3", + "ES5", + "ES6", + "ES7", + "ES2015", + "ES2016", + "ES2017", + "ES2018", + "ES2019", + "ES2020", + "ES2021", + "ES2022", + "ES2023", + "ECMAScript 3", + "ECMAScript 5", + "ECMAScript 6", + "ECMAScript 7", + "ECMAScript 2015", + "ECMAScript 2016", + "ECMAScript 2017", + "ECMAScript 2018", + "ECMAScript 2019", + "ECMAScript 2020", + "ECMAScript 2021", + "ECMAScript 2022", + "ECMAScript 2023", + "Map", + "Set", + "WeakMap", + "WeakSet", + "TypedArray", + "Promise", + "Observable", + "Symbol", + "Iterator", + "AsyncIterator", + "URL", + "URLSearchParams", + "queueMicrotask", + "setImmediate", + "structuredClone", + "polyfill", + "ponyfill", + "shim" + ], + "repository": { + "type": "git", + "url": "https://github.com/zloirock/core-js.git", + "directory": "packages/core-js" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + }, + "license": "MIT", + "author": { + "name": "Denis Pushkarev", + "email": "zloirock@zloirock.ru", + "url": "http://zloirock.ru" + }, + "main": "index.js", + "scripts": { + "postinstall": "node -e \"try{require('./postinstall')}catch(e){}\"" + } +} diff --git a/node_modules/core-js/postinstall.js b/node_modules/core-js/postinstall.js new file mode 100644 index 00000000..1b99f9a3 --- /dev/null +++ b/node_modules/core-js/postinstall.js @@ -0,0 +1,60 @@ +'use strict'; +var fs = require('fs'); +var os = require('os'); +var path = require('path'); + +var env = process.env; +var ADBLOCK = is(env.ADBLOCK); +var COLOR = is(env.npm_config_color); +var DISABLE_OPENCOLLECTIVE = is(env.DISABLE_OPENCOLLECTIVE); +var SILENT = ['silent', 'error', 'warn'].indexOf(env.npm_config_loglevel) !== -1; +var OPEN_SOURCE_CONTRIBUTOR = is(env.OPEN_SOURCE_CONTRIBUTOR); +var MINUTE = 60 * 1000; + +// you could add a PR with an env variable for your CI detection +var CI = [ + 'BUILD_NUMBER', + 'CI', + 'CONTINUOUS_INTEGRATION', + 'DRONE', + 'RUN_ID' +].some(function (it) { return is(env[it]); }); + +var BANNER = '\u001B[96mThank you for using core-js (\u001B[94m https://github.com/zloirock/core-js \u001B[96m) for polyfilling JavaScript standard library!\u001B[0m\n\n' + + '\u001B[96mThe project needs your help! Please consider supporting core-js:\u001B[0m\n' + + '\u001B[96m>\u001B[94m https://opencollective.com/core-js \u001B[0m\n' + + '\u001B[96m>\u001B[94m https://patreon.com/zloirock \u001B[0m\n' + + '\u001B[96m>\u001B[94m https://boosty.to/zloirock \u001B[0m\n' + + '\u001B[96m>\u001B[94m bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz \u001B[0m\n\n' + + '\u001B[96mI highly recommend reading this:\u001B[94m https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md \u001B[96m\u001B[0m\n'; + +function is(it) { + return !!it && it !== '0' && it !== 'false'; +} + +function isBannerRequired() { + if (ADBLOCK || CI || DISABLE_OPENCOLLECTIVE || SILENT || OPEN_SOURCE_CONTRIBUTOR) return false; + var file = path.join(os.tmpdir(), 'core-js-banners'); + var banners = []; + try { + var DELTA = Date.now() - fs.statSync(file).mtime; + if (DELTA >= 0 && DELTA < MINUTE * 3) { + banners = JSON.parse(fs.readFileSync(file)); + if (banners.indexOf(BANNER) !== -1) return false; + } + } catch (error) { + banners = []; + } + try { + banners.push(BANNER); + fs.writeFileSync(file, JSON.stringify(banners), 'utf8'); + } catch (error) { /* empty */ } + return true; +} + +function showBanner() { + // eslint-disable-next-line no-console, regexp/no-control-character -- output + console.log(COLOR ? BANNER : BANNER.replace(/\u001B\[\d+m/g, '')); +} + +if (isBannerRequired()) showBanner(); diff --git a/node_modules/core-js/proposals/accessible-object-hasownproperty.js b/node_modules/core-js/proposals/accessible-object-hasownproperty.js new file mode 100644 index 00000000..aad09888 --- /dev/null +++ b/node_modules/core-js/proposals/accessible-object-hasownproperty.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-accessible-object-hasownproperty +require('../modules/esnext.object.has-own'); diff --git a/node_modules/core-js/proposals/array-buffer-transfer.js b/node_modules/core-js/proposals/array-buffer-transfer.js new file mode 100644 index 00000000..3fc6be32 --- /dev/null +++ b/node_modules/core-js/proposals/array-buffer-transfer.js @@ -0,0 +1,4 @@ +'use strict'; +require('../modules/esnext.array-buffer.detached'); +require('../modules/esnext.array-buffer.transfer'); +require('../modules/esnext.array-buffer.transfer-to-fixed-length'); diff --git a/node_modules/core-js/proposals/array-filtering-stage-1.js b/node_modules/core-js/proposals/array-filtering-stage-1.js new file mode 100644 index 00000000..de07b81b --- /dev/null +++ b/node_modules/core-js/proposals/array-filtering-stage-1.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-array-filtering +require('../modules/esnext.array.filter-reject'); +require('../modules/esnext.typed-array.filter-reject'); diff --git a/node_modules/core-js/proposals/array-filtering.js b/node_modules/core-js/proposals/array-filtering.js new file mode 100644 index 00000000..624b1a9f --- /dev/null +++ b/node_modules/core-js/proposals/array-filtering.js @@ -0,0 +1,8 @@ +'use strict'; +// https://github.com/tc39/proposal-array-filtering +// TODO: Remove from `core-js@4` +require('../modules/esnext.array.filter-out'); +require('../modules/esnext.array.filter-reject'); +// TODO: Remove from `core-js@4` +require('../modules/esnext.typed-array.filter-out'); +require('../modules/esnext.typed-array.filter-reject'); diff --git a/node_modules/core-js/proposals/array-find-from-last.js b/node_modules/core-js/proposals/array-find-from-last.js new file mode 100644 index 00000000..a60804bf --- /dev/null +++ b/node_modules/core-js/proposals/array-find-from-last.js @@ -0,0 +1,6 @@ +'use strict'; +// https://github.com/tc39/proposal-array-find-from-last/ +require('../modules/esnext.array.find-last'); +require('../modules/esnext.array.find-last-index'); +require('../modules/esnext.typed-array.find-last'); +require('../modules/esnext.typed-array.find-last-index'); diff --git a/node_modules/core-js/proposals/array-flat-map.js b/node_modules/core-js/proposals/array-flat-map.js new file mode 100644 index 00000000..bd56314e --- /dev/null +++ b/node_modules/core-js/proposals/array-flat-map.js @@ -0,0 +1,6 @@ +'use strict'; +// https://github.com/tc39/proposal-flatMap +require('../modules/es.array.flat'); +require('../modules/es.array.flat-map'); +require('../modules/es.array.unscopables.flat'); +require('../modules/es.array.unscopables.flat-map'); diff --git a/node_modules/core-js/proposals/array-from-async-stage-2.js b/node_modules/core-js/proposals/array-from-async-stage-2.js new file mode 100644 index 00000000..70264eed --- /dev/null +++ b/node_modules/core-js/proposals/array-from-async-stage-2.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-array-from-async +require('../modules/esnext.array.from-async'); diff --git a/node_modules/core-js/proposals/array-from-async.js b/node_modules/core-js/proposals/array-from-async.js new file mode 100644 index 00000000..bf4f5438 --- /dev/null +++ b/node_modules/core-js/proposals/array-from-async.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-array-from-async +require('../modules/esnext.array.from-async'); +// TODO: Remove from `core-js@4` +require('../modules/esnext.typed-array.from-async'); diff --git a/node_modules/core-js/proposals/array-grouping-stage-3-2.js b/node_modules/core-js/proposals/array-grouping-stage-3-2.js new file mode 100644 index 00000000..b4bc7423 --- /dev/null +++ b/node_modules/core-js/proposals/array-grouping-stage-3-2.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-array-grouping +require('../modules/esnext.array.group'); +require('../modules/esnext.array.group-to-map'); diff --git a/node_modules/core-js/proposals/array-grouping-stage-3.js b/node_modules/core-js/proposals/array-grouping-stage-3.js new file mode 100644 index 00000000..338c26e8 --- /dev/null +++ b/node_modules/core-js/proposals/array-grouping-stage-3.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-array-grouping +// TODO: Remove from `core-js@4` +require('../modules/esnext.array.group-by'); +require('../modules/esnext.array.group-by-to-map'); diff --git a/node_modules/core-js/proposals/array-grouping-v2.js b/node_modules/core-js/proposals/array-grouping-v2.js new file mode 100644 index 00000000..6cca4194 --- /dev/null +++ b/node_modules/core-js/proposals/array-grouping-v2.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-array-grouping +require('../modules/esnext.map.group-by'); +require('../modules/esnext.object.group-by'); diff --git a/node_modules/core-js/proposals/array-grouping.js b/node_modules/core-js/proposals/array-grouping.js new file mode 100644 index 00000000..8ee49a01 --- /dev/null +++ b/node_modules/core-js/proposals/array-grouping.js @@ -0,0 +1,6 @@ +'use strict'; +// https://github.com/tc39/proposal-array-grouping +require('../modules/esnext.array.group-by'); +require('../modules/esnext.array.group-by-to-map'); +// TODO: Remove from `core-js@4` +require('../modules/esnext.typed-array.group-by'); diff --git a/node_modules/core-js/proposals/array-includes.js b/node_modules/core-js/proposals/array-includes.js new file mode 100644 index 00000000..7c2726d0 --- /dev/null +++ b/node_modules/core-js/proposals/array-includes.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-Array.prototype.includes +require('../modules/es.array.includes'); +require('../modules/es.typed-array.includes'); diff --git a/node_modules/core-js/proposals/array-is-template-object.js b/node_modules/core-js/proposals/array-is-template-object.js new file mode 100644 index 00000000..3864d4ce --- /dev/null +++ b/node_modules/core-js/proposals/array-is-template-object.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-array-is-template-object +require('../modules/esnext.array.is-template-object'); diff --git a/node_modules/core-js/proposals/array-last.js b/node_modules/core-js/proposals/array-last.js new file mode 100644 index 00000000..7d5015ef --- /dev/null +++ b/node_modules/core-js/proposals/array-last.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-array-last +require('../modules/esnext.array.last-index'); +require('../modules/esnext.array.last-item'); diff --git a/node_modules/core-js/proposals/array-unique.js b/node_modules/core-js/proposals/array-unique.js new file mode 100644 index 00000000..d854af00 --- /dev/null +++ b/node_modules/core-js/proposals/array-unique.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-array-unique +require('../modules/es.map'); +require('../modules/esnext.array.unique-by'); +require('../modules/esnext.typed-array.unique-by'); diff --git a/node_modules/core-js/proposals/async-explicit-resource-management.js b/node_modules/core-js/proposals/async-explicit-resource-management.js new file mode 100644 index 00000000..3d2a651c --- /dev/null +++ b/node_modules/core-js/proposals/async-explicit-resource-management.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: Remove from `core-js@4` +// https://github.com/tc39/proposal-async-explicit-resource-management +require('../modules/esnext.suppressed-error.constructor'); +require('../modules/esnext.async-disposable-stack.constructor'); +require('../modules/esnext.async-iterator.async-dispose'); +require('../modules/esnext.symbol.async-dispose'); diff --git a/node_modules/core-js/proposals/async-iteration.js b/node_modules/core-js/proposals/async-iteration.js new file mode 100644 index 00000000..085dbfba --- /dev/null +++ b/node_modules/core-js/proposals/async-iteration.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-async-iteration +require('../modules/es.symbol.async-iterator'); diff --git a/node_modules/core-js/proposals/async-iterator-helpers.js b/node_modules/core-js/proposals/async-iterator-helpers.js new file mode 100644 index 00000000..22314337 --- /dev/null +++ b/node_modules/core-js/proposals/async-iterator-helpers.js @@ -0,0 +1,16 @@ +'use strict'; +// https://github.com/tc39/proposal-async-iterator-helpers +require('../modules/esnext.async-iterator.constructor'); +require('../modules/esnext.async-iterator.drop'); +require('../modules/esnext.async-iterator.every'); +require('../modules/esnext.async-iterator.filter'); +require('../modules/esnext.async-iterator.find'); +require('../modules/esnext.async-iterator.flat-map'); +require('../modules/esnext.async-iterator.for-each'); +require('../modules/esnext.async-iterator.from'); +require('../modules/esnext.async-iterator.map'); +require('../modules/esnext.async-iterator.reduce'); +require('../modules/esnext.async-iterator.some'); +require('../modules/esnext.async-iterator.take'); +require('../modules/esnext.async-iterator.to-array'); +require('../modules/esnext.iterator.to-async'); diff --git a/node_modules/core-js/proposals/change-array-by-copy-stage-4.js b/node_modules/core-js/proposals/change-array-by-copy-stage-4.js new file mode 100644 index 00000000..d93aa8a0 --- /dev/null +++ b/node_modules/core-js/proposals/change-array-by-copy-stage-4.js @@ -0,0 +1,9 @@ +'use strict'; +// https://github.com/tc39/proposal-change-array-by-copy +require('../modules/esnext.array.to-reversed'); +require('../modules/esnext.array.to-sorted'); +require('../modules/esnext.array.to-spliced'); +require('../modules/esnext.array.with'); +require('../modules/esnext.typed-array.to-reversed'); +require('../modules/esnext.typed-array.to-sorted'); +require('../modules/esnext.typed-array.with'); diff --git a/node_modules/core-js/proposals/change-array-by-copy.js b/node_modules/core-js/proposals/change-array-by-copy.js new file mode 100644 index 00000000..02188ee4 --- /dev/null +++ b/node_modules/core-js/proposals/change-array-by-copy.js @@ -0,0 +1,11 @@ +'use strict'; +// https://github.com/tc39/proposal-change-array-by-copy +require('../modules/esnext.array.to-reversed'); +require('../modules/esnext.array.to-sorted'); +require('../modules/esnext.array.to-spliced'); +require('../modules/esnext.array.with'); +require('../modules/esnext.typed-array.to-reversed'); +require('../modules/esnext.typed-array.to-sorted'); +// TODO: Remove from `core-js@4` +require('../modules/esnext.typed-array.to-spliced'); +require('../modules/esnext.typed-array.with'); diff --git a/node_modules/core-js/proposals/collection-methods.js b/node_modules/core-js/proposals/collection-methods.js new file mode 100644 index 00000000..32a82f61 --- /dev/null +++ b/node_modules/core-js/proposals/collection-methods.js @@ -0,0 +1,29 @@ +'use strict'; +// https://github.com/tc39/proposal-collection-methods +require('../modules/esnext.map.group-by'); +require('../modules/esnext.map.key-by'); +require('../modules/esnext.map.delete-all'); +require('../modules/esnext.map.every'); +require('../modules/esnext.map.filter'); +require('../modules/esnext.map.find'); +require('../modules/esnext.map.find-key'); +require('../modules/esnext.map.includes'); +require('../modules/esnext.map.key-of'); +require('../modules/esnext.map.map-keys'); +require('../modules/esnext.map.map-values'); +require('../modules/esnext.map.merge'); +require('../modules/esnext.map.reduce'); +require('../modules/esnext.map.some'); +require('../modules/esnext.map.update'); +require('../modules/esnext.set.add-all'); +require('../modules/esnext.set.delete-all'); +require('../modules/esnext.set.every'); +require('../modules/esnext.set.filter'); +require('../modules/esnext.set.find'); +require('../modules/esnext.set.join'); +require('../modules/esnext.set.map'); +require('../modules/esnext.set.reduce'); +require('../modules/esnext.set.some'); +require('../modules/esnext.weak-map.delete-all'); +require('../modules/esnext.weak-set.add-all'); +require('../modules/esnext.weak-set.delete-all'); diff --git a/node_modules/core-js/proposals/collection-of-from.js b/node_modules/core-js/proposals/collection-of-from.js new file mode 100644 index 00000000..6fbf7e3b --- /dev/null +++ b/node_modules/core-js/proposals/collection-of-from.js @@ -0,0 +1,10 @@ +'use strict'; +// https://github.com/tc39/proposal-setmap-offrom +require('../modules/esnext.map.from'); +require('../modules/esnext.map.of'); +require('../modules/esnext.set.from'); +require('../modules/esnext.set.of'); +require('../modules/esnext.weak-map.from'); +require('../modules/esnext.weak-map.of'); +require('../modules/esnext.weak-set.from'); +require('../modules/esnext.weak-set.of'); diff --git a/node_modules/core-js/proposals/data-view-get-set-uint8-clamped.js b/node_modules/core-js/proposals/data-view-get-set-uint8-clamped.js new file mode 100644 index 00000000..0b347209 --- /dev/null +++ b/node_modules/core-js/proposals/data-view-get-set-uint8-clamped.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-dataview-get-set-uint8c +require('../modules/esnext.data-view.get-uint8-clamped'); +require('../modules/esnext.data-view.set-uint8-clamped'); diff --git a/node_modules/core-js/proposals/decorator-metadata-v2.js b/node_modules/core-js/proposals/decorator-metadata-v2.js new file mode 100644 index 00000000..e0a26c2c --- /dev/null +++ b/node_modules/core-js/proposals/decorator-metadata-v2.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-decorator-metadata +require('../modules/esnext.function.metadata'); +require('../modules/esnext.symbol.metadata'); diff --git a/node_modules/core-js/proposals/decorator-metadata.js b/node_modules/core-js/proposals/decorator-metadata.js new file mode 100644 index 00000000..2cc3395c --- /dev/null +++ b/node_modules/core-js/proposals/decorator-metadata.js @@ -0,0 +1,4 @@ +'use strict'; +// TODO: Remove from `core-js@4` +// https://github.com/tc39/proposal-decorator-metadata +require('../modules/esnext.symbol.metadata-key'); diff --git a/node_modules/core-js/proposals/decorators.js b/node_modules/core-js/proposals/decorators.js new file mode 100644 index 00000000..9e52ad22 --- /dev/null +++ b/node_modules/core-js/proposals/decorators.js @@ -0,0 +1,4 @@ +'use strict'; +// TODO: Remove from `core-js@4` +// https://github.com/tc39/proposal-decorators +require('../modules/esnext.symbol.metadata'); diff --git a/node_modules/core-js/proposals/efficient-64-bit-arithmetic.js b/node_modules/core-js/proposals/efficient-64-bit-arithmetic.js new file mode 100644 index 00000000..f9af1339 --- /dev/null +++ b/node_modules/core-js/proposals/efficient-64-bit-arithmetic.js @@ -0,0 +1,7 @@ +'use strict'; +// TODO: remove from `core-js@4` as withdrawn +// https://gist.github.com/BrendanEich/4294d5c212a6d2254703 +require('../modules/esnext.math.iaddh'); +require('../modules/esnext.math.isubh'); +require('../modules/esnext.math.imulh'); +require('../modules/esnext.math.umulh'); diff --git a/node_modules/core-js/proposals/error-cause.js b/node_modules/core-js/proposals/error-cause.js new file mode 100644 index 00000000..16dd0207 --- /dev/null +++ b/node_modules/core-js/proposals/error-cause.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-error-cause +require('../modules/es.error.cause'); +require('../modules/es.aggregate-error.cause'); diff --git a/node_modules/core-js/proposals/explicit-resource-management.js b/node_modules/core-js/proposals/explicit-resource-management.js new file mode 100644 index 00000000..08b73383 --- /dev/null +++ b/node_modules/core-js/proposals/explicit-resource-management.js @@ -0,0 +1,9 @@ +'use strict'; +// https://github.com/tc39/proposal-explicit-resource-management +require('../modules/esnext.suppressed-error.constructor'); +require('../modules/esnext.async-disposable-stack.constructor'); +require('../modules/esnext.async-iterator.async-dispose'); +require('../modules/esnext.disposable-stack.constructor'); +require('../modules/esnext.iterator.dispose'); +require('../modules/esnext.symbol.async-dispose'); +require('../modules/esnext.symbol.dispose'); diff --git a/node_modules/core-js/proposals/float16.js b/node_modules/core-js/proposals/float16.js new file mode 100644 index 00000000..ac43dac2 --- /dev/null +++ b/node_modules/core-js/proposals/float16.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-float16array +require('../modules/esnext.data-view.get-float16'); +require('../modules/esnext.data-view.set-float16'); +require('../modules/esnext.math.f16round'); diff --git a/node_modules/core-js/proposals/function-demethodize.js b/node_modules/core-js/proposals/function-demethodize.js new file mode 100644 index 00000000..6276099d --- /dev/null +++ b/node_modules/core-js/proposals/function-demethodize.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/js-choi/proposal-function-demethodize +require('../modules/esnext.function.demethodize'); diff --git a/node_modules/core-js/proposals/function-is-callable-is-constructor.js b/node_modules/core-js/proposals/function-is-callable-is-constructor.js new file mode 100644 index 00000000..888ddd04 --- /dev/null +++ b/node_modules/core-js/proposals/function-is-callable-is-constructor.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md +require('../modules/esnext.function.is-callable'); +require('../modules/esnext.function.is-constructor'); diff --git a/node_modules/core-js/proposals/function-un-this.js b/node_modules/core-js/proposals/function-un-this.js new file mode 100644 index 00000000..88cb32d6 --- /dev/null +++ b/node_modules/core-js/proposals/function-un-this.js @@ -0,0 +1,4 @@ +'use strict'; +// TODO: Remove from `core-js@4` +// https://github.com/js-choi/proposal-function-un-this +require('../modules/esnext.function.un-this'); diff --git a/node_modules/core-js/proposals/global-this.js b/node_modules/core-js/proposals/global-this.js new file mode 100644 index 00000000..04421a45 --- /dev/null +++ b/node_modules/core-js/proposals/global-this.js @@ -0,0 +1,6 @@ +'use strict'; +// https://github.com/tc39/proposal-global +require('../modules/esnext.global-this'); +var global = require('../internals/global'); + +module.exports = global; diff --git a/node_modules/core-js/proposals/index.js b/node_modules/core-js/proposals/index.js new file mode 100644 index 00000000..c470daee --- /dev/null +++ b/node_modules/core-js/proposals/index.js @@ -0,0 +1,3 @@ +'use strict'; +// TODO: Remove this entry from `core-js@4` +require('../stage'); diff --git a/node_modules/core-js/proposals/iterator-helpers-stage-3-2.js b/node_modules/core-js/proposals/iterator-helpers-stage-3-2.js new file mode 100644 index 00000000..39d9b1da --- /dev/null +++ b/node_modules/core-js/proposals/iterator-helpers-stage-3-2.js @@ -0,0 +1,15 @@ +'use strict'; +// https://github.com/tc39/proposal-iterator-helpers +require('../modules/esnext.iterator.constructor'); +require('../modules/esnext.iterator.drop'); +require('../modules/esnext.iterator.every'); +require('../modules/esnext.iterator.filter'); +require('../modules/esnext.iterator.find'); +require('../modules/esnext.iterator.flat-map'); +require('../modules/esnext.iterator.for-each'); +require('../modules/esnext.iterator.from'); +require('../modules/esnext.iterator.map'); +require('../modules/esnext.iterator.reduce'); +require('../modules/esnext.iterator.some'); +require('../modules/esnext.iterator.take'); +require('../modules/esnext.iterator.to-array'); diff --git a/node_modules/core-js/proposals/iterator-helpers-stage-3.js b/node_modules/core-js/proposals/iterator-helpers-stage-3.js new file mode 100644 index 00000000..dff419e3 --- /dev/null +++ b/node_modules/core-js/proposals/iterator-helpers-stage-3.js @@ -0,0 +1,29 @@ +'use strict'; +// https://github.com/tc39/proposal-iterator-helpers +require('../modules/esnext.async-iterator.constructor'); +require('../modules/esnext.async-iterator.drop'); +require('../modules/esnext.async-iterator.every'); +require('../modules/esnext.async-iterator.filter'); +require('../modules/esnext.async-iterator.find'); +require('../modules/esnext.async-iterator.flat-map'); +require('../modules/esnext.async-iterator.for-each'); +require('../modules/esnext.async-iterator.from'); +require('../modules/esnext.async-iterator.map'); +require('../modules/esnext.async-iterator.reduce'); +require('../modules/esnext.async-iterator.some'); +require('../modules/esnext.async-iterator.take'); +require('../modules/esnext.async-iterator.to-array'); +require('../modules/esnext.iterator.constructor'); +require('../modules/esnext.iterator.drop'); +require('../modules/esnext.iterator.every'); +require('../modules/esnext.iterator.filter'); +require('../modules/esnext.iterator.find'); +require('../modules/esnext.iterator.flat-map'); +require('../modules/esnext.iterator.for-each'); +require('../modules/esnext.iterator.from'); +require('../modules/esnext.iterator.map'); +require('../modules/esnext.iterator.reduce'); +require('../modules/esnext.iterator.some'); +require('../modules/esnext.iterator.take'); +require('../modules/esnext.iterator.to-array'); +require('../modules/esnext.iterator.to-async'); diff --git a/node_modules/core-js/proposals/iterator-helpers.js b/node_modules/core-js/proposals/iterator-helpers.js new file mode 100644 index 00000000..4dc46a2f --- /dev/null +++ b/node_modules/core-js/proposals/iterator-helpers.js @@ -0,0 +1,8 @@ +'use strict'; +// TODO: remove from `core-js@4` +// https://github.com/tc39/proposal-iterator-helpers +require('./iterator-helpers-stage-3'); +require('../modules/esnext.async-iterator.as-indexed-pairs'); +require('../modules/esnext.async-iterator.indexed'); +require('../modules/esnext.iterator.as-indexed-pairs'); +require('../modules/esnext.iterator.indexed'); diff --git a/node_modules/core-js/proposals/iterator-range.js b/node_modules/core-js/proposals/iterator-range.js new file mode 100644 index 00000000..b1e6b5de --- /dev/null +++ b/node_modules/core-js/proposals/iterator-range.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-Number.range +require('../modules/esnext.iterator.constructor'); +require('../modules/esnext.iterator.range'); diff --git a/node_modules/core-js/proposals/json-parse-with-source.js b/node_modules/core-js/proposals/json-parse-with-source.js new file mode 100644 index 00000000..c4b83160 --- /dev/null +++ b/node_modules/core-js/proposals/json-parse-with-source.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-json-parse-with-source +require('../modules/esnext.json.is-raw-json'); +require('../modules/esnext.json.parse'); +require('../modules/esnext.json.raw-json'); diff --git a/node_modules/core-js/proposals/keys-composition.js b/node_modules/core-js/proposals/keys-composition.js new file mode 100644 index 00000000..076c342a --- /dev/null +++ b/node_modules/core-js/proposals/keys-composition.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey +require('../modules/esnext.composite-key'); +require('../modules/esnext.composite-symbol'); diff --git a/node_modules/core-js/proposals/map-update-or-insert.js b/node_modules/core-js/proposals/map-update-or-insert.js new file mode 100644 index 00000000..7fb69259 --- /dev/null +++ b/node_modules/core-js/proposals/map-update-or-insert.js @@ -0,0 +1,4 @@ +'use strict'; +// TODO: remove from `core-js@4` +// https://github.com/tc39/proposal-upsert +require('./map-upsert'); diff --git a/node_modules/core-js/proposals/map-upsert-stage-2.js b/node_modules/core-js/proposals/map-upsert-stage-2.js new file mode 100644 index 00000000..d3166867 --- /dev/null +++ b/node_modules/core-js/proposals/map-upsert-stage-2.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-upsert +require('../modules/esnext.map.emplace'); +require('../modules/esnext.weak-map.emplace'); diff --git a/node_modules/core-js/proposals/map-upsert.js b/node_modules/core-js/proposals/map-upsert.js new file mode 100644 index 00000000..8d9e84dc --- /dev/null +++ b/node_modules/core-js/proposals/map-upsert.js @@ -0,0 +1,10 @@ +'use strict'; +// https://github.com/tc39/proposal-upsert +require('../modules/esnext.map.emplace'); +// TODO: remove from `core-js@4` +require('../modules/esnext.map.update-or-insert'); +// TODO: remove from `core-js@4` +require('../modules/esnext.map.upsert'); +require('../modules/esnext.weak-map.emplace'); +// TODO: remove from `core-js@4` +require('../modules/esnext.weak-map.upsert'); diff --git a/node_modules/core-js/proposals/math-extensions.js b/node_modules/core-js/proposals/math-extensions.js new file mode 100644 index 00000000..fddf1077 --- /dev/null +++ b/node_modules/core-js/proposals/math-extensions.js @@ -0,0 +1,9 @@ +'use strict'; +// https://github.com/rwaldron/proposal-math-extensions +require('../modules/esnext.math.clamp'); +require('../modules/esnext.math.deg-per-rad'); +require('../modules/esnext.math.degrees'); +require('../modules/esnext.math.fscale'); +require('../modules/esnext.math.rad-per-deg'); +require('../modules/esnext.math.radians'); +require('../modules/esnext.math.scale'); diff --git a/node_modules/core-js/proposals/math-signbit.js b/node_modules/core-js/proposals/math-signbit.js new file mode 100644 index 00000000..62d74d0f --- /dev/null +++ b/node_modules/core-js/proposals/math-signbit.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-Math.signbit +require('../modules/esnext.math.signbit'); diff --git a/node_modules/core-js/proposals/number-from-string.js b/node_modules/core-js/proposals/number-from-string.js new file mode 100644 index 00000000..d5744229 --- /dev/null +++ b/node_modules/core-js/proposals/number-from-string.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-number-fromstring +require('../modules/esnext.number.from-string'); diff --git a/node_modules/core-js/proposals/number-range.js b/node_modules/core-js/proposals/number-range.js new file mode 100644 index 00000000..6483292a --- /dev/null +++ b/node_modules/core-js/proposals/number-range.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-Number.range +require('../modules/esnext.bigint.range'); +require('../modules/esnext.number.range'); diff --git a/node_modules/core-js/proposals/object-from-entries.js b/node_modules/core-js/proposals/object-from-entries.js new file mode 100644 index 00000000..b9ea7e1c --- /dev/null +++ b/node_modules/core-js/proposals/object-from-entries.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-object-from-entries +require('../modules/es.object.from-entries'); diff --git a/node_modules/core-js/proposals/object-getownpropertydescriptors.js b/node_modules/core-js/proposals/object-getownpropertydescriptors.js new file mode 100644 index 00000000..121cae6e --- /dev/null +++ b/node_modules/core-js/proposals/object-getownpropertydescriptors.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-object-getownpropertydescriptors +require('../modules/es.object.get-own-property-descriptors'); diff --git a/node_modules/core-js/proposals/object-iteration.js b/node_modules/core-js/proposals/object-iteration.js new file mode 100644 index 00000000..5d406023 --- /dev/null +++ b/node_modules/core-js/proposals/object-iteration.js @@ -0,0 +1,6 @@ +'use strict'; +// TODO: remove from `core-js@4` as withdrawn +// https://github.com/tc39/proposal-object-iteration +require('../modules/esnext.object.iterate-entries'); +require('../modules/esnext.object.iterate-keys'); +require('../modules/esnext.object.iterate-values'); diff --git a/node_modules/core-js/proposals/object-values-entries.js b/node_modules/core-js/proposals/object-values-entries.js new file mode 100644 index 00000000..f37e3034 --- /dev/null +++ b/node_modules/core-js/proposals/object-values-entries.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-object-values-entries +require('../modules/es.object.entries'); +require('../modules/es.object.values'); diff --git a/node_modules/core-js/proposals/observable.js b/node_modules/core-js/proposals/observable.js new file mode 100644 index 00000000..0dcee84c --- /dev/null +++ b/node_modules/core-js/proposals/observable.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-observable +require('../modules/esnext.observable'); +require('../modules/esnext.symbol.observable'); diff --git a/node_modules/core-js/proposals/pattern-matching.js b/node_modules/core-js/proposals/pattern-matching.js new file mode 100644 index 00000000..0da79cd1 --- /dev/null +++ b/node_modules/core-js/proposals/pattern-matching.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-pattern-matching +require('../modules/esnext.symbol.matcher'); +// TODO: remove from `core-js@4` +require('../modules/esnext.symbol.pattern-match'); diff --git a/node_modules/core-js/proposals/promise-all-settled.js b/node_modules/core-js/proposals/promise-all-settled.js new file mode 100644 index 00000000..4e5f41a9 --- /dev/null +++ b/node_modules/core-js/proposals/promise-all-settled.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-promise-allSettled +require('../modules/esnext.promise.all-settled'); diff --git a/node_modules/core-js/proposals/promise-any.js b/node_modules/core-js/proposals/promise-any.js new file mode 100644 index 00000000..3ed7f7c0 --- /dev/null +++ b/node_modules/core-js/proposals/promise-any.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-promise-any +require('../modules/esnext.aggregate-error'); +require('../modules/esnext.promise.any'); diff --git a/node_modules/core-js/proposals/promise-finally.js b/node_modules/core-js/proposals/promise-finally.js new file mode 100644 index 00000000..7da1723f --- /dev/null +++ b/node_modules/core-js/proposals/promise-finally.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-promise-finally +require('../modules/es.promise.finally'); diff --git a/node_modules/core-js/proposals/promise-try.js b/node_modules/core-js/proposals/promise-try.js new file mode 100644 index 00000000..d0611460 --- /dev/null +++ b/node_modules/core-js/proposals/promise-try.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-promise-try +require('../modules/esnext.promise.try'); diff --git a/node_modules/core-js/proposals/promise-with-resolvers.js b/node_modules/core-js/proposals/promise-with-resolvers.js new file mode 100644 index 00000000..38c71e5c --- /dev/null +++ b/node_modules/core-js/proposals/promise-with-resolvers.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-promise-with-resolvers +require('../modules/esnext.promise.with-resolvers'); diff --git a/node_modules/core-js/proposals/reflect-metadata.js b/node_modules/core-js/proposals/reflect-metadata.js new file mode 100644 index 00000000..dfc75929 --- /dev/null +++ b/node_modules/core-js/proposals/reflect-metadata.js @@ -0,0 +1,11 @@ +'use strict'; +// https://github.com/rbuckton/reflect-metadata +require('../modules/esnext.reflect.define-metadata'); +require('../modules/esnext.reflect.delete-metadata'); +require('../modules/esnext.reflect.get-metadata'); +require('../modules/esnext.reflect.get-metadata-keys'); +require('../modules/esnext.reflect.get-own-metadata'); +require('../modules/esnext.reflect.get-own-metadata-keys'); +require('../modules/esnext.reflect.has-metadata'); +require('../modules/esnext.reflect.has-own-metadata'); +require('../modules/esnext.reflect.metadata'); diff --git a/node_modules/core-js/proposals/regexp-dotall-flag.js b/node_modules/core-js/proposals/regexp-dotall-flag.js new file mode 100644 index 00000000..60d50d14 --- /dev/null +++ b/node_modules/core-js/proposals/regexp-dotall-flag.js @@ -0,0 +1,6 @@ +'use strict'; +// https://github.com/tc39/proposal-regexp-dotall-flag +require('../modules/es.regexp.constructor'); +require('../modules/es.regexp.dot-all'); +require('../modules/es.regexp.exec'); +require('../modules/es.regexp.flags'); diff --git a/node_modules/core-js/proposals/regexp-named-groups.js b/node_modules/core-js/proposals/regexp-named-groups.js new file mode 100644 index 00000000..8c52b572 --- /dev/null +++ b/node_modules/core-js/proposals/regexp-named-groups.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-regexp-named-groups +require('../modules/es.regexp.constructor'); +require('../modules/es.regexp.exec'); +require('../modules/es.string.replace'); diff --git a/node_modules/core-js/proposals/relative-indexing-method.js b/node_modules/core-js/proposals/relative-indexing-method.js new file mode 100644 index 00000000..640d0146 --- /dev/null +++ b/node_modules/core-js/proposals/relative-indexing-method.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-relative-indexing-method +require('../modules/es.string.at-alternative'); +require('../modules/esnext.array.at'); +require('../modules/esnext.typed-array.at'); diff --git a/node_modules/core-js/proposals/seeded-random.js b/node_modules/core-js/proposals/seeded-random.js new file mode 100644 index 00000000..fa0a5814 --- /dev/null +++ b/node_modules/core-js/proposals/seeded-random.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-seeded-random +require('../modules/esnext.math.seeded-prng'); diff --git a/node_modules/core-js/proposals/set-methods-v2.js b/node_modules/core-js/proposals/set-methods-v2.js new file mode 100644 index 00000000..048708fe --- /dev/null +++ b/node_modules/core-js/proposals/set-methods-v2.js @@ -0,0 +1,9 @@ +'use strict'; +// https://github.com/tc39/proposal-set-methods +require('../modules/esnext.set.difference.v2'); +require('../modules/esnext.set.intersection.v2'); +require('../modules/esnext.set.is-disjoint-from.v2'); +require('../modules/esnext.set.is-subset-of.v2'); +require('../modules/esnext.set.is-superset-of.v2'); +require('../modules/esnext.set.union.v2'); +require('../modules/esnext.set.symmetric-difference.v2'); diff --git a/node_modules/core-js/proposals/set-methods.js b/node_modules/core-js/proposals/set-methods.js new file mode 100644 index 00000000..951f7e9c --- /dev/null +++ b/node_modules/core-js/proposals/set-methods.js @@ -0,0 +1,17 @@ +'use strict'; +// https://github.com/tc39/proposal-set-methods +require('../modules/esnext.set.difference.v2'); +require('../modules/esnext.set.intersection.v2'); +require('../modules/esnext.set.is-disjoint-from.v2'); +require('../modules/esnext.set.is-subset-of.v2'); +require('../modules/esnext.set.is-superset-of.v2'); +require('../modules/esnext.set.union.v2'); +require('../modules/esnext.set.symmetric-difference.v2'); +// TODO: Obsolete versions, remove from `core-js@4` +require('../modules/esnext.set.difference'); +require('../modules/esnext.set.intersection'); +require('../modules/esnext.set.is-disjoint-from'); +require('../modules/esnext.set.is-subset-of'); +require('../modules/esnext.set.is-superset-of'); +require('../modules/esnext.set.union'); +require('../modules/esnext.set.symmetric-difference'); diff --git a/node_modules/core-js/proposals/string-at.js b/node_modules/core-js/proposals/string-at.js new file mode 100644 index 00000000..bf57aab3 --- /dev/null +++ b/node_modules/core-js/proposals/string-at.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/mathiasbynens/String.prototype.at +require('../modules/esnext.string.at'); diff --git a/node_modules/core-js/proposals/string-code-points.js b/node_modules/core-js/proposals/string-code-points.js new file mode 100644 index 00000000..937a1042 --- /dev/null +++ b/node_modules/core-js/proposals/string-code-points.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-string-prototype-codepoints +require('../modules/esnext.string.code-points'); diff --git a/node_modules/core-js/proposals/string-cooked.js b/node_modules/core-js/proposals/string-cooked.js new file mode 100644 index 00000000..00872b8c --- /dev/null +++ b/node_modules/core-js/proposals/string-cooked.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/bathos/proposal-string-cooked +require('../modules/esnext.string.cooked'); diff --git a/node_modules/core-js/proposals/string-dedent.js b/node_modules/core-js/proposals/string-dedent.js new file mode 100644 index 00000000..b857c35d --- /dev/null +++ b/node_modules/core-js/proposals/string-dedent.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-string-dedent +require('../modules/esnext.string.dedent'); diff --git a/node_modules/core-js/proposals/string-left-right-trim.js b/node_modules/core-js/proposals/string-left-right-trim.js new file mode 100644 index 00000000..daef2b69 --- /dev/null +++ b/node_modules/core-js/proposals/string-left-right-trim.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-string-left-right-trim +require('../modules/es.string.trim-start'); +require('../modules/es.string.trim-end'); diff --git a/node_modules/core-js/proposals/string-match-all.js b/node_modules/core-js/proposals/string-match-all.js new file mode 100644 index 00000000..36dab4f0 --- /dev/null +++ b/node_modules/core-js/proposals/string-match-all.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-string-matchall +require('../modules/esnext.string.match-all'); diff --git a/node_modules/core-js/proposals/string-padding.js b/node_modules/core-js/proposals/string-padding.js new file mode 100644 index 00000000..435429ef --- /dev/null +++ b/node_modules/core-js/proposals/string-padding.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-string-pad-start-end +require('../modules/es.string.pad-end'); +require('../modules/es.string.pad-start'); diff --git a/node_modules/core-js/proposals/string-replace-all-stage-4.js b/node_modules/core-js/proposals/string-replace-all-stage-4.js new file mode 100644 index 00000000..ab7d05bc --- /dev/null +++ b/node_modules/core-js/proposals/string-replace-all-stage-4.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-string-replaceall +require('../modules/esnext.string.replace-all'); diff --git a/node_modules/core-js/proposals/string-replace-all.js b/node_modules/core-js/proposals/string-replace-all.js new file mode 100644 index 00000000..6ad7e75b --- /dev/null +++ b/node_modules/core-js/proposals/string-replace-all.js @@ -0,0 +1,5 @@ +'use strict'; +// https://github.com/tc39/proposal-string-replaceall +require('../modules/esnext.string.replace-all'); +// TODO: remove from `core-js@4` +require('../modules/esnext.symbol.replace-all'); diff --git a/node_modules/core-js/proposals/symbol-description.js b/node_modules/core-js/proposals/symbol-description.js new file mode 100644 index 00000000..e5bf6748 --- /dev/null +++ b/node_modules/core-js/proposals/symbol-description.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-Symbol-description +require('../modules/es.symbol.description'); diff --git a/node_modules/core-js/proposals/symbol-predicates-v2.js b/node_modules/core-js/proposals/symbol-predicates-v2.js new file mode 100644 index 00000000..5bd3ce55 --- /dev/null +++ b/node_modules/core-js/proposals/symbol-predicates-v2.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-symbol-predicates +require('../modules/esnext.symbol.is-registered-symbol'); +require('../modules/esnext.symbol.is-well-known-symbol'); diff --git a/node_modules/core-js/proposals/symbol-predicates.js b/node_modules/core-js/proposals/symbol-predicates.js new file mode 100644 index 00000000..2776b848 --- /dev/null +++ b/node_modules/core-js/proposals/symbol-predicates.js @@ -0,0 +1,4 @@ +'use strict'; +// https://github.com/tc39/proposal-symbol-predicates +require('../modules/esnext.symbol.is-registered'); +require('../modules/esnext.symbol.is-well-known'); diff --git a/node_modules/core-js/proposals/url.js b/node_modules/core-js/proposals/url.js new file mode 100644 index 00000000..2f12fdee --- /dev/null +++ b/node_modules/core-js/proposals/url.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/jasnell/proposal-url +require('../web/url'); diff --git a/node_modules/core-js/proposals/using-statement.js b/node_modules/core-js/proposals/using-statement.js new file mode 100644 index 00000000..b85b28d5 --- /dev/null +++ b/node_modules/core-js/proposals/using-statement.js @@ -0,0 +1,5 @@ +'use strict'; +// TODO: Renamed, remove from `core-js@4` +// https://github.com/tc39/proposal-explicit-resource-management +require('../modules/esnext.symbol.async-dispose'); +require('../modules/esnext.symbol.dispose'); diff --git a/node_modules/core-js/proposals/well-formed-stringify.js b/node_modules/core-js/proposals/well-formed-stringify.js new file mode 100644 index 00000000..53a5f990 --- /dev/null +++ b/node_modules/core-js/proposals/well-formed-stringify.js @@ -0,0 +1,3 @@ +'use strict'; +// https://github.com/tc39/proposal-well-formed-stringify +require('../modules/es.json.stringify'); diff --git a/node_modules/core-js/proposals/well-formed-unicode-strings.js b/node_modules/core-js/proposals/well-formed-unicode-strings.js new file mode 100644 index 00000000..b25109f5 --- /dev/null +++ b/node_modules/core-js/proposals/well-formed-unicode-strings.js @@ -0,0 +1,3 @@ +'use strict'; +require('../modules/esnext.string.is-well-formed'); +require('../modules/esnext.string.to-well-formed'); diff --git a/node_modules/core-js/stable/README.md b/node_modules/core-js/stable/README.md new file mode 100644 index 00000000..903150c4 --- /dev/null +++ b/node_modules/core-js/stable/README.md @@ -0,0 +1 @@ +This folder contains entry points for all stable `core-js` features with dependencies. It's the recommended way for usage only required features. diff --git a/node_modules/core-js/stable/aggregate-error.js b/node_modules/core-js/stable/aggregate-error.js new file mode 100644 index 00000000..2a6c4365 --- /dev/null +++ b/node_modules/core-js/stable/aggregate-error.js @@ -0,0 +1,8 @@ +'use strict'; +// TODO: remove from `core-js@4` +require('../modules/esnext.aggregate-error'); + +var parent = require('../es/aggregate-error'); +require('../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array-buffer/constructor.js b/node_modules/core-js/stable/array-buffer/constructor.js new file mode 100644 index 00000000..b412c941 --- /dev/null +++ b/node_modules/core-js/stable/array-buffer/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array-buffer/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array-buffer/index.js b/node_modules/core-js/stable/array-buffer/index.js new file mode 100644 index 00000000..ffda1eec --- /dev/null +++ b/node_modules/core-js/stable/array-buffer/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array-buffer'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array-buffer/is-view.js b/node_modules/core-js/stable/array-buffer/is-view.js new file mode 100644 index 00000000..8fa117c1 --- /dev/null +++ b/node_modules/core-js/stable/array-buffer/is-view.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array-buffer/is-view'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array-buffer/slice.js b/node_modules/core-js/stable/array-buffer/slice.js new file mode 100644 index 00000000..524f0869 --- /dev/null +++ b/node_modules/core-js/stable/array-buffer/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array-buffer/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/at.js b/node_modules/core-js/stable/array/at.js new file mode 100644 index 00000000..aff713bd --- /dev/null +++ b/node_modules/core-js/stable/array/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/concat.js b/node_modules/core-js/stable/array/concat.js new file mode 100644 index 00000000..a7eccbaa --- /dev/null +++ b/node_modules/core-js/stable/array/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/copy-within.js b/node_modules/core-js/stable/array/copy-within.js new file mode 100644 index 00000000..7d3440e4 --- /dev/null +++ b/node_modules/core-js/stable/array/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/entries.js b/node_modules/core-js/stable/array/entries.js new file mode 100644 index 00000000..e9bde39b --- /dev/null +++ b/node_modules/core-js/stable/array/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/every.js b/node_modules/core-js/stable/array/every.js new file mode 100644 index 00000000..52c255d3 --- /dev/null +++ b/node_modules/core-js/stable/array/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/every'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/fill.js b/node_modules/core-js/stable/array/fill.js new file mode 100644 index 00000000..5e9a2bf6 --- /dev/null +++ b/node_modules/core-js/stable/array/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/filter.js b/node_modules/core-js/stable/array/filter.js new file mode 100644 index 00000000..24a6dc9b --- /dev/null +++ b/node_modules/core-js/stable/array/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/find-index.js b/node_modules/core-js/stable/array/find-index.js new file mode 100644 index 00000000..67f63abc --- /dev/null +++ b/node_modules/core-js/stable/array/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/find-last-index.js b/node_modules/core-js/stable/array/find-last-index.js new file mode 100644 index 00000000..4cc07ac0 --- /dev/null +++ b/node_modules/core-js/stable/array/find-last-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../es/array/find-last-index'); diff --git a/node_modules/core-js/stable/array/find-last.js b/node_modules/core-js/stable/array/find-last.js new file mode 100644 index 00000000..93994015 --- /dev/null +++ b/node_modules/core-js/stable/array/find-last.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../es/array/find-last'); diff --git a/node_modules/core-js/stable/array/find.js b/node_modules/core-js/stable/array/find.js new file mode 100644 index 00000000..a749978e --- /dev/null +++ b/node_modules/core-js/stable/array/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/find'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/flat-map.js b/node_modules/core-js/stable/array/flat-map.js new file mode 100644 index 00000000..b2cd2301 --- /dev/null +++ b/node_modules/core-js/stable/array/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/flat.js b/node_modules/core-js/stable/array/flat.js new file mode 100644 index 00000000..65870c4b --- /dev/null +++ b/node_modules/core-js/stable/array/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/for-each.js b/node_modules/core-js/stable/array/for-each.js new file mode 100644 index 00000000..fbe96196 --- /dev/null +++ b/node_modules/core-js/stable/array/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/from.js b/node_modules/core-js/stable/array/from.js new file mode 100644 index 00000000..9d4ee90b --- /dev/null +++ b/node_modules/core-js/stable/array/from.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/from'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/includes.js b/node_modules/core-js/stable/array/includes.js new file mode 100644 index 00000000..030648ae --- /dev/null +++ b/node_modules/core-js/stable/array/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/index-of.js b/node_modules/core-js/stable/array/index-of.js new file mode 100644 index 00000000..65da2957 --- /dev/null +++ b/node_modules/core-js/stable/array/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/index.js b/node_modules/core-js/stable/array/index.js new file mode 100644 index 00000000..01a0083f --- /dev/null +++ b/node_modules/core-js/stable/array/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/is-array.js b/node_modules/core-js/stable/array/is-array.js new file mode 100644 index 00000000..7e5207eb --- /dev/null +++ b/node_modules/core-js/stable/array/is-array.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/is-array'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/iterator.js b/node_modules/core-js/stable/array/iterator.js new file mode 100644 index 00000000..75e4a950 --- /dev/null +++ b/node_modules/core-js/stable/array/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/join.js b/node_modules/core-js/stable/array/join.js new file mode 100644 index 00000000..3df704bf --- /dev/null +++ b/node_modules/core-js/stable/array/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/join'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/keys.js b/node_modules/core-js/stable/array/keys.js new file mode 100644 index 00000000..21c0d4be --- /dev/null +++ b/node_modules/core-js/stable/array/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/last-index-of.js b/node_modules/core-js/stable/array/last-index-of.js new file mode 100644 index 00000000..4b1e9ced --- /dev/null +++ b/node_modules/core-js/stable/array/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/map.js b/node_modules/core-js/stable/array/map.js new file mode 100644 index 00000000..2ca8b318 --- /dev/null +++ b/node_modules/core-js/stable/array/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/map'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/of.js b/node_modules/core-js/stable/array/of.js new file mode 100644 index 00000000..12c79220 --- /dev/null +++ b/node_modules/core-js/stable/array/of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/push.js b/node_modules/core-js/stable/array/push.js new file mode 100644 index 00000000..b64c62c3 --- /dev/null +++ b/node_modules/core-js/stable/array/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/push'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/reduce-right.js b/node_modules/core-js/stable/array/reduce-right.js new file mode 100644 index 00000000..e8202519 --- /dev/null +++ b/node_modules/core-js/stable/array/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/reduce.js b/node_modules/core-js/stable/array/reduce.js new file mode 100644 index 00000000..d612f420 --- /dev/null +++ b/node_modules/core-js/stable/array/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/reverse.js b/node_modules/core-js/stable/array/reverse.js new file mode 100644 index 00000000..1b26236e --- /dev/null +++ b/node_modules/core-js/stable/array/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/slice.js b/node_modules/core-js/stable/array/slice.js new file mode 100644 index 00000000..77cb872b --- /dev/null +++ b/node_modules/core-js/stable/array/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/some.js b/node_modules/core-js/stable/array/some.js new file mode 100644 index 00000000..ee3d4ded --- /dev/null +++ b/node_modules/core-js/stable/array/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/some'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/sort.js b/node_modules/core-js/stable/array/sort.js new file mode 100644 index 00000000..14f89372 --- /dev/null +++ b/node_modules/core-js/stable/array/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/splice.js b/node_modules/core-js/stable/array/splice.js new file mode 100644 index 00000000..4743a4e8 --- /dev/null +++ b/node_modules/core-js/stable/array/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/to-reversed.js b/node_modules/core-js/stable/array/to-reversed.js new file mode 100644 index 00000000..b92ed50a --- /dev/null +++ b/node_modules/core-js/stable/array/to-reversed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/to-sorted.js b/node_modules/core-js/stable/array/to-sorted.js new file mode 100644 index 00000000..ecbb86f8 --- /dev/null +++ b/node_modules/core-js/stable/array/to-sorted.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/to-spliced.js b/node_modules/core-js/stable/array/to-spliced.js new file mode 100644 index 00000000..b1846a96 --- /dev/null +++ b/node_modules/core-js/stable/array/to-spliced.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/unshift.js b/node_modules/core-js/stable/array/unshift.js new file mode 100644 index 00000000..7053319f --- /dev/null +++ b/node_modules/core-js/stable/array/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/values.js b/node_modules/core-js/stable/array/values.js new file mode 100644 index 00000000..a9d6417a --- /dev/null +++ b/node_modules/core-js/stable/array/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/values'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/at.js b/node_modules/core-js/stable/array/virtual/at.js new file mode 100644 index 00000000..13832e02 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/concat.js b/node_modules/core-js/stable/array/virtual/concat.js new file mode 100644 index 00000000..6a0b0944 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/copy-within.js b/node_modules/core-js/stable/array/virtual/copy-within.js new file mode 100644 index 00000000..6ab25def --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/entries.js b/node_modules/core-js/stable/array/virtual/entries.js new file mode 100644 index 00000000..a3b0a707 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/every.js b/node_modules/core-js/stable/array/virtual/every.js new file mode 100644 index 00000000..f37d7f8c --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/every'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/fill.js b/node_modules/core-js/stable/array/virtual/fill.js new file mode 100644 index 00000000..74103a57 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/filter.js b/node_modules/core-js/stable/array/virtual/filter.js new file mode 100644 index 00000000..74c0e771 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/find-index.js b/node_modules/core-js/stable/array/virtual/find-index.js new file mode 100644 index 00000000..9aed40a2 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/find-last-index.js b/node_modules/core-js/stable/array/virtual/find-last-index.js new file mode 100644 index 00000000..ba04a178 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/find-last-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../es/array/virtual/find-last-index'); diff --git a/node_modules/core-js/stable/array/virtual/find-last.js b/node_modules/core-js/stable/array/virtual/find-last.js new file mode 100644 index 00000000..6b546a66 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/find-last.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../../es/array/virtual/find-last'); diff --git a/node_modules/core-js/stable/array/virtual/find.js b/node_modules/core-js/stable/array/virtual/find.js new file mode 100644 index 00000000..147252a4 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/find'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/flat-map.js b/node_modules/core-js/stable/array/virtual/flat-map.js new file mode 100644 index 00000000..864845a8 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/flat.js b/node_modules/core-js/stable/array/virtual/flat.js new file mode 100644 index 00000000..bdebf7c6 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/for-each.js b/node_modules/core-js/stable/array/virtual/for-each.js new file mode 100644 index 00000000..16abca82 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/includes.js b/node_modules/core-js/stable/array/virtual/includes.js new file mode 100644 index 00000000..f16ee639 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/index-of.js b/node_modules/core-js/stable/array/virtual/index-of.js new file mode 100644 index 00000000..2bfb9ba9 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/index.js b/node_modules/core-js/stable/array/virtual/index.js new file mode 100644 index 00000000..7cab8261 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/iterator.js b/node_modules/core-js/stable/array/virtual/iterator.js new file mode 100644 index 00000000..7fb71e31 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/join.js b/node_modules/core-js/stable/array/virtual/join.js new file mode 100644 index 00000000..c10586db --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/join'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/keys.js b/node_modules/core-js/stable/array/virtual/keys.js new file mode 100644 index 00000000..b7dee23e --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/last-index-of.js b/node_modules/core-js/stable/array/virtual/last-index-of.js new file mode 100644 index 00000000..2bc914f1 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/map.js b/node_modules/core-js/stable/array/virtual/map.js new file mode 100644 index 00000000..5821a116 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/map'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/push.js b/node_modules/core-js/stable/array/virtual/push.js new file mode 100644 index 00000000..7b975d39 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/push'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/reduce-right.js b/node_modules/core-js/stable/array/virtual/reduce-right.js new file mode 100644 index 00000000..2d7c7d66 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/reduce.js b/node_modules/core-js/stable/array/virtual/reduce.js new file mode 100644 index 00000000..270a0673 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/reverse.js b/node_modules/core-js/stable/array/virtual/reverse.js new file mode 100644 index 00000000..cede168d --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/slice.js b/node_modules/core-js/stable/array/virtual/slice.js new file mode 100644 index 00000000..c19788c9 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/some.js b/node_modules/core-js/stable/array/virtual/some.js new file mode 100644 index 00000000..26375fe0 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/some'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/sort.js b/node_modules/core-js/stable/array/virtual/sort.js new file mode 100644 index 00000000..5ef50be4 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/splice.js b/node_modules/core-js/stable/array/virtual/splice.js new file mode 100644 index 00000000..c763b291 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/to-reversed.js b/node_modules/core-js/stable/array/virtual/to-reversed.js new file mode 100644 index 00000000..f09f2eb2 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/to-reversed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/to-sorted.js b/node_modules/core-js/stable/array/virtual/to-sorted.js new file mode 100644 index 00000000..affc20c6 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/to-sorted.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/to-spliced.js b/node_modules/core-js/stable/array/virtual/to-spliced.js new file mode 100644 index 00000000..5426ebe8 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/to-spliced.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/unshift.js b/node_modules/core-js/stable/array/virtual/unshift.js new file mode 100644 index 00000000..d6c95cd3 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/values.js b/node_modules/core-js/stable/array/virtual/values.js new file mode 100644 index 00000000..616ecc3d --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/values'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/virtual/with.js b/node_modules/core-js/stable/array/virtual/with.js new file mode 100644 index 00000000..8b14f217 --- /dev/null +++ b/node_modules/core-js/stable/array/virtual/with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/array/virtual/with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/array/with.js b/node_modules/core-js/stable/array/with.js new file mode 100644 index 00000000..14df0c9f --- /dev/null +++ b/node_modules/core-js/stable/array/with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/array/with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/atob.js b/node_modules/core-js/stable/atob.js new file mode 100644 index 00000000..a7b40aab --- /dev/null +++ b/node_modules/core-js/stable/atob.js @@ -0,0 +1,10 @@ +'use strict'; +require('../modules/es.error.to-string'); +require('../modules/es.object.to-string'); +require('../modules/web.atob'); +require('../modules/web.dom-exception.constructor'); +require('../modules/web.dom-exception.stack'); +require('../modules/web.dom-exception.to-string-tag'); +var path = require('../internals/path'); + +module.exports = path.atob; diff --git a/node_modules/core-js/stable/btoa.js b/node_modules/core-js/stable/btoa.js new file mode 100644 index 00000000..91cf24af --- /dev/null +++ b/node_modules/core-js/stable/btoa.js @@ -0,0 +1,10 @@ +'use strict'; +require('../modules/es.error.to-string'); +require('../modules/es.object.to-string'); +require('../modules/web.btoa'); +require('../modules/web.dom-exception.constructor'); +require('../modules/web.dom-exception.stack'); +require('../modules/web.dom-exception.to-string-tag'); +var path = require('../internals/path'); + +module.exports = path.btoa; diff --git a/node_modules/core-js/stable/clear-immediate.js b/node_modules/core-js/stable/clear-immediate.js new file mode 100644 index 00000000..8735f367 --- /dev/null +++ b/node_modules/core-js/stable/clear-immediate.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/web.immediate'); +var path = require('../internals/path'); + +module.exports = path.clearImmediate; diff --git a/node_modules/core-js/stable/data-view/index.js b/node_modules/core-js/stable/data-view/index.js new file mode 100644 index 00000000..b7c595c4 --- /dev/null +++ b/node_modules/core-js/stable/data-view/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/data-view'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/get-year.js b/node_modules/core-js/stable/date/get-year.js new file mode 100644 index 00000000..b8831fe5 --- /dev/null +++ b/node_modules/core-js/stable/date/get-year.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date/get-year'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/index.js b/node_modules/core-js/stable/date/index.js new file mode 100644 index 00000000..a4101f7e --- /dev/null +++ b/node_modules/core-js/stable/date/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/now.js b/node_modules/core-js/stable/date/now.js new file mode 100644 index 00000000..2b540540 --- /dev/null +++ b/node_modules/core-js/stable/date/now.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date/now'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/set-year.js b/node_modules/core-js/stable/date/set-year.js new file mode 100644 index 00000000..56c7ba97 --- /dev/null +++ b/node_modules/core-js/stable/date/set-year.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date/set-year'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/to-gmt-string.js b/node_modules/core-js/stable/date/to-gmt-string.js new file mode 100644 index 00000000..ecff2fab --- /dev/null +++ b/node_modules/core-js/stable/date/to-gmt-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date/to-gmt-string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/to-iso-string.js b/node_modules/core-js/stable/date/to-iso-string.js new file mode 100644 index 00000000..daae0fa6 --- /dev/null +++ b/node_modules/core-js/stable/date/to-iso-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date/to-iso-string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/to-json.js b/node_modules/core-js/stable/date/to-json.js new file mode 100644 index 00000000..9fb0ab72 --- /dev/null +++ b/node_modules/core-js/stable/date/to-json.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date/to-json'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/to-primitive.js b/node_modules/core-js/stable/date/to-primitive.js new file mode 100644 index 00000000..bbd6d114 --- /dev/null +++ b/node_modules/core-js/stable/date/to-primitive.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date/to-primitive'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/date/to-string.js b/node_modules/core-js/stable/date/to-string.js new file mode 100644 index 00000000..65fcdf6b --- /dev/null +++ b/node_modules/core-js/stable/date/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/date/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/dom-collections/for-each.js b/node_modules/core-js/stable/dom-collections/for-each.js new file mode 100644 index 00000000..3cffa653 --- /dev/null +++ b/node_modules/core-js/stable/dom-collections/for-each.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/web.dom-collections.for-each'); + +var parent = require('../../internals/array-for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/dom-collections/index.js b/node_modules/core-js/stable/dom-collections/index.js new file mode 100644 index 00000000..5436ac51 --- /dev/null +++ b/node_modules/core-js/stable/dom-collections/index.js @@ -0,0 +1,14 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/web.dom-collections.for-each'); +require('../../modules/web.dom-collections.iterator'); +var ArrayIterators = require('../../modules/es.array.iterator'); +var forEach = require('../../internals/array-for-each'); + +module.exports = { + keys: ArrayIterators.keys, + values: ArrayIterators.values, + entries: ArrayIterators.entries, + iterator: ArrayIterators.values, + forEach: forEach +}; diff --git a/node_modules/core-js/stable/dom-collections/iterator.js b/node_modules/core-js/stable/dom-collections/iterator.js new file mode 100644 index 00000000..63582f07 --- /dev/null +++ b/node_modules/core-js/stable/dom-collections/iterator.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/es.object.to-string'); +require('../../modules/web.dom-collections.iterator'); +var entryUnbind = require('../../internals/entry-unbind'); + +module.exports = entryUnbind('Array', 'values'); diff --git a/node_modules/core-js/stable/dom-exception/constructor.js b/node_modules/core-js/stable/dom-exception/constructor.js new file mode 100644 index 00000000..f014fe95 --- /dev/null +++ b/node_modules/core-js/stable/dom-exception/constructor.js @@ -0,0 +1,7 @@ +'use strict'; +require('../../modules/es.error.to-string'); +require('../../modules/web.dom-exception.constructor'); +require('../../modules/web.dom-exception.stack'); +var path = require('../../internals/path'); + +module.exports = path.DOMException; diff --git a/node_modules/core-js/stable/dom-exception/index.js b/node_modules/core-js/stable/dom-exception/index.js new file mode 100644 index 00000000..f187f84a --- /dev/null +++ b/node_modules/core-js/stable/dom-exception/index.js @@ -0,0 +1,8 @@ +'use strict'; +require('../../modules/es.error.to-string'); +require('../../modules/web.dom-exception.constructor'); +require('../../modules/web.dom-exception.stack'); +require('../../modules/web.dom-exception.to-string-tag'); +var path = require('../../internals/path'); + +module.exports = path.DOMException; diff --git a/node_modules/core-js/stable/dom-exception/to-string-tag.js b/node_modules/core-js/stable/dom-exception/to-string-tag.js new file mode 100644 index 00000000..5856e652 --- /dev/null +++ b/node_modules/core-js/stable/dom-exception/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/web.dom-exception.to-string-tag'); + +module.exports = 'DOMException'; diff --git a/node_modules/core-js/stable/error/constructor.js b/node_modules/core-js/stable/error/constructor.js new file mode 100644 index 00000000..761efd33 --- /dev/null +++ b/node_modules/core-js/stable/error/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/error/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/error/index.js b/node_modules/core-js/stable/error/index.js new file mode 100644 index 00000000..87d3e24b --- /dev/null +++ b/node_modules/core-js/stable/error/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/error'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/error/to-string.js b/node_modules/core-js/stable/error/to-string.js new file mode 100644 index 00000000..5fe958f2 --- /dev/null +++ b/node_modules/core-js/stable/error/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/error/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/escape.js b/node_modules/core-js/stable/escape.js new file mode 100644 index 00000000..008bb6de --- /dev/null +++ b/node_modules/core-js/stable/escape.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../es/escape'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/function/bind.js b/node_modules/core-js/stable/function/bind.js new file mode 100644 index 00000000..de54f8ad --- /dev/null +++ b/node_modules/core-js/stable/function/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/function/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/function/has-instance.js b/node_modules/core-js/stable/function/has-instance.js new file mode 100644 index 00000000..3eb22122 --- /dev/null +++ b/node_modules/core-js/stable/function/has-instance.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/function/has-instance'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/function/index.js b/node_modules/core-js/stable/function/index.js new file mode 100644 index 00000000..dcb9d34e --- /dev/null +++ b/node_modules/core-js/stable/function/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/function'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/function/name.js b/node_modules/core-js/stable/function/name.js new file mode 100644 index 00000000..11db2554 --- /dev/null +++ b/node_modules/core-js/stable/function/name.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/function/name'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/function/virtual/bind.js b/node_modules/core-js/stable/function/virtual/bind.js new file mode 100644 index 00000000..1dde33d7 --- /dev/null +++ b/node_modules/core-js/stable/function/virtual/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/function/virtual/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/function/virtual/index.js b/node_modules/core-js/stable/function/virtual/index.js new file mode 100644 index 00000000..ee7a38cd --- /dev/null +++ b/node_modules/core-js/stable/function/virtual/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/function/virtual'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/get-iterator-method.js b/node_modules/core-js/stable/get-iterator-method.js new file mode 100644 index 00000000..8ec61893 --- /dev/null +++ b/node_modules/core-js/stable/get-iterator-method.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../es/get-iterator-method'); +require('../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/get-iterator.js b/node_modules/core-js/stable/get-iterator.js new file mode 100644 index 00000000..e91de843 --- /dev/null +++ b/node_modules/core-js/stable/get-iterator.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../es/get-iterator'); +require('../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/global-this.js b/node_modules/core-js/stable/global-this.js new file mode 100644 index 00000000..2c4ca755 --- /dev/null +++ b/node_modules/core-js/stable/global-this.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../es/global-this'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/index.js b/node_modules/core-js/stable/index.js new file mode 100644 index 00000000..b9a6f631 --- /dev/null +++ b/node_modules/core-js/stable/index.js @@ -0,0 +1,264 @@ +'use strict'; +require('../modules/es.symbol'); +require('../modules/es.symbol.description'); +require('../modules/es.symbol.async-iterator'); +require('../modules/es.symbol.has-instance'); +require('../modules/es.symbol.is-concat-spreadable'); +require('../modules/es.symbol.iterator'); +require('../modules/es.symbol.match'); +require('../modules/es.symbol.match-all'); +require('../modules/es.symbol.replace'); +require('../modules/es.symbol.search'); +require('../modules/es.symbol.species'); +require('../modules/es.symbol.split'); +require('../modules/es.symbol.to-primitive'); +require('../modules/es.symbol.to-string-tag'); +require('../modules/es.symbol.unscopables'); +require('../modules/es.error.cause'); +require('../modules/es.error.to-string'); +require('../modules/es.aggregate-error'); +require('../modules/es.aggregate-error.cause'); +require('../modules/es.array.at'); +require('../modules/es.array.concat'); +require('../modules/es.array.copy-within'); +require('../modules/es.array.every'); +require('../modules/es.array.fill'); +require('../modules/es.array.filter'); +require('../modules/es.array.find'); +require('../modules/es.array.find-index'); +require('../modules/es.array.find-last'); +require('../modules/es.array.find-last-index'); +require('../modules/es.array.flat'); +require('../modules/es.array.flat-map'); +require('../modules/es.array.for-each'); +require('../modules/es.array.from'); +require('../modules/es.array.includes'); +require('../modules/es.array.index-of'); +require('../modules/es.array.is-array'); +require('../modules/es.array.iterator'); +require('../modules/es.array.join'); +require('../modules/es.array.last-index-of'); +require('../modules/es.array.map'); +require('../modules/es.array.of'); +require('../modules/es.array.push'); +require('../modules/es.array.reduce'); +require('../modules/es.array.reduce-right'); +require('../modules/es.array.reverse'); +require('../modules/es.array.slice'); +require('../modules/es.array.some'); +require('../modules/es.array.sort'); +require('../modules/es.array.species'); +require('../modules/es.array.splice'); +require('../modules/es.array.to-reversed'); +require('../modules/es.array.to-sorted'); +require('../modules/es.array.to-spliced'); +require('../modules/es.array.unscopables.flat'); +require('../modules/es.array.unscopables.flat-map'); +require('../modules/es.array.unshift'); +require('../modules/es.array.with'); +require('../modules/es.array-buffer.constructor'); +require('../modules/es.array-buffer.is-view'); +require('../modules/es.array-buffer.slice'); +require('../modules/es.data-view'); +require('../modules/es.date.get-year'); +require('../modules/es.date.now'); +require('../modules/es.date.set-year'); +require('../modules/es.date.to-gmt-string'); +require('../modules/es.date.to-iso-string'); +require('../modules/es.date.to-json'); +require('../modules/es.date.to-primitive'); +require('../modules/es.date.to-string'); +require('../modules/es.escape'); +require('../modules/es.function.bind'); +require('../modules/es.function.has-instance'); +require('../modules/es.function.name'); +require('../modules/es.global-this'); +require('../modules/es.json.stringify'); +require('../modules/es.json.to-string-tag'); +require('../modules/es.map'); +require('../modules/es.math.acosh'); +require('../modules/es.math.asinh'); +require('../modules/es.math.atanh'); +require('../modules/es.math.cbrt'); +require('../modules/es.math.clz32'); +require('../modules/es.math.cosh'); +require('../modules/es.math.expm1'); +require('../modules/es.math.fround'); +require('../modules/es.math.hypot'); +require('../modules/es.math.imul'); +require('../modules/es.math.log10'); +require('../modules/es.math.log1p'); +require('../modules/es.math.log2'); +require('../modules/es.math.sign'); +require('../modules/es.math.sinh'); +require('../modules/es.math.tanh'); +require('../modules/es.math.to-string-tag'); +require('../modules/es.math.trunc'); +require('../modules/es.number.constructor'); +require('../modules/es.number.epsilon'); +require('../modules/es.number.is-finite'); +require('../modules/es.number.is-integer'); +require('../modules/es.number.is-nan'); +require('../modules/es.number.is-safe-integer'); +require('../modules/es.number.max-safe-integer'); +require('../modules/es.number.min-safe-integer'); +require('../modules/es.number.parse-float'); +require('../modules/es.number.parse-int'); +require('../modules/es.number.to-exponential'); +require('../modules/es.number.to-fixed'); +require('../modules/es.number.to-precision'); +require('../modules/es.object.assign'); +require('../modules/es.object.create'); +require('../modules/es.object.define-getter'); +require('../modules/es.object.define-properties'); +require('../modules/es.object.define-property'); +require('../modules/es.object.define-setter'); +require('../modules/es.object.entries'); +require('../modules/es.object.freeze'); +require('../modules/es.object.from-entries'); +require('../modules/es.object.get-own-property-descriptor'); +require('../modules/es.object.get-own-property-descriptors'); +require('../modules/es.object.get-own-property-names'); +require('../modules/es.object.get-prototype-of'); +require('../modules/es.object.has-own'); +require('../modules/es.object.is'); +require('../modules/es.object.is-extensible'); +require('../modules/es.object.is-frozen'); +require('../modules/es.object.is-sealed'); +require('../modules/es.object.keys'); +require('../modules/es.object.lookup-getter'); +require('../modules/es.object.lookup-setter'); +require('../modules/es.object.prevent-extensions'); +require('../modules/es.object.proto'); +require('../modules/es.object.seal'); +require('../modules/es.object.set-prototype-of'); +require('../modules/es.object.to-string'); +require('../modules/es.object.values'); +require('../modules/es.parse-float'); +require('../modules/es.parse-int'); +require('../modules/es.promise'); +require('../modules/es.promise.all-settled'); +require('../modules/es.promise.any'); +require('../modules/es.promise.finally'); +require('../modules/es.reflect.apply'); +require('../modules/es.reflect.construct'); +require('../modules/es.reflect.define-property'); +require('../modules/es.reflect.delete-property'); +require('../modules/es.reflect.get'); +require('../modules/es.reflect.get-own-property-descriptor'); +require('../modules/es.reflect.get-prototype-of'); +require('../modules/es.reflect.has'); +require('../modules/es.reflect.is-extensible'); +require('../modules/es.reflect.own-keys'); +require('../modules/es.reflect.prevent-extensions'); +require('../modules/es.reflect.set'); +require('../modules/es.reflect.set-prototype-of'); +require('../modules/es.reflect.to-string-tag'); +require('../modules/es.regexp.constructor'); +require('../modules/es.regexp.dot-all'); +require('../modules/es.regexp.exec'); +require('../modules/es.regexp.flags'); +require('../modules/es.regexp.sticky'); +require('../modules/es.regexp.test'); +require('../modules/es.regexp.to-string'); +require('../modules/es.set'); +require('../modules/es.string.at-alternative'); +require('../modules/es.string.code-point-at'); +require('../modules/es.string.ends-with'); +require('../modules/es.string.from-code-point'); +require('../modules/es.string.includes'); +require('../modules/es.string.is-well-formed'); +require('../modules/es.string.iterator'); +require('../modules/es.string.match'); +require('../modules/es.string.match-all'); +require('../modules/es.string.pad-end'); +require('../modules/es.string.pad-start'); +require('../modules/es.string.raw'); +require('../modules/es.string.repeat'); +require('../modules/es.string.replace'); +require('../modules/es.string.replace-all'); +require('../modules/es.string.search'); +require('../modules/es.string.split'); +require('../modules/es.string.starts-with'); +require('../modules/es.string.substr'); +require('../modules/es.string.to-well-formed'); +require('../modules/es.string.trim'); +require('../modules/es.string.trim-end'); +require('../modules/es.string.trim-start'); +require('../modules/es.string.anchor'); +require('../modules/es.string.big'); +require('../modules/es.string.blink'); +require('../modules/es.string.bold'); +require('../modules/es.string.fixed'); +require('../modules/es.string.fontcolor'); +require('../modules/es.string.fontsize'); +require('../modules/es.string.italics'); +require('../modules/es.string.link'); +require('../modules/es.string.small'); +require('../modules/es.string.strike'); +require('../modules/es.string.sub'); +require('../modules/es.string.sup'); +require('../modules/es.typed-array.float32-array'); +require('../modules/es.typed-array.float64-array'); +require('../modules/es.typed-array.int8-array'); +require('../modules/es.typed-array.int16-array'); +require('../modules/es.typed-array.int32-array'); +require('../modules/es.typed-array.uint8-array'); +require('../modules/es.typed-array.uint8-clamped-array'); +require('../modules/es.typed-array.uint16-array'); +require('../modules/es.typed-array.uint32-array'); +require('../modules/es.typed-array.at'); +require('../modules/es.typed-array.copy-within'); +require('../modules/es.typed-array.every'); +require('../modules/es.typed-array.fill'); +require('../modules/es.typed-array.filter'); +require('../modules/es.typed-array.find'); +require('../modules/es.typed-array.find-index'); +require('../modules/es.typed-array.find-last'); +require('../modules/es.typed-array.find-last-index'); +require('../modules/es.typed-array.for-each'); +require('../modules/es.typed-array.from'); +require('../modules/es.typed-array.includes'); +require('../modules/es.typed-array.index-of'); +require('../modules/es.typed-array.iterator'); +require('../modules/es.typed-array.join'); +require('../modules/es.typed-array.last-index-of'); +require('../modules/es.typed-array.map'); +require('../modules/es.typed-array.of'); +require('../modules/es.typed-array.reduce'); +require('../modules/es.typed-array.reduce-right'); +require('../modules/es.typed-array.reverse'); +require('../modules/es.typed-array.set'); +require('../modules/es.typed-array.slice'); +require('../modules/es.typed-array.some'); +require('../modules/es.typed-array.sort'); +require('../modules/es.typed-array.subarray'); +require('../modules/es.typed-array.to-locale-string'); +require('../modules/es.typed-array.to-reversed'); +require('../modules/es.typed-array.to-sorted'); +require('../modules/es.typed-array.to-string'); +require('../modules/es.typed-array.with'); +require('../modules/es.unescape'); +require('../modules/es.weak-map'); +require('../modules/es.weak-set'); +require('../modules/web.atob'); +require('../modules/web.btoa'); +require('../modules/web.dom-collections.for-each'); +require('../modules/web.dom-collections.iterator'); +require('../modules/web.dom-exception.constructor'); +require('../modules/web.dom-exception.stack'); +require('../modules/web.dom-exception.to-string-tag'); +require('../modules/web.immediate'); +require('../modules/web.queue-microtask'); +require('../modules/web.self'); +require('../modules/web.structured-clone'); +require('../modules/web.timers'); +require('../modules/web.url'); +require('../modules/web.url.can-parse'); +require('../modules/web.url.to-json'); +require('../modules/web.url-search-params'); +require('../modules/web.url-search-params.delete'); +require('../modules/web.url-search-params.has'); +require('../modules/web.url-search-params.size'); + +module.exports = require('../internals/path'); diff --git a/node_modules/core-js/stable/instance/at.js b/node_modules/core-js/stable/instance/at.js new file mode 100644 index 00000000..745048cd --- /dev/null +++ b/node_modules/core-js/stable/instance/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/bind.js b/node_modules/core-js/stable/instance/bind.js new file mode 100644 index 00000000..ad5f7e0a --- /dev/null +++ b/node_modules/core-js/stable/instance/bind.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/bind'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/code-point-at.js b/node_modules/core-js/stable/instance/code-point-at.js new file mode 100644 index 00000000..a2edf415 --- /dev/null +++ b/node_modules/core-js/stable/instance/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/concat.js b/node_modules/core-js/stable/instance/concat.js new file mode 100644 index 00000000..d098728d --- /dev/null +++ b/node_modules/core-js/stable/instance/concat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/concat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/copy-within.js b/node_modules/core-js/stable/instance/copy-within.js new file mode 100644 index 00000000..ee3ba246 --- /dev/null +++ b/node_modules/core-js/stable/instance/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/ends-with.js b/node_modules/core-js/stable/instance/ends-with.js new file mode 100644 index 00000000..ff366c12 --- /dev/null +++ b/node_modules/core-js/stable/instance/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/entries.js b/node_modules/core-js/stable/instance/entries.js new file mode 100644 index 00000000..0a9918dc --- /dev/null +++ b/node_modules/core-js/stable/instance/entries.js @@ -0,0 +1,19 @@ +'use strict'; +require('../../modules/web.dom-collections.iterator'); +var classof = require('../../internals/classof'); +var hasOwn = require('../../internals/has-own-property'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/entries'); + +var ArrayPrototype = Array.prototype; + +var DOMIterables = { + DOMTokenList: true, + NodeList: true +}; + +module.exports = function (it) { + var own = it.entries; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.entries) + || hasOwn(DOMIterables, classof(it)) ? method : own; +}; diff --git a/node_modules/core-js/stable/instance/every.js b/node_modules/core-js/stable/instance/every.js new file mode 100644 index 00000000..b3c7acee --- /dev/null +++ b/node_modules/core-js/stable/instance/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/every'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/fill.js b/node_modules/core-js/stable/instance/fill.js new file mode 100644 index 00000000..768cf75a --- /dev/null +++ b/node_modules/core-js/stable/instance/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/filter.js b/node_modules/core-js/stable/instance/filter.js new file mode 100644 index 00000000..914f6c86 --- /dev/null +++ b/node_modules/core-js/stable/instance/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/find-index.js b/node_modules/core-js/stable/instance/find-index.js new file mode 100644 index 00000000..3e4410e1 --- /dev/null +++ b/node_modules/core-js/stable/instance/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/find-last-index.js b/node_modules/core-js/stable/instance/find-last-index.js new file mode 100644 index 00000000..4c87c6fa --- /dev/null +++ b/node_modules/core-js/stable/instance/find-last-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/find-last-index'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/find-last.js b/node_modules/core-js/stable/instance/find-last.js new file mode 100644 index 00000000..95ab0b69 --- /dev/null +++ b/node_modules/core-js/stable/instance/find-last.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/find-last'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/find.js b/node_modules/core-js/stable/instance/find.js new file mode 100644 index 00000000..ce67ff59 --- /dev/null +++ b/node_modules/core-js/stable/instance/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/find'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/flags.js b/node_modules/core-js/stable/instance/flags.js new file mode 100644 index 00000000..012b83df --- /dev/null +++ b/node_modules/core-js/stable/instance/flags.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/flags'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/flat-map.js b/node_modules/core-js/stable/instance/flat-map.js new file mode 100644 index 00000000..89aaac80 --- /dev/null +++ b/node_modules/core-js/stable/instance/flat-map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/flat-map'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/flat.js b/node_modules/core-js/stable/instance/flat.js new file mode 100644 index 00000000..8acc0fb7 --- /dev/null +++ b/node_modules/core-js/stable/instance/flat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/flat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/for-each.js b/node_modules/core-js/stable/instance/for-each.js new file mode 100644 index 00000000..f0b48f6a --- /dev/null +++ b/node_modules/core-js/stable/instance/for-each.js @@ -0,0 +1,19 @@ +'use strict'; +require('../../modules/web.dom-collections.iterator'); +var classof = require('../../internals/classof'); +var hasOwn = require('../../internals/has-own-property'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/for-each'); + +var ArrayPrototype = Array.prototype; + +var DOMIterables = { + DOMTokenList: true, + NodeList: true +}; + +module.exports = function (it) { + var own = it.forEach; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach) + || hasOwn(DOMIterables, classof(it)) ? method : own; +}; diff --git a/node_modules/core-js/stable/instance/includes.js b/node_modules/core-js/stable/instance/includes.js new file mode 100644 index 00000000..45283f2b --- /dev/null +++ b/node_modules/core-js/stable/instance/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/index-of.js b/node_modules/core-js/stable/instance/index-of.js new file mode 100644 index 00000000..89c0daf6 --- /dev/null +++ b/node_modules/core-js/stable/instance/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/is-well-formed.js b/node_modules/core-js/stable/instance/is-well-formed.js new file mode 100644 index 00000000..292abd9e --- /dev/null +++ b/node_modules/core-js/stable/instance/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/keys.js b/node_modules/core-js/stable/instance/keys.js new file mode 100644 index 00000000..4c00406d --- /dev/null +++ b/node_modules/core-js/stable/instance/keys.js @@ -0,0 +1,19 @@ +'use strict'; +require('../../modules/web.dom-collections.iterator'); +var classof = require('../../internals/classof'); +var hasOwn = require('../../internals/has-own-property'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/keys'); + +var ArrayPrototype = Array.prototype; + +var DOMIterables = { + DOMTokenList: true, + NodeList: true +}; + +module.exports = function (it) { + var own = it.keys; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.keys) + || hasOwn(DOMIterables, classof(it)) ? method : own; +}; diff --git a/node_modules/core-js/stable/instance/last-index-of.js b/node_modules/core-js/stable/instance/last-index-of.js new file mode 100644 index 00000000..f14f8c14 --- /dev/null +++ b/node_modules/core-js/stable/instance/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/map.js b/node_modules/core-js/stable/instance/map.js new file mode 100644 index 00000000..1b521b02 --- /dev/null +++ b/node_modules/core-js/stable/instance/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/map'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/match-all.js b/node_modules/core-js/stable/instance/match-all.js new file mode 100644 index 00000000..28e68ae6 --- /dev/null +++ b/node_modules/core-js/stable/instance/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/pad-end.js b/node_modules/core-js/stable/instance/pad-end.js new file mode 100644 index 00000000..d0b48708 --- /dev/null +++ b/node_modules/core-js/stable/instance/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/pad-start.js b/node_modules/core-js/stable/instance/pad-start.js new file mode 100644 index 00000000..d41f8f0e --- /dev/null +++ b/node_modules/core-js/stable/instance/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/push.js b/node_modules/core-js/stable/instance/push.js new file mode 100644 index 00000000..674250a1 --- /dev/null +++ b/node_modules/core-js/stable/instance/push.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/push'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/reduce-right.js b/node_modules/core-js/stable/instance/reduce-right.js new file mode 100644 index 00000000..fd485df3 --- /dev/null +++ b/node_modules/core-js/stable/instance/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/reduce.js b/node_modules/core-js/stable/instance/reduce.js new file mode 100644 index 00000000..02f72cb5 --- /dev/null +++ b/node_modules/core-js/stable/instance/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/repeat.js b/node_modules/core-js/stable/instance/repeat.js new file mode 100644 index 00000000..81056993 --- /dev/null +++ b/node_modules/core-js/stable/instance/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/replace-all.js b/node_modules/core-js/stable/instance/replace-all.js new file mode 100644 index 00000000..a1fcbb02 --- /dev/null +++ b/node_modules/core-js/stable/instance/replace-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/reverse.js b/node_modules/core-js/stable/instance/reverse.js new file mode 100644 index 00000000..622325ad --- /dev/null +++ b/node_modules/core-js/stable/instance/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/slice.js b/node_modules/core-js/stable/instance/slice.js new file mode 100644 index 00000000..d2649072 --- /dev/null +++ b/node_modules/core-js/stable/instance/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/some.js b/node_modules/core-js/stable/instance/some.js new file mode 100644 index 00000000..4578f7fb --- /dev/null +++ b/node_modules/core-js/stable/instance/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/some'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/sort.js b/node_modules/core-js/stable/instance/sort.js new file mode 100644 index 00000000..214fa8fd --- /dev/null +++ b/node_modules/core-js/stable/instance/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/splice.js b/node_modules/core-js/stable/instance/splice.js new file mode 100644 index 00000000..9f97f894 --- /dev/null +++ b/node_modules/core-js/stable/instance/splice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/splice'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/starts-with.js b/node_modules/core-js/stable/instance/starts-with.js new file mode 100644 index 00000000..907985dd --- /dev/null +++ b/node_modules/core-js/stable/instance/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/to-reversed.js b/node_modules/core-js/stable/instance/to-reversed.js new file mode 100644 index 00000000..7464291e --- /dev/null +++ b/node_modules/core-js/stable/instance/to-reversed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/to-sorted.js b/node_modules/core-js/stable/instance/to-sorted.js new file mode 100644 index 00000000..d4d8ca7c --- /dev/null +++ b/node_modules/core-js/stable/instance/to-sorted.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/to-spliced.js b/node_modules/core-js/stable/instance/to-spliced.js new file mode 100644 index 00000000..68a32bd5 --- /dev/null +++ b/node_modules/core-js/stable/instance/to-spliced.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/to-spliced'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/to-well-formed.js b/node_modules/core-js/stable/instance/to-well-formed.js new file mode 100644 index 00000000..a3177e36 --- /dev/null +++ b/node_modules/core-js/stable/instance/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/trim-end.js b/node_modules/core-js/stable/instance/trim-end.js new file mode 100644 index 00000000..e16a8629 --- /dev/null +++ b/node_modules/core-js/stable/instance/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/trim-left.js b/node_modules/core-js/stable/instance/trim-left.js new file mode 100644 index 00000000..3d60632e --- /dev/null +++ b/node_modules/core-js/stable/instance/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/trim-right.js b/node_modules/core-js/stable/instance/trim-right.js new file mode 100644 index 00000000..ad81d599 --- /dev/null +++ b/node_modules/core-js/stable/instance/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/trim-start.js b/node_modules/core-js/stable/instance/trim-start.js new file mode 100644 index 00000000..7877fbe3 --- /dev/null +++ b/node_modules/core-js/stable/instance/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/trim.js b/node_modules/core-js/stable/instance/trim.js new file mode 100644 index 00000000..008afe4a --- /dev/null +++ b/node_modules/core-js/stable/instance/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/unshift.js b/node_modules/core-js/stable/instance/unshift.js new file mode 100644 index 00000000..178cfc92 --- /dev/null +++ b/node_modules/core-js/stable/instance/unshift.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/unshift'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/instance/values.js b/node_modules/core-js/stable/instance/values.js new file mode 100644 index 00000000..0ef76852 --- /dev/null +++ b/node_modules/core-js/stable/instance/values.js @@ -0,0 +1,19 @@ +'use strict'; +require('../../modules/web.dom-collections.iterator'); +var classof = require('../../internals/classof'); +var hasOwn = require('../../internals/has-own-property'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/values'); + +var ArrayPrototype = Array.prototype; + +var DOMIterables = { + DOMTokenList: true, + NodeList: true +}; + +module.exports = function (it) { + var own = it.values; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.values) + || hasOwn(DOMIterables, classof(it)) ? method : own; +}; diff --git a/node_modules/core-js/stable/instance/with.js b/node_modules/core-js/stable/instance/with.js new file mode 100644 index 00000000..1994520d --- /dev/null +++ b/node_modules/core-js/stable/instance/with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/instance/with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/is-iterable.js b/node_modules/core-js/stable/is-iterable.js new file mode 100644 index 00000000..8b5315a5 --- /dev/null +++ b/node_modules/core-js/stable/is-iterable.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../es/is-iterable'); +require('../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/json/index.js b/node_modules/core-js/stable/json/index.js new file mode 100644 index 00000000..8cd8376b --- /dev/null +++ b/node_modules/core-js/stable/json/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/json'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/json/stringify.js b/node_modules/core-js/stable/json/stringify.js new file mode 100644 index 00000000..ef878650 --- /dev/null +++ b/node_modules/core-js/stable/json/stringify.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/json/stringify'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/json/to-string-tag.js b/node_modules/core-js/stable/json/to-string-tag.js new file mode 100644 index 00000000..d2c991a8 --- /dev/null +++ b/node_modules/core-js/stable/json/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/json/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/map/index.js b/node_modules/core-js/stable/map/index.js new file mode 100644 index 00000000..e10edd66 --- /dev/null +++ b/node_modules/core-js/stable/map/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/map'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/acosh.js b/node_modules/core-js/stable/math/acosh.js new file mode 100644 index 00000000..a9206ca1 --- /dev/null +++ b/node_modules/core-js/stable/math/acosh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/acosh'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/asinh.js b/node_modules/core-js/stable/math/asinh.js new file mode 100644 index 00000000..c9fe44e0 --- /dev/null +++ b/node_modules/core-js/stable/math/asinh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/asinh'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/atanh.js b/node_modules/core-js/stable/math/atanh.js new file mode 100644 index 00000000..47e6b33a --- /dev/null +++ b/node_modules/core-js/stable/math/atanh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/atanh'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/cbrt.js b/node_modules/core-js/stable/math/cbrt.js new file mode 100644 index 00000000..ae5c1afd --- /dev/null +++ b/node_modules/core-js/stable/math/cbrt.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/cbrt'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/clz32.js b/node_modules/core-js/stable/math/clz32.js new file mode 100644 index 00000000..d6add6b9 --- /dev/null +++ b/node_modules/core-js/stable/math/clz32.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/clz32'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/cosh.js b/node_modules/core-js/stable/math/cosh.js new file mode 100644 index 00000000..b54b3667 --- /dev/null +++ b/node_modules/core-js/stable/math/cosh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/cosh'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/expm1.js b/node_modules/core-js/stable/math/expm1.js new file mode 100644 index 00000000..b3fdc6d5 --- /dev/null +++ b/node_modules/core-js/stable/math/expm1.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/expm1'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/fround.js b/node_modules/core-js/stable/math/fround.js new file mode 100644 index 00000000..8399b9e5 --- /dev/null +++ b/node_modules/core-js/stable/math/fround.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/fround'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/hypot.js b/node_modules/core-js/stable/math/hypot.js new file mode 100644 index 00000000..f26138c8 --- /dev/null +++ b/node_modules/core-js/stable/math/hypot.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/hypot'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/imul.js b/node_modules/core-js/stable/math/imul.js new file mode 100644 index 00000000..5302d3bc --- /dev/null +++ b/node_modules/core-js/stable/math/imul.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/imul'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/index.js b/node_modules/core-js/stable/math/index.js new file mode 100644 index 00000000..370efcae --- /dev/null +++ b/node_modules/core-js/stable/math/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/log10.js b/node_modules/core-js/stable/math/log10.js new file mode 100644 index 00000000..68e82b2a --- /dev/null +++ b/node_modules/core-js/stable/math/log10.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/log10'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/log1p.js b/node_modules/core-js/stable/math/log1p.js new file mode 100644 index 00000000..f24450a8 --- /dev/null +++ b/node_modules/core-js/stable/math/log1p.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/log1p'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/log2.js b/node_modules/core-js/stable/math/log2.js new file mode 100644 index 00000000..264193a2 --- /dev/null +++ b/node_modules/core-js/stable/math/log2.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/log2'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/sign.js b/node_modules/core-js/stable/math/sign.js new file mode 100644 index 00000000..7ff26587 --- /dev/null +++ b/node_modules/core-js/stable/math/sign.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/sign'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/sinh.js b/node_modules/core-js/stable/math/sinh.js new file mode 100644 index 00000000..9b426d47 --- /dev/null +++ b/node_modules/core-js/stable/math/sinh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/sinh'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/tanh.js b/node_modules/core-js/stable/math/tanh.js new file mode 100644 index 00000000..00dd5b77 --- /dev/null +++ b/node_modules/core-js/stable/math/tanh.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/tanh'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/to-string-tag.js b/node_modules/core-js/stable/math/to-string-tag.js new file mode 100644 index 00000000..89d59d31 --- /dev/null +++ b/node_modules/core-js/stable/math/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/math/trunc.js b/node_modules/core-js/stable/math/trunc.js new file mode 100644 index 00000000..3fc8041d --- /dev/null +++ b/node_modules/core-js/stable/math/trunc.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/math/trunc'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/constructor.js b/node_modules/core-js/stable/number/constructor.js new file mode 100644 index 00000000..faf98bba --- /dev/null +++ b/node_modules/core-js/stable/number/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/epsilon.js b/node_modules/core-js/stable/number/epsilon.js new file mode 100644 index 00000000..70fc56c4 --- /dev/null +++ b/node_modules/core-js/stable/number/epsilon.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/epsilon'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/index.js b/node_modules/core-js/stable/number/index.js new file mode 100644 index 00000000..c38e52dc --- /dev/null +++ b/node_modules/core-js/stable/number/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/is-finite.js b/node_modules/core-js/stable/number/is-finite.js new file mode 100644 index 00000000..f2641dfa --- /dev/null +++ b/node_modules/core-js/stable/number/is-finite.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/is-finite'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/is-integer.js b/node_modules/core-js/stable/number/is-integer.js new file mode 100644 index 00000000..2727681a --- /dev/null +++ b/node_modules/core-js/stable/number/is-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/is-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/is-nan.js b/node_modules/core-js/stable/number/is-nan.js new file mode 100644 index 00000000..a2755ce1 --- /dev/null +++ b/node_modules/core-js/stable/number/is-nan.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/is-nan'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/is-safe-integer.js b/node_modules/core-js/stable/number/is-safe-integer.js new file mode 100644 index 00000000..e230ff7e --- /dev/null +++ b/node_modules/core-js/stable/number/is-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/is-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/max-safe-integer.js b/node_modules/core-js/stable/number/max-safe-integer.js new file mode 100644 index 00000000..3615661f --- /dev/null +++ b/node_modules/core-js/stable/number/max-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/max-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/min-safe-integer.js b/node_modules/core-js/stable/number/min-safe-integer.js new file mode 100644 index 00000000..3f0e6cfa --- /dev/null +++ b/node_modules/core-js/stable/number/min-safe-integer.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/min-safe-integer'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/parse-float.js b/node_modules/core-js/stable/number/parse-float.js new file mode 100644 index 00000000..8557796a --- /dev/null +++ b/node_modules/core-js/stable/number/parse-float.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/parse-float'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/parse-int.js b/node_modules/core-js/stable/number/parse-int.js new file mode 100644 index 00000000..41f3f3a8 --- /dev/null +++ b/node_modules/core-js/stable/number/parse-int.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/parse-int'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/to-exponential.js b/node_modules/core-js/stable/number/to-exponential.js new file mode 100644 index 00000000..e3a3d9f4 --- /dev/null +++ b/node_modules/core-js/stable/number/to-exponential.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/to-exponential'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/to-fixed.js b/node_modules/core-js/stable/number/to-fixed.js new file mode 100644 index 00000000..dcf510bf --- /dev/null +++ b/node_modules/core-js/stable/number/to-fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/to-fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/to-precision.js b/node_modules/core-js/stable/number/to-precision.js new file mode 100644 index 00000000..7a7df4d2 --- /dev/null +++ b/node_modules/core-js/stable/number/to-precision.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/number/to-precision'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/virtual/index.js b/node_modules/core-js/stable/number/virtual/index.js new file mode 100644 index 00000000..66b17796 --- /dev/null +++ b/node_modules/core-js/stable/number/virtual/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/number/virtual'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/virtual/to-exponential.js b/node_modules/core-js/stable/number/virtual/to-exponential.js new file mode 100644 index 00000000..8fecaf27 --- /dev/null +++ b/node_modules/core-js/stable/number/virtual/to-exponential.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/number/virtual/to-exponential'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/virtual/to-fixed.js b/node_modules/core-js/stable/number/virtual/to-fixed.js new file mode 100644 index 00000000..3631cff0 --- /dev/null +++ b/node_modules/core-js/stable/number/virtual/to-fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/number/virtual/to-fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/number/virtual/to-precision.js b/node_modules/core-js/stable/number/virtual/to-precision.js new file mode 100644 index 00000000..59d30cdd --- /dev/null +++ b/node_modules/core-js/stable/number/virtual/to-precision.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/number/virtual/to-precision'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/assign.js b/node_modules/core-js/stable/object/assign.js new file mode 100644 index 00000000..e180c76a --- /dev/null +++ b/node_modules/core-js/stable/object/assign.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/assign'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/create.js b/node_modules/core-js/stable/object/create.js new file mode 100644 index 00000000..6ca30974 --- /dev/null +++ b/node_modules/core-js/stable/object/create.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/create'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/define-getter.js b/node_modules/core-js/stable/object/define-getter.js new file mode 100644 index 00000000..aaee5076 --- /dev/null +++ b/node_modules/core-js/stable/object/define-getter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/define-getter'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/define-properties.js b/node_modules/core-js/stable/object/define-properties.js new file mode 100644 index 00000000..6754c3b5 --- /dev/null +++ b/node_modules/core-js/stable/object/define-properties.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/define-properties'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/define-property.js b/node_modules/core-js/stable/object/define-property.js new file mode 100644 index 00000000..56f11d9d --- /dev/null +++ b/node_modules/core-js/stable/object/define-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/define-property'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/define-setter.js b/node_modules/core-js/stable/object/define-setter.js new file mode 100644 index 00000000..04e8c376 --- /dev/null +++ b/node_modules/core-js/stable/object/define-setter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/define-setter'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/entries.js b/node_modules/core-js/stable/object/entries.js new file mode 100644 index 00000000..5e98513a --- /dev/null +++ b/node_modules/core-js/stable/object/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/freeze.js b/node_modules/core-js/stable/object/freeze.js new file mode 100644 index 00000000..0fec058e --- /dev/null +++ b/node_modules/core-js/stable/object/freeze.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/freeze'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/from-entries.js b/node_modules/core-js/stable/object/from-entries.js new file mode 100644 index 00000000..633b68c0 --- /dev/null +++ b/node_modules/core-js/stable/object/from-entries.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/object/from-entries'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/get-own-property-descriptor.js b/node_modules/core-js/stable/object/get-own-property-descriptor.js new file mode 100644 index 00000000..49e99035 --- /dev/null +++ b/node_modules/core-js/stable/object/get-own-property-descriptor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/get-own-property-descriptor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/get-own-property-descriptors.js b/node_modules/core-js/stable/object/get-own-property-descriptors.js new file mode 100644 index 00000000..081f7596 --- /dev/null +++ b/node_modules/core-js/stable/object/get-own-property-descriptors.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/get-own-property-descriptors'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/get-own-property-names.js b/node_modules/core-js/stable/object/get-own-property-names.js new file mode 100644 index 00000000..fcec1fd4 --- /dev/null +++ b/node_modules/core-js/stable/object/get-own-property-names.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/get-own-property-names'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/get-own-property-symbols.js b/node_modules/core-js/stable/object/get-own-property-symbols.js new file mode 100644 index 00000000..1585fdc9 --- /dev/null +++ b/node_modules/core-js/stable/object/get-own-property-symbols.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/get-own-property-symbols'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/get-prototype-of.js b/node_modules/core-js/stable/object/get-prototype-of.js new file mode 100644 index 00000000..46bfd2d2 --- /dev/null +++ b/node_modules/core-js/stable/object/get-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/get-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/has-own.js b/node_modules/core-js/stable/object/has-own.js new file mode 100644 index 00000000..dd2002db --- /dev/null +++ b/node_modules/core-js/stable/object/has-own.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/has-own'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/index.js b/node_modules/core-js/stable/object/index.js new file mode 100644 index 00000000..bd849dcc --- /dev/null +++ b/node_modules/core-js/stable/object/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/object'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/is-extensible.js b/node_modules/core-js/stable/object/is-extensible.js new file mode 100644 index 00000000..f7de1a48 --- /dev/null +++ b/node_modules/core-js/stable/object/is-extensible.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/is-extensible'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/is-frozen.js b/node_modules/core-js/stable/object/is-frozen.js new file mode 100644 index 00000000..39a44930 --- /dev/null +++ b/node_modules/core-js/stable/object/is-frozen.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/is-frozen'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/is-sealed.js b/node_modules/core-js/stable/object/is-sealed.js new file mode 100644 index 00000000..3be1ca9e --- /dev/null +++ b/node_modules/core-js/stable/object/is-sealed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/is-sealed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/is.js b/node_modules/core-js/stable/object/is.js new file mode 100644 index 00000000..5aebdf82 --- /dev/null +++ b/node_modules/core-js/stable/object/is.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/is'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/keys.js b/node_modules/core-js/stable/object/keys.js new file mode 100644 index 00000000..74e942e9 --- /dev/null +++ b/node_modules/core-js/stable/object/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/lookup-getter.js b/node_modules/core-js/stable/object/lookup-getter.js new file mode 100644 index 00000000..ae21d750 --- /dev/null +++ b/node_modules/core-js/stable/object/lookup-getter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/lookup-getter'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/lookup-setter.js b/node_modules/core-js/stable/object/lookup-setter.js new file mode 100644 index 00000000..c0155854 --- /dev/null +++ b/node_modules/core-js/stable/object/lookup-setter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/lookup-setter'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/prevent-extensions.js b/node_modules/core-js/stable/object/prevent-extensions.js new file mode 100644 index 00000000..a673c7c5 --- /dev/null +++ b/node_modules/core-js/stable/object/prevent-extensions.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/prevent-extensions'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/proto.js b/node_modules/core-js/stable/object/proto.js new file mode 100644 index 00000000..8c9f1b87 --- /dev/null +++ b/node_modules/core-js/stable/object/proto.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/proto'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/seal.js b/node_modules/core-js/stable/object/seal.js new file mode 100644 index 00000000..87755d3b --- /dev/null +++ b/node_modules/core-js/stable/object/seal.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/seal'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/set-prototype-of.js b/node_modules/core-js/stable/object/set-prototype-of.js new file mode 100644 index 00000000..cb5a173f --- /dev/null +++ b/node_modules/core-js/stable/object/set-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/set-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/to-string.js b/node_modules/core-js/stable/object/to-string.js new file mode 100644 index 00000000..a8d0abd1 --- /dev/null +++ b/node_modules/core-js/stable/object/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/object/values.js b/node_modules/core-js/stable/object/values.js new file mode 100644 index 00000000..3052e588 --- /dev/null +++ b/node_modules/core-js/stable/object/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/object/values'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/parse-float.js b/node_modules/core-js/stable/parse-float.js new file mode 100644 index 00000000..2b0eae0c --- /dev/null +++ b/node_modules/core-js/stable/parse-float.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../es/parse-float'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/parse-int.js b/node_modules/core-js/stable/parse-int.js new file mode 100644 index 00000000..d8c07fdf --- /dev/null +++ b/node_modules/core-js/stable/parse-int.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../es/parse-int'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/promise/all-settled.js b/node_modules/core-js/stable/promise/all-settled.js new file mode 100644 index 00000000..d1e211b2 --- /dev/null +++ b/node_modules/core-js/stable/promise/all-settled.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/promise/all-settled'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/promise/any.js b/node_modules/core-js/stable/promise/any.js new file mode 100644 index 00000000..63482c89 --- /dev/null +++ b/node_modules/core-js/stable/promise/any.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/promise/any'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/promise/finally.js b/node_modules/core-js/stable/promise/finally.js new file mode 100644 index 00000000..25a5f2c2 --- /dev/null +++ b/node_modules/core-js/stable/promise/finally.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/promise/finally'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/promise/index.js b/node_modules/core-js/stable/promise/index.js new file mode 100644 index 00000000..cc69685c --- /dev/null +++ b/node_modules/core-js/stable/promise/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/promise'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/queue-microtask.js b/node_modules/core-js/stable/queue-microtask.js new file mode 100644 index 00000000..9d07e2e3 --- /dev/null +++ b/node_modules/core-js/stable/queue-microtask.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../web/queue-microtask'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/apply.js b/node_modules/core-js/stable/reflect/apply.js new file mode 100644 index 00000000..94994e36 --- /dev/null +++ b/node_modules/core-js/stable/reflect/apply.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/apply'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/construct.js b/node_modules/core-js/stable/reflect/construct.js new file mode 100644 index 00000000..72f669d9 --- /dev/null +++ b/node_modules/core-js/stable/reflect/construct.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/construct'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/define-property.js b/node_modules/core-js/stable/reflect/define-property.js new file mode 100644 index 00000000..f98593a8 --- /dev/null +++ b/node_modules/core-js/stable/reflect/define-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/define-property'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/delete-property.js b/node_modules/core-js/stable/reflect/delete-property.js new file mode 100644 index 00000000..1bd3f867 --- /dev/null +++ b/node_modules/core-js/stable/reflect/delete-property.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/delete-property'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/get-own-property-descriptor.js b/node_modules/core-js/stable/reflect/get-own-property-descriptor.js new file mode 100644 index 00000000..96cd6d9f --- /dev/null +++ b/node_modules/core-js/stable/reflect/get-own-property-descriptor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/get-own-property-descriptor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/get-prototype-of.js b/node_modules/core-js/stable/reflect/get-prototype-of.js new file mode 100644 index 00000000..ae5fa571 --- /dev/null +++ b/node_modules/core-js/stable/reflect/get-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/get-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/get.js b/node_modules/core-js/stable/reflect/get.js new file mode 100644 index 00000000..a342e123 --- /dev/null +++ b/node_modules/core-js/stable/reflect/get.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/get'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/has.js b/node_modules/core-js/stable/reflect/has.js new file mode 100644 index 00000000..fcbf3330 --- /dev/null +++ b/node_modules/core-js/stable/reflect/has.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/has'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/index.js b/node_modules/core-js/stable/reflect/index.js new file mode 100644 index 00000000..c8cb648c --- /dev/null +++ b/node_modules/core-js/stable/reflect/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/is-extensible.js b/node_modules/core-js/stable/reflect/is-extensible.js new file mode 100644 index 00000000..3c76f43f --- /dev/null +++ b/node_modules/core-js/stable/reflect/is-extensible.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/is-extensible'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/own-keys.js b/node_modules/core-js/stable/reflect/own-keys.js new file mode 100644 index 00000000..3c01f785 --- /dev/null +++ b/node_modules/core-js/stable/reflect/own-keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/own-keys'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/prevent-extensions.js b/node_modules/core-js/stable/reflect/prevent-extensions.js new file mode 100644 index 00000000..9869cc8e --- /dev/null +++ b/node_modules/core-js/stable/reflect/prevent-extensions.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/prevent-extensions'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/set-prototype-of.js b/node_modules/core-js/stable/reflect/set-prototype-of.js new file mode 100644 index 00000000..3db7ab72 --- /dev/null +++ b/node_modules/core-js/stable/reflect/set-prototype-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/set-prototype-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/set.js b/node_modules/core-js/stable/reflect/set.js new file mode 100644 index 00000000..894287b0 --- /dev/null +++ b/node_modules/core-js/stable/reflect/set.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/reflect/set'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/reflect/to-string-tag.js b/node_modules/core-js/stable/reflect/to-string-tag.js new file mode 100644 index 00000000..3908aff3 --- /dev/null +++ b/node_modules/core-js/stable/reflect/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +require('../../modules/es.reflect.to-string-tag'); + +module.exports = 'Reflect'; diff --git a/node_modules/core-js/stable/regexp/constructor.js b/node_modules/core-js/stable/regexp/constructor.js new file mode 100644 index 00000000..fc090d03 --- /dev/null +++ b/node_modules/core-js/stable/regexp/constructor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/constructor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/dot-all.js b/node_modules/core-js/stable/regexp/dot-all.js new file mode 100644 index 00000000..ea55b605 --- /dev/null +++ b/node_modules/core-js/stable/regexp/dot-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/dot-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/flags.js b/node_modules/core-js/stable/regexp/flags.js new file mode 100644 index 00000000..780fac2c --- /dev/null +++ b/node_modules/core-js/stable/regexp/flags.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/flags'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/index.js b/node_modules/core-js/stable/regexp/index.js new file mode 100644 index 00000000..72e616c7 --- /dev/null +++ b/node_modules/core-js/stable/regexp/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/match.js b/node_modules/core-js/stable/regexp/match.js new file mode 100644 index 00000000..f7d5d0d1 --- /dev/null +++ b/node_modules/core-js/stable/regexp/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/match'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/replace.js b/node_modules/core-js/stable/regexp/replace.js new file mode 100644 index 00000000..07750927 --- /dev/null +++ b/node_modules/core-js/stable/regexp/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/search.js b/node_modules/core-js/stable/regexp/search.js new file mode 100644 index 00000000..f4fb6b7b --- /dev/null +++ b/node_modules/core-js/stable/regexp/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/search'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/split.js b/node_modules/core-js/stable/regexp/split.js new file mode 100644 index 00000000..4dda86aa --- /dev/null +++ b/node_modules/core-js/stable/regexp/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/split'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/sticky.js b/node_modules/core-js/stable/regexp/sticky.js new file mode 100644 index 00000000..7897bd60 --- /dev/null +++ b/node_modules/core-js/stable/regexp/sticky.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/sticky'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/test.js b/node_modules/core-js/stable/regexp/test.js new file mode 100644 index 00000000..2fbef7bd --- /dev/null +++ b/node_modules/core-js/stable/regexp/test.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/test'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/regexp/to-string.js b/node_modules/core-js/stable/regexp/to-string.js new file mode 100644 index 00000000..edf2c0e0 --- /dev/null +++ b/node_modules/core-js/stable/regexp/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/regexp/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/self.js b/node_modules/core-js/stable/self.js new file mode 100644 index 00000000..b4850ee7 --- /dev/null +++ b/node_modules/core-js/stable/self.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/web.self'); +var path = require('../internals/path'); + +module.exports = path.self; diff --git a/node_modules/core-js/stable/set-immediate.js b/node_modules/core-js/stable/set-immediate.js new file mode 100644 index 00000000..379b982e --- /dev/null +++ b/node_modules/core-js/stable/set-immediate.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/web.immediate'); +var path = require('../internals/path'); + +module.exports = path.setImmediate; diff --git a/node_modules/core-js/stable/set-interval.js b/node_modules/core-js/stable/set-interval.js new file mode 100644 index 00000000..b49aca55 --- /dev/null +++ b/node_modules/core-js/stable/set-interval.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/web.timers'); +var path = require('../internals/path'); + +module.exports = path.setInterval; diff --git a/node_modules/core-js/stable/set-timeout.js b/node_modules/core-js/stable/set-timeout.js new file mode 100644 index 00000000..e178923d --- /dev/null +++ b/node_modules/core-js/stable/set-timeout.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/web.timers'); +var path = require('../internals/path'); + +module.exports = path.setTimeout; diff --git a/node_modules/core-js/stable/set/index.js b/node_modules/core-js/stable/set/index.js new file mode 100644 index 00000000..b7e35e47 --- /dev/null +++ b/node_modules/core-js/stable/set/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/set'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/anchor.js b/node_modules/core-js/stable/string/anchor.js new file mode 100644 index 00000000..a17713c8 --- /dev/null +++ b/node_modules/core-js/stable/string/anchor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/anchor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/at.js b/node_modules/core-js/stable/string/at.js new file mode 100644 index 00000000..9caf17d6 --- /dev/null +++ b/node_modules/core-js/stable/string/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/big.js b/node_modules/core-js/stable/string/big.js new file mode 100644 index 00000000..9a0c1c6a --- /dev/null +++ b/node_modules/core-js/stable/string/big.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/big'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/blink.js b/node_modules/core-js/stable/string/blink.js new file mode 100644 index 00000000..d2b74b33 --- /dev/null +++ b/node_modules/core-js/stable/string/blink.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/blink'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/bold.js b/node_modules/core-js/stable/string/bold.js new file mode 100644 index 00000000..e2ca678c --- /dev/null +++ b/node_modules/core-js/stable/string/bold.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/bold'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/code-point-at.js b/node_modules/core-js/stable/string/code-point-at.js new file mode 100644 index 00000000..8c2d5bba --- /dev/null +++ b/node_modules/core-js/stable/string/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/ends-with.js b/node_modules/core-js/stable/string/ends-with.js new file mode 100644 index 00000000..f1c17787 --- /dev/null +++ b/node_modules/core-js/stable/string/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/fixed.js b/node_modules/core-js/stable/string/fixed.js new file mode 100644 index 00000000..b07f2d38 --- /dev/null +++ b/node_modules/core-js/stable/string/fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/fontcolor.js b/node_modules/core-js/stable/string/fontcolor.js new file mode 100644 index 00000000..781fd1ea --- /dev/null +++ b/node_modules/core-js/stable/string/fontcolor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/fontcolor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/fontsize.js b/node_modules/core-js/stable/string/fontsize.js new file mode 100644 index 00000000..a5e976a6 --- /dev/null +++ b/node_modules/core-js/stable/string/fontsize.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/fontsize'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/from-code-point.js b/node_modules/core-js/stable/string/from-code-point.js new file mode 100644 index 00000000..3b51dff3 --- /dev/null +++ b/node_modules/core-js/stable/string/from-code-point.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/from-code-point'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/includes.js b/node_modules/core-js/stable/string/includes.js new file mode 100644 index 00000000..88b14c5b --- /dev/null +++ b/node_modules/core-js/stable/string/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/index.js b/node_modules/core-js/stable/string/index.js new file mode 100644 index 00000000..af1bcb26 --- /dev/null +++ b/node_modules/core-js/stable/string/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/is-well-formed.js b/node_modules/core-js/stable/string/is-well-formed.js new file mode 100644 index 00000000..35ba7523 --- /dev/null +++ b/node_modules/core-js/stable/string/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/italics.js b/node_modules/core-js/stable/string/italics.js new file mode 100644 index 00000000..e3c669f2 --- /dev/null +++ b/node_modules/core-js/stable/string/italics.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/italics'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/iterator.js b/node_modules/core-js/stable/string/iterator.js new file mode 100644 index 00000000..1fcf858e --- /dev/null +++ b/node_modules/core-js/stable/string/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/link.js b/node_modules/core-js/stable/string/link.js new file mode 100644 index 00000000..920ce956 --- /dev/null +++ b/node_modules/core-js/stable/string/link.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/link'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/match-all.js b/node_modules/core-js/stable/string/match-all.js new file mode 100644 index 00000000..74e25882 --- /dev/null +++ b/node_modules/core-js/stable/string/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/match.js b/node_modules/core-js/stable/string/match.js new file mode 100644 index 00000000..d0c495a9 --- /dev/null +++ b/node_modules/core-js/stable/string/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/match'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/pad-end.js b/node_modules/core-js/stable/string/pad-end.js new file mode 100644 index 00000000..b0b91230 --- /dev/null +++ b/node_modules/core-js/stable/string/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/pad-start.js b/node_modules/core-js/stable/string/pad-start.js new file mode 100644 index 00000000..cb83bd50 --- /dev/null +++ b/node_modules/core-js/stable/string/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/raw.js b/node_modules/core-js/stable/string/raw.js new file mode 100644 index 00000000..dbba130d --- /dev/null +++ b/node_modules/core-js/stable/string/raw.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/raw'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/repeat.js b/node_modules/core-js/stable/string/repeat.js new file mode 100644 index 00000000..e1aedfcb --- /dev/null +++ b/node_modules/core-js/stable/string/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/replace-all.js b/node_modules/core-js/stable/string/replace-all.js new file mode 100644 index 00000000..88855508 --- /dev/null +++ b/node_modules/core-js/stable/string/replace-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/replace.js b/node_modules/core-js/stable/string/replace.js new file mode 100644 index 00000000..d30fbeb2 --- /dev/null +++ b/node_modules/core-js/stable/string/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/search.js b/node_modules/core-js/stable/string/search.js new file mode 100644 index 00000000..fab8643d --- /dev/null +++ b/node_modules/core-js/stable/string/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/search'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/small.js b/node_modules/core-js/stable/string/small.js new file mode 100644 index 00000000..9ce14b68 --- /dev/null +++ b/node_modules/core-js/stable/string/small.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/small'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/split.js b/node_modules/core-js/stable/string/split.js new file mode 100644 index 00000000..82e7ce25 --- /dev/null +++ b/node_modules/core-js/stable/string/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/split'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/starts-with.js b/node_modules/core-js/stable/string/starts-with.js new file mode 100644 index 00000000..78c17165 --- /dev/null +++ b/node_modules/core-js/stable/string/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/strike.js b/node_modules/core-js/stable/string/strike.js new file mode 100644 index 00000000..1bb8b81a --- /dev/null +++ b/node_modules/core-js/stable/string/strike.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/strike'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/sub.js b/node_modules/core-js/stable/string/sub.js new file mode 100644 index 00000000..12a57a37 --- /dev/null +++ b/node_modules/core-js/stable/string/sub.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/sub'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/substr.js b/node_modules/core-js/stable/string/substr.js new file mode 100644 index 00000000..7c7fe2d4 --- /dev/null +++ b/node_modules/core-js/stable/string/substr.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/substr'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/sup.js b/node_modules/core-js/stable/string/sup.js new file mode 100644 index 00000000..e68750a7 --- /dev/null +++ b/node_modules/core-js/stable/string/sup.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/sup'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/to-well-formed.js b/node_modules/core-js/stable/string/to-well-formed.js new file mode 100644 index 00000000..6193ba76 --- /dev/null +++ b/node_modules/core-js/stable/string/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/trim-end.js b/node_modules/core-js/stable/string/trim-end.js new file mode 100644 index 00000000..1088705f --- /dev/null +++ b/node_modules/core-js/stable/string/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/trim-left.js b/node_modules/core-js/stable/string/trim-left.js new file mode 100644 index 00000000..1909d02a --- /dev/null +++ b/node_modules/core-js/stable/string/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/trim-right.js b/node_modules/core-js/stable/string/trim-right.js new file mode 100644 index 00000000..37aa0686 --- /dev/null +++ b/node_modules/core-js/stable/string/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/trim-start.js b/node_modules/core-js/stable/string/trim-start.js new file mode 100644 index 00000000..47b5d42a --- /dev/null +++ b/node_modules/core-js/stable/string/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/trim.js b/node_modules/core-js/stable/string/trim.js new file mode 100644 index 00000000..6db2e8f5 --- /dev/null +++ b/node_modules/core-js/stable/string/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/string/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/anchor.js b/node_modules/core-js/stable/string/virtual/anchor.js new file mode 100644 index 00000000..867aaa12 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/anchor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/anchor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/at.js b/node_modules/core-js/stable/string/virtual/at.js new file mode 100644 index 00000000..f0b8c654 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/big.js b/node_modules/core-js/stable/string/virtual/big.js new file mode 100644 index 00000000..18740276 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/big.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/big'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/blink.js b/node_modules/core-js/stable/string/virtual/blink.js new file mode 100644 index 00000000..acd2a76b --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/blink.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/blink'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/bold.js b/node_modules/core-js/stable/string/virtual/bold.js new file mode 100644 index 00000000..e86a6dd0 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/bold.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/bold'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/code-point-at.js b/node_modules/core-js/stable/string/virtual/code-point-at.js new file mode 100644 index 00000000..af25c5bd --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/code-point-at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/code-point-at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/ends-with.js b/node_modules/core-js/stable/string/virtual/ends-with.js new file mode 100644 index 00000000..1410d8d0 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/ends-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/ends-with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/fixed.js b/node_modules/core-js/stable/string/virtual/fixed.js new file mode 100644 index 00000000..747f4a2c --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/fixed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/fixed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/fontcolor.js b/node_modules/core-js/stable/string/virtual/fontcolor.js new file mode 100644 index 00000000..b34881a6 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/fontcolor.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/fontcolor'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/fontsize.js b/node_modules/core-js/stable/string/virtual/fontsize.js new file mode 100644 index 00000000..a8de306f --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/fontsize.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/fontsize'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/includes.js b/node_modules/core-js/stable/string/virtual/includes.js new file mode 100644 index 00000000..82d2a8f1 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/index.js b/node_modules/core-js/stable/string/virtual/index.js new file mode 100644 index 00000000..17e0666f --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/is-well-formed.js b/node_modules/core-js/stable/string/virtual/is-well-formed.js new file mode 100644 index 00000000..ca3313f8 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/is-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/is-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/italics.js b/node_modules/core-js/stable/string/virtual/italics.js new file mode 100644 index 00000000..9652df01 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/italics.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/italics'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/iterator.js b/node_modules/core-js/stable/string/virtual/iterator.js new file mode 100644 index 00000000..56dab138 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/link.js b/node_modules/core-js/stable/string/virtual/link.js new file mode 100644 index 00000000..133c4258 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/link.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/link'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/match-all.js b/node_modules/core-js/stable/string/virtual/match-all.js new file mode 100644 index 00000000..72114921 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/pad-end.js b/node_modules/core-js/stable/string/virtual/pad-end.js new file mode 100644 index 00000000..bef7418a --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/pad-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/pad-end'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/pad-start.js b/node_modules/core-js/stable/string/virtual/pad-start.js new file mode 100644 index 00000000..1b112d5a --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/pad-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/pad-start'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/repeat.js b/node_modules/core-js/stable/string/virtual/repeat.js new file mode 100644 index 00000000..3c5bf619 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/repeat.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/repeat'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/replace-all.js b/node_modules/core-js/stable/string/virtual/replace-all.js new file mode 100644 index 00000000..0c8be0d1 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/replace-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/small.js b/node_modules/core-js/stable/string/virtual/small.js new file mode 100644 index 00000000..34c50203 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/small.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/small'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/starts-with.js b/node_modules/core-js/stable/string/virtual/starts-with.js new file mode 100644 index 00000000..81bd97d0 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/starts-with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/starts-with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/strike.js b/node_modules/core-js/stable/string/virtual/strike.js new file mode 100644 index 00000000..2238ef57 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/strike.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/strike'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/sub.js b/node_modules/core-js/stable/string/virtual/sub.js new file mode 100644 index 00000000..b6f2a5a2 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/sub.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/sub'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/substr.js b/node_modules/core-js/stable/string/virtual/substr.js new file mode 100644 index 00000000..a3dafd3d --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/substr.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/substr'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/sup.js b/node_modules/core-js/stable/string/virtual/sup.js new file mode 100644 index 00000000..99680188 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/sup.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/sup'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/to-well-formed.js b/node_modules/core-js/stable/string/virtual/to-well-formed.js new file mode 100644 index 00000000..31f54f70 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/to-well-formed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/to-well-formed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/trim-end.js b/node_modules/core-js/stable/string/virtual/trim-end.js new file mode 100644 index 00000000..3f3d22c9 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/trim-end.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/trim-end'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/trim-left.js b/node_modules/core-js/stable/string/virtual/trim-left.js new file mode 100644 index 00000000..b44db439 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/trim-left.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/trim-left'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/trim-right.js b/node_modules/core-js/stable/string/virtual/trim-right.js new file mode 100644 index 00000000..d6ed8fe2 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/trim-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/trim-right'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/trim-start.js b/node_modules/core-js/stable/string/virtual/trim-start.js new file mode 100644 index 00000000..869c2376 --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/trim-start.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/trim-start'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/string/virtual/trim.js b/node_modules/core-js/stable/string/virtual/trim.js new file mode 100644 index 00000000..218155ac --- /dev/null +++ b/node_modules/core-js/stable/string/virtual/trim.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../../es/string/virtual/trim'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/structured-clone.js b/node_modules/core-js/stable/structured-clone.js new file mode 100644 index 00000000..3c877c0f --- /dev/null +++ b/node_modules/core-js/stable/structured-clone.js @@ -0,0 +1,14 @@ +'use strict'; +require('../modules/es.error.to-string'); +require('../modules/es.array.iterator'); +require('../modules/es.object.keys'); +require('../modules/es.object.to-string'); +require('../modules/es.map'); +require('../modules/es.set'); +require('../modules/web.dom-exception.constructor'); +require('../modules/web.dom-exception.stack'); +require('../modules/web.dom-exception.to-string-tag'); +require('../modules/web.structured-clone'); +var path = require('../internals/path'); + +module.exports = path.structuredClone; diff --git a/node_modules/core-js/stable/symbol/async-iterator.js b/node_modules/core-js/stable/symbol/async-iterator.js new file mode 100644 index 00000000..0b51219f --- /dev/null +++ b/node_modules/core-js/stable/symbol/async-iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/async-iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/description.js b/node_modules/core-js/stable/symbol/description.js new file mode 100644 index 00000000..299f557b --- /dev/null +++ b/node_modules/core-js/stable/symbol/description.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/description'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/for.js b/node_modules/core-js/stable/symbol/for.js new file mode 100644 index 00000000..ce0ec945 --- /dev/null +++ b/node_modules/core-js/stable/symbol/for.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/for'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/has-instance.js b/node_modules/core-js/stable/symbol/has-instance.js new file mode 100644 index 00000000..4f3b9fdc --- /dev/null +++ b/node_modules/core-js/stable/symbol/has-instance.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/has-instance'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/index.js b/node_modules/core-js/stable/symbol/index.js new file mode 100644 index 00000000..297807ac --- /dev/null +++ b/node_modules/core-js/stable/symbol/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/symbol'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/is-concat-spreadable.js b/node_modules/core-js/stable/symbol/is-concat-spreadable.js new file mode 100644 index 00000000..342f8392 --- /dev/null +++ b/node_modules/core-js/stable/symbol/is-concat-spreadable.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/is-concat-spreadable'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/iterator.js b/node_modules/core-js/stable/symbol/iterator.js new file mode 100644 index 00000000..61fdcd1b --- /dev/null +++ b/node_modules/core-js/stable/symbol/iterator.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/symbol/iterator'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/key-for.js b/node_modules/core-js/stable/symbol/key-for.js new file mode 100644 index 00000000..8c0a2454 --- /dev/null +++ b/node_modules/core-js/stable/symbol/key-for.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/key-for'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/match-all.js b/node_modules/core-js/stable/symbol/match-all.js new file mode 100644 index 00000000..2b3e7920 --- /dev/null +++ b/node_modules/core-js/stable/symbol/match-all.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/match-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/match.js b/node_modules/core-js/stable/symbol/match.js new file mode 100644 index 00000000..5771ecc2 --- /dev/null +++ b/node_modules/core-js/stable/symbol/match.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/match'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/replace.js b/node_modules/core-js/stable/symbol/replace.js new file mode 100644 index 00000000..32de402a --- /dev/null +++ b/node_modules/core-js/stable/symbol/replace.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/replace'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/search.js b/node_modules/core-js/stable/symbol/search.js new file mode 100644 index 00000000..33f7af26 --- /dev/null +++ b/node_modules/core-js/stable/symbol/search.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/search'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/species.js b/node_modules/core-js/stable/symbol/species.js new file mode 100644 index 00000000..1993f385 --- /dev/null +++ b/node_modules/core-js/stable/symbol/species.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/species'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/split.js b/node_modules/core-js/stable/symbol/split.js new file mode 100644 index 00000000..36591f5b --- /dev/null +++ b/node_modules/core-js/stable/symbol/split.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/split'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/to-primitive.js b/node_modules/core-js/stable/symbol/to-primitive.js new file mode 100644 index 00000000..0ff90d15 --- /dev/null +++ b/node_modules/core-js/stable/symbol/to-primitive.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/to-primitive'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/to-string-tag.js b/node_modules/core-js/stable/symbol/to-string-tag.js new file mode 100644 index 00000000..07743c3a --- /dev/null +++ b/node_modules/core-js/stable/symbol/to-string-tag.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/to-string-tag'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/symbol/unscopables.js b/node_modules/core-js/stable/symbol/unscopables.js new file mode 100644 index 00000000..a9a1e9bc --- /dev/null +++ b/node_modules/core-js/stable/symbol/unscopables.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/symbol/unscopables'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/at.js b/node_modules/core-js/stable/typed-array/at.js new file mode 100644 index 00000000..c37f9a51 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/at.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/at'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/copy-within.js b/node_modules/core-js/stable/typed-array/copy-within.js new file mode 100644 index 00000000..5475894b --- /dev/null +++ b/node_modules/core-js/stable/typed-array/copy-within.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/copy-within'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/entries.js b/node_modules/core-js/stable/typed-array/entries.js new file mode 100644 index 00000000..5840f90c --- /dev/null +++ b/node_modules/core-js/stable/typed-array/entries.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/entries'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/every.js b/node_modules/core-js/stable/typed-array/every.js new file mode 100644 index 00000000..6e35c970 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/every.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/every'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/fill.js b/node_modules/core-js/stable/typed-array/fill.js new file mode 100644 index 00000000..ae1b3b72 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/fill.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/fill'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/filter.js b/node_modules/core-js/stable/typed-array/filter.js new file mode 100644 index 00000000..bd128d32 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/filter.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/filter'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/find-index.js b/node_modules/core-js/stable/typed-array/find-index.js new file mode 100644 index 00000000..d5a65c9c --- /dev/null +++ b/node_modules/core-js/stable/typed-array/find-index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/find-index'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/find-last-index.js b/node_modules/core-js/stable/typed-array/find-last-index.js new file mode 100644 index 00000000..8c052057 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/find-last-index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../es/typed-array/find-last-index'); diff --git a/node_modules/core-js/stable/typed-array/find-last.js b/node_modules/core-js/stable/typed-array/find-last.js new file mode 100644 index 00000000..2ed42749 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/find-last.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('../../es/typed-array/find-last'); diff --git a/node_modules/core-js/stable/typed-array/find.js b/node_modules/core-js/stable/typed-array/find.js new file mode 100644 index 00000000..f0f958ba --- /dev/null +++ b/node_modules/core-js/stable/typed-array/find.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/find'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/float32-array.js b/node_modules/core-js/stable/typed-array/float32-array.js new file mode 100644 index 00000000..8452ba99 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/float32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/float32-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/float64-array.js b/node_modules/core-js/stable/typed-array/float64-array.js new file mode 100644 index 00000000..311dd181 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/float64-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/float64-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/for-each.js b/node_modules/core-js/stable/typed-array/for-each.js new file mode 100644 index 00000000..4461c21f --- /dev/null +++ b/node_modules/core-js/stable/typed-array/for-each.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/for-each'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/from.js b/node_modules/core-js/stable/typed-array/from.js new file mode 100644 index 00000000..a4ed37eb --- /dev/null +++ b/node_modules/core-js/stable/typed-array/from.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/from'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/includes.js b/node_modules/core-js/stable/typed-array/includes.js new file mode 100644 index 00000000..4725ca7d --- /dev/null +++ b/node_modules/core-js/stable/typed-array/includes.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/includes'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/index-of.js b/node_modules/core-js/stable/typed-array/index-of.js new file mode 100644 index 00000000..0b8a574d --- /dev/null +++ b/node_modules/core-js/stable/typed-array/index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/index.js b/node_modules/core-js/stable/typed-array/index.js new file mode 100644 index 00000000..8f49ed30 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/int16-array.js b/node_modules/core-js/stable/typed-array/int16-array.js new file mode 100644 index 00000000..5bab6091 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/int16-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/int16-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/int32-array.js b/node_modules/core-js/stable/typed-array/int32-array.js new file mode 100644 index 00000000..881fc4e3 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/int32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/int32-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/int8-array.js b/node_modules/core-js/stable/typed-array/int8-array.js new file mode 100644 index 00000000..eb56ff3c --- /dev/null +++ b/node_modules/core-js/stable/typed-array/int8-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/int8-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/iterator.js b/node_modules/core-js/stable/typed-array/iterator.js new file mode 100644 index 00000000..3adf1945 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/iterator.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/join.js b/node_modules/core-js/stable/typed-array/join.js new file mode 100644 index 00000000..98bfd715 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/join.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/join'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/keys.js b/node_modules/core-js/stable/typed-array/keys.js new file mode 100644 index 00000000..698af2e7 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/keys.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/keys'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/last-index-of.js b/node_modules/core-js/stable/typed-array/last-index-of.js new file mode 100644 index 00000000..6bb68b7e --- /dev/null +++ b/node_modules/core-js/stable/typed-array/last-index-of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/last-index-of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/map.js b/node_modules/core-js/stable/typed-array/map.js new file mode 100644 index 00000000..60c2682b --- /dev/null +++ b/node_modules/core-js/stable/typed-array/map.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/map'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/methods.js b/node_modules/core-js/stable/typed-array/methods.js new file mode 100644 index 00000000..1ce17072 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/methods.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/of.js b/node_modules/core-js/stable/typed-array/of.js new file mode 100644 index 00000000..f5b88534 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/of.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/of'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/reduce-right.js b/node_modules/core-js/stable/typed-array/reduce-right.js new file mode 100644 index 00000000..a1bb8ff2 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/reduce-right.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/reduce-right'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/reduce.js b/node_modules/core-js/stable/typed-array/reduce.js new file mode 100644 index 00000000..ce088778 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/reduce.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/reduce'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/reverse.js b/node_modules/core-js/stable/typed-array/reverse.js new file mode 100644 index 00000000..27c5ea3d --- /dev/null +++ b/node_modules/core-js/stable/typed-array/reverse.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/reverse'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/set.js b/node_modules/core-js/stable/typed-array/set.js new file mode 100644 index 00000000..26c09de3 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/set.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/set'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/slice.js b/node_modules/core-js/stable/typed-array/slice.js new file mode 100644 index 00000000..62da77bc --- /dev/null +++ b/node_modules/core-js/stable/typed-array/slice.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/slice'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/some.js b/node_modules/core-js/stable/typed-array/some.js new file mode 100644 index 00000000..7b996b47 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/some.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/some'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/sort.js b/node_modules/core-js/stable/typed-array/sort.js new file mode 100644 index 00000000..2d479a6f --- /dev/null +++ b/node_modules/core-js/stable/typed-array/sort.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/sort'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/subarray.js b/node_modules/core-js/stable/typed-array/subarray.js new file mode 100644 index 00000000..a1e2bab1 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/subarray.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/subarray'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/to-locale-string.js b/node_modules/core-js/stable/typed-array/to-locale-string.js new file mode 100644 index 00000000..7a2a01ca --- /dev/null +++ b/node_modules/core-js/stable/typed-array/to-locale-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/to-locale-string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/to-reversed.js b/node_modules/core-js/stable/typed-array/to-reversed.js new file mode 100644 index 00000000..1fb1fdba --- /dev/null +++ b/node_modules/core-js/stable/typed-array/to-reversed.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/to-reversed'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/to-sorted.js b/node_modules/core-js/stable/typed-array/to-sorted.js new file mode 100644 index 00000000..12ea8b14 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/to-sorted.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/to-sorted'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/to-string.js b/node_modules/core-js/stable/typed-array/to-string.js new file mode 100644 index 00000000..37af5032 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/to-string.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/to-string'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/uint16-array.js b/node_modules/core-js/stable/typed-array/uint16-array.js new file mode 100644 index 00000000..4fc2f5a1 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/uint16-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/uint16-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/uint32-array.js b/node_modules/core-js/stable/typed-array/uint32-array.js new file mode 100644 index 00000000..0146afb1 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/uint32-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/uint32-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/uint8-array.js b/node_modules/core-js/stable/typed-array/uint8-array.js new file mode 100644 index 00000000..66f1552e --- /dev/null +++ b/node_modules/core-js/stable/typed-array/uint8-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/uint8-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/uint8-clamped-array.js b/node_modules/core-js/stable/typed-array/uint8-clamped-array.js new file mode 100644 index 00000000..5b88f7f3 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/uint8-clamped-array.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/typed-array/uint8-clamped-array'); +require('../../stable/typed-array/methods'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/values.js b/node_modules/core-js/stable/typed-array/values.js new file mode 100644 index 00000000..457c07ae --- /dev/null +++ b/node_modules/core-js/stable/typed-array/values.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/values'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/typed-array/with.js b/node_modules/core-js/stable/typed-array/with.js new file mode 100644 index 00000000..5784c0f2 --- /dev/null +++ b/node_modules/core-js/stable/typed-array/with.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../es/typed-array/with'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/unescape.js b/node_modules/core-js/stable/unescape.js new file mode 100644 index 00000000..7fa0f430 --- /dev/null +++ b/node_modules/core-js/stable/unescape.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../es/unescape'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/url-search-params/index.js b/node_modules/core-js/stable/url-search-params/index.js new file mode 100644 index 00000000..df531895 --- /dev/null +++ b/node_modules/core-js/stable/url-search-params/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../web/url-search-params'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/url/can-parse.js b/node_modules/core-js/stable/url/can-parse.js new file mode 100644 index 00000000..161f22f0 --- /dev/null +++ b/node_modules/core-js/stable/url/can-parse.js @@ -0,0 +1,6 @@ +'use strict'; +require('../../modules/web.url'); +require('../../modules/web.url.can-parse'); +var path = require('../../internals/path'); + +module.exports = path.URL.canParse; diff --git a/node_modules/core-js/stable/url/index.js b/node_modules/core-js/stable/url/index.js new file mode 100644 index 00000000..a391cf3f --- /dev/null +++ b/node_modules/core-js/stable/url/index.js @@ -0,0 +1,4 @@ +'use strict'; +var parent = require('../../web/url'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/url/to-json.js b/node_modules/core-js/stable/url/to-json.js new file mode 100644 index 00000000..5ac6f4cd --- /dev/null +++ b/node_modules/core-js/stable/url/to-json.js @@ -0,0 +1,2 @@ +'use strict'; +require('../../modules/web.url.to-json'); diff --git a/node_modules/core-js/stable/weak-map/index.js b/node_modules/core-js/stable/weak-map/index.js new file mode 100644 index 00000000..606700da --- /dev/null +++ b/node_modules/core-js/stable/weak-map/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/weak-map'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stable/weak-set/index.js b/node_modules/core-js/stable/weak-set/index.js new file mode 100644 index 00000000..6510f044 --- /dev/null +++ b/node_modules/core-js/stable/weak-set/index.js @@ -0,0 +1,5 @@ +'use strict'; +var parent = require('../../es/weak-set'); +require('../../modules/web.dom-collections.iterator'); + +module.exports = parent; diff --git a/node_modules/core-js/stage/0.js b/node_modules/core-js/stage/0.js new file mode 100644 index 00000000..888b810b --- /dev/null +++ b/node_modules/core-js/stage/0.js @@ -0,0 +1,13 @@ +'use strict'; +var parent = require('./1'); + +require('../proposals/efficient-64-bit-arithmetic'); +require('../proposals/function-demethodize'); +require('../proposals/function-is-callable-is-constructor'); +require('../proposals/string-at'); +require('../proposals/url'); +// TODO: Obsolete versions, remove from `core-js@4`: +require('../proposals/array-filtering'); +require('../proposals/function-un-this'); + +module.exports = parent; diff --git a/node_modules/core-js/stage/1.js b/node_modules/core-js/stage/1.js new file mode 100644 index 00000000..86010e6e --- /dev/null +++ b/node_modules/core-js/stage/1.js @@ -0,0 +1,27 @@ +'use strict'; +var parent = require('./2'); + +require('../proposals/array-filtering-stage-1'); +require('../proposals/array-last'); +require('../proposals/array-unique'); +require('../proposals/collection-methods'); +require('../proposals/collection-of-from'); +require('../proposals/data-view-get-set-uint8-clamped'); +require('../proposals/keys-composition'); +require('../proposals/math-extensions'); +require('../proposals/math-signbit'); +require('../proposals/number-from-string'); +require('../proposals/object-iteration'); +require('../proposals/observable'); +require('../proposals/pattern-matching'); +require('../proposals/promise-try'); +require('../proposals/seeded-random'); +require('../proposals/string-code-points'); +require('../proposals/string-cooked'); +// TODO: Obsolete versions, remove from `core-js@4`: +require('../proposals/array-from-async'); +require('../proposals/map-upsert'); +require('../proposals/number-range'); +require('../proposals/string-replace-all'); + +module.exports = parent; diff --git a/node_modules/core-js/stage/2.js b/node_modules/core-js/stage/2.js new file mode 100644 index 00000000..33fd4772 --- /dev/null +++ b/node_modules/core-js/stage/2.js @@ -0,0 +1,20 @@ +'use strict'; +var parent = require('./3'); + +require('../proposals/array-is-template-object'); +require('../proposals/async-iterator-helpers'); +require('../proposals/iterator-range'); +require('../proposals/map-upsert-stage-2'); +require('../proposals/string-dedent'); +require('../proposals/symbol-predicates-v2'); +// TODO: Obsolete versions, remove from `core-js@4` +require('../proposals/array-grouping'); +require('../proposals/async-explicit-resource-management'); +require('../proposals/decorators'); +require('../proposals/decorator-metadata'); +require('../proposals/iterator-helpers'); +require('../proposals/set-methods'); +require('../proposals/symbol-predicates'); +require('../proposals/using-statement'); + +module.exports = parent; diff --git a/node_modules/core-js/stage/3.js b/node_modules/core-js/stage/3.js new file mode 100644 index 00000000..16dc8dae --- /dev/null +++ b/node_modules/core-js/stage/3.js @@ -0,0 +1,20 @@ +'use strict'; +var parent = require('./4'); + +require('../proposals/array-buffer-transfer'); +require('../proposals/array-from-async-stage-2'); +require('../proposals/array-grouping-v2'); +require('../proposals/decorator-metadata-v2'); +require('../proposals/explicit-resource-management'); +require('../proposals/float16'); +require('../proposals/iterator-helpers-stage-3-2'); +require('../proposals/json-parse-with-source'); +require('../proposals/promise-with-resolvers'); +require('../proposals/set-methods-v2'); +// TODO: Obsolete versions, remove from `core-js@4` +require('../proposals/array-grouping-stage-3'); +require('../proposals/array-grouping-stage-3-2'); +require('../proposals/change-array-by-copy'); +require('../proposals/iterator-helpers-stage-3'); + +module.exports = parent; diff --git a/node_modules/core-js/stage/4.js b/node_modules/core-js/stage/4.js new file mode 100644 index 00000000..72721afd --- /dev/null +++ b/node_modules/core-js/stage/4.js @@ -0,0 +1,17 @@ +'use strict'; +// TODO: Remove this entry from `core-js@4` +require('../proposals/accessible-object-hasownproperty'); +require('../proposals/array-find-from-last'); +require('../proposals/change-array-by-copy-stage-4'); +// require('../proposals/error-cause'); +require('../proposals/global-this'); +require('../proposals/promise-all-settled'); +require('../proposals/promise-any'); +require('../proposals/relative-indexing-method'); +require('../proposals/string-match-all'); +require('../proposals/string-replace-all-stage-4'); +require('../proposals/well-formed-unicode-strings'); + +var path = require('../internals/path'); + +module.exports = path; diff --git a/node_modules/core-js/stage/README.md b/node_modules/core-js/stage/README.md new file mode 100644 index 00000000..0da7eaef --- /dev/null +++ b/node_modules/core-js/stage/README.md @@ -0,0 +1 @@ +This folder contains entry points for [ECMAScript proposals](https://github.com/zloirock/core-js/tree/v3#ecmascript-proposals) with dependencies. diff --git a/node_modules/core-js/stage/index.js b/node_modules/core-js/stage/index.js new file mode 100644 index 00000000..c1a27ed4 --- /dev/null +++ b/node_modules/core-js/stage/index.js @@ -0,0 +1,4 @@ +'use strict'; +var proposals = require('./pre'); + +module.exports = proposals; diff --git a/node_modules/core-js/stage/pre.js b/node_modules/core-js/stage/pre.js new file mode 100644 index 00000000..0f22311a --- /dev/null +++ b/node_modules/core-js/stage/pre.js @@ -0,0 +1,6 @@ +'use strict'; +var parent = require('./0'); + +require('../proposals/reflect-metadata'); + +module.exports = parent; diff --git a/node_modules/core-js/web/README.md b/node_modules/core-js/web/README.md new file mode 100644 index 00000000..40ff72ac --- /dev/null +++ b/node_modules/core-js/web/README.md @@ -0,0 +1 @@ +This folder contains entry points for features from [WHATWG / W3C](https://github.com/zloirock/core-js/tree/v3#web-standards) with dependencies. diff --git a/node_modules/core-js/web/dom-collections.js b/node_modules/core-js/web/dom-collections.js new file mode 100644 index 00000000..6551d7a2 --- /dev/null +++ b/node_modules/core-js/web/dom-collections.js @@ -0,0 +1,6 @@ +'use strict'; +require('../modules/web.dom-collections.for-each'); +require('../modules/web.dom-collections.iterator'); +var path = require('../internals/path'); + +module.exports = path; diff --git a/node_modules/core-js/web/dom-exception.js b/node_modules/core-js/web/dom-exception.js new file mode 100644 index 00000000..7c1658a1 --- /dev/null +++ b/node_modules/core-js/web/dom-exception.js @@ -0,0 +1,8 @@ +'use strict'; +require('../modules/es.error.to-string'); +require('../modules/web.dom-exception.constructor'); +require('../modules/web.dom-exception.stack'); +require('../modules/web.dom-exception.to-string-tag'); +var path = require('../internals/path'); + +module.exports = path.DOMException; diff --git a/node_modules/core-js/web/immediate.js b/node_modules/core-js/web/immediate.js new file mode 100644 index 00000000..3154cd95 --- /dev/null +++ b/node_modules/core-js/web/immediate.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/web.immediate'); +var path = require('../internals/path'); + +module.exports = path; diff --git a/node_modules/core-js/web/index.js b/node_modules/core-js/web/index.js new file mode 100644 index 00000000..44374a6a --- /dev/null +++ b/node_modules/core-js/web/index.js @@ -0,0 +1,23 @@ +'use strict'; +require('../modules/web.atob'); +require('../modules/web.btoa'); +require('../modules/web.dom-collections.for-each'); +require('../modules/web.dom-collections.iterator'); +require('../modules/web.dom-exception.constructor'); +require('../modules/web.dom-exception.stack'); +require('../modules/web.dom-exception.to-string-tag'); +require('../modules/web.immediate'); +require('../modules/web.queue-microtask'); +require('../modules/web.self'); +require('../modules/web.structured-clone'); +require('../modules/web.timers'); +require('../modules/web.url'); +require('../modules/web.url.can-parse'); +require('../modules/web.url.to-json'); +require('../modules/web.url-search-params'); +require('../modules/web.url-search-params.delete'); +require('../modules/web.url-search-params.has'); +require('../modules/web.url-search-params.size'); +var path = require('../internals/path'); + +module.exports = path; diff --git a/node_modules/core-js/web/queue-microtask.js b/node_modules/core-js/web/queue-microtask.js new file mode 100644 index 00000000..87552e7a --- /dev/null +++ b/node_modules/core-js/web/queue-microtask.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/web.queue-microtask'); +var path = require('../internals/path'); + +module.exports = path.queueMicrotask; diff --git a/node_modules/core-js/web/structured-clone.js b/node_modules/core-js/web/structured-clone.js new file mode 100644 index 00000000..a58caf01 --- /dev/null +++ b/node_modules/core-js/web/structured-clone.js @@ -0,0 +1,9 @@ +'use strict'; +require('../modules/es.array.iterator'); +require('../modules/es.object.to-string'); +require('../modules/es.map'); +require('../modules/es.set'); +require('../modules/web.structured-clone'); +var path = require('../internals/path'); + +module.exports = path.structuredClone; diff --git a/node_modules/core-js/web/timers.js b/node_modules/core-js/web/timers.js new file mode 100644 index 00000000..2e6e766f --- /dev/null +++ b/node_modules/core-js/web/timers.js @@ -0,0 +1,5 @@ +'use strict'; +require('../modules/web.timers'); +var path = require('../internals/path'); + +module.exports = path; diff --git a/node_modules/core-js/web/url-search-params.js b/node_modules/core-js/web/url-search-params.js new file mode 100644 index 00000000..4f3127e9 --- /dev/null +++ b/node_modules/core-js/web/url-search-params.js @@ -0,0 +1,8 @@ +'use strict'; +require('../modules/web.url-search-params'); +require('../modules/web.url-search-params.delete'); +require('../modules/web.url-search-params.has'); +require('../modules/web.url-search-params.size'); +var path = require('../internals/path'); + +module.exports = path.URLSearchParams; diff --git a/node_modules/core-js/web/url.js b/node_modules/core-js/web/url.js new file mode 100644 index 00000000..c01f8b2b --- /dev/null +++ b/node_modules/core-js/web/url.js @@ -0,0 +1,8 @@ +'use strict'; +require('./url-search-params'); +require('../modules/web.url'); +require('../modules/web.url.can-parse'); +require('../modules/web.url.to-json'); +var path = require('../internals/path'); + +module.exports = path.URL; diff --git a/node_modules/cross-fetch/CHANGELOG.md b/node_modules/cross-fetch/CHANGELOG.md new file mode 100644 index 00000000..68441b59 --- /dev/null +++ b/node_modules/cross-fetch/CHANGELOG.md @@ -0,0 +1,24 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +### [3.1.8](https://github.com/lquixada/cross-fetch/compare/v3.1.7...v3.1.8) (2023-07-02) + + +### Bug Fixes + +* restored caret on node-fetch version ([6669927](https://github.com/lquixada/cross-fetch/commit/666992742ef7cbc9a405189f05e0bea4ebbe11fa)) + +### [3.1.7](https://github.com/lquixada/cross-fetch/compare/v3.1.7-test.1...v3.1.7) (2023-07-01) + +### [3.1.6](https://github.com/lquixada/cross-fetch/compare/v3.1.5...v3.1.6) (2023-05-14) + + +### Features + +* allowed minor and patch update of node-fetch ([#132](https://github.com/lquixada/cross-fetch/issues/132)) ([425395b](https://github.com/lquixada/cross-fetch/commit/425395ba80c04fee670e0fc3b8e81ca416ff6e1a)), closes [#129](https://github.com/lquixada/cross-fetch/issues/129) + + +### Bug Fixes + +* fixed ESTree.StaticBlock error ([a66f21b](https://github.com/lquixada/cross-fetch/commit/a66f21bc3aec60907f5fa61efb1ca3af17f17550)) diff --git a/node_modules/cross-fetch/LICENSE b/node_modules/cross-fetch/LICENSE new file mode 100644 index 00000000..9198b86f --- /dev/null +++ b/node_modules/cross-fetch/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Leonardo Quixadá + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/cross-fetch/README.md b/node_modules/cross-fetch/README.md new file mode 100644 index 00000000..60e8a359 --- /dev/null +++ b/node_modules/cross-fetch/README.md @@ -0,0 +1,169 @@ +cross-fetch
+[![NPM Version](https://img.shields.io/npm/v/cross-fetch.svg?branch=main)](https://www.npmjs.com/package/cross-fetch) +[![Downloads Per Week](https://img.shields.io/npm/dw/cross-fetch.svg?color=blue)](https://www.npmjs.com/package/cross-fetch) +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) +[![CI](https://github.com/lquixada/cross-fetch/actions/workflows/ci.yml/badge.svg)](https://github.com/lquixada/cross-fetch/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/lquixada/cross-fetch/branch/main/graph/badge.svg)](https://codecov.io/gh/lquixada/cross-fetch) +================ + +Universal WHATWG Fetch API for Node, Browsers and React Native. The scenario that cross-fetch really shines is when the same JavaScript codebase needs to run on different platforms. + +- **Platform agnostic**: browsers, Node or React Native +- **Optional polyfill**: it's up to you if something is going to be added to the global object or not +- **Simple interface**: no instantiation, no configuration and no extra dependency +- **WHATWG compliant**: it works the same way wherever your code runs +- **TypeScript support**: better development experience with types. + + +* * * + +## Table of Contents + +- [Install](#install) +- [Usage](#usage) +- [Demo & API](#demo--api) +- [FAQ](#faq) +- [Thanks](#thanks) +- [License](#license) +- [Author](#author) + +* * * + +## Install + +```sh +npm install --save cross-fetch +``` + +As a [ponyfill](https://github.com/sindresorhus/ponyfill): + +```javascript +// Using ES6 modules with Babel or TypeScript +import fetch from 'cross-fetch'; + +// Using CommonJS modules +const fetch = require('cross-fetch'); +``` + +As a polyfill: + +```javascript +// Using ES6 modules +import 'cross-fetch/polyfill'; + +// Using CommonJS modules +require('cross-fetch/polyfill'); +``` + + +The CDN build is also available on unpkg: + +```html + +``` + +This adds the fetch function to the window object. Note that this is not UMD compatible. + + +* * * + +## Usage + +With [promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise): + +```javascript +import fetch from 'cross-fetch'; +// Or just: import 'cross-fetch/polyfill'; + +fetch('//api.github.com/users/lquixada') + .then(res => { + if (res.status >= 400) { + throw new Error("Bad response from server"); + } + return res.json(); + }) + .then(user => { + console.log(user); + }) + .catch(err => { + console.error(err); + }); +``` + +With [async/await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function): + +```javascript +import fetch from 'cross-fetch'; +// Or just: import 'cross-fetch/polyfill'; + +(async () => { + try { + const res = await fetch('//api.github.com/users/lquixada'); + + if (res.status >= 400) { + throw new Error("Bad response from server"); + } + + const user = await res.json(); + + console.log(user); + } catch (err) { + console.error(err); + } +})(); +``` + +> ⚠️ **Warning**: If you're in an environment that doesn't support Promises such as Internet Explorer, you must install an ES6 Promise compatible polyfill. [es6-promise](https://github.com/jakearchibald/es6-promise) is suggested. + + +## Demo & API + +You can find a comprehensive doc at [Github's fetch](https://github.github.io/fetch/) page. If you want to play with cross-fetch, check our [**JSFiddle playground**](https://jsfiddle.net/lquixada/3ypqgacp/). + +> **Tip**: Run the fiddle on various browsers and with different settings (for instance: cross-domain requests, wrong urls or text requests). Don't forget to open the console in the test suite page and play around. + + +## FAQ + +#### Yet another fetch library? + +I did a lot of research in order to find a fetch library that could be simple, cross-platform and provide polyfill as an option. There's a plethora of libs out there but none could match those requirements. + + +#### Why not isomorphic-fetch? + +My preferred library used to be [isomorphic-fetch](https://github.com/matthew-andrews/isomorphic-fetch) but it has this [bug](https://github.com/matthew-andrews/isomorphic-fetch/issues/125) that prevents it from running in a react native environment. It seems unlikely to be fixed since there haven't been any new commits to it since 2016. That means dependencies are outdated as well. + + +#### Why polyfill might not be a good idea? + +In a word? Risk. If the spec changes in the future, it might be problematic to debug. Read more about it on [sindresorhus's ponyfill](https://github.com/sindresorhus/ponyfill#how-are-ponyfills-better-than-polyfills) page. It's up to you if you're fine with it or not. + + +#### How does cross-fetch work? + +Just like isomorphic-fetch, it is just a proxy. If you're in node, it delivers you the [node-fetch](https://github.com/bitinn/node-fetch/) library, if you're in a browser or React Native, it delivers you the github's [whatwg-fetch](https://github.com/github/fetch/). The same strategy applies whether you're using polyfill or ponyfill. + + +## Who's Using It? + +|[![The New York Times](./docs/images/logo-nytimes.png)](https://www.nytimes.com/)|[![Apollo GraphQL](./docs/images/logo-apollo.png)](https://github.com/apollographql/apollo-client/)|[![Facebook](./docs/images/logo-facebook.png)](https://github.com/facebook/fbjs/)|[![Swagger](./docs/images/logo-swagger.png)](https://swagger.io/)|[![VulcanJS](./docs/images/logo-vulcanjs.png)](http://vulcanjs.org)|[![graphql-request](./docs/images/logo-graphql-request.png)](https://github.com/prisma/graphql-request)| +|:---:|:---:|:---:|:---:|:---:|:---:| +|The New York Times|Apollo GraphQL|Facebook|Swagger|VulcanJS|graphql-request| + + +## Thanks + +Heavily inspired by the works of [matthew-andrews](https://github.com/matthew-andrews). Kudos to him! + + +## License + +cross-fetch is licensed under the [MIT license](https://github.com/lquixada/cross-fetch/blob/main/LICENSE) © [Leonardo Quixadá](https://twitter.com/lquixada/) + + +## Author + +|[![@lquixada](https://avatars0.githubusercontent.com/u/195494?v=4&s=96)](https://github.com/lquixada)| +|:---:| +|[@lquixada](http://www.github.com/lquixada)| diff --git a/node_modules/cross-fetch/dist/browser-polyfill.js b/node_modules/cross-fetch/dist/browser-polyfill.js new file mode 100644 index 00000000..11ccad13 --- /dev/null +++ b/node_modules/cross-fetch/dist/browser-polyfill.js @@ -0,0 +1,532 @@ +(function(self) { + +var irrelevant = (function (exports) { + + var support = { + searchParams: 'URLSearchParams' in self, + iterable: 'Symbol' in self && 'iterator' in Symbol, + blob: + 'FileReader' in self && + 'Blob' in self && + (function() { + try { + new Blob(); + return true + } catch (e) { + return false + } + })(), + formData: 'FormData' in self, + arrayBuffer: 'ArrayBuffer' in self + }; + + function isDataView(obj) { + return obj && DataView.prototype.isPrototypeOf(obj) + } + + if (support.arrayBuffer) { + var viewClasses = [ + '[object Int8Array]', + '[object Uint8Array]', + '[object Uint8ClampedArray]', + '[object Int16Array]', + '[object Uint16Array]', + '[object Int32Array]', + '[object Uint32Array]', + '[object Float32Array]', + '[object Float64Array]' + ]; + + var isArrayBufferView = + ArrayBuffer.isView || + function(obj) { + return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1 + }; + } + + function normalizeName(name) { + if (typeof name !== 'string') { + name = String(name); + } + if (/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name)) { + throw new TypeError('Invalid character in header field name') + } + return name.toLowerCase() + } + + function normalizeValue(value) { + if (typeof value !== 'string') { + value = String(value); + } + return value + } + + // Build a destructive iterator for the value list + function iteratorFor(items) { + var iterator = { + next: function() { + var value = items.shift(); + return {done: value === undefined, value: value} + } + }; + + if (support.iterable) { + iterator[Symbol.iterator] = function() { + return iterator + }; + } + + return iterator + } + + function Headers(headers) { + this.map = {}; + + if (headers instanceof Headers) { + headers.forEach(function(value, name) { + this.append(name, value); + }, this); + } else if (Array.isArray(headers)) { + headers.forEach(function(header) { + this.append(header[0], header[1]); + }, this); + } else if (headers) { + Object.getOwnPropertyNames(headers).forEach(function(name) { + this.append(name, headers[name]); + }, this); + } + } + + Headers.prototype.append = function(name, value) { + name = normalizeName(name); + value = normalizeValue(value); + var oldValue = this.map[name]; + this.map[name] = oldValue ? oldValue + ', ' + value : value; + }; + + Headers.prototype['delete'] = function(name) { + delete this.map[normalizeName(name)]; + }; + + Headers.prototype.get = function(name) { + name = normalizeName(name); + return this.has(name) ? this.map[name] : null + }; + + Headers.prototype.has = function(name) { + return this.map.hasOwnProperty(normalizeName(name)) + }; + + Headers.prototype.set = function(name, value) { + this.map[normalizeName(name)] = normalizeValue(value); + }; + + Headers.prototype.forEach = function(callback, thisArg) { + for (var name in this.map) { + if (this.map.hasOwnProperty(name)) { + callback.call(thisArg, this.map[name], name, this); + } + } + }; + + Headers.prototype.keys = function() { + var items = []; + this.forEach(function(value, name) { + items.push(name); + }); + return iteratorFor(items) + }; + + Headers.prototype.values = function() { + var items = []; + this.forEach(function(value) { + items.push(value); + }); + return iteratorFor(items) + }; + + Headers.prototype.entries = function() { + var items = []; + this.forEach(function(value, name) { + items.push([name, value]); + }); + return iteratorFor(items) + }; + + if (support.iterable) { + Headers.prototype[Symbol.iterator] = Headers.prototype.entries; + } + + function consumed(body) { + if (body.bodyUsed) { + return Promise.reject(new TypeError('Already read')) + } + body.bodyUsed = true; + } + + function fileReaderReady(reader) { + return new Promise(function(resolve, reject) { + reader.onload = function() { + resolve(reader.result); + }; + reader.onerror = function() { + reject(reader.error); + }; + }) + } + + function readBlobAsArrayBuffer(blob) { + var reader = new FileReader(); + var promise = fileReaderReady(reader); + reader.readAsArrayBuffer(blob); + return promise + } + + function readBlobAsText(blob) { + var reader = new FileReader(); + var promise = fileReaderReady(reader); + reader.readAsText(blob); + return promise + } + + function readArrayBufferAsText(buf) { + var view = new Uint8Array(buf); + var chars = new Array(view.length); + + for (var i = 0; i < view.length; i++) { + chars[i] = String.fromCharCode(view[i]); + } + return chars.join('') + } + + function bufferClone(buf) { + if (buf.slice) { + return buf.slice(0) + } else { + var view = new Uint8Array(buf.byteLength); + view.set(new Uint8Array(buf)); + return view.buffer + } + } + + function Body() { + this.bodyUsed = false; + + this._initBody = function(body) { + this._bodyInit = body; + if (!body) { + this._bodyText = ''; + } else if (typeof body === 'string') { + this._bodyText = body; + } else if (support.blob && Blob.prototype.isPrototypeOf(body)) { + this._bodyBlob = body; + } else if (support.formData && FormData.prototype.isPrototypeOf(body)) { + this._bodyFormData = body; + } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { + this._bodyText = body.toString(); + } else if (support.arrayBuffer && support.blob && isDataView(body)) { + this._bodyArrayBuffer = bufferClone(body.buffer); + // IE 10-11 can't handle a DataView body. + this._bodyInit = new Blob([this._bodyArrayBuffer]); + } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) { + this._bodyArrayBuffer = bufferClone(body); + } else { + this._bodyText = body = Object.prototype.toString.call(body); + } + + if (!this.headers.get('content-type')) { + if (typeof body === 'string') { + this.headers.set('content-type', 'text/plain;charset=UTF-8'); + } else if (this._bodyBlob && this._bodyBlob.type) { + this.headers.set('content-type', this._bodyBlob.type); + } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { + this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); + } + } + }; + + if (support.blob) { + this.blob = function() { + var rejected = consumed(this); + if (rejected) { + return rejected + } + + if (this._bodyBlob) { + return Promise.resolve(this._bodyBlob) + } else if (this._bodyArrayBuffer) { + return Promise.resolve(new Blob([this._bodyArrayBuffer])) + } else if (this._bodyFormData) { + throw new Error('could not read FormData body as blob') + } else { + return Promise.resolve(new Blob([this._bodyText])) + } + }; + + this.arrayBuffer = function() { + if (this._bodyArrayBuffer) { + return consumed(this) || Promise.resolve(this._bodyArrayBuffer) + } else { + return this.blob().then(readBlobAsArrayBuffer) + } + }; + } + + this.text = function() { + var rejected = consumed(this); + if (rejected) { + return rejected + } + + if (this._bodyBlob) { + return readBlobAsText(this._bodyBlob) + } else if (this._bodyArrayBuffer) { + return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer)) + } else if (this._bodyFormData) { + throw new Error('could not read FormData body as text') + } else { + return Promise.resolve(this._bodyText) + } + }; + + if (support.formData) { + this.formData = function() { + return this.text().then(decode) + }; + } + + this.json = function() { + return this.text().then(JSON.parse) + }; + + return this + } + + // HTTP methods whose capitalization should be normalized + var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']; + + function normalizeMethod(method) { + var upcased = method.toUpperCase(); + return methods.indexOf(upcased) > -1 ? upcased : method + } + + function Request(input, options) { + options = options || {}; + var body = options.body; + + if (input instanceof Request) { + if (input.bodyUsed) { + throw new TypeError('Already read') + } + this.url = input.url; + this.credentials = input.credentials; + if (!options.headers) { + this.headers = new Headers(input.headers); + } + this.method = input.method; + this.mode = input.mode; + this.signal = input.signal; + if (!body && input._bodyInit != null) { + body = input._bodyInit; + input.bodyUsed = true; + } + } else { + this.url = String(input); + } + + this.credentials = options.credentials || this.credentials || 'same-origin'; + if (options.headers || !this.headers) { + this.headers = new Headers(options.headers); + } + this.method = normalizeMethod(options.method || this.method || 'GET'); + this.mode = options.mode || this.mode || null; + this.signal = options.signal || this.signal; + this.referrer = null; + + if ((this.method === 'GET' || this.method === 'HEAD') && body) { + throw new TypeError('Body not allowed for GET or HEAD requests') + } + this._initBody(body); + } + + Request.prototype.clone = function() { + return new Request(this, {body: this._bodyInit}) + }; + + function decode(body) { + var form = new FormData(); + body + .trim() + .split('&') + .forEach(function(bytes) { + if (bytes) { + var split = bytes.split('='); + var name = split.shift().replace(/\+/g, ' '); + var value = split.join('=').replace(/\+/g, ' '); + form.append(decodeURIComponent(name), decodeURIComponent(value)); + } + }); + return form + } + + function parseHeaders(rawHeaders) { + var headers = new Headers(); + // Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space + // https://tools.ietf.org/html/rfc7230#section-3.2 + var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' '); + preProcessedHeaders.split(/\r?\n/).forEach(function(line) { + var parts = line.split(':'); + var key = parts.shift().trim(); + if (key) { + var value = parts.join(':').trim(); + headers.append(key, value); + } + }); + return headers + } + + Body.call(Request.prototype); + + function Response(bodyInit, options) { + if (!options) { + options = {}; + } + + this.type = 'default'; + this.status = options.status === undefined ? 200 : options.status; + this.ok = this.status >= 200 && this.status < 300; + this.statusText = 'statusText' in options ? options.statusText : 'OK'; + this.headers = new Headers(options.headers); + this.url = options.url || ''; + this._initBody(bodyInit); + } + + Body.call(Response.prototype); + + Response.prototype.clone = function() { + return new Response(this._bodyInit, { + status: this.status, + statusText: this.statusText, + headers: new Headers(this.headers), + url: this.url + }) + }; + + Response.error = function() { + var response = new Response(null, {status: 0, statusText: ''}); + response.type = 'error'; + return response + }; + + var redirectStatuses = [301, 302, 303, 307, 308]; + + Response.redirect = function(url, status) { + if (redirectStatuses.indexOf(status) === -1) { + throw new RangeError('Invalid status code') + } + + return new Response(null, {status: status, headers: {location: url}}) + }; + + exports.DOMException = self.DOMException; + try { + new exports.DOMException(); + } catch (err) { + exports.DOMException = function(message, name) { + this.message = message; + this.name = name; + var error = Error(message); + this.stack = error.stack; + }; + exports.DOMException.prototype = Object.create(Error.prototype); + exports.DOMException.prototype.constructor = exports.DOMException; + } + + function fetch(input, init) { + return new Promise(function(resolve, reject) { + var request = new Request(input, init); + + if (request.signal && request.signal.aborted) { + return reject(new exports.DOMException('Aborted', 'AbortError')) + } + + var xhr = new XMLHttpRequest(); + + function abortXhr() { + xhr.abort(); + } + + xhr.onload = function() { + var options = { + status: xhr.status, + statusText: xhr.statusText, + headers: parseHeaders(xhr.getAllResponseHeaders() || '') + }; + options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL'); + var body = 'response' in xhr ? xhr.response : xhr.responseText; + resolve(new Response(body, options)); + }; + + xhr.onerror = function() { + reject(new TypeError('Network request failed')); + }; + + xhr.ontimeout = function() { + reject(new TypeError('Network request failed')); + }; + + xhr.onabort = function() { + reject(new exports.DOMException('Aborted', 'AbortError')); + }; + + xhr.open(request.method, request.url, true); + + if (request.credentials === 'include') { + xhr.withCredentials = true; + } else if (request.credentials === 'omit') { + xhr.withCredentials = false; + } + + if ('responseType' in xhr && support.blob) { + xhr.responseType = 'blob'; + } + + request.headers.forEach(function(value, name) { + xhr.setRequestHeader(name, value); + }); + + if (request.signal) { + request.signal.addEventListener('abort', abortXhr); + + xhr.onreadystatechange = function() { + // DONE (success or failure) + if (xhr.readyState === 4) { + request.signal.removeEventListener('abort', abortXhr); + } + }; + } + + xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit); + }) + } + + fetch.polyfill = true; + + if (!self.fetch) { + self.fetch = fetch; + self.Headers = Headers; + self.Request = Request; + self.Response = Response; + } + + exports.Headers = Headers; + exports.Request = Request; + exports.Response = Response; + exports.fetch = fetch; + + Object.defineProperty(exports, '__esModule', { value: true }); + + return exports; + +})({}); +})(typeof self !== 'undefined' ? self : this); diff --git a/node_modules/cross-fetch/dist/browser-ponyfill.js b/node_modules/cross-fetch/dist/browser-ponyfill.js new file mode 100644 index 00000000..f216aa35 --- /dev/null +++ b/node_modules/cross-fetch/dist/browser-ponyfill.js @@ -0,0 +1,554 @@ +var global = typeof self !== 'undefined' ? self : this; +var __self__ = (function () { +function F() { +this.fetch = false; +this.DOMException = global.DOMException +} +F.prototype = global; +return new F(); +})(); +(function(self) { + +var irrelevant = (function (exports) { + + var support = { + searchParams: 'URLSearchParams' in self, + iterable: 'Symbol' in self && 'iterator' in Symbol, + blob: + 'FileReader' in self && + 'Blob' in self && + (function() { + try { + new Blob(); + return true + } catch (e) { + return false + } + })(), + formData: 'FormData' in self, + arrayBuffer: 'ArrayBuffer' in self + }; + + function isDataView(obj) { + return obj && DataView.prototype.isPrototypeOf(obj) + } + + if (support.arrayBuffer) { + var viewClasses = [ + '[object Int8Array]', + '[object Uint8Array]', + '[object Uint8ClampedArray]', + '[object Int16Array]', + '[object Uint16Array]', + '[object Int32Array]', + '[object Uint32Array]', + '[object Float32Array]', + '[object Float64Array]' + ]; + + var isArrayBufferView = + ArrayBuffer.isView || + function(obj) { + return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1 + }; + } + + function normalizeName(name) { + if (typeof name !== 'string') { + name = String(name); + } + if (/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name)) { + throw new TypeError('Invalid character in header field name') + } + return name.toLowerCase() + } + + function normalizeValue(value) { + if (typeof value !== 'string') { + value = String(value); + } + return value + } + + // Build a destructive iterator for the value list + function iteratorFor(items) { + var iterator = { + next: function() { + var value = items.shift(); + return {done: value === undefined, value: value} + } + }; + + if (support.iterable) { + iterator[Symbol.iterator] = function() { + return iterator + }; + } + + return iterator + } + + function Headers(headers) { + this.map = {}; + + if (headers instanceof Headers) { + headers.forEach(function(value, name) { + this.append(name, value); + }, this); + } else if (Array.isArray(headers)) { + headers.forEach(function(header) { + this.append(header[0], header[1]); + }, this); + } else if (headers) { + Object.getOwnPropertyNames(headers).forEach(function(name) { + this.append(name, headers[name]); + }, this); + } + } + + Headers.prototype.append = function(name, value) { + name = normalizeName(name); + value = normalizeValue(value); + var oldValue = this.map[name]; + this.map[name] = oldValue ? oldValue + ', ' + value : value; + }; + + Headers.prototype['delete'] = function(name) { + delete this.map[normalizeName(name)]; + }; + + Headers.prototype.get = function(name) { + name = normalizeName(name); + return this.has(name) ? this.map[name] : null + }; + + Headers.prototype.has = function(name) { + return this.map.hasOwnProperty(normalizeName(name)) + }; + + Headers.prototype.set = function(name, value) { + this.map[normalizeName(name)] = normalizeValue(value); + }; + + Headers.prototype.forEach = function(callback, thisArg) { + for (var name in this.map) { + if (this.map.hasOwnProperty(name)) { + callback.call(thisArg, this.map[name], name, this); + } + } + }; + + Headers.prototype.keys = function() { + var items = []; + this.forEach(function(value, name) { + items.push(name); + }); + return iteratorFor(items) + }; + + Headers.prototype.values = function() { + var items = []; + this.forEach(function(value) { + items.push(value); + }); + return iteratorFor(items) + }; + + Headers.prototype.entries = function() { + var items = []; + this.forEach(function(value, name) { + items.push([name, value]); + }); + return iteratorFor(items) + }; + + if (support.iterable) { + Headers.prototype[Symbol.iterator] = Headers.prototype.entries; + } + + function consumed(body) { + if (body.bodyUsed) { + return Promise.reject(new TypeError('Already read')) + } + body.bodyUsed = true; + } + + function fileReaderReady(reader) { + return new Promise(function(resolve, reject) { + reader.onload = function() { + resolve(reader.result); + }; + reader.onerror = function() { + reject(reader.error); + }; + }) + } + + function readBlobAsArrayBuffer(blob) { + var reader = new FileReader(); + var promise = fileReaderReady(reader); + reader.readAsArrayBuffer(blob); + return promise + } + + function readBlobAsText(blob) { + var reader = new FileReader(); + var promise = fileReaderReady(reader); + reader.readAsText(blob); + return promise + } + + function readArrayBufferAsText(buf) { + var view = new Uint8Array(buf); + var chars = new Array(view.length); + + for (var i = 0; i < view.length; i++) { + chars[i] = String.fromCharCode(view[i]); + } + return chars.join('') + } + + function bufferClone(buf) { + if (buf.slice) { + return buf.slice(0) + } else { + var view = new Uint8Array(buf.byteLength); + view.set(new Uint8Array(buf)); + return view.buffer + } + } + + function Body() { + this.bodyUsed = false; + + this._initBody = function(body) { + this._bodyInit = body; + if (!body) { + this._bodyText = ''; + } else if (typeof body === 'string') { + this._bodyText = body; + } else if (support.blob && Blob.prototype.isPrototypeOf(body)) { + this._bodyBlob = body; + } else if (support.formData && FormData.prototype.isPrototypeOf(body)) { + this._bodyFormData = body; + } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { + this._bodyText = body.toString(); + } else if (support.arrayBuffer && support.blob && isDataView(body)) { + this._bodyArrayBuffer = bufferClone(body.buffer); + // IE 10-11 can't handle a DataView body. + this._bodyInit = new Blob([this._bodyArrayBuffer]); + } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) { + this._bodyArrayBuffer = bufferClone(body); + } else { + this._bodyText = body = Object.prototype.toString.call(body); + } + + if (!this.headers.get('content-type')) { + if (typeof body === 'string') { + this.headers.set('content-type', 'text/plain;charset=UTF-8'); + } else if (this._bodyBlob && this._bodyBlob.type) { + this.headers.set('content-type', this._bodyBlob.type); + } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) { + this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); + } + } + }; + + if (support.blob) { + this.blob = function() { + var rejected = consumed(this); + if (rejected) { + return rejected + } + + if (this._bodyBlob) { + return Promise.resolve(this._bodyBlob) + } else if (this._bodyArrayBuffer) { + return Promise.resolve(new Blob([this._bodyArrayBuffer])) + } else if (this._bodyFormData) { + throw new Error('could not read FormData body as blob') + } else { + return Promise.resolve(new Blob([this._bodyText])) + } + }; + + this.arrayBuffer = function() { + if (this._bodyArrayBuffer) { + return consumed(this) || Promise.resolve(this._bodyArrayBuffer) + } else { + return this.blob().then(readBlobAsArrayBuffer) + } + }; + } + + this.text = function() { + var rejected = consumed(this); + if (rejected) { + return rejected + } + + if (this._bodyBlob) { + return readBlobAsText(this._bodyBlob) + } else if (this._bodyArrayBuffer) { + return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer)) + } else if (this._bodyFormData) { + throw new Error('could not read FormData body as text') + } else { + return Promise.resolve(this._bodyText) + } + }; + + if (support.formData) { + this.formData = function() { + return this.text().then(decode) + }; + } + + this.json = function() { + return this.text().then(JSON.parse) + }; + + return this + } + + // HTTP methods whose capitalization should be normalized + var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']; + + function normalizeMethod(method) { + var upcased = method.toUpperCase(); + return methods.indexOf(upcased) > -1 ? upcased : method + } + + function Request(input, options) { + options = options || {}; + var body = options.body; + + if (input instanceof Request) { + if (input.bodyUsed) { + throw new TypeError('Already read') + } + this.url = input.url; + this.credentials = input.credentials; + if (!options.headers) { + this.headers = new Headers(input.headers); + } + this.method = input.method; + this.mode = input.mode; + this.signal = input.signal; + if (!body && input._bodyInit != null) { + body = input._bodyInit; + input.bodyUsed = true; + } + } else { + this.url = String(input); + } + + this.credentials = options.credentials || this.credentials || 'same-origin'; + if (options.headers || !this.headers) { + this.headers = new Headers(options.headers); + } + this.method = normalizeMethod(options.method || this.method || 'GET'); + this.mode = options.mode || this.mode || null; + this.signal = options.signal || this.signal; + this.referrer = null; + + if ((this.method === 'GET' || this.method === 'HEAD') && body) { + throw new TypeError('Body not allowed for GET or HEAD requests') + } + this._initBody(body); + } + + Request.prototype.clone = function() { + return new Request(this, {body: this._bodyInit}) + }; + + function decode(body) { + var form = new FormData(); + body + .trim() + .split('&') + .forEach(function(bytes) { + if (bytes) { + var split = bytes.split('='); + var name = split.shift().replace(/\+/g, ' '); + var value = split.join('=').replace(/\+/g, ' '); + form.append(decodeURIComponent(name), decodeURIComponent(value)); + } + }); + return form + } + + function parseHeaders(rawHeaders) { + var headers = new Headers(); + // Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space + // https://tools.ietf.org/html/rfc7230#section-3.2 + var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' '); + preProcessedHeaders.split(/\r?\n/).forEach(function(line) { + var parts = line.split(':'); + var key = parts.shift().trim(); + if (key) { + var value = parts.join(':').trim(); + headers.append(key, value); + } + }); + return headers + } + + Body.call(Request.prototype); + + function Response(bodyInit, options) { + if (!options) { + options = {}; + } + + this.type = 'default'; + this.status = options.status === undefined ? 200 : options.status; + this.ok = this.status >= 200 && this.status < 300; + this.statusText = 'statusText' in options ? options.statusText : 'OK'; + this.headers = new Headers(options.headers); + this.url = options.url || ''; + this._initBody(bodyInit); + } + + Body.call(Response.prototype); + + Response.prototype.clone = function() { + return new Response(this._bodyInit, { + status: this.status, + statusText: this.statusText, + headers: new Headers(this.headers), + url: this.url + }) + }; + + Response.error = function() { + var response = new Response(null, {status: 0, statusText: ''}); + response.type = 'error'; + return response + }; + + var redirectStatuses = [301, 302, 303, 307, 308]; + + Response.redirect = function(url, status) { + if (redirectStatuses.indexOf(status) === -1) { + throw new RangeError('Invalid status code') + } + + return new Response(null, {status: status, headers: {location: url}}) + }; + + exports.DOMException = self.DOMException; + try { + new exports.DOMException(); + } catch (err) { + exports.DOMException = function(message, name) { + this.message = message; + this.name = name; + var error = Error(message); + this.stack = error.stack; + }; + exports.DOMException.prototype = Object.create(Error.prototype); + exports.DOMException.prototype.constructor = exports.DOMException; + } + + function fetch(input, init) { + return new Promise(function(resolve, reject) { + var request = new Request(input, init); + + if (request.signal && request.signal.aborted) { + return reject(new exports.DOMException('Aborted', 'AbortError')) + } + + var xhr = new XMLHttpRequest(); + + function abortXhr() { + xhr.abort(); + } + + xhr.onload = function() { + var options = { + status: xhr.status, + statusText: xhr.statusText, + headers: parseHeaders(xhr.getAllResponseHeaders() || '') + }; + options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL'); + var body = 'response' in xhr ? xhr.response : xhr.responseText; + resolve(new Response(body, options)); + }; + + xhr.onerror = function() { + reject(new TypeError('Network request failed')); + }; + + xhr.ontimeout = function() { + reject(new TypeError('Network request failed')); + }; + + xhr.onabort = function() { + reject(new exports.DOMException('Aborted', 'AbortError')); + }; + + xhr.open(request.method, request.url, true); + + if (request.credentials === 'include') { + xhr.withCredentials = true; + } else if (request.credentials === 'omit') { + xhr.withCredentials = false; + } + + if ('responseType' in xhr && support.blob) { + xhr.responseType = 'blob'; + } + + request.headers.forEach(function(value, name) { + xhr.setRequestHeader(name, value); + }); + + if (request.signal) { + request.signal.addEventListener('abort', abortXhr); + + xhr.onreadystatechange = function() { + // DONE (success or failure) + if (xhr.readyState === 4) { + request.signal.removeEventListener('abort', abortXhr); + } + }; + } + + xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit); + }) + } + + fetch.polyfill = true; + + if (!self.fetch) { + self.fetch = fetch; + self.Headers = Headers; + self.Request = Request; + self.Response = Response; + } + + exports.Headers = Headers; + exports.Request = Request; + exports.Response = Response; + exports.fetch = fetch; + + Object.defineProperty(exports, '__esModule', { value: true }); + + return exports; + +})({}); +})(__self__); +__self__.fetch.ponyfill = true; +// Remove "polyfill" property added by whatwg-fetch +delete __self__.fetch.polyfill; +// Choose between native implementation (global) or custom implementation (__self__) +// var ctx = global.fetch ? global : __self__; +var ctx = __self__; // this line disable service worker support temporarily +exports = ctx.fetch // To enable: import fetch from 'cross-fetch' +exports.default = ctx.fetch // For TypeScript consumers without esModuleInterop. +exports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch' +exports.Headers = ctx.Headers +exports.Request = ctx.Request +exports.Response = ctx.Response +module.exports = exports diff --git a/node_modules/cross-fetch/dist/cross-fetch.js b/node_modules/cross-fetch/dist/cross-fetch.js new file mode 100644 index 00000000..865dd5d4 --- /dev/null +++ b/node_modules/cross-fetch/dist/cross-fetch.js @@ -0,0 +1,2 @@ +!function(t){!function(e){var r="URLSearchParams"in t,o="Symbol"in t&&"iterator"in Symbol,n="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),i="FormData"in t,s="ArrayBuffer"in t;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],h=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};function u(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function d(t){return"string"!=typeof t&&(t=String(t)),t}function f(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function p(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function y(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function l(t){var e=new FileReader,r=y(e);return e.readAsArrayBuffer(t),r}function b(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:n&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:i&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():s&&n&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(t)||h(t))?this._bodyArrayBuffer=b(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n&&(this.blob=function(){var t=p(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var t,e,r,o=p(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=y(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function A(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},A.error=function(){var t=new A(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];A.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new A(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function g(t,r){return new Promise((function(o,i){var s=new v(t,r);if(s.signal&&s.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function h(){a.abort()}a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}})),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var n="response"in a?a.response:a.responseText;o(new A(n,r))},a.onerror=function(){i(new TypeError("Network request failed"))},a.ontimeout=function(){i(new TypeError("Network request failed"))},a.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&n&&(a.responseType="blob"),s.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),s.signal&&(s.signal.addEventListener("abort",h),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",h)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}g.polyfill=!0,t.fetch||(t.fetch=g,t.Headers=c,t.Request=v,t.Response=A),e.Headers=c,e.Request=v,e.Response=A,e.fetch=g,Object.defineProperty(e,"__esModule",{value:!0})}({})}("undefined"!=typeof self?self:this); +//# sourceMappingURL=cross-fetch.js.map diff --git a/node_modules/cross-fetch/dist/cross-fetch.js.map b/node_modules/cross-fetch/dist/cross-fetch.js.map new file mode 100644 index 00000000..da4ebf84 --- /dev/null +++ b/node_modules/cross-fetch/dist/cross-fetch.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cross-fetch.js","sources":["../node_modules/whatwg-fetch/fetch.js"],"sourcesContent":["var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob:\n 'FileReader' in self &&\n 'Blob' in self &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsText(blob)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n this._bodyInit = body\n if (!body) {\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n headers.append(key, value)\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = 'statusText' in options ? options.statusText : 'OK'\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 0, statusText: ''})\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = self.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n resolve(new Response(body, options))\n }\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.onabort = function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }\n\n xhr.open(request.method, request.url, true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob'\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!self.fetch) {\n self.fetch = fetch\n self.Headers = Headers\n self.Request = Request\n self.Response = Response\n}\n"],"names":["support","self","Symbol","Blob","e","viewClasses","isArrayBufferView","ArrayBuffer","isView","obj","indexOf","Object","prototype","toString","call","normalizeName","name","String","test","TypeError","toLowerCase","normalizeValue","value","iteratorFor","items","iterator","next","shift","done","undefined","Headers","headers","this","map","forEach","append","Array","isArray","header","getOwnPropertyNames","consumed","body","bodyUsed","Promise","reject","fileReaderReady","reader","resolve","onload","result","onerror","error","readBlobAsArrayBuffer","blob","FileReader","promise","readAsArrayBuffer","bufferClone","buf","slice","view","Uint8Array","byteLength","set","buffer","Body","_initBody","_bodyInit","_bodyText","isPrototypeOf","_bodyBlob","FormData","_bodyFormData","URLSearchParams","DataView","_bodyArrayBuffer","get","type","rejected","Error","arrayBuffer","then","text","readAsText","chars","length","i","fromCharCode","join","readArrayBufferAsText","formData","decode","json","JSON","parse","oldValue","has","hasOwnProperty","callback","thisArg","keys","push","values","entries","methods","Request","input","options","method","upcased","url","credentials","mode","signal","toUpperCase","referrer","form","trim","split","bytes","replace","decodeURIComponent","Response","bodyInit","status","ok","statusText","clone","response","redirectStatuses","redirect","RangeError","location","DOMException","err","message","stack","create","constructor","fetch","init","request","aborted","xhr","XMLHttpRequest","abortXhr","abort","rawHeaders","getAllResponseHeaders","line","parts","key","responseURL","responseText","ontimeout","onabort","open","withCredentials","responseType","setRequestHeader","addEventListener","onreadystatechange","readyState","removeEventListener","send","polyfill"],"mappings":"0BAAA,IAAIA,EACY,oBAAqBC,EADjCD,EAEQ,WAAYC,GAAQ,aAAcC,OAF1CF,EAIA,eAAgBC,GAChB,SAAUA,GACV,WACE,IAEE,OADA,IAAIE,MACG,EACP,MAAOC,GACP,OAAO,EAEV,CAPD,GANAJ,EAcQ,aAAcC,EAdtBD,EAeW,gBAAiBC,EAOhC,GAAID,EACF,IAAIK,EAAc,CAChB,qBACA,sBACA,6BACA,sBACA,uBACA,sBACA,uBACA,wBACA,yBAGEC,EACFC,YAAYC,QACZ,SAASC,GACP,OAAOA,GAAOJ,EAAYK,QAAQC,OAAOC,UAAUC,SAASC,KAAKL,KAAS,GAIhF,SAASM,EAAcC,GAIrB,GAHoB,iBAATA,IACTA,EAAOC,OAAOD,IAEZ,4BAA4BE,KAAKF,GACnC,MAAM,IAAIG,UAAU,0CAEtB,OAAOH,EAAKI,aACd,CAEA,SAASC,EAAeC,GAItB,MAHqB,iBAAVA,IACTA,EAAQL,OAAOK,IAEVA,CACT,CAGA,SAASC,EAAYC,GACnB,IAAIC,EAAW,CACbC,KAAM,WACJ,IAAIJ,EAAQE,EAAMG,QAClB,MAAO,CAACC,UAAgBC,IAAVP,EAAqBA,MAAOA,KAU9C,OANItB,IACFyB,EAASvB,OAAOuB,UAAY,WAC1B,OAAOA,IAIJA,CACT,CAEO,SAASK,EAAQC,GACtBC,KAAKC,IAAM,GAEPF,aAAmBD,EACrBC,EAAQG,SAAQ,SAASZ,EAAON,GAC9BgB,KAAKG,OAAOnB,EAAMM,KACjBU,MACMI,MAAMC,QAAQN,GACvBA,EAAQG,SAAQ,SAASI,GACvBN,KAAKG,OAAOG,EAAO,GAAIA,EAAO,MAC7BN,MACMD,GACTpB,OAAO4B,oBAAoBR,GAASG,SAAQ,SAASlB,GACnDgB,KAAKG,OAAOnB,EAAMe,EAAQf,MACzBgB,KAEP,CA8DA,SAASQ,EAASC,GAChB,GAAIA,EAAKC,SACP,OAAOC,QAAQC,OAAO,IAAIzB,UAAU,iBAEtCsB,EAAKC,UAAW,CAClB,CAEA,SAASG,EAAgBC,GACvB,OAAO,IAAIH,SAAQ,SAASI,EAASH,GACnCE,EAAOE,OAAS,WACdD,EAAQD,EAAOG,SAEjBH,EAAOI,QAAU,WACfN,EAAOE,EAAOK,UAGpB,CAEA,SAASC,EAAsBC,GAC7B,IAAIP,EAAS,IAAIQ,WACbC,EAAUV,EAAgBC,GAE9B,OADAA,EAAOU,kBAAkBH,GAClBE,CACT,CAmBA,SAASE,EAAYC,GACnB,GAAIA,EAAIC,MACN,OAAOD,EAAIC,MAAM,GAEjB,IAAIC,EAAO,IAAIC,WAAWH,EAAII,YAE9B,OADAF,EAAKG,IAAI,IAAIF,WAAWH,IACjBE,EAAKI,MAEhB,CAEA,SAASC,IA0FP,OAzFAjC,KAAKU,UAAW,EAEhBV,KAAKkC,UAAY,SAASzB,GAhM5B,IAAoBhC,EAiMhBuB,KAAKmC,UAAY1B,EACZA,EAEsB,iBAATA,EAChBT,KAAKoC,UAAY3B,EACRzC,GAAgBG,KAAKS,UAAUyD,cAAc5B,GACtDT,KAAKsC,UAAY7B,EACRzC,GAAoBuE,SAAS3D,UAAUyD,cAAc5B,GAC9DT,KAAKwC,cAAgB/B,EACZzC,GAAwByE,gBAAgB7D,UAAUyD,cAAc5B,GACzET,KAAKoC,UAAY3B,EAAK5B,WACbb,GAAuBA,KA5MlBS,EA4M6CgC,IA3MjDiC,SAAS9D,UAAUyD,cAAc5D,KA4M3CuB,KAAK2C,iBAAmBlB,EAAYhB,EAAKuB,QAEzChC,KAAKmC,UAAY,IAAIhE,KAAK,CAAC6B,KAAK2C,oBACvB3E,IAAwBO,YAAYK,UAAUyD,cAAc5B,IAASnC,EAAkBmC,IAChGT,KAAK2C,iBAAmBlB,EAAYhB,GAEpCT,KAAKoC,UAAY3B,EAAO9B,OAAOC,UAAUC,SAASC,KAAK2B,GAhBvDT,KAAKoC,UAAY,GAmBdpC,KAAKD,QAAQ6C,IAAI,kBACA,iBAATnC,EACTT,KAAKD,QAAQgC,IAAI,eAAgB,4BACxB/B,KAAKsC,WAAatC,KAAKsC,UAAUO,KAC1C7C,KAAKD,QAAQgC,IAAI,eAAgB/B,KAAKsC,UAAUO,MACvC7E,GAAwByE,gBAAgB7D,UAAUyD,cAAc5B,IACzET,KAAKD,QAAQgC,IAAI,eAAgB,qDAKnC/D,IACFgC,KAAKqB,KAAO,WACV,IAAIyB,EAAWtC,EAASR,MACxB,GAAI8C,EACF,OAAOA,EAGT,GAAI9C,KAAKsC,UACP,OAAO3B,QAAQI,QAAQf,KAAKsC,WACvB,GAAItC,KAAK2C,iBACd,OAAOhC,QAAQI,QAAQ,IAAI5C,KAAK,CAAC6B,KAAK2C,oBACjC,GAAI3C,KAAKwC,cACd,MAAM,IAAIO,MAAM,wCAEhB,OAAOpC,QAAQI,QAAQ,IAAI5C,KAAK,CAAC6B,KAAKoC,cAI1CpC,KAAKgD,YAAc,WACjB,OAAIhD,KAAK2C,iBACAnC,EAASR,OAASW,QAAQI,QAAQf,KAAK2C,kBAEvC3C,KAAKqB,OAAO4B,KAAK7B,KAK9BpB,KAAKkD,KAAO,WACV,IA3FoB7B,EAClBP,EACAS,EAyFEuB,EAAWtC,EAASR,MACxB,GAAI8C,EACF,OAAOA,EAGT,GAAI9C,KAAKsC,UACP,OAjGkBjB,EAiGIrB,KAAKsC,UAhG3BxB,EAAS,IAAIQ,WACbC,EAAUV,EAAgBC,GAC9BA,EAAOqC,WAAW9B,GACXE,EA8FE,GAAIvB,KAAK2C,iBACd,OAAOhC,QAAQI,QA5FrB,SAA+BW,GAI7B,IAHA,IAAIE,EAAO,IAAIC,WAAWH,GACtB0B,EAAQ,IAAIhD,MAAMwB,EAAKyB,QAElBC,EAAI,EAAGA,EAAI1B,EAAKyB,OAAQC,IAC/BF,EAAME,GAAKrE,OAAOsE,aAAa3B,EAAK0B,IAEtC,OAAOF,EAAMI,KAAK,GACpB,CAoF6BC,CAAsBzD,KAAK2C,mBAC7C,GAAI3C,KAAKwC,cACd,MAAM,IAAIO,MAAM,wCAEhB,OAAOpC,QAAQI,QAAQf,KAAKoC,YAI5BpE,IACFgC,KAAK0D,SAAW,WACd,OAAO1D,KAAKkD,OAAOD,KAAKU,KAI5B3D,KAAK4D,KAAO,WACV,OAAO5D,KAAKkD,OAAOD,KAAKY,KAAKC,QAGxB9D,IACT,CA3MAF,EAAQlB,UAAUuB,OAAS,SAASnB,EAAMM,GACxCN,EAAOD,EAAcC,GACrBM,EAAQD,EAAeC,GACvB,IAAIyE,EAAW/D,KAAKC,IAAIjB,GACxBgB,KAAKC,IAAIjB,GAAQ+E,EAAWA,EAAW,KAAOzE,EAAQA,CACxD,EAEAQ,EAAQlB,UAAkB,OAAI,SAASI,UAC9BgB,KAAKC,IAAIlB,EAAcC,GAChC,EAEAc,EAAQlB,UAAUgE,IAAM,SAAS5D,GAE/B,OADAA,EAAOD,EAAcC,GACdgB,KAAKgE,IAAIhF,GAAQgB,KAAKC,IAAIjB,GAAQ,IAC3C,EAEAc,EAAQlB,UAAUoF,IAAM,SAAShF,GAC/B,OAAOgB,KAAKC,IAAIgE,eAAelF,EAAcC,GAC/C,EAEAc,EAAQlB,UAAUmD,IAAM,SAAS/C,EAAMM,GACrCU,KAAKC,IAAIlB,EAAcC,IAASK,EAAeC,EACjD,EAEAQ,EAAQlB,UAAUsB,QAAU,SAASgE,EAAUC,GAC7C,IAAK,IAAInF,KAAQgB,KAAKC,IAChBD,KAAKC,IAAIgE,eAAejF,IAC1BkF,EAASpF,KAAKqF,EAASnE,KAAKC,IAAIjB,GAAOA,EAAMgB,KAGnD,EAEAF,EAAQlB,UAAUwF,KAAO,WACvB,IAAI5E,EAAQ,GAIZ,OAHAQ,KAAKE,SAAQ,SAASZ,EAAON,GAC3BQ,EAAM6E,KAAKrF,MAENO,EAAYC,EACrB,EAEAM,EAAQlB,UAAU0F,OAAS,WACzB,IAAI9E,EAAQ,GAIZ,OAHAQ,KAAKE,SAAQ,SAASZ,GACpBE,EAAM6E,KAAK/E,MAENC,EAAYC,EACrB,EAEAM,EAAQlB,UAAU2F,QAAU,WAC1B,IAAI/E,EAAQ,GAIZ,OAHAQ,KAAKE,SAAQ,SAASZ,EAAON,GAC3BQ,EAAM6E,KAAK,CAACrF,EAAMM,OAEbC,EAAYC,EACrB,EAEIxB,IACF8B,EAAQlB,UAAUV,OAAOuB,UAAYK,EAAQlB,UAAU2F,SAqJzD,IAAIC,EAAU,CAAC,SAAU,MAAO,OAAQ,UAAW,OAAQ,OAOpD,SAASC,EAAQC,EAAOC,GAE7B,IAPuBC,EACnBC,EAMApE,GADJkE,EAAUA,GAAW,IACFlE,KAEnB,GAAIiE,aAAiBD,EAAS,CAC5B,GAAIC,EAAMhE,SACR,MAAM,IAAIvB,UAAU,gBAEtBa,KAAK8E,IAAMJ,EAAMI,IACjB9E,KAAK+E,YAAcL,EAAMK,YACpBJ,EAAQ5E,UACXC,KAAKD,QAAU,IAAID,EAAQ4E,EAAM3E,UAEnCC,KAAK4E,OAASF,EAAME,OACpB5E,KAAKgF,KAAON,EAAMM,KAClBhF,KAAKiF,OAASP,EAAMO,OACfxE,GAA2B,MAAnBiE,EAAMvC,YACjB1B,EAAOiE,EAAMvC,UACbuC,EAAMhE,UAAW,QAGnBV,KAAK8E,IAAM7F,OAAOyF,GAYpB,GATA1E,KAAK+E,YAAcJ,EAAQI,aAAe/E,KAAK+E,aAAe,eAC1DJ,EAAQ5E,SAAYC,KAAKD,UAC3BC,KAAKD,QAAU,IAAID,EAAQ6E,EAAQ5E,UAErCC,KAAK4E,QAjCkBA,EAiCOD,EAAQC,QAAU5E,KAAK4E,QAAU,MAhC3DC,EAAUD,EAAOM,cACdV,EAAQ9F,QAAQmG,IAAY,EAAIA,EAAUD,GAgCjD5E,KAAKgF,KAAOL,EAAQK,MAAQhF,KAAKgF,MAAQ,KACzChF,KAAKiF,OAASN,EAAQM,QAAUjF,KAAKiF,OACrCjF,KAAKmF,SAAW,MAEK,QAAhBnF,KAAK4E,QAAoC,SAAhB5E,KAAK4E,SAAsBnE,EACvD,MAAM,IAAItB,UAAU,6CAEtBa,KAAKkC,UAAUzB,EACjB,CAMA,SAASkD,EAAOlD,GACd,IAAI2E,EAAO,IAAI7C,SAYf,OAXA9B,EACG4E,OACAC,MAAM,KACNpF,SAAQ,SAASqF,GAChB,GAAIA,EAAO,CACT,IAAID,EAAQC,EAAMD,MAAM,KACpBtG,EAAOsG,EAAM3F,QAAQ6F,QAAQ,MAAO,KACpClG,EAAQgG,EAAM9B,KAAK,KAAKgC,QAAQ,MAAO,KAC3CJ,EAAKjF,OAAOsF,mBAAmBzG,GAAOyG,mBAAmBnG,QAGxD8F,CACT,CAoBO,SAASM,EAASC,EAAUhB,GAC5BA,IACHA,EAAU,IAGZ3E,KAAK6C,KAAO,UACZ7C,KAAK4F,YAA4B/F,IAAnB8E,EAAQiB,OAAuB,IAAMjB,EAAQiB,OAC3D5F,KAAK6F,GAAK7F,KAAK4F,QAAU,KAAO5F,KAAK4F,OAAS,IAC9C5F,KAAK8F,WAAa,eAAgBnB,EAAUA,EAAQmB,WAAa,KACjE9F,KAAKD,QAAU,IAAID,EAAQ6E,EAAQ5E,SACnCC,KAAK8E,IAAMH,EAAQG,KAAO,GAC1B9E,KAAKkC,UAAUyD,EACjB,CAlDAlB,EAAQ7F,UAAUmH,MAAQ,WACxB,OAAO,IAAItB,EAAQzE,KAAM,CAACS,KAAMT,KAAKmC,WACvC,EAkCAF,EAAKnD,KAAK2F,EAAQ7F,WAgBlBqD,EAAKnD,KAAK4G,EAAS9G,WAEnB8G,EAAS9G,UAAUmH,MAAQ,WACzB,OAAO,IAAIL,EAAS1F,KAAKmC,UAAW,CAClCyD,OAAQ5F,KAAK4F,OACbE,WAAY9F,KAAK8F,WACjB/F,QAAS,IAAID,EAAQE,KAAKD,SAC1B+E,IAAK9E,KAAK8E,KAEd,EAEAY,EAASvE,MAAQ,WACf,IAAI6E,EAAW,IAAIN,EAAS,KAAM,CAACE,OAAQ,EAAGE,WAAY,KAE1D,OADAE,EAASnD,KAAO,QACTmD,CACT,EAEA,IAAIC,EAAmB,CAAC,IAAK,IAAK,IAAK,IAAK,KAE5CP,EAASQ,SAAW,SAASpB,EAAKc,GAChC,IAA0C,IAAtCK,EAAiBvH,QAAQkH,GAC3B,MAAM,IAAIO,WAAW,uBAGvB,OAAO,IAAIT,EAAS,KAAM,CAACE,OAAQA,EAAQ7F,QAAS,CAACqG,SAAUtB,IACjE,iBAE0B7G,EAAKoI,aAC/B,IACE,IAAIA,cACN,CAAE,MAAOC,GACPD,eAAe,SAASE,EAASvH,GAC/BgB,KAAKuG,QAAUA,EACfvG,KAAKhB,KAAOA,EACZ,IAAImC,EAAQ4B,MAAMwD,GAClBvG,KAAKwG,MAAQrF,EAAMqF,OAErBH,eAAazH,UAAYD,OAAO8H,OAAO1D,MAAMnE,WAC7CyH,eAAazH,UAAU8H,YAAcL,cACvC,CAEO,SAASM,EAAMjC,EAAOkC,GAC3B,OAAO,IAAIjG,SAAQ,SAASI,EAASH,GACnC,IAAIiG,EAAU,IAAIpC,EAAQC,EAAOkC,GAEjC,GAAIC,EAAQ5B,QAAU4B,EAAQ5B,OAAO6B,QACnC,OAAOlG,EAAO,IAAIyF,eAAa,UAAW,eAG5C,IAAIU,EAAM,IAAIC,eAEd,SAASC,IACPF,EAAIG,QAGNH,EAAI/F,OAAS,WACX,IAxFgBmG,EAChBpH,EAuFI4E,EAAU,CACZiB,OAAQmB,EAAInB,OACZE,WAAYiB,EAAIjB,WAChB/F,SA3FcoH,EA2FQJ,EAAIK,yBAA2B,GA1FvDrH,EAAU,IAAID,EAGQqH,EAAW3B,QAAQ,eAAgB,KACzCF,MAAM,SAASpF,SAAQ,SAASmH,GAClD,IAAIC,EAAQD,EAAK/B,MAAM,KACnBiC,EAAMD,EAAM3H,QAAQ0F,OACxB,GAAIkC,EAAK,CACP,IAAIjI,EAAQgI,EAAM9D,KAAK,KAAK6B,OAC5BtF,EAAQI,OAAOoH,EAAKjI,OAGjBS,IAgFH4E,EAAQG,IAAM,gBAAiBiC,EAAMA,EAAIS,YAAc7C,EAAQ5E,QAAQ6C,IAAI,iBAC3E,IAAInC,EAAO,aAAcsG,EAAMA,EAAIf,SAAWe,EAAIU,aAClD1G,EAAQ,IAAI2E,EAASjF,EAAMkE,KAG7BoC,EAAI7F,QAAU,WACZN,EAAO,IAAIzB,UAAU,4BAGvB4H,EAAIW,UAAY,WACd9G,EAAO,IAAIzB,UAAU,4BAGvB4H,EAAIY,QAAU,WACZ/G,EAAO,IAAIyF,eAAa,UAAW,gBAGrCU,EAAIa,KAAKf,EAAQjC,OAAQiC,EAAQ/B,KAAK,GAEV,YAAxB+B,EAAQ9B,YACVgC,EAAIc,iBAAkB,EACW,SAAxBhB,EAAQ9B,cACjBgC,EAAIc,iBAAkB,GAGpB,iBAAkBd,GAAO/I,IAC3B+I,EAAIe,aAAe,QAGrBjB,EAAQ9G,QAAQG,SAAQ,SAASZ,EAAON,GACtC+H,EAAIgB,iBAAiB/I,EAAMM,MAGzBuH,EAAQ5B,SACV4B,EAAQ5B,OAAO+C,iBAAiB,QAASf,GAEzCF,EAAIkB,mBAAqB,WAEA,IAAnBlB,EAAImB,YACNrB,EAAQ5B,OAAOkD,oBAAoB,QAASlB,KAKlDF,EAAIqB,UAAkC,IAAtBvB,EAAQ1E,UAA4B,KAAO0E,EAAQ1E,aAEvE,CAEAwE,EAAM0B,UAAW,EAEZpK,EAAK0I,QACR1I,EAAK0I,MAAQA,EACb1I,EAAK6B,QAAUA,EACf7B,EAAKwG,QAAUA,EACfxG,EAAKyH,SAAWA"} \ No newline at end of file diff --git a/node_modules/cross-fetch/dist/node-polyfill.js b/node_modules/cross-fetch/dist/node-polyfill.js new file mode 100644 index 00000000..d7b73d00 --- /dev/null +++ b/node_modules/cross-fetch/dist/node-polyfill.js @@ -0,0 +1,11 @@ +const fetchNode = require('./node-ponyfill') +const fetch = fetchNode.fetch.bind({}) + +fetch.polyfill = true + +if (!global.fetch) { + global.fetch = fetch + global.Response = fetchNode.Response + global.Headers = fetchNode.Headers + global.Request = fetchNode.Request +} diff --git a/node_modules/cross-fetch/dist/node-ponyfill.js b/node_modules/cross-fetch/dist/node-ponyfill.js new file mode 100644 index 00000000..e8b153f9 --- /dev/null +++ b/node_modules/cross-fetch/dist/node-ponyfill.js @@ -0,0 +1,22 @@ +const nodeFetch = require('node-fetch') +const realFetch = nodeFetch.default || nodeFetch + +const fetch = function (url, options) { + // Support schemaless URIs on the server for parity with the browser. + // Ex: //github.com/ -> https://github.com/ + if (/^\/\//.test(url)) { + url = 'https:' + url + } + return realFetch.call(this, url, options) +} + +fetch.ponyfill = true + +module.exports = exports = fetch +exports.fetch = fetch +exports.Headers = nodeFetch.Headers +exports.Request = nodeFetch.Request +exports.Response = nodeFetch.Response + +// Needed for TypeScript consumers without esModuleInterop. +exports.default = fetch diff --git a/node_modules/cross-fetch/dist/react-native-polyfill.js b/node_modules/cross-fetch/dist/react-native-polyfill.js new file mode 100644 index 00000000..57ad2566 --- /dev/null +++ b/node_modules/cross-fetch/dist/react-native-polyfill.js @@ -0,0 +1,12 @@ +/*! + * VaporJS JavaScript Library v1.4.5 + * https://github.com/madrobby/vapor.js + * + * Copyright (c) 2010 Thomas Fuchs (http://script.aculo.us/thomas) + * Released under the MIT license + * https://github.com/madrobby/vapor.js/blob/master/MIT-LICENSE + * + * Date: 2019-05-25T03:04Z + */ + +// React Native already polyfills `fetch` so this code is intentionally handled to VaporJS. diff --git a/node_modules/cross-fetch/dist/react-native-ponyfill.js b/node_modules/cross-fetch/dist/react-native-ponyfill.js new file mode 100644 index 00000000..8e5baff4 --- /dev/null +++ b/node_modules/cross-fetch/dist/react-native-ponyfill.js @@ -0,0 +1,6 @@ +module.exports = global.fetch // To enable: import fetch from 'cross-fetch' +module.exports.default = global.fetch // For TypeScript consumers without esModuleInterop. +module.exports.fetch = global.fetch // To enable: import {fetch} from 'cross-fetch' +module.exports.Headers = global.Headers +module.exports.Request = global.Request +module.exports.Response = global.Response diff --git a/node_modules/cross-fetch/index.d.ts b/node_modules/cross-fetch/index.d.ts new file mode 100644 index 00000000..3c030c06 --- /dev/null +++ b/node_modules/cross-fetch/index.d.ts @@ -0,0 +1,14 @@ +/// + +declare const _fetch: typeof fetch; +declare const _Request: typeof Request; +declare const _Response: typeof Response; +declare const _Headers: typeof Headers; + +declare module "cross-fetch" { + export const fetch: typeof _fetch; + export const Request: typeof _Request; + export const Response: typeof _Response; + export const Headers: typeof _Headers; + export default fetch; +} diff --git a/node_modules/cross-fetch/node_modules/node-fetch/LICENSE.md b/node_modules/cross-fetch/node_modules/node-fetch/LICENSE.md new file mode 100644 index 00000000..660ffecb --- /dev/null +++ b/node_modules/cross-fetch/node_modules/node-fetch/LICENSE.md @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2016 David Frank + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/node_modules/cross-fetch/node_modules/node-fetch/README.md b/node_modules/cross-fetch/node_modules/node-fetch/README.md new file mode 100644 index 00000000..4f87a59a --- /dev/null +++ b/node_modules/cross-fetch/node_modules/node-fetch/README.md @@ -0,0 +1,633 @@ +node-fetch +========== + +[![npm version][npm-image]][npm-url] +[![build status][travis-image]][travis-url] +[![coverage status][codecov-image]][codecov-url] +[![install size][install-size-image]][install-size-url] +[![Discord][discord-image]][discord-url] + +A light-weight module that brings `window.fetch` to Node.js + +(We are looking for [v2 maintainers and collaborators](https://github.com/bitinn/node-fetch/issues/567)) + +[![Backers][opencollective-image]][opencollective-url] + + + +- [Motivation](#motivation) +- [Features](#features) +- [Difference from client-side fetch](#difference-from-client-side-fetch) +- [Installation](#installation) +- [Loading and configuring the module](#loading-and-configuring-the-module) +- [Common Usage](#common-usage) + - [Plain text or HTML](#plain-text-or-html) + - [JSON](#json) + - [Simple Post](#simple-post) + - [Post with JSON](#post-with-json) + - [Post with form parameters](#post-with-form-parameters) + - [Handling exceptions](#handling-exceptions) + - [Handling client and server errors](#handling-client-and-server-errors) +- [Advanced Usage](#advanced-usage) + - [Streams](#streams) + - [Buffer](#buffer) + - [Accessing Headers and other Meta data](#accessing-headers-and-other-meta-data) + - [Extract Set-Cookie Header](#extract-set-cookie-header) + - [Post data using a file stream](#post-data-using-a-file-stream) + - [Post with form-data (detect multipart)](#post-with-form-data-detect-multipart) + - [Request cancellation with AbortSignal](#request-cancellation-with-abortsignal) +- [API](#api) + - [fetch(url[, options])](#fetchurl-options) + - [Options](#options) + - [Class: Request](#class-request) + - [Class: Response](#class-response) + - [Class: Headers](#class-headers) + - [Interface: Body](#interface-body) + - [Class: FetchError](#class-fetcherror) +- [License](#license) +- [Acknowledgement](#acknowledgement) + + + +## Motivation + +Instead of implementing `XMLHttpRequest` in Node.js to run browser-specific [Fetch polyfill](https://github.com/github/fetch), why not go from native `http` to `fetch` API directly? Hence, `node-fetch`, minimal code for a `window.fetch` compatible API on Node.js runtime. + +See Matt Andrews' [isomorphic-fetch](https://github.com/matthew-andrews/isomorphic-fetch) or Leonardo Quixada's [cross-fetch](https://github.com/lquixada/cross-fetch) for isomorphic usage (exports `node-fetch` for server-side, `whatwg-fetch` for client-side). + +## Features + +- Stay consistent with `window.fetch` API. +- Make conscious trade-off when following [WHATWG fetch spec][whatwg-fetch] and [stream spec](https://streams.spec.whatwg.org/) implementation details, document known differences. +- Use native promise but allow substituting it with [insert your favorite promise library]. +- Use native Node streams for body on both request and response. +- Decode content encoding (gzip/deflate) properly and convert string output (such as `res.text()` and `res.json()`) to UTF-8 automatically. +- Useful extensions such as timeout, redirect limit, response size limit, [explicit errors](ERROR-HANDLING.md) for troubleshooting. + +## Difference from client-side fetch + +- See [Known Differences](LIMITS.md) for details. +- If you happen to use a missing feature that `window.fetch` offers, feel free to open an issue. +- Pull requests are welcomed too! + +## Installation + +Current stable release (`2.x`) + +```sh +$ npm install node-fetch +``` + +## Loading and configuring the module +We suggest you load the module via `require` until the stabilization of ES modules in node: +```js +const fetch = require('node-fetch'); +``` + +If you are using a Promise library other than native, set it through `fetch.Promise`: +```js +const Bluebird = require('bluebird'); + +fetch.Promise = Bluebird; +``` + +## Common Usage + +NOTE: The documentation below is up-to-date with `2.x` releases; see the [`1.x` readme](https://github.com/bitinn/node-fetch/blob/1.x/README.md), [changelog](https://github.com/bitinn/node-fetch/blob/1.x/CHANGELOG.md) and [2.x upgrade guide](UPGRADE-GUIDE.md) for the differences. + +#### Plain text or HTML +```js +fetch('https://github.com/') + .then(res => res.text()) + .then(body => console.log(body)); +``` + +#### JSON + +```js + +fetch('https://api.github.com/users/github') + .then(res => res.json()) + .then(json => console.log(json)); +``` + +#### Simple Post +```js +fetch('https://httpbin.org/post', { method: 'POST', body: 'a=1' }) + .then(res => res.json()) // expecting a json response + .then(json => console.log(json)); +``` + +#### Post with JSON + +```js +const body = { a: 1 }; + +fetch('https://httpbin.org/post', { + method: 'post', + body: JSON.stringify(body), + headers: { 'Content-Type': 'application/json' }, + }) + .then(res => res.json()) + .then(json => console.log(json)); +``` + +#### Post with form parameters +`URLSearchParams` is available in Node.js as of v7.5.0. See [official documentation](https://nodejs.org/api/url.html#url_class_urlsearchparams) for more usage methods. + +NOTE: The `Content-Type` header is only set automatically to `x-www-form-urlencoded` when an instance of `URLSearchParams` is given as such: + +```js +const { URLSearchParams } = require('url'); + +const params = new URLSearchParams(); +params.append('a', 1); + +fetch('https://httpbin.org/post', { method: 'POST', body: params }) + .then(res => res.json()) + .then(json => console.log(json)); +``` + +#### Handling exceptions +NOTE: 3xx-5xx responses are *NOT* exceptions and should be handled in `then()`; see the next section for more information. + +Adding a catch to the fetch promise chain will catch *all* exceptions, such as errors originating from node core libraries, network errors and operational errors, which are instances of FetchError. See the [error handling document](ERROR-HANDLING.md) for more details. + +```js +fetch('https://domain.invalid/') + .catch(err => console.error(err)); +``` + +#### Handling client and server errors +It is common to create a helper function to check that the response contains no client (4xx) or server (5xx) error responses: + +```js +function checkStatus(res) { + if (res.ok) { // res.status >= 200 && res.status < 300 + return res; + } else { + throw MyCustomError(res.statusText); + } +} + +fetch('https://httpbin.org/status/400') + .then(checkStatus) + .then(res => console.log('will not get here...')) +``` + +## Advanced Usage + +#### Streams +The "Node.js way" is to use streams when possible: + +```js +fetch('https://assets-cdn.github.com/images/modules/logos_page/Octocat.png') + .then(res => { + const dest = fs.createWriteStream('./octocat.png'); + res.body.pipe(dest); + }); +``` + +In Node.js 14 you can also use async iterators to read `body`; however, be careful to catch +errors -- the longer a response runs, the more likely it is to encounter an error. + +```js +const fetch = require('node-fetch'); +const response = await fetch('https://httpbin.org/stream/3'); +try { + for await (const chunk of response.body) { + console.dir(JSON.parse(chunk.toString())); + } +} catch (err) { + console.error(err.stack); +} +``` + +In Node.js 12 you can also use async iterators to read `body`; however, async iterators with streams +did not mature until Node.js 14, so you need to do some extra work to ensure you handle errors +directly from the stream and wait on it response to fully close. + +```js +const fetch = require('node-fetch'); +const read = async body => { + let error; + body.on('error', err => { + error = err; + }); + for await (const chunk of body) { + console.dir(JSON.parse(chunk.toString())); + } + return new Promise((resolve, reject) => { + body.on('close', () => { + error ? reject(error) : resolve(); + }); + }); +}; +try { + const response = await fetch('https://httpbin.org/stream/3'); + await read(response.body); +} catch (err) { + console.error(err.stack); +} +``` + +#### Buffer +If you prefer to cache binary data in full, use buffer(). (NOTE: `buffer()` is a `node-fetch`-only API) + +```js +const fileType = require('file-type'); + +fetch('https://assets-cdn.github.com/images/modules/logos_page/Octocat.png') + .then(res => res.buffer()) + .then(buffer => fileType(buffer)) + .then(type => { /* ... */ }); +``` + +#### Accessing Headers and other Meta data +```js +fetch('https://github.com/') + .then(res => { + console.log(res.ok); + console.log(res.status); + console.log(res.statusText); + console.log(res.headers.raw()); + console.log(res.headers.get('content-type')); + }); +``` + +#### Extract Set-Cookie Header + +Unlike browsers, you can access raw `Set-Cookie` headers manually using `Headers.raw()`. This is a `node-fetch` only API. + +```js +fetch(url).then(res => { + // returns an array of values, instead of a string of comma-separated values + console.log(res.headers.raw()['set-cookie']); +}); +``` + +#### Post data using a file stream + +```js +const { createReadStream } = require('fs'); + +const stream = createReadStream('input.txt'); + +fetch('https://httpbin.org/post', { method: 'POST', body: stream }) + .then(res => res.json()) + .then(json => console.log(json)); +``` + +#### Post with form-data (detect multipart) + +```js +const FormData = require('form-data'); + +const form = new FormData(); +form.append('a', 1); + +fetch('https://httpbin.org/post', { method: 'POST', body: form }) + .then(res => res.json()) + .then(json => console.log(json)); + +// OR, using custom headers +// NOTE: getHeaders() is non-standard API + +const form = new FormData(); +form.append('a', 1); + +const options = { + method: 'POST', + body: form, + headers: form.getHeaders() +} + +fetch('https://httpbin.org/post', options) + .then(res => res.json()) + .then(json => console.log(json)); +``` + +#### Request cancellation with AbortSignal + +> NOTE: You may cancel streamed requests only on Node >= v8.0.0 + +You may cancel requests with `AbortController`. A suggested implementation is [`abort-controller`](https://www.npmjs.com/package/abort-controller). + +An example of timing out a request after 150ms could be achieved as the following: + +```js +import AbortController from 'abort-controller'; + +const controller = new AbortController(); +const timeout = setTimeout( + () => { controller.abort(); }, + 150, +); + +fetch(url, { signal: controller.signal }) + .then(res => res.json()) + .then( + data => { + useData(data) + }, + err => { + if (err.name === 'AbortError') { + // request was aborted + } + }, + ) + .finally(() => { + clearTimeout(timeout); + }); +``` + +See [test cases](https://github.com/bitinn/node-fetch/blob/master/test/test.js) for more examples. + + +## API + +### fetch(url[, options]) + +- `url` A string representing the URL for fetching +- `options` [Options](#fetch-options) for the HTTP(S) request +- Returns: Promise<[Response](#class-response)> + +Perform an HTTP(S) fetch. + +`url` should be an absolute url, such as `https://example.com/`. A path-relative URL (`/file/under/root`) or protocol-relative URL (`//can-be-http-or-https.com/`) will result in a rejected `Promise`. + +
+### Options + +The default values are shown after each option key. + +```js +{ + // These properties are part of the Fetch Standard + method: 'GET', + headers: {}, // request headers. format is the identical to that accepted by the Headers constructor (see below) + body: null, // request body. can be null, a string, a Buffer, a Blob, or a Node.js Readable stream + redirect: 'follow', // set to `manual` to extract redirect headers, `error` to reject redirect + signal: null, // pass an instance of AbortSignal to optionally abort requests + + // The following properties are node-fetch extensions + follow: 20, // maximum redirect count. 0 to not follow redirect + timeout: 0, // req/res timeout in ms, it resets on redirect. 0 to disable (OS limit applies). Signal is recommended instead. + compress: true, // support gzip/deflate content encoding. false to disable + size: 0, // maximum response body size in bytes. 0 to disable + agent: null // http(s).Agent instance or function that returns an instance (see below) +} +``` + +##### Default Headers + +If no values are set, the following request headers will be sent automatically: + +Header | Value +------------------- | -------------------------------------------------------- +`Accept-Encoding` | `gzip,deflate` _(when `options.compress === true`)_ +`Accept` | `*/*` +`Connection` | `close` _(when no `options.agent` is present)_ +`Content-Length` | _(automatically calculated, if possible)_ +`Transfer-Encoding` | `chunked` _(when `req.body` is a stream)_ +`User-Agent` | `node-fetch/1.0 (+https://github.com/bitinn/node-fetch)` + +Note: when `body` is a `Stream`, `Content-Length` is not set automatically. + +##### Custom Agent + +The `agent` option allows you to specify networking related options which are out of the scope of Fetch, including and not limited to the following: + +- Support self-signed certificate +- Use only IPv4 or IPv6 +- Custom DNS Lookup + +See [`http.Agent`](https://nodejs.org/api/http.html#http_new_agent_options) for more information. + +In addition, the `agent` option accepts a function that returns `http`(s)`.Agent` instance given current [URL](https://nodejs.org/api/url.html), this is useful during a redirection chain across HTTP and HTTPS protocol. + +```js +const httpAgent = new http.Agent({ + keepAlive: true +}); +const httpsAgent = new https.Agent({ + keepAlive: true +}); + +const options = { + agent: function (_parsedURL) { + if (_parsedURL.protocol == 'http:') { + return httpAgent; + } else { + return httpsAgent; + } + } +} +``` + + +### Class: Request + +An HTTP(S) request containing information about URL, method, headers, and the body. This class implements the [Body](#iface-body) interface. + +Due to the nature of Node.js, the following properties are not implemented at this moment: + +- `type` +- `destination` +- `referrer` +- `referrerPolicy` +- `mode` +- `credentials` +- `cache` +- `integrity` +- `keepalive` + +The following node-fetch extension properties are provided: + +- `follow` +- `compress` +- `counter` +- `agent` + +See [options](#fetch-options) for exact meaning of these extensions. + +#### new Request(input[, options]) + +*(spec-compliant)* + +- `input` A string representing a URL, or another `Request` (which will be cloned) +- `options` [Options][#fetch-options] for the HTTP(S) request + +Constructs a new `Request` object. The constructor is identical to that in the [browser](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request). + +In most cases, directly `fetch(url, options)` is simpler than creating a `Request` object. + + +### Class: Response + +An HTTP(S) response. This class implements the [Body](#iface-body) interface. + +The following properties are not implemented in node-fetch at this moment: + +- `Response.error()` +- `Response.redirect()` +- `type` +- `trailer` + +#### new Response([body[, options]]) + +*(spec-compliant)* + +- `body` A `String` or [`Readable` stream][node-readable] +- `options` A [`ResponseInit`][response-init] options dictionary + +Constructs a new `Response` object. The constructor is identical to that in the [browser](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response). + +Because Node.js does not implement service workers (for which this class was designed), one rarely has to construct a `Response` directly. + +#### response.ok + +*(spec-compliant)* + +Convenience property representing if the request ended normally. Will evaluate to true if the response status was greater than or equal to 200 but smaller than 300. + +#### response.redirected + +*(spec-compliant)* + +Convenience property representing if the request has been redirected at least once. Will evaluate to true if the internal redirect counter is greater than 0. + + +### Class: Headers + +This class allows manipulating and iterating over a set of HTTP headers. All methods specified in the [Fetch Standard][whatwg-fetch] are implemented. + +#### new Headers([init]) + +*(spec-compliant)* + +- `init` Optional argument to pre-fill the `Headers` object + +Construct a new `Headers` object. `init` can be either `null`, a `Headers` object, an key-value map object or any iterable object. + +```js +// Example adapted from https://fetch.spec.whatwg.org/#example-headers-class + +const meta = { + 'Content-Type': 'text/xml', + 'Breaking-Bad': '<3' +}; +const headers = new Headers(meta); + +// The above is equivalent to +const meta = [ + [ 'Content-Type', 'text/xml' ], + [ 'Breaking-Bad', '<3' ] +]; +const headers = new Headers(meta); + +// You can in fact use any iterable objects, like a Map or even another Headers +const meta = new Map(); +meta.set('Content-Type', 'text/xml'); +meta.set('Breaking-Bad', '<3'); +const headers = new Headers(meta); +const copyOfHeaders = new Headers(headers); +``` + + +### Interface: Body + +`Body` is an abstract interface with methods that are applicable to both `Request` and `Response` classes. + +The following methods are not yet implemented in node-fetch at this moment: + +- `formData()` + +#### body.body + +*(deviation from spec)* + +* Node.js [`Readable` stream][node-readable] + +Data are encapsulated in the `Body` object. Note that while the [Fetch Standard][whatwg-fetch] requires the property to always be a WHATWG `ReadableStream`, in node-fetch it is a Node.js [`Readable` stream][node-readable]. + +#### body.bodyUsed + +*(spec-compliant)* + +* `Boolean` + +A boolean property for if this body has been consumed. Per the specs, a consumed body cannot be used again. + +#### body.arrayBuffer() +#### body.blob() +#### body.json() +#### body.text() + +*(spec-compliant)* + +* Returns: Promise + +Consume the body and return a promise that will resolve to one of these formats. + +#### body.buffer() + +*(node-fetch extension)* + +* Returns: Promise<Buffer> + +Consume the body and return a promise that will resolve to a Buffer. + +#### body.textConverted() + +*(node-fetch extension)* + +* Returns: Promise<String> + +Identical to `body.text()`, except instead of always converting to UTF-8, encoding sniffing will be performed and text converted to UTF-8 if possible. + +(This API requires an optional dependency of the npm package [encoding](https://www.npmjs.com/package/encoding), which you need to install manually. `webpack` users may see [a warning message](https://github.com/bitinn/node-fetch/issues/412#issuecomment-379007792) due to this optional dependency.) + + +### Class: FetchError + +*(node-fetch extension)* + +An operational error in the fetching process. See [ERROR-HANDLING.md][] for more info. + + +### Class: AbortError + +*(node-fetch extension)* + +An Error thrown when the request is aborted in response to an `AbortSignal`'s `abort` event. It has a `name` property of `AbortError`. See [ERROR-HANDLING.MD][] for more info. + +## Acknowledgement + +Thanks to [github/fetch](https://github.com/github/fetch) for providing a solid implementation reference. + +`node-fetch` v1 was maintained by [@bitinn](https://github.com/bitinn); v2 was maintained by [@TimothyGu](https://github.com/timothygu), [@bitinn](https://github.com/bitinn) and [@jimmywarting](https://github.com/jimmywarting); v2 readme is written by [@jkantr](https://github.com/jkantr). + +## License + +MIT + +[npm-image]: https://flat.badgen.net/npm/v/node-fetch +[npm-url]: https://www.npmjs.com/package/node-fetch +[travis-image]: https://flat.badgen.net/travis/bitinn/node-fetch +[travis-url]: https://travis-ci.org/bitinn/node-fetch +[codecov-image]: https://flat.badgen.net/codecov/c/github/bitinn/node-fetch/master +[codecov-url]: https://codecov.io/gh/bitinn/node-fetch +[install-size-image]: https://flat.badgen.net/packagephobia/install/node-fetch +[install-size-url]: https://packagephobia.now.sh/result?p=node-fetch +[discord-image]: https://img.shields.io/discord/619915844268326952?color=%237289DA&label=Discord&style=flat-square +[discord-url]: https://discord.gg/Zxbndcm +[opencollective-image]: https://opencollective.com/node-fetch/backers.svg +[opencollective-url]: https://opencollective.com/node-fetch +[whatwg-fetch]: https://fetch.spec.whatwg.org/ +[response-init]: https://fetch.spec.whatwg.org/#responseinit +[node-readable]: https://nodejs.org/api/stream.html#stream_readable_streams +[mdn-headers]: https://developer.mozilla.org/en-US/docs/Web/API/Headers +[LIMITS.md]: https://github.com/bitinn/node-fetch/blob/master/LIMITS.md +[ERROR-HANDLING.md]: https://github.com/bitinn/node-fetch/blob/master/ERROR-HANDLING.md +[UPGRADE-GUIDE.md]: https://github.com/bitinn/node-fetch/blob/master/UPGRADE-GUIDE.md diff --git a/node_modules/cross-fetch/node_modules/node-fetch/browser.js b/node_modules/cross-fetch/node_modules/node-fetch/browser.js new file mode 100644 index 00000000..ee86265a --- /dev/null +++ b/node_modules/cross-fetch/node_modules/node-fetch/browser.js @@ -0,0 +1,25 @@ +"use strict"; + +// ref: https://github.com/tc39/proposal-global +var getGlobal = function () { + // the only reliable means to get the global object is + // `Function('return this')()` + // However, this causes CSP violations in Chrome apps. + if (typeof self !== 'undefined') { return self; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + throw new Error('unable to locate global object'); +} + +var globalObject = getGlobal(); + +module.exports = exports = globalObject.fetch; + +// Needed for TypeScript and Webpack. +if (globalObject.fetch) { + exports.default = globalObject.fetch.bind(globalObject); +} + +exports.Headers = globalObject.Headers; +exports.Request = globalObject.Request; +exports.Response = globalObject.Response; diff --git a/node_modules/cross-fetch/node_modules/node-fetch/lib/index.es.js b/node_modules/cross-fetch/node_modules/node-fetch/lib/index.es.js new file mode 100644 index 00000000..ed27a460 --- /dev/null +++ b/node_modules/cross-fetch/node_modules/node-fetch/lib/index.es.js @@ -0,0 +1,1781 @@ +process.emitWarning("The .es.js file is deprecated. Use .mjs instead."); + +import Stream from 'stream'; +import http from 'http'; +import Url from 'url'; +import whatwgUrl from 'whatwg-url'; +import https from 'https'; +import zlib from 'zlib'; + +// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js + +// fix for "Readable" isn't a named export issue +const Readable = Stream.Readable; + +const BUFFER = Symbol('buffer'); +const TYPE = Symbol('type'); + +class Blob { + constructor() { + this[TYPE] = ''; + + const blobParts = arguments[0]; + const options = arguments[1]; + + const buffers = []; + let size = 0; + + if (blobParts) { + const a = blobParts; + const length = Number(a.length); + for (let i = 0; i < length; i++) { + const element = a[i]; + let buffer; + if (element instanceof Buffer) { + buffer = element; + } else if (ArrayBuffer.isView(element)) { + buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); + } else if (element instanceof ArrayBuffer) { + buffer = Buffer.from(element); + } else if (element instanceof Blob) { + buffer = element[BUFFER]; + } else { + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); + } + size += buffer.length; + buffers.push(buffer); + } + } + + this[BUFFER] = Buffer.concat(buffers); + + let type = options && options.type !== undefined && String(options.type).toLowerCase(); + if (type && !/[^\u0020-\u007E]/.test(type)) { + this[TYPE] = type; + } + } + get size() { + return this[BUFFER].length; + } + get type() { + return this[TYPE]; + } + text() { + return Promise.resolve(this[BUFFER].toString()); + } + arrayBuffer() { + const buf = this[BUFFER]; + const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + return Promise.resolve(ab); + } + stream() { + const readable = new Readable(); + readable._read = function () {}; + readable.push(this[BUFFER]); + readable.push(null); + return readable; + } + toString() { + return '[object Blob]'; + } + slice() { + const size = this.size; + + const start = arguments[0]; + const end = arguments[1]; + let relativeStart, relativeEnd; + if (start === undefined) { + relativeStart = 0; + } else if (start < 0) { + relativeStart = Math.max(size + start, 0); + } else { + relativeStart = Math.min(start, size); + } + if (end === undefined) { + relativeEnd = size; + } else if (end < 0) { + relativeEnd = Math.max(size + end, 0); + } else { + relativeEnd = Math.min(end, size); + } + const span = Math.max(relativeEnd - relativeStart, 0); + + const buffer = this[BUFFER]; + const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); + const blob = new Blob([], { type: arguments[2] }); + blob[BUFFER] = slicedBuffer; + return blob; + } +} + +Object.defineProperties(Blob.prototype, { + size: { enumerable: true }, + type: { enumerable: true }, + slice: { enumerable: true } +}); + +Object.defineProperty(Blob.prototype, Symbol.toStringTag, { + value: 'Blob', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * fetch-error.js + * + * FetchError interface for operational errors + */ + +/** + * Create FetchError instance + * + * @param String message Error message for human + * @param String type Error type for machine + * @param String systemError For Node.js system error + * @return FetchError + */ +function FetchError(message, type, systemError) { + Error.call(this, message); + + this.message = message; + this.type = type; + + // when err.type is `system`, err.code contains system error code + if (systemError) { + this.code = this.errno = systemError.code; + } + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +FetchError.prototype = Object.create(Error.prototype); +FetchError.prototype.constructor = FetchError; +FetchError.prototype.name = 'FetchError'; + +let convert; +try { + convert = require('encoding').convert; +} catch (e) {} + +const INTERNALS = Symbol('Body internals'); + +// fix an issue where "PassThrough" isn't a named export for node <10 +const PassThrough = Stream.PassThrough; + +/** + * Body mixin + * + * Ref: https://fetch.spec.whatwg.org/#body + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +function Body(body) { + var _this = this; + + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref$size = _ref.size; + + let size = _ref$size === undefined ? 0 : _ref$size; + var _ref$timeout = _ref.timeout; + let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + + if (body == null) { + // body is undefined or null + body = null; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + body = Buffer.from(body.toString()); + } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + body = Buffer.from(body); + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); + } else if (body instanceof Stream) ; else { + // none of the above + // coerce to string then buffer + body = Buffer.from(String(body)); + } + this[INTERNALS] = { + body, + disturbed: false, + error: null + }; + this.size = size; + this.timeout = timeout; + + if (body instanceof Stream) { + body.on('error', function (err) { + const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); + _this[INTERNALS].error = error; + }); + } +} + +Body.prototype = { + get body() { + return this[INTERNALS].body; + }, + + get bodyUsed() { + return this[INTERNALS].disturbed; + }, + + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ + arrayBuffer() { + return consumeBody.call(this).then(function (buf) { + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + }); + }, + + /** + * Return raw response as Blob + * + * @return Promise + */ + blob() { + let ct = this.headers && this.headers.get('content-type') || ''; + return consumeBody.call(this).then(function (buf) { + return Object.assign( + // Prevent copying + new Blob([], { + type: ct.toLowerCase() + }), { + [BUFFER]: buf + }); + }); + }, + + /** + * Decode response as json + * + * @return Promise + */ + json() { + var _this2 = this; + + return consumeBody.call(this).then(function (buffer) { + try { + return JSON.parse(buffer.toString()); + } catch (err) { + return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); + } + }); + }, + + /** + * Decode response as text + * + * @return Promise + */ + text() { + return consumeBody.call(this).then(function (buffer) { + return buffer.toString(); + }); + }, + + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ + buffer() { + return consumeBody.call(this); + }, + + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ + textConverted() { + var _this3 = this; + + return consumeBody.call(this).then(function (buffer) { + return convertBody(buffer, _this3.headers); + }); + } +}; + +// In browsers, all properties are enumerable. +Object.defineProperties(Body.prototype, { + body: { enumerable: true }, + bodyUsed: { enumerable: true }, + arrayBuffer: { enumerable: true }, + blob: { enumerable: true }, + json: { enumerable: true }, + text: { enumerable: true } +}); + +Body.mixIn = function (proto) { + for (const name of Object.getOwnPropertyNames(Body.prototype)) { + // istanbul ignore else: future proof + if (!(name in proto)) { + const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); + Object.defineProperty(proto, name, desc); + } + } +}; + +/** + * Consume and convert an entire Body to a Buffer. + * + * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * + * @return Promise + */ +function consumeBody() { + var _this4 = this; + + if (this[INTERNALS].disturbed) { + return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); + } + + this[INTERNALS].disturbed = true; + + if (this[INTERNALS].error) { + return Body.Promise.reject(this[INTERNALS].error); + } + + let body = this.body; + + // body is null + if (body === null) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is blob + if (isBlob(body)) { + body = body.stream(); + } + + // body is buffer + if (Buffer.isBuffer(body)) { + return Body.Promise.resolve(body); + } + + // istanbul ignore if: should never happen + if (!(body instanceof Stream)) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is stream + // get ready to actually consume the body + let accum = []; + let accumBytes = 0; + let abort = false; + + return new Body.Promise(function (resolve, reject) { + let resTimeout; + + // allow timeout on slow response body + if (_this4.timeout) { + resTimeout = setTimeout(function () { + abort = true; + reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); + }, _this4.timeout); + } + + // handle stream errors + body.on('error', function (err) { + if (err.name === 'AbortError') { + // if the request was aborted, reject with this Error + abort = true; + reject(err); + } else { + // other errors, such as incorrect content-encoding + reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + + body.on('data', function (chunk) { + if (abort || chunk === null) { + return; + } + + if (_this4.size && accumBytes + chunk.length > _this4.size) { + abort = true; + reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); + return; + } + + accumBytes += chunk.length; + accum.push(chunk); + }); + + body.on('end', function () { + if (abort) { + return; + } + + clearTimeout(resTimeout); + + try { + resolve(Buffer.concat(accum, accumBytes)); + } catch (err) { + // handle streams that have accumulated too much data (issue #414) + reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + }); +} + +/** + * Detect buffer encoding and convert to target encoding + * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding + * + * @param Buffer buffer Incoming buffer + * @param String encoding Target encoding + * @return String + */ +function convertBody(buffer, headers) { + if (typeof convert !== 'function') { + throw new Error('The package `encoding` must be installed to use the textConverted() function'); + } + + const ct = headers.get('content-type'); + let charset = 'utf-8'; + let res, str; + + // header + if (ct) { + res = /charset=([^;]*)/i.exec(ct); + } + + // no charset in content type, peek at response body for at most 1024 bytes + str = buffer.slice(0, 1024).toString(); + + // html5 + if (!res && str) { + res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; + + this[MAP] = Object.create(null); + + if (init instanceof Headers) { + const rawHeaders = init.raw(); + const headerNames = Object.keys(rawHeaders); + + for (const headerName of headerNames) { + for (const value of rawHeaders[headerName]) { + this.append(headerName, value); + } + } + + return; + } + + // We don't worry about converting prop to ByteString here as append() + // will handle it. + if (init == null) ; else if (typeof init === 'object') { + const method = init[Symbol.iterator]; + if (method != null) { + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); + } + + // sequence> + // Note: per spec we have to first exhaust the lists then process them + const pairs = []; + for (const pair of init) { + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); + } + pairs.push(Array.from(pair)); + } + + for (const pair of pairs) { + if (pair.length !== 2) { + throw new TypeError('Each header pair must be a name/value tuple'); + } + this.append(pair[0], pair[1]); + } + } else { + // record + for (const key of Object.keys(init)) { + const value = init[key]; + this.append(key, value); + } + } + } else { + throw new TypeError('Provided initializer must be an object'); + } + } + + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ + get(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key === undefined) { + return null; + } + + return this[MAP][key].join(', '); + } + + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ + forEach(callback) { + let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + let pairs = getHeaders(this); + let i = 0; + while (i < pairs.length) { + var _pairs$i = pairs[i]; + const name = _pairs$i[0], + value = _pairs$i[1]; + + callback.call(thisArg, value, name, this); + pairs = getHeaders(this); + i++; + } + } + + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + set(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + this[MAP][key !== undefined ? key : name] = [value]; + } + + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + append(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + if (key !== undefined) { + this[MAP][key].push(value); + } else { + this[MAP][name] = [value]; + } + } + + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ + has(name) { + name = `${name}`; + validateName(name); + return find(this[MAP], name) !== undefined; + } + + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ + delete(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key !== undefined) { + delete this[MAP][key]; + } + } + + /** + * Return raw headers (non-spec api) + * + * @return Object + */ + raw() { + return this[MAP]; + } + + /** + * Get an iterator on keys. + * + * @return Iterator + */ + keys() { + return createHeadersIterator(this, 'key'); + } + + /** + * Get an iterator on values. + * + * @return Iterator + */ + values() { + return createHeadersIterator(this, 'value'); + } + + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ + [Symbol.iterator]() { + return createHeadersIterator(this, 'key+value'); + } +} +Headers.prototype.entries = Headers.prototype[Symbol.iterator]; + +Object.defineProperty(Headers.prototype, Symbol.toStringTag, { + value: 'Headers', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Headers.prototype, { + get: { enumerable: true }, + forEach: { enumerable: true }, + set: { enumerable: true }, + append: { enumerable: true }, + has: { enumerable: true }, + delete: { enumerable: true }, + keys: { enumerable: true }, + values: { enumerable: true }, + entries: { enumerable: true } +}); + +function getHeaders(headers) { + let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; + + const keys = Object.keys(headers[MAP]).sort(); + return keys.map(kind === 'key' ? function (k) { + return k.toLowerCase(); + } : kind === 'value' ? function (k) { + return headers[MAP][k].join(', '); + } : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + }); +} + +const INTERNAL = Symbol('internal'); + +function createHeadersIterator(target, kind) { + const iterator = Object.create(HeadersIteratorPrototype); + iterator[INTERNAL] = { + target, + kind, + index: 0 + }; + return iterator; +} + +const HeadersIteratorPrototype = Object.setPrototypeOf({ + next() { + // istanbul ignore if + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } + + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: undefined, + done: true + }; + } + + this[INTERNAL].index = index + 1; + + return { + value: values[index], + done: false + }; + } +}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); + +Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * Export the Headers object in a form that Node.js can consume. + * + * @param Headers headers + * @return Object + */ +function exportNodeCompatibleHeaders(headers) { + const obj = Object.assign({ __proto__: null }, headers[MAP]); + + // http.request() only supports string as Host header. This hack makes + // specifying custom Host header possible. + const hostHeaderKey = find(headers[MAP], 'Host'); + if (hostHeaderKey !== undefined) { + obj[hostHeaderKey] = obj[hostHeaderKey][0]; + } + + return obj; +} + +/** + * Create a Headers object from an object of headers, ignoring those that do + * not conform to HTTP grammar productions. + * + * @param Object obj Object of headers + * @return Headers + */ +function createHeadersLenient(obj) { + const headers = new Headers(); + for (const name of Object.keys(obj)) { + if (invalidTokenRegex.test(name)) { + continue; + } + if (Array.isArray(obj[name])) { + for (const val of obj[name]) { + if (invalidHeaderCharRegex.test(val)) { + continue; + } + if (headers[MAP][name] === undefined) { + headers[MAP][name] = [val]; + } else { + headers[MAP][name].push(val); + } + } + } else if (!invalidHeaderCharRegex.test(obj[name])) { + headers[MAP][name] = [obj[name]]; + } + } + return headers; +} + +const INTERNALS$1 = Symbol('Response internals'); + +// fix an issue where "STATUS_CODES" aren't a named export for node <10 +const STATUS_CODES = http.STATUS_CODES; + +/** + * Response class + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +class Response { + constructor() { + let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + Body.call(this, body, opts); + + const status = opts.status || 200; + const headers = new Headers(opts.headers); + + if (body != null && !headers.has('Content-Type')) { + const contentType = extractContentType(body); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + this[INTERNALS$1] = { + url: opts.url, + status, + statusText: opts.statusText || STATUS_CODES[status], + headers, + counter: opts.counter + }; + } + + get url() { + return this[INTERNALS$1].url || ''; + } + + get status() { + return this[INTERNALS$1].status; + } + + /** + * Convenience property representing if the request ended normally + */ + get ok() { + return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; + } + + get redirected() { + return this[INTERNALS$1].counter > 0; + } + + get statusText() { + return this[INTERNALS$1].statusText; + } + + get headers() { + return this[INTERNALS$1].headers; + } + + /** + * Clone this response + * + * @return Response + */ + clone() { + return new Response(clone(this), { + url: this.url, + status: this.status, + statusText: this.statusText, + headers: this.headers, + ok: this.ok, + redirected: this.redirected + }); + } +} + +Body.mixIn(Response.prototype); + +Object.defineProperties(Response.prototype, { + url: { enumerable: true }, + status: { enumerable: true }, + ok: { enumerable: true }, + redirected: { enumerable: true }, + statusText: { enumerable: true }, + headers: { enumerable: true }, + clone: { enumerable: true } +}); + +Object.defineProperty(Response.prototype, Symbol.toStringTag, { + value: 'Response', + writable: false, + enumerable: false, + configurable: true +}); + +const INTERNALS$2 = Symbol('Request internals'); +const URL = Url.URL || whatwgUrl.URL; + +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url.parse; +const format_url = Url.format; + +/** + * Wrapper around `new URL` to handle arbitrary URLs + * + * @param {string} urlStr + * @return {void} + */ +function parseURL(urlStr) { + /* + Check whether the URL is absolute or not + Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 + Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 + */ + if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { + urlStr = new URL(urlStr).toString(); + } + + // Fallback to old implementation for arbitrary URLs + return parse_url(urlStr); +} + +const streamDestructionSupported = 'destroy' in Stream.Readable.prototype; + +/** + * Check if a value is an instance of Request. + * + * @param Mixed input + * @return Boolean + */ +function isRequest(input) { + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; +} + +function isAbortSignal(signal) { + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); +} + +/** + * Request class + * + * @param Mixed input Url or Request instance + * @param Object init Custom options + * @return Void + */ +class Request { + constructor(input) { + let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + let parsedURL; + + // normalize input + if (!isRequest(input)) { + if (input && input.href) { + // in order to support Node.js' Url objects; though WHATWG's URL objects + // will fall into this branch also (since their `toString()` will return + // `href` property anyway) + parsedURL = parseURL(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parseURL(`${input}`); + } + input = {}; + } else { + parsedURL = parseURL(input.url); + } + + let method = init.method || input.method || 'GET'; + method = method.toUpperCase(); + + if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } + + let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; + + Body.call(this, inputBody, { + timeout: init.timeout || input.timeout || 0, + size: init.size || input.size || 0 + }); + + const headers = new Headers(init.headers || input.headers || {}); + + if (inputBody != null && !headers.has('Content-Type')) { + const contentType = extractContentType(inputBody); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + let signal = isRequest(input) ? input.signal : null; + if ('signal' in init) signal = init.signal; + + if (signal != null && !isAbortSignal(signal)) { + throw new TypeError('Expected signal to be an instanceof AbortSignal'); + } + + this[INTERNALS$2] = { + method, + redirect: init.redirect || input.redirect || 'follow', + headers, + parsedURL, + signal + }; + + // node-fetch-only options + this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; + this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; + this.counter = init.counter || input.counter || 0; + this.agent = init.agent || input.agent; + } + + get method() { + return this[INTERNALS$2].method; + } + + get url() { + return format_url(this[INTERNALS$2].parsedURL); + } + + get headers() { + return this[INTERNALS$2].headers; + } + + get redirect() { + return this[INTERNALS$2].redirect; + } + + get signal() { + return this[INTERNALS$2].signal; + } + + /** + * Clone this request + * + * @return Request + */ + clone() { + return new Request(this); + } +} + +Body.mixIn(Request.prototype); + +Object.defineProperty(Request.prototype, Symbol.toStringTag, { + value: 'Request', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Request.prototype, { + method: { enumerable: true }, + url: { enumerable: true }, + headers: { enumerable: true }, + redirect: { enumerable: true }, + clone: { enumerable: true }, + signal: { enumerable: true } +}); + +/** + * Convert a Request to Node.js http request options. + * + * @param Request A Request instance + * @return Object The options object to be passed to http.request + */ +function getNodeRequestOptions(request) { + const parsedURL = request[INTERNALS$2].parsedURL; + const headers = new Headers(request[INTERNALS$2].headers); + + // fetch step 1.3 + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); + } + + // Basic fetch + if (!parsedURL.protocol || !parsedURL.hostname) { + throw new TypeError('Only absolute URLs are supported'); + } + + if (!/^https?:$/.test(parsedURL.protocol)) { + throw new TypeError('Only HTTP(S) protocols are supported'); + } + + if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) { + throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); + } + + // HTTP-network-or-cache fetch steps 2.4-2.7 + let contentLengthValue = null; + if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { + contentLengthValue = '0'; + } + if (request.body != null) { + const totalBytes = getTotalBytes(request); + if (typeof totalBytes === 'number') { + contentLengthValue = String(totalBytes); + } + } + if (contentLengthValue) { + headers.set('Content-Length', contentLengthValue); + } + + // HTTP-network-or-cache fetch step 2.11 + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); + } + + // HTTP-network-or-cache fetch step 2.15 + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); + } + + let agent = request.agent; + if (typeof agent === 'function') { + agent = agent(parsedURL); + } + + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); + } + + // HTTP-network fetch step 4.2 + // chunked encoding is handled by Node.js + + return Object.assign({}, parsedURL, { + method: request.method, + headers: exportNodeCompatibleHeaders(headers), + agent + }); +} + +/** + * abort-error.js + * + * AbortError interface for cancelled requests + */ + +/** + * Create AbortError instance + * + * @param String message Error message for human + * @return AbortError + */ +function AbortError(message) { + Error.call(this, message); + + this.type = 'aborted'; + this.message = message; + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +AbortError.prototype = Object.create(Error.prototype); +AbortError.prototype.constructor = AbortError; +AbortError.prototype.name = 'AbortError'; + +const URL$1 = Url.URL || whatwgUrl.URL; + +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream.PassThrough; + +const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { + const orig = new URL$1(original).hostname; + const dest = new URL$1(destination).hostname; + + return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); +}; + +/** + * isSameProtocol reports whether the two provided URLs use the same protocol. + * + * Both domains must already be in canonical form. + * @param {string|URL} original + * @param {string|URL} destination + */ +const isSameProtocol = function isSameProtocol(destination, original) { + const orig = new URL$1(original).protocol; + const dest = new URL$1(destination).protocol; + + return orig === dest; +}; + +/** + * Fetch function + * + * @param Mixed url Absolute url or Request instance + * @param Object opts Fetch options + * @return Promise + */ +function fetch(url, opts) { + + // allow custom promise + if (!fetch.Promise) { + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); + } + + Body.Promise = fetch.Promise; + + // wrap http.request into fetch + return new fetch.Promise(function (resolve, reject) { + // build request object + const request = new Request(url, opts); + const options = getNodeRequestOptions(request); + + const send = (options.protocol === 'https:' ? https : http).request; + const signal = request.signal; + + let response = null; + + const abort = function abort() { + let error = new AbortError('The user aborted a request.'); + reject(error); + if (request.body && request.body instanceof Stream.Readable) { + destroyStream(request.body, error); + } + if (!response || !response.body) return; + response.body.emit('error', error); + }; + + if (signal && signal.aborted) { + abort(); + return; + } + + const abortAndFinalize = function abortAndFinalize() { + abort(); + finalize(); + }; + + // send request + const req = send(options); + let reqTimeout; + + if (signal) { + signal.addEventListener('abort', abortAndFinalize); + } + + function finalize() { + req.abort(); + if (signal) signal.removeEventListener('abort', abortAndFinalize); + clearTimeout(reqTimeout); + } + + if (request.timeout) { + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); + finalize(); + }, request.timeout); + }); + } + + req.on('error', function (err) { + reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); + + if (response && response.body) { + destroyStream(response.body, err); + } + + finalize(); + }); + + fixResponseChunkedTransferBadEnding(req, function (err) { + if (signal && signal.aborted) { + return; + } + + if (response && response.body) { + destroyStream(response.body, err); + } + }); + + /* c8 ignore next 18 */ + if (parseInt(process.version.substring(1)) < 14) { + // Before Node.js 14, pipeline() does not fully support async iterators and does not always + // properly handle when the socket close/end events are out of order. + req.on('socket', function (s) { + s.addListener('close', function (hadError) { + // if a data listener is still present we didn't end cleanly + const hasDataListener = s.listenerCount('data') > 0; + + // if end happened before close but the socket didn't emit an error, do it now + if (response && hasDataListener && !hadError && !(signal && signal.aborted)) { + const err = new Error('Premature close'); + err.code = 'ERR_STREAM_PREMATURE_CLOSE'; + response.body.emit('error', err); + } + }); + }); + } + + req.on('response', function (res) { + clearTimeout(reqTimeout); + + const headers = createHeadersLenient(res.headers); + + // HTTP fetch step 5 + if (fetch.isRedirect(res.statusCode)) { + // HTTP fetch step 5.2 + const location = headers.get('Location'); + + // HTTP fetch step 5.3 + let locationURL = null; + try { + locationURL = location === null ? null : new URL$1(location, request.url).toString(); + } catch (err) { + // error here can only be invalid URL in Location: header + // do not throw when options.redirect == manual + // let the user extract the errorneous redirect URL + if (request.redirect !== 'manual') { + reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); + finalize(); + return; + } + } + + // HTTP fetch step 5.5 + switch (request.redirect) { + case 'error': + reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); + finalize(); + return; + case 'manual': + // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. + if (locationURL !== null) { + // handle corrupted header + try { + headers.set('Location', locationURL); + } catch (err) { + // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request + reject(err); + } + } + break; + case 'follow': + // HTTP-redirect fetch step 2 + if (locationURL === null) { + break; + } + + // HTTP-redirect fetch step 5 + if (request.counter >= request.follow) { + reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 6 (counter increment) + // Create a new Request object. + const requestOpts = { + headers: new Headers(request.headers), + follow: request.follow, + counter: request.counter + 1, + agent: request.agent, + compress: request.compress, + method: request.method, + body: request.body, + signal: request.signal, + timeout: request.timeout, + size: request.size + }; + + if (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOpts.headers.delete(name); + } + } + + // HTTP-redirect fetch step 9 + if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { + reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 11 + if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { + requestOpts.method = 'GET'; + requestOpts.body = undefined; + requestOpts.headers.delete('content-length'); + } + + // HTTP-redirect fetch step 15 + resolve(fetch(new Request(locationURL, requestOpts))); + finalize(); + return; + } + } + + // prepare response + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); + }); + let body = res.pipe(new PassThrough$1()); + + const response_options = { + url: request.url, + status: res.statusCode, + statusText: res.statusMessage, + headers: headers, + size: request.size, + timeout: request.timeout, + counter: request.counter + }; + + // HTTP-network fetch step 12.1.1.3 + const codings = headers.get('Content-Encoding'); + + // HTTP-network fetch step 12.1.1.4: handle content codings + + // in following scenarios we ignore compression support + // 1. compression support is disabled + // 2. HEAD request + // 3. no Content-Encoding header + // 4. no content response (204) + // 5. content not modified response (304) + if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { + response = new Response(body, response_options); + resolve(response); + return; + } + + // For Node v6+ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + const zlibOptions = { + flush: zlib.Z_SYNC_FLUSH, + finishFlush: zlib.Z_SYNC_FLUSH + }; + + // for gzip + if (codings == 'gzip' || codings == 'x-gzip') { + body = body.pipe(zlib.createGunzip(zlibOptions)); + response = new Response(body, response_options); + resolve(response); + return; + } + + // for deflate + if (codings == 'deflate' || codings == 'x-deflate') { + // handle the infamous raw deflate response from old servers + // a hack for old IIS and Apache servers + const raw = res.pipe(new PassThrough$1()); + raw.once('data', function (chunk) { + // see http://stackoverflow.com/questions/37519828 + if ((chunk[0] & 0x0F) === 0x08) { + body = body.pipe(zlib.createInflate()); + } else { + body = body.pipe(zlib.createInflateRaw()); + } + response = new Response(body, response_options); + resolve(response); + }); + raw.on('end', function () { + // some old IIS servers return zero-length OK deflate responses, so 'data' is never emitted. + if (!response) { + response = new Response(body, response_options); + resolve(response); + } + }); + return; + } + + // for br + if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') { + body = body.pipe(zlib.createBrotliDecompress()); + response = new Response(body, response_options); + resolve(response); + return; + } + + // otherwise, use response as-is + response = new Response(body, response_options); + resolve(response); + }); + + writeToStream(req, request); + }); +} +function fixResponseChunkedTransferBadEnding(request, errorCallback) { + let socket; + + request.on('socket', function (s) { + socket = s; + }); + + request.on('response', function (response) { + const headers = response.headers; + + if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) { + response.once('close', function (hadError) { + // tests for socket presence, as in some situations the + // the 'socket' event is not triggered for the request + // (happens in deno), avoids `TypeError` + // if a data listener is still present we didn't end cleanly + const hasDataListener = socket && socket.listenerCount('data') > 0; + + if (hasDataListener && !hadError) { + const err = new Error('Premature close'); + err.code = 'ERR_STREAM_PREMATURE_CLOSE'; + errorCallback(err); + } + }); + } + }); +} + +function destroyStream(stream, err) { + if (stream.destroy) { + stream.destroy(err); + } else { + // node < 8 + stream.emit('error', err); + stream.end(); + } +} + +/** + * Redirect code matching + * + * @param Number code Status code + * @return Boolean + */ +fetch.isRedirect = function (code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; +}; + +// expose Promise +fetch.Promise = global.Promise; + +export default fetch; +export { Headers, Request, Response, FetchError }; diff --git a/node_modules/cross-fetch/node_modules/node-fetch/lib/index.js b/node_modules/cross-fetch/node_modules/node-fetch/lib/index.js new file mode 100644 index 00000000..087f2a09 --- /dev/null +++ b/node_modules/cross-fetch/node_modules/node-fetch/lib/index.js @@ -0,0 +1,1790 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } + +var Stream = _interopDefault(require('stream')); +var http = _interopDefault(require('http')); +var Url = _interopDefault(require('url')); +var whatwgUrl = _interopDefault(require('whatwg-url')); +var https = _interopDefault(require('https')); +var zlib = _interopDefault(require('zlib')); + +// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js + +// fix for "Readable" isn't a named export issue +const Readable = Stream.Readable; + +const BUFFER = Symbol('buffer'); +const TYPE = Symbol('type'); + +class Blob { + constructor() { + this[TYPE] = ''; + + const blobParts = arguments[0]; + const options = arguments[1]; + + const buffers = []; + let size = 0; + + if (blobParts) { + const a = blobParts; + const length = Number(a.length); + for (let i = 0; i < length; i++) { + const element = a[i]; + let buffer; + if (element instanceof Buffer) { + buffer = element; + } else if (ArrayBuffer.isView(element)) { + buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); + } else if (element instanceof ArrayBuffer) { + buffer = Buffer.from(element); + } else if (element instanceof Blob) { + buffer = element[BUFFER]; + } else { + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); + } + size += buffer.length; + buffers.push(buffer); + } + } + + this[BUFFER] = Buffer.concat(buffers); + + let type = options && options.type !== undefined && String(options.type).toLowerCase(); + if (type && !/[^\u0020-\u007E]/.test(type)) { + this[TYPE] = type; + } + } + get size() { + return this[BUFFER].length; + } + get type() { + return this[TYPE]; + } + text() { + return Promise.resolve(this[BUFFER].toString()); + } + arrayBuffer() { + const buf = this[BUFFER]; + const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + return Promise.resolve(ab); + } + stream() { + const readable = new Readable(); + readable._read = function () {}; + readable.push(this[BUFFER]); + readable.push(null); + return readable; + } + toString() { + return '[object Blob]'; + } + slice() { + const size = this.size; + + const start = arguments[0]; + const end = arguments[1]; + let relativeStart, relativeEnd; + if (start === undefined) { + relativeStart = 0; + } else if (start < 0) { + relativeStart = Math.max(size + start, 0); + } else { + relativeStart = Math.min(start, size); + } + if (end === undefined) { + relativeEnd = size; + } else if (end < 0) { + relativeEnd = Math.max(size + end, 0); + } else { + relativeEnd = Math.min(end, size); + } + const span = Math.max(relativeEnd - relativeStart, 0); + + const buffer = this[BUFFER]; + const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); + const blob = new Blob([], { type: arguments[2] }); + blob[BUFFER] = slicedBuffer; + return blob; + } +} + +Object.defineProperties(Blob.prototype, { + size: { enumerable: true }, + type: { enumerable: true }, + slice: { enumerable: true } +}); + +Object.defineProperty(Blob.prototype, Symbol.toStringTag, { + value: 'Blob', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * fetch-error.js + * + * FetchError interface for operational errors + */ + +/** + * Create FetchError instance + * + * @param String message Error message for human + * @param String type Error type for machine + * @param String systemError For Node.js system error + * @return FetchError + */ +function FetchError(message, type, systemError) { + Error.call(this, message); + + this.message = message; + this.type = type; + + // when err.type is `system`, err.code contains system error code + if (systemError) { + this.code = this.errno = systemError.code; + } + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +FetchError.prototype = Object.create(Error.prototype); +FetchError.prototype.constructor = FetchError; +FetchError.prototype.name = 'FetchError'; + +let convert; +try { + convert = require('encoding').convert; +} catch (e) {} + +const INTERNALS = Symbol('Body internals'); + +// fix an issue where "PassThrough" isn't a named export for node <10 +const PassThrough = Stream.PassThrough; + +/** + * Body mixin + * + * Ref: https://fetch.spec.whatwg.org/#body + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +function Body(body) { + var _this = this; + + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref$size = _ref.size; + + let size = _ref$size === undefined ? 0 : _ref$size; + var _ref$timeout = _ref.timeout; + let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + + if (body == null) { + // body is undefined or null + body = null; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + body = Buffer.from(body.toString()); + } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + body = Buffer.from(body); + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); + } else if (body instanceof Stream) ; else { + // none of the above + // coerce to string then buffer + body = Buffer.from(String(body)); + } + this[INTERNALS] = { + body, + disturbed: false, + error: null + }; + this.size = size; + this.timeout = timeout; + + if (body instanceof Stream) { + body.on('error', function (err) { + const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); + _this[INTERNALS].error = error; + }); + } +} + +Body.prototype = { + get body() { + return this[INTERNALS].body; + }, + + get bodyUsed() { + return this[INTERNALS].disturbed; + }, + + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ + arrayBuffer() { + return consumeBody.call(this).then(function (buf) { + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + }); + }, + + /** + * Return raw response as Blob + * + * @return Promise + */ + blob() { + let ct = this.headers && this.headers.get('content-type') || ''; + return consumeBody.call(this).then(function (buf) { + return Object.assign( + // Prevent copying + new Blob([], { + type: ct.toLowerCase() + }), { + [BUFFER]: buf + }); + }); + }, + + /** + * Decode response as json + * + * @return Promise + */ + json() { + var _this2 = this; + + return consumeBody.call(this).then(function (buffer) { + try { + return JSON.parse(buffer.toString()); + } catch (err) { + return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); + } + }); + }, + + /** + * Decode response as text + * + * @return Promise + */ + text() { + return consumeBody.call(this).then(function (buffer) { + return buffer.toString(); + }); + }, + + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ + buffer() { + return consumeBody.call(this); + }, + + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ + textConverted() { + var _this3 = this; + + return consumeBody.call(this).then(function (buffer) { + return convertBody(buffer, _this3.headers); + }); + } +}; + +// In browsers, all properties are enumerable. +Object.defineProperties(Body.prototype, { + body: { enumerable: true }, + bodyUsed: { enumerable: true }, + arrayBuffer: { enumerable: true }, + blob: { enumerable: true }, + json: { enumerable: true }, + text: { enumerable: true } +}); + +Body.mixIn = function (proto) { + for (const name of Object.getOwnPropertyNames(Body.prototype)) { + // istanbul ignore else: future proof + if (!(name in proto)) { + const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); + Object.defineProperty(proto, name, desc); + } + } +}; + +/** + * Consume and convert an entire Body to a Buffer. + * + * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * + * @return Promise + */ +function consumeBody() { + var _this4 = this; + + if (this[INTERNALS].disturbed) { + return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); + } + + this[INTERNALS].disturbed = true; + + if (this[INTERNALS].error) { + return Body.Promise.reject(this[INTERNALS].error); + } + + let body = this.body; + + // body is null + if (body === null) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is blob + if (isBlob(body)) { + body = body.stream(); + } + + // body is buffer + if (Buffer.isBuffer(body)) { + return Body.Promise.resolve(body); + } + + // istanbul ignore if: should never happen + if (!(body instanceof Stream)) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is stream + // get ready to actually consume the body + let accum = []; + let accumBytes = 0; + let abort = false; + + return new Body.Promise(function (resolve, reject) { + let resTimeout; + + // allow timeout on slow response body + if (_this4.timeout) { + resTimeout = setTimeout(function () { + abort = true; + reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); + }, _this4.timeout); + } + + // handle stream errors + body.on('error', function (err) { + if (err.name === 'AbortError') { + // if the request was aborted, reject with this Error + abort = true; + reject(err); + } else { + // other errors, such as incorrect content-encoding + reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + + body.on('data', function (chunk) { + if (abort || chunk === null) { + return; + } + + if (_this4.size && accumBytes + chunk.length > _this4.size) { + abort = true; + reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); + return; + } + + accumBytes += chunk.length; + accum.push(chunk); + }); + + body.on('end', function () { + if (abort) { + return; + } + + clearTimeout(resTimeout); + + try { + resolve(Buffer.concat(accum, accumBytes)); + } catch (err) { + // handle streams that have accumulated too much data (issue #414) + reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + }); +} + +/** + * Detect buffer encoding and convert to target encoding + * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding + * + * @param Buffer buffer Incoming buffer + * @param String encoding Target encoding + * @return String + */ +function convertBody(buffer, headers) { + if (typeof convert !== 'function') { + throw new Error('The package `encoding` must be installed to use the textConverted() function'); + } + + const ct = headers.get('content-type'); + let charset = 'utf-8'; + let res, str; + + // header + if (ct) { + res = /charset=([^;]*)/i.exec(ct); + } + + // no charset in content type, peek at response body for at most 1024 bytes + str = buffer.slice(0, 1024).toString(); + + // html5 + if (!res && str) { + res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; + + this[MAP] = Object.create(null); + + if (init instanceof Headers) { + const rawHeaders = init.raw(); + const headerNames = Object.keys(rawHeaders); + + for (const headerName of headerNames) { + for (const value of rawHeaders[headerName]) { + this.append(headerName, value); + } + } + + return; + } + + // We don't worry about converting prop to ByteString here as append() + // will handle it. + if (init == null) ; else if (typeof init === 'object') { + const method = init[Symbol.iterator]; + if (method != null) { + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); + } + + // sequence> + // Note: per spec we have to first exhaust the lists then process them + const pairs = []; + for (const pair of init) { + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); + } + pairs.push(Array.from(pair)); + } + + for (const pair of pairs) { + if (pair.length !== 2) { + throw new TypeError('Each header pair must be a name/value tuple'); + } + this.append(pair[0], pair[1]); + } + } else { + // record + for (const key of Object.keys(init)) { + const value = init[key]; + this.append(key, value); + } + } + } else { + throw new TypeError('Provided initializer must be an object'); + } + } + + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ + get(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key === undefined) { + return null; + } + + return this[MAP][key].join(', '); + } + + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ + forEach(callback) { + let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + let pairs = getHeaders(this); + let i = 0; + while (i < pairs.length) { + var _pairs$i = pairs[i]; + const name = _pairs$i[0], + value = _pairs$i[1]; + + callback.call(thisArg, value, name, this); + pairs = getHeaders(this); + i++; + } + } + + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + set(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + this[MAP][key !== undefined ? key : name] = [value]; + } + + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + append(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + if (key !== undefined) { + this[MAP][key].push(value); + } else { + this[MAP][name] = [value]; + } + } + + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ + has(name) { + name = `${name}`; + validateName(name); + return find(this[MAP], name) !== undefined; + } + + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ + delete(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key !== undefined) { + delete this[MAP][key]; + } + } + + /** + * Return raw headers (non-spec api) + * + * @return Object + */ + raw() { + return this[MAP]; + } + + /** + * Get an iterator on keys. + * + * @return Iterator + */ + keys() { + return createHeadersIterator(this, 'key'); + } + + /** + * Get an iterator on values. + * + * @return Iterator + */ + values() { + return createHeadersIterator(this, 'value'); + } + + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ + [Symbol.iterator]() { + return createHeadersIterator(this, 'key+value'); + } +} +Headers.prototype.entries = Headers.prototype[Symbol.iterator]; + +Object.defineProperty(Headers.prototype, Symbol.toStringTag, { + value: 'Headers', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Headers.prototype, { + get: { enumerable: true }, + forEach: { enumerable: true }, + set: { enumerable: true }, + append: { enumerable: true }, + has: { enumerable: true }, + delete: { enumerable: true }, + keys: { enumerable: true }, + values: { enumerable: true }, + entries: { enumerable: true } +}); + +function getHeaders(headers) { + let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; + + const keys = Object.keys(headers[MAP]).sort(); + return keys.map(kind === 'key' ? function (k) { + return k.toLowerCase(); + } : kind === 'value' ? function (k) { + return headers[MAP][k].join(', '); + } : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + }); +} + +const INTERNAL = Symbol('internal'); + +function createHeadersIterator(target, kind) { + const iterator = Object.create(HeadersIteratorPrototype); + iterator[INTERNAL] = { + target, + kind, + index: 0 + }; + return iterator; +} + +const HeadersIteratorPrototype = Object.setPrototypeOf({ + next() { + // istanbul ignore if + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } + + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: undefined, + done: true + }; + } + + this[INTERNAL].index = index + 1; + + return { + value: values[index], + done: false + }; + } +}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); + +Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * Export the Headers object in a form that Node.js can consume. + * + * @param Headers headers + * @return Object + */ +function exportNodeCompatibleHeaders(headers) { + const obj = Object.assign({ __proto__: null }, headers[MAP]); + + // http.request() only supports string as Host header. This hack makes + // specifying custom Host header possible. + const hostHeaderKey = find(headers[MAP], 'Host'); + if (hostHeaderKey !== undefined) { + obj[hostHeaderKey] = obj[hostHeaderKey][0]; + } + + return obj; +} + +/** + * Create a Headers object from an object of headers, ignoring those that do + * not conform to HTTP grammar productions. + * + * @param Object obj Object of headers + * @return Headers + */ +function createHeadersLenient(obj) { + const headers = new Headers(); + for (const name of Object.keys(obj)) { + if (invalidTokenRegex.test(name)) { + continue; + } + if (Array.isArray(obj[name])) { + for (const val of obj[name]) { + if (invalidHeaderCharRegex.test(val)) { + continue; + } + if (headers[MAP][name] === undefined) { + headers[MAP][name] = [val]; + } else { + headers[MAP][name].push(val); + } + } + } else if (!invalidHeaderCharRegex.test(obj[name])) { + headers[MAP][name] = [obj[name]]; + } + } + return headers; +} + +const INTERNALS$1 = Symbol('Response internals'); + +// fix an issue where "STATUS_CODES" aren't a named export for node <10 +const STATUS_CODES = http.STATUS_CODES; + +/** + * Response class + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +class Response { + constructor() { + let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + Body.call(this, body, opts); + + const status = opts.status || 200; + const headers = new Headers(opts.headers); + + if (body != null && !headers.has('Content-Type')) { + const contentType = extractContentType(body); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + this[INTERNALS$1] = { + url: opts.url, + status, + statusText: opts.statusText || STATUS_CODES[status], + headers, + counter: opts.counter + }; + } + + get url() { + return this[INTERNALS$1].url || ''; + } + + get status() { + return this[INTERNALS$1].status; + } + + /** + * Convenience property representing if the request ended normally + */ + get ok() { + return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; + } + + get redirected() { + return this[INTERNALS$1].counter > 0; + } + + get statusText() { + return this[INTERNALS$1].statusText; + } + + get headers() { + return this[INTERNALS$1].headers; + } + + /** + * Clone this response + * + * @return Response + */ + clone() { + return new Response(clone(this), { + url: this.url, + status: this.status, + statusText: this.statusText, + headers: this.headers, + ok: this.ok, + redirected: this.redirected + }); + } +} + +Body.mixIn(Response.prototype); + +Object.defineProperties(Response.prototype, { + url: { enumerable: true }, + status: { enumerable: true }, + ok: { enumerable: true }, + redirected: { enumerable: true }, + statusText: { enumerable: true }, + headers: { enumerable: true }, + clone: { enumerable: true } +}); + +Object.defineProperty(Response.prototype, Symbol.toStringTag, { + value: 'Response', + writable: false, + enumerable: false, + configurable: true +}); + +const INTERNALS$2 = Symbol('Request internals'); +const URL = Url.URL || whatwgUrl.URL; + +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url.parse; +const format_url = Url.format; + +/** + * Wrapper around `new URL` to handle arbitrary URLs + * + * @param {string} urlStr + * @return {void} + */ +function parseURL(urlStr) { + /* + Check whether the URL is absolute or not + Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 + Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 + */ + if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { + urlStr = new URL(urlStr).toString(); + } + + // Fallback to old implementation for arbitrary URLs + return parse_url(urlStr); +} + +const streamDestructionSupported = 'destroy' in Stream.Readable.prototype; + +/** + * Check if a value is an instance of Request. + * + * @param Mixed input + * @return Boolean + */ +function isRequest(input) { + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; +} + +function isAbortSignal(signal) { + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); +} + +/** + * Request class + * + * @param Mixed input Url or Request instance + * @param Object init Custom options + * @return Void + */ +class Request { + constructor(input) { + let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + let parsedURL; + + // normalize input + if (!isRequest(input)) { + if (input && input.href) { + // in order to support Node.js' Url objects; though WHATWG's URL objects + // will fall into this branch also (since their `toString()` will return + // `href` property anyway) + parsedURL = parseURL(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parseURL(`${input}`); + } + input = {}; + } else { + parsedURL = parseURL(input.url); + } + + let method = init.method || input.method || 'GET'; + method = method.toUpperCase(); + + if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } + + let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; + + Body.call(this, inputBody, { + timeout: init.timeout || input.timeout || 0, + size: init.size || input.size || 0 + }); + + const headers = new Headers(init.headers || input.headers || {}); + + if (inputBody != null && !headers.has('Content-Type')) { + const contentType = extractContentType(inputBody); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + let signal = isRequest(input) ? input.signal : null; + if ('signal' in init) signal = init.signal; + + if (signal != null && !isAbortSignal(signal)) { + throw new TypeError('Expected signal to be an instanceof AbortSignal'); + } + + this[INTERNALS$2] = { + method, + redirect: init.redirect || input.redirect || 'follow', + headers, + parsedURL, + signal + }; + + // node-fetch-only options + this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; + this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; + this.counter = init.counter || input.counter || 0; + this.agent = init.agent || input.agent; + } + + get method() { + return this[INTERNALS$2].method; + } + + get url() { + return format_url(this[INTERNALS$2].parsedURL); + } + + get headers() { + return this[INTERNALS$2].headers; + } + + get redirect() { + return this[INTERNALS$2].redirect; + } + + get signal() { + return this[INTERNALS$2].signal; + } + + /** + * Clone this request + * + * @return Request + */ + clone() { + return new Request(this); + } +} + +Body.mixIn(Request.prototype); + +Object.defineProperty(Request.prototype, Symbol.toStringTag, { + value: 'Request', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Request.prototype, { + method: { enumerable: true }, + url: { enumerable: true }, + headers: { enumerable: true }, + redirect: { enumerable: true }, + clone: { enumerable: true }, + signal: { enumerable: true } +}); + +/** + * Convert a Request to Node.js http request options. + * + * @param Request A Request instance + * @return Object The options object to be passed to http.request + */ +function getNodeRequestOptions(request) { + const parsedURL = request[INTERNALS$2].parsedURL; + const headers = new Headers(request[INTERNALS$2].headers); + + // fetch step 1.3 + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); + } + + // Basic fetch + if (!parsedURL.protocol || !parsedURL.hostname) { + throw new TypeError('Only absolute URLs are supported'); + } + + if (!/^https?:$/.test(parsedURL.protocol)) { + throw new TypeError('Only HTTP(S) protocols are supported'); + } + + if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) { + throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); + } + + // HTTP-network-or-cache fetch steps 2.4-2.7 + let contentLengthValue = null; + if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { + contentLengthValue = '0'; + } + if (request.body != null) { + const totalBytes = getTotalBytes(request); + if (typeof totalBytes === 'number') { + contentLengthValue = String(totalBytes); + } + } + if (contentLengthValue) { + headers.set('Content-Length', contentLengthValue); + } + + // HTTP-network-or-cache fetch step 2.11 + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); + } + + // HTTP-network-or-cache fetch step 2.15 + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); + } + + let agent = request.agent; + if (typeof agent === 'function') { + agent = agent(parsedURL); + } + + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); + } + + // HTTP-network fetch step 4.2 + // chunked encoding is handled by Node.js + + return Object.assign({}, parsedURL, { + method: request.method, + headers: exportNodeCompatibleHeaders(headers), + agent + }); +} + +/** + * abort-error.js + * + * AbortError interface for cancelled requests + */ + +/** + * Create AbortError instance + * + * @param String message Error message for human + * @return AbortError + */ +function AbortError(message) { + Error.call(this, message); + + this.type = 'aborted'; + this.message = message; + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +AbortError.prototype = Object.create(Error.prototype); +AbortError.prototype.constructor = AbortError; +AbortError.prototype.name = 'AbortError'; + +const URL$1 = Url.URL || whatwgUrl.URL; + +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream.PassThrough; + +const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { + const orig = new URL$1(original).hostname; + const dest = new URL$1(destination).hostname; + + return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); +}; + +/** + * isSameProtocol reports whether the two provided URLs use the same protocol. + * + * Both domains must already be in canonical form. + * @param {string|URL} original + * @param {string|URL} destination + */ +const isSameProtocol = function isSameProtocol(destination, original) { + const orig = new URL$1(original).protocol; + const dest = new URL$1(destination).protocol; + + return orig === dest; +}; + +/** + * Fetch function + * + * @param Mixed url Absolute url or Request instance + * @param Object opts Fetch options + * @return Promise + */ +function fetch(url, opts) { + + // allow custom promise + if (!fetch.Promise) { + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); + } + + Body.Promise = fetch.Promise; + + // wrap http.request into fetch + return new fetch.Promise(function (resolve, reject) { + // build request object + const request = new Request(url, opts); + const options = getNodeRequestOptions(request); + + const send = (options.protocol === 'https:' ? https : http).request; + const signal = request.signal; + + let response = null; + + const abort = function abort() { + let error = new AbortError('The user aborted a request.'); + reject(error); + if (request.body && request.body instanceof Stream.Readable) { + destroyStream(request.body, error); + } + if (!response || !response.body) return; + response.body.emit('error', error); + }; + + if (signal && signal.aborted) { + abort(); + return; + } + + const abortAndFinalize = function abortAndFinalize() { + abort(); + finalize(); + }; + + // send request + const req = send(options); + let reqTimeout; + + if (signal) { + signal.addEventListener('abort', abortAndFinalize); + } + + function finalize() { + req.abort(); + if (signal) signal.removeEventListener('abort', abortAndFinalize); + clearTimeout(reqTimeout); + } + + if (request.timeout) { + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); + finalize(); + }, request.timeout); + }); + } + + req.on('error', function (err) { + reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); + + if (response && response.body) { + destroyStream(response.body, err); + } + + finalize(); + }); + + fixResponseChunkedTransferBadEnding(req, function (err) { + if (signal && signal.aborted) { + return; + } + + if (response && response.body) { + destroyStream(response.body, err); + } + }); + + /* c8 ignore next 18 */ + if (parseInt(process.version.substring(1)) < 14) { + // Before Node.js 14, pipeline() does not fully support async iterators and does not always + // properly handle when the socket close/end events are out of order. + req.on('socket', function (s) { + s.addListener('close', function (hadError) { + // if a data listener is still present we didn't end cleanly + const hasDataListener = s.listenerCount('data') > 0; + + // if end happened before close but the socket didn't emit an error, do it now + if (response && hasDataListener && !hadError && !(signal && signal.aborted)) { + const err = new Error('Premature close'); + err.code = 'ERR_STREAM_PREMATURE_CLOSE'; + response.body.emit('error', err); + } + }); + }); + } + + req.on('response', function (res) { + clearTimeout(reqTimeout); + + const headers = createHeadersLenient(res.headers); + + // HTTP fetch step 5 + if (fetch.isRedirect(res.statusCode)) { + // HTTP fetch step 5.2 + const location = headers.get('Location'); + + // HTTP fetch step 5.3 + let locationURL = null; + try { + locationURL = location === null ? null : new URL$1(location, request.url).toString(); + } catch (err) { + // error here can only be invalid URL in Location: header + // do not throw when options.redirect == manual + // let the user extract the errorneous redirect URL + if (request.redirect !== 'manual') { + reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); + finalize(); + return; + } + } + + // HTTP fetch step 5.5 + switch (request.redirect) { + case 'error': + reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); + finalize(); + return; + case 'manual': + // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. + if (locationURL !== null) { + // handle corrupted header + try { + headers.set('Location', locationURL); + } catch (err) { + // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request + reject(err); + } + } + break; + case 'follow': + // HTTP-redirect fetch step 2 + if (locationURL === null) { + break; + } + + // HTTP-redirect fetch step 5 + if (request.counter >= request.follow) { + reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 6 (counter increment) + // Create a new Request object. + const requestOpts = { + headers: new Headers(request.headers), + follow: request.follow, + counter: request.counter + 1, + agent: request.agent, + compress: request.compress, + method: request.method, + body: request.body, + signal: request.signal, + timeout: request.timeout, + size: request.size + }; + + if (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOpts.headers.delete(name); + } + } + + // HTTP-redirect fetch step 9 + if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { + reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 11 + if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { + requestOpts.method = 'GET'; + requestOpts.body = undefined; + requestOpts.headers.delete('content-length'); + } + + // HTTP-redirect fetch step 15 + resolve(fetch(new Request(locationURL, requestOpts))); + finalize(); + return; + } + } + + // prepare response + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); + }); + let body = res.pipe(new PassThrough$1()); + + const response_options = { + url: request.url, + status: res.statusCode, + statusText: res.statusMessage, + headers: headers, + size: request.size, + timeout: request.timeout, + counter: request.counter + }; + + // HTTP-network fetch step 12.1.1.3 + const codings = headers.get('Content-Encoding'); + + // HTTP-network fetch step 12.1.1.4: handle content codings + + // in following scenarios we ignore compression support + // 1. compression support is disabled + // 2. HEAD request + // 3. no Content-Encoding header + // 4. no content response (204) + // 5. content not modified response (304) + if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { + response = new Response(body, response_options); + resolve(response); + return; + } + + // For Node v6+ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + const zlibOptions = { + flush: zlib.Z_SYNC_FLUSH, + finishFlush: zlib.Z_SYNC_FLUSH + }; + + // for gzip + if (codings == 'gzip' || codings == 'x-gzip') { + body = body.pipe(zlib.createGunzip(zlibOptions)); + response = new Response(body, response_options); + resolve(response); + return; + } + + // for deflate + if (codings == 'deflate' || codings == 'x-deflate') { + // handle the infamous raw deflate response from old servers + // a hack for old IIS and Apache servers + const raw = res.pipe(new PassThrough$1()); + raw.once('data', function (chunk) { + // see http://stackoverflow.com/questions/37519828 + if ((chunk[0] & 0x0F) === 0x08) { + body = body.pipe(zlib.createInflate()); + } else { + body = body.pipe(zlib.createInflateRaw()); + } + response = new Response(body, response_options); + resolve(response); + }); + raw.on('end', function () { + // some old IIS servers return zero-length OK deflate responses, so 'data' is never emitted. + if (!response) { + response = new Response(body, response_options); + resolve(response); + } + }); + return; + } + + // for br + if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') { + body = body.pipe(zlib.createBrotliDecompress()); + response = new Response(body, response_options); + resolve(response); + return; + } + + // otherwise, use response as-is + response = new Response(body, response_options); + resolve(response); + }); + + writeToStream(req, request); + }); +} +function fixResponseChunkedTransferBadEnding(request, errorCallback) { + let socket; + + request.on('socket', function (s) { + socket = s; + }); + + request.on('response', function (response) { + const headers = response.headers; + + if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) { + response.once('close', function (hadError) { + // tests for socket presence, as in some situations the + // the 'socket' event is not triggered for the request + // (happens in deno), avoids `TypeError` + // if a data listener is still present we didn't end cleanly + const hasDataListener = socket && socket.listenerCount('data') > 0; + + if (hasDataListener && !hadError) { + const err = new Error('Premature close'); + err.code = 'ERR_STREAM_PREMATURE_CLOSE'; + errorCallback(err); + } + }); + } + }); +} + +function destroyStream(stream, err) { + if (stream.destroy) { + stream.destroy(err); + } else { + // node < 8 + stream.emit('error', err); + stream.end(); + } +} + +/** + * Redirect code matching + * + * @param Number code Status code + * @return Boolean + */ +fetch.isRedirect = function (code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; +}; + +// expose Promise +fetch.Promise = global.Promise; + +module.exports = exports = fetch; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = exports; +exports.Headers = Headers; +exports.Request = Request; +exports.Response = Response; +exports.FetchError = FetchError; diff --git a/node_modules/cross-fetch/node_modules/node-fetch/lib/index.mjs b/node_modules/cross-fetch/node_modules/node-fetch/lib/index.mjs new file mode 100644 index 00000000..4ed7fa50 --- /dev/null +++ b/node_modules/cross-fetch/node_modules/node-fetch/lib/index.mjs @@ -0,0 +1,1779 @@ +import Stream from 'stream'; +import http from 'http'; +import Url from 'url'; +import whatwgUrl from 'whatwg-url'; +import https from 'https'; +import zlib from 'zlib'; + +// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js + +// fix for "Readable" isn't a named export issue +const Readable = Stream.Readable; + +const BUFFER = Symbol('buffer'); +const TYPE = Symbol('type'); + +class Blob { + constructor() { + this[TYPE] = ''; + + const blobParts = arguments[0]; + const options = arguments[1]; + + const buffers = []; + let size = 0; + + if (blobParts) { + const a = blobParts; + const length = Number(a.length); + for (let i = 0; i < length; i++) { + const element = a[i]; + let buffer; + if (element instanceof Buffer) { + buffer = element; + } else if (ArrayBuffer.isView(element)) { + buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); + } else if (element instanceof ArrayBuffer) { + buffer = Buffer.from(element); + } else if (element instanceof Blob) { + buffer = element[BUFFER]; + } else { + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); + } + size += buffer.length; + buffers.push(buffer); + } + } + + this[BUFFER] = Buffer.concat(buffers); + + let type = options && options.type !== undefined && String(options.type).toLowerCase(); + if (type && !/[^\u0020-\u007E]/.test(type)) { + this[TYPE] = type; + } + } + get size() { + return this[BUFFER].length; + } + get type() { + return this[TYPE]; + } + text() { + return Promise.resolve(this[BUFFER].toString()); + } + arrayBuffer() { + const buf = this[BUFFER]; + const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + return Promise.resolve(ab); + } + stream() { + const readable = new Readable(); + readable._read = function () {}; + readable.push(this[BUFFER]); + readable.push(null); + return readable; + } + toString() { + return '[object Blob]'; + } + slice() { + const size = this.size; + + const start = arguments[0]; + const end = arguments[1]; + let relativeStart, relativeEnd; + if (start === undefined) { + relativeStart = 0; + } else if (start < 0) { + relativeStart = Math.max(size + start, 0); + } else { + relativeStart = Math.min(start, size); + } + if (end === undefined) { + relativeEnd = size; + } else if (end < 0) { + relativeEnd = Math.max(size + end, 0); + } else { + relativeEnd = Math.min(end, size); + } + const span = Math.max(relativeEnd - relativeStart, 0); + + const buffer = this[BUFFER]; + const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); + const blob = new Blob([], { type: arguments[2] }); + blob[BUFFER] = slicedBuffer; + return blob; + } +} + +Object.defineProperties(Blob.prototype, { + size: { enumerable: true }, + type: { enumerable: true }, + slice: { enumerable: true } +}); + +Object.defineProperty(Blob.prototype, Symbol.toStringTag, { + value: 'Blob', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * fetch-error.js + * + * FetchError interface for operational errors + */ + +/** + * Create FetchError instance + * + * @param String message Error message for human + * @param String type Error type for machine + * @param String systemError For Node.js system error + * @return FetchError + */ +function FetchError(message, type, systemError) { + Error.call(this, message); + + this.message = message; + this.type = type; + + // when err.type is `system`, err.code contains system error code + if (systemError) { + this.code = this.errno = systemError.code; + } + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +FetchError.prototype = Object.create(Error.prototype); +FetchError.prototype.constructor = FetchError; +FetchError.prototype.name = 'FetchError'; + +let convert; +try { + convert = require('encoding').convert; +} catch (e) {} + +const INTERNALS = Symbol('Body internals'); + +// fix an issue where "PassThrough" isn't a named export for node <10 +const PassThrough = Stream.PassThrough; + +/** + * Body mixin + * + * Ref: https://fetch.spec.whatwg.org/#body + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +function Body(body) { + var _this = this; + + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref$size = _ref.size; + + let size = _ref$size === undefined ? 0 : _ref$size; + var _ref$timeout = _ref.timeout; + let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + + if (body == null) { + // body is undefined or null + body = null; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + body = Buffer.from(body.toString()); + } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + body = Buffer.from(body); + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); + } else if (body instanceof Stream) ; else { + // none of the above + // coerce to string then buffer + body = Buffer.from(String(body)); + } + this[INTERNALS] = { + body, + disturbed: false, + error: null + }; + this.size = size; + this.timeout = timeout; + + if (body instanceof Stream) { + body.on('error', function (err) { + const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); + _this[INTERNALS].error = error; + }); + } +} + +Body.prototype = { + get body() { + return this[INTERNALS].body; + }, + + get bodyUsed() { + return this[INTERNALS].disturbed; + }, + + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ + arrayBuffer() { + return consumeBody.call(this).then(function (buf) { + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + }); + }, + + /** + * Return raw response as Blob + * + * @return Promise + */ + blob() { + let ct = this.headers && this.headers.get('content-type') || ''; + return consumeBody.call(this).then(function (buf) { + return Object.assign( + // Prevent copying + new Blob([], { + type: ct.toLowerCase() + }), { + [BUFFER]: buf + }); + }); + }, + + /** + * Decode response as json + * + * @return Promise + */ + json() { + var _this2 = this; + + return consumeBody.call(this).then(function (buffer) { + try { + return JSON.parse(buffer.toString()); + } catch (err) { + return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); + } + }); + }, + + /** + * Decode response as text + * + * @return Promise + */ + text() { + return consumeBody.call(this).then(function (buffer) { + return buffer.toString(); + }); + }, + + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ + buffer() { + return consumeBody.call(this); + }, + + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ + textConverted() { + var _this3 = this; + + return consumeBody.call(this).then(function (buffer) { + return convertBody(buffer, _this3.headers); + }); + } +}; + +// In browsers, all properties are enumerable. +Object.defineProperties(Body.prototype, { + body: { enumerable: true }, + bodyUsed: { enumerable: true }, + arrayBuffer: { enumerable: true }, + blob: { enumerable: true }, + json: { enumerable: true }, + text: { enumerable: true } +}); + +Body.mixIn = function (proto) { + for (const name of Object.getOwnPropertyNames(Body.prototype)) { + // istanbul ignore else: future proof + if (!(name in proto)) { + const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); + Object.defineProperty(proto, name, desc); + } + } +}; + +/** + * Consume and convert an entire Body to a Buffer. + * + * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * + * @return Promise + */ +function consumeBody() { + var _this4 = this; + + if (this[INTERNALS].disturbed) { + return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); + } + + this[INTERNALS].disturbed = true; + + if (this[INTERNALS].error) { + return Body.Promise.reject(this[INTERNALS].error); + } + + let body = this.body; + + // body is null + if (body === null) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is blob + if (isBlob(body)) { + body = body.stream(); + } + + // body is buffer + if (Buffer.isBuffer(body)) { + return Body.Promise.resolve(body); + } + + // istanbul ignore if: should never happen + if (!(body instanceof Stream)) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is stream + // get ready to actually consume the body + let accum = []; + let accumBytes = 0; + let abort = false; + + return new Body.Promise(function (resolve, reject) { + let resTimeout; + + // allow timeout on slow response body + if (_this4.timeout) { + resTimeout = setTimeout(function () { + abort = true; + reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); + }, _this4.timeout); + } + + // handle stream errors + body.on('error', function (err) { + if (err.name === 'AbortError') { + // if the request was aborted, reject with this Error + abort = true; + reject(err); + } else { + // other errors, such as incorrect content-encoding + reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + + body.on('data', function (chunk) { + if (abort || chunk === null) { + return; + } + + if (_this4.size && accumBytes + chunk.length > _this4.size) { + abort = true; + reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); + return; + } + + accumBytes += chunk.length; + accum.push(chunk); + }); + + body.on('end', function () { + if (abort) { + return; + } + + clearTimeout(resTimeout); + + try { + resolve(Buffer.concat(accum, accumBytes)); + } catch (err) { + // handle streams that have accumulated too much data (issue #414) + reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + }); +} + +/** + * Detect buffer encoding and convert to target encoding + * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding + * + * @param Buffer buffer Incoming buffer + * @param String encoding Target encoding + * @return String + */ +function convertBody(buffer, headers) { + if (typeof convert !== 'function') { + throw new Error('The package `encoding` must be installed to use the textConverted() function'); + } + + const ct = headers.get('content-type'); + let charset = 'utf-8'; + let res, str; + + // header + if (ct) { + res = /charset=([^;]*)/i.exec(ct); + } + + // no charset in content type, peek at response body for at most 1024 bytes + str = buffer.slice(0, 1024).toString(); + + // html5 + if (!res && str) { + res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; + + this[MAP] = Object.create(null); + + if (init instanceof Headers) { + const rawHeaders = init.raw(); + const headerNames = Object.keys(rawHeaders); + + for (const headerName of headerNames) { + for (const value of rawHeaders[headerName]) { + this.append(headerName, value); + } + } + + return; + } + + // We don't worry about converting prop to ByteString here as append() + // will handle it. + if (init == null) ; else if (typeof init === 'object') { + const method = init[Symbol.iterator]; + if (method != null) { + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); + } + + // sequence> + // Note: per spec we have to first exhaust the lists then process them + const pairs = []; + for (const pair of init) { + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); + } + pairs.push(Array.from(pair)); + } + + for (const pair of pairs) { + if (pair.length !== 2) { + throw new TypeError('Each header pair must be a name/value tuple'); + } + this.append(pair[0], pair[1]); + } + } else { + // record + for (const key of Object.keys(init)) { + const value = init[key]; + this.append(key, value); + } + } + } else { + throw new TypeError('Provided initializer must be an object'); + } + } + + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ + get(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key === undefined) { + return null; + } + + return this[MAP][key].join(', '); + } + + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ + forEach(callback) { + let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + let pairs = getHeaders(this); + let i = 0; + while (i < pairs.length) { + var _pairs$i = pairs[i]; + const name = _pairs$i[0], + value = _pairs$i[1]; + + callback.call(thisArg, value, name, this); + pairs = getHeaders(this); + i++; + } + } + + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + set(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + this[MAP][key !== undefined ? key : name] = [value]; + } + + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + append(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + if (key !== undefined) { + this[MAP][key].push(value); + } else { + this[MAP][name] = [value]; + } + } + + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ + has(name) { + name = `${name}`; + validateName(name); + return find(this[MAP], name) !== undefined; + } + + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ + delete(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key !== undefined) { + delete this[MAP][key]; + } + } + + /** + * Return raw headers (non-spec api) + * + * @return Object + */ + raw() { + return this[MAP]; + } + + /** + * Get an iterator on keys. + * + * @return Iterator + */ + keys() { + return createHeadersIterator(this, 'key'); + } + + /** + * Get an iterator on values. + * + * @return Iterator + */ + values() { + return createHeadersIterator(this, 'value'); + } + + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ + [Symbol.iterator]() { + return createHeadersIterator(this, 'key+value'); + } +} +Headers.prototype.entries = Headers.prototype[Symbol.iterator]; + +Object.defineProperty(Headers.prototype, Symbol.toStringTag, { + value: 'Headers', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Headers.prototype, { + get: { enumerable: true }, + forEach: { enumerable: true }, + set: { enumerable: true }, + append: { enumerable: true }, + has: { enumerable: true }, + delete: { enumerable: true }, + keys: { enumerable: true }, + values: { enumerable: true }, + entries: { enumerable: true } +}); + +function getHeaders(headers) { + let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; + + const keys = Object.keys(headers[MAP]).sort(); + return keys.map(kind === 'key' ? function (k) { + return k.toLowerCase(); + } : kind === 'value' ? function (k) { + return headers[MAP][k].join(', '); + } : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + }); +} + +const INTERNAL = Symbol('internal'); + +function createHeadersIterator(target, kind) { + const iterator = Object.create(HeadersIteratorPrototype); + iterator[INTERNAL] = { + target, + kind, + index: 0 + }; + return iterator; +} + +const HeadersIteratorPrototype = Object.setPrototypeOf({ + next() { + // istanbul ignore if + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } + + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: undefined, + done: true + }; + } + + this[INTERNAL].index = index + 1; + + return { + value: values[index], + done: false + }; + } +}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); + +Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * Export the Headers object in a form that Node.js can consume. + * + * @param Headers headers + * @return Object + */ +function exportNodeCompatibleHeaders(headers) { + const obj = Object.assign({ __proto__: null }, headers[MAP]); + + // http.request() only supports string as Host header. This hack makes + // specifying custom Host header possible. + const hostHeaderKey = find(headers[MAP], 'Host'); + if (hostHeaderKey !== undefined) { + obj[hostHeaderKey] = obj[hostHeaderKey][0]; + } + + return obj; +} + +/** + * Create a Headers object from an object of headers, ignoring those that do + * not conform to HTTP grammar productions. + * + * @param Object obj Object of headers + * @return Headers + */ +function createHeadersLenient(obj) { + const headers = new Headers(); + for (const name of Object.keys(obj)) { + if (invalidTokenRegex.test(name)) { + continue; + } + if (Array.isArray(obj[name])) { + for (const val of obj[name]) { + if (invalidHeaderCharRegex.test(val)) { + continue; + } + if (headers[MAP][name] === undefined) { + headers[MAP][name] = [val]; + } else { + headers[MAP][name].push(val); + } + } + } else if (!invalidHeaderCharRegex.test(obj[name])) { + headers[MAP][name] = [obj[name]]; + } + } + return headers; +} + +const INTERNALS$1 = Symbol('Response internals'); + +// fix an issue where "STATUS_CODES" aren't a named export for node <10 +const STATUS_CODES = http.STATUS_CODES; + +/** + * Response class + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +class Response { + constructor() { + let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + Body.call(this, body, opts); + + const status = opts.status || 200; + const headers = new Headers(opts.headers); + + if (body != null && !headers.has('Content-Type')) { + const contentType = extractContentType(body); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + this[INTERNALS$1] = { + url: opts.url, + status, + statusText: opts.statusText || STATUS_CODES[status], + headers, + counter: opts.counter + }; + } + + get url() { + return this[INTERNALS$1].url || ''; + } + + get status() { + return this[INTERNALS$1].status; + } + + /** + * Convenience property representing if the request ended normally + */ + get ok() { + return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; + } + + get redirected() { + return this[INTERNALS$1].counter > 0; + } + + get statusText() { + return this[INTERNALS$1].statusText; + } + + get headers() { + return this[INTERNALS$1].headers; + } + + /** + * Clone this response + * + * @return Response + */ + clone() { + return new Response(clone(this), { + url: this.url, + status: this.status, + statusText: this.statusText, + headers: this.headers, + ok: this.ok, + redirected: this.redirected + }); + } +} + +Body.mixIn(Response.prototype); + +Object.defineProperties(Response.prototype, { + url: { enumerable: true }, + status: { enumerable: true }, + ok: { enumerable: true }, + redirected: { enumerable: true }, + statusText: { enumerable: true }, + headers: { enumerable: true }, + clone: { enumerable: true } +}); + +Object.defineProperty(Response.prototype, Symbol.toStringTag, { + value: 'Response', + writable: false, + enumerable: false, + configurable: true +}); + +const INTERNALS$2 = Symbol('Request internals'); +const URL = Url.URL || whatwgUrl.URL; + +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url.parse; +const format_url = Url.format; + +/** + * Wrapper around `new URL` to handle arbitrary URLs + * + * @param {string} urlStr + * @return {void} + */ +function parseURL(urlStr) { + /* + Check whether the URL is absolute or not + Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 + Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 + */ + if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { + urlStr = new URL(urlStr).toString(); + } + + // Fallback to old implementation for arbitrary URLs + return parse_url(urlStr); +} + +const streamDestructionSupported = 'destroy' in Stream.Readable.prototype; + +/** + * Check if a value is an instance of Request. + * + * @param Mixed input + * @return Boolean + */ +function isRequest(input) { + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; +} + +function isAbortSignal(signal) { + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); +} + +/** + * Request class + * + * @param Mixed input Url or Request instance + * @param Object init Custom options + * @return Void + */ +class Request { + constructor(input) { + let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + let parsedURL; + + // normalize input + if (!isRequest(input)) { + if (input && input.href) { + // in order to support Node.js' Url objects; though WHATWG's URL objects + // will fall into this branch also (since their `toString()` will return + // `href` property anyway) + parsedURL = parseURL(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parseURL(`${input}`); + } + input = {}; + } else { + parsedURL = parseURL(input.url); + } + + let method = init.method || input.method || 'GET'; + method = method.toUpperCase(); + + if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } + + let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; + + Body.call(this, inputBody, { + timeout: init.timeout || input.timeout || 0, + size: init.size || input.size || 0 + }); + + const headers = new Headers(init.headers || input.headers || {}); + + if (inputBody != null && !headers.has('Content-Type')) { + const contentType = extractContentType(inputBody); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + let signal = isRequest(input) ? input.signal : null; + if ('signal' in init) signal = init.signal; + + if (signal != null && !isAbortSignal(signal)) { + throw new TypeError('Expected signal to be an instanceof AbortSignal'); + } + + this[INTERNALS$2] = { + method, + redirect: init.redirect || input.redirect || 'follow', + headers, + parsedURL, + signal + }; + + // node-fetch-only options + this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; + this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; + this.counter = init.counter || input.counter || 0; + this.agent = init.agent || input.agent; + } + + get method() { + return this[INTERNALS$2].method; + } + + get url() { + return format_url(this[INTERNALS$2].parsedURL); + } + + get headers() { + return this[INTERNALS$2].headers; + } + + get redirect() { + return this[INTERNALS$2].redirect; + } + + get signal() { + return this[INTERNALS$2].signal; + } + + /** + * Clone this request + * + * @return Request + */ + clone() { + return new Request(this); + } +} + +Body.mixIn(Request.prototype); + +Object.defineProperty(Request.prototype, Symbol.toStringTag, { + value: 'Request', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Request.prototype, { + method: { enumerable: true }, + url: { enumerable: true }, + headers: { enumerable: true }, + redirect: { enumerable: true }, + clone: { enumerable: true }, + signal: { enumerable: true } +}); + +/** + * Convert a Request to Node.js http request options. + * + * @param Request A Request instance + * @return Object The options object to be passed to http.request + */ +function getNodeRequestOptions(request) { + const parsedURL = request[INTERNALS$2].parsedURL; + const headers = new Headers(request[INTERNALS$2].headers); + + // fetch step 1.3 + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); + } + + // Basic fetch + if (!parsedURL.protocol || !parsedURL.hostname) { + throw new TypeError('Only absolute URLs are supported'); + } + + if (!/^https?:$/.test(parsedURL.protocol)) { + throw new TypeError('Only HTTP(S) protocols are supported'); + } + + if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) { + throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); + } + + // HTTP-network-or-cache fetch steps 2.4-2.7 + let contentLengthValue = null; + if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { + contentLengthValue = '0'; + } + if (request.body != null) { + const totalBytes = getTotalBytes(request); + if (typeof totalBytes === 'number') { + contentLengthValue = String(totalBytes); + } + } + if (contentLengthValue) { + headers.set('Content-Length', contentLengthValue); + } + + // HTTP-network-or-cache fetch step 2.11 + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); + } + + // HTTP-network-or-cache fetch step 2.15 + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); + } + + let agent = request.agent; + if (typeof agent === 'function') { + agent = agent(parsedURL); + } + + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); + } + + // HTTP-network fetch step 4.2 + // chunked encoding is handled by Node.js + + return Object.assign({}, parsedURL, { + method: request.method, + headers: exportNodeCompatibleHeaders(headers), + agent + }); +} + +/** + * abort-error.js + * + * AbortError interface for cancelled requests + */ + +/** + * Create AbortError instance + * + * @param String message Error message for human + * @return AbortError + */ +function AbortError(message) { + Error.call(this, message); + + this.type = 'aborted'; + this.message = message; + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +AbortError.prototype = Object.create(Error.prototype); +AbortError.prototype.constructor = AbortError; +AbortError.prototype.name = 'AbortError'; + +const URL$1 = Url.URL || whatwgUrl.URL; + +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream.PassThrough; + +const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { + const orig = new URL$1(original).hostname; + const dest = new URL$1(destination).hostname; + + return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); +}; + +/** + * isSameProtocol reports whether the two provided URLs use the same protocol. + * + * Both domains must already be in canonical form. + * @param {string|URL} original + * @param {string|URL} destination + */ +const isSameProtocol = function isSameProtocol(destination, original) { + const orig = new URL$1(original).protocol; + const dest = new URL$1(destination).protocol; + + return orig === dest; +}; + +/** + * Fetch function + * + * @param Mixed url Absolute url or Request instance + * @param Object opts Fetch options + * @return Promise + */ +function fetch(url, opts) { + + // allow custom promise + if (!fetch.Promise) { + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); + } + + Body.Promise = fetch.Promise; + + // wrap http.request into fetch + return new fetch.Promise(function (resolve, reject) { + // build request object + const request = new Request(url, opts); + const options = getNodeRequestOptions(request); + + const send = (options.protocol === 'https:' ? https : http).request; + const signal = request.signal; + + let response = null; + + const abort = function abort() { + let error = new AbortError('The user aborted a request.'); + reject(error); + if (request.body && request.body instanceof Stream.Readable) { + destroyStream(request.body, error); + } + if (!response || !response.body) return; + response.body.emit('error', error); + }; + + if (signal && signal.aborted) { + abort(); + return; + } + + const abortAndFinalize = function abortAndFinalize() { + abort(); + finalize(); + }; + + // send request + const req = send(options); + let reqTimeout; + + if (signal) { + signal.addEventListener('abort', abortAndFinalize); + } + + function finalize() { + req.abort(); + if (signal) signal.removeEventListener('abort', abortAndFinalize); + clearTimeout(reqTimeout); + } + + if (request.timeout) { + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); + finalize(); + }, request.timeout); + }); + } + + req.on('error', function (err) { + reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); + + if (response && response.body) { + destroyStream(response.body, err); + } + + finalize(); + }); + + fixResponseChunkedTransferBadEnding(req, function (err) { + if (signal && signal.aborted) { + return; + } + + if (response && response.body) { + destroyStream(response.body, err); + } + }); + + /* c8 ignore next 18 */ + if (parseInt(process.version.substring(1)) < 14) { + // Before Node.js 14, pipeline() does not fully support async iterators and does not always + // properly handle when the socket close/end events are out of order. + req.on('socket', function (s) { + s.addListener('close', function (hadError) { + // if a data listener is still present we didn't end cleanly + const hasDataListener = s.listenerCount('data') > 0; + + // if end happened before close but the socket didn't emit an error, do it now + if (response && hasDataListener && !hadError && !(signal && signal.aborted)) { + const err = new Error('Premature close'); + err.code = 'ERR_STREAM_PREMATURE_CLOSE'; + response.body.emit('error', err); + } + }); + }); + } + + req.on('response', function (res) { + clearTimeout(reqTimeout); + + const headers = createHeadersLenient(res.headers); + + // HTTP fetch step 5 + if (fetch.isRedirect(res.statusCode)) { + // HTTP fetch step 5.2 + const location = headers.get('Location'); + + // HTTP fetch step 5.3 + let locationURL = null; + try { + locationURL = location === null ? null : new URL$1(location, request.url).toString(); + } catch (err) { + // error here can only be invalid URL in Location: header + // do not throw when options.redirect == manual + // let the user extract the errorneous redirect URL + if (request.redirect !== 'manual') { + reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); + finalize(); + return; + } + } + + // HTTP fetch step 5.5 + switch (request.redirect) { + case 'error': + reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); + finalize(); + return; + case 'manual': + // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. + if (locationURL !== null) { + // handle corrupted header + try { + headers.set('Location', locationURL); + } catch (err) { + // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request + reject(err); + } + } + break; + case 'follow': + // HTTP-redirect fetch step 2 + if (locationURL === null) { + break; + } + + // HTTP-redirect fetch step 5 + if (request.counter >= request.follow) { + reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 6 (counter increment) + // Create a new Request object. + const requestOpts = { + headers: new Headers(request.headers), + follow: request.follow, + counter: request.counter + 1, + agent: request.agent, + compress: request.compress, + method: request.method, + body: request.body, + signal: request.signal, + timeout: request.timeout, + size: request.size + }; + + if (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOpts.headers.delete(name); + } + } + + // HTTP-redirect fetch step 9 + if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { + reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 11 + if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { + requestOpts.method = 'GET'; + requestOpts.body = undefined; + requestOpts.headers.delete('content-length'); + } + + // HTTP-redirect fetch step 15 + resolve(fetch(new Request(locationURL, requestOpts))); + finalize(); + return; + } + } + + // prepare response + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); + }); + let body = res.pipe(new PassThrough$1()); + + const response_options = { + url: request.url, + status: res.statusCode, + statusText: res.statusMessage, + headers: headers, + size: request.size, + timeout: request.timeout, + counter: request.counter + }; + + // HTTP-network fetch step 12.1.1.3 + const codings = headers.get('Content-Encoding'); + + // HTTP-network fetch step 12.1.1.4: handle content codings + + // in following scenarios we ignore compression support + // 1. compression support is disabled + // 2. HEAD request + // 3. no Content-Encoding header + // 4. no content response (204) + // 5. content not modified response (304) + if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { + response = new Response(body, response_options); + resolve(response); + return; + } + + // For Node v6+ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + const zlibOptions = { + flush: zlib.Z_SYNC_FLUSH, + finishFlush: zlib.Z_SYNC_FLUSH + }; + + // for gzip + if (codings == 'gzip' || codings == 'x-gzip') { + body = body.pipe(zlib.createGunzip(zlibOptions)); + response = new Response(body, response_options); + resolve(response); + return; + } + + // for deflate + if (codings == 'deflate' || codings == 'x-deflate') { + // handle the infamous raw deflate response from old servers + // a hack for old IIS and Apache servers + const raw = res.pipe(new PassThrough$1()); + raw.once('data', function (chunk) { + // see http://stackoverflow.com/questions/37519828 + if ((chunk[0] & 0x0F) === 0x08) { + body = body.pipe(zlib.createInflate()); + } else { + body = body.pipe(zlib.createInflateRaw()); + } + response = new Response(body, response_options); + resolve(response); + }); + raw.on('end', function () { + // some old IIS servers return zero-length OK deflate responses, so 'data' is never emitted. + if (!response) { + response = new Response(body, response_options); + resolve(response); + } + }); + return; + } + + // for br + if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') { + body = body.pipe(zlib.createBrotliDecompress()); + response = new Response(body, response_options); + resolve(response); + return; + } + + // otherwise, use response as-is + response = new Response(body, response_options); + resolve(response); + }); + + writeToStream(req, request); + }); +} +function fixResponseChunkedTransferBadEnding(request, errorCallback) { + let socket; + + request.on('socket', function (s) { + socket = s; + }); + + request.on('response', function (response) { + const headers = response.headers; + + if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) { + response.once('close', function (hadError) { + // tests for socket presence, as in some situations the + // the 'socket' event is not triggered for the request + // (happens in deno), avoids `TypeError` + // if a data listener is still present we didn't end cleanly + const hasDataListener = socket && socket.listenerCount('data') > 0; + + if (hasDataListener && !hadError) { + const err = new Error('Premature close'); + err.code = 'ERR_STREAM_PREMATURE_CLOSE'; + errorCallback(err); + } + }); + } + }); +} + +function destroyStream(stream, err) { + if (stream.destroy) { + stream.destroy(err); + } else { + // node < 8 + stream.emit('error', err); + stream.end(); + } +} + +/** + * Redirect code matching + * + * @param Number code Status code + * @return Boolean + */ +fetch.isRedirect = function (code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; +}; + +// expose Promise +fetch.Promise = global.Promise; + +export default fetch; +export { Headers, Request, Response, FetchError }; diff --git a/node_modules/cross-fetch/node_modules/node-fetch/package.json b/node_modules/cross-fetch/node_modules/node-fetch/package.json new file mode 100644 index 00000000..0ba36fd0 --- /dev/null +++ b/node_modules/cross-fetch/node_modules/node-fetch/package.json @@ -0,0 +1,89 @@ +{ + "name": "node-fetch", + "version": "2.6.12", + "description": "A light-weight module that brings window.fetch to node.js", + "main": "lib/index.js", + "browser": "./browser.js", + "module": "lib/index.mjs", + "files": [ + "lib/index.js", + "lib/index.mjs", + "lib/index.es.js", + "browser.js" + ], + "engines": { + "node": "4.x || >=6.0.0" + }, + "scripts": { + "build": "cross-env BABEL_ENV=rollup rollup -c", + "prepare": "npm run build", + "test": "cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js", + "report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js", + "coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json" + }, + "repository": { + "type": "git", + "url": "https://github.com/bitinn/node-fetch.git" + }, + "keywords": [ + "fetch", + "http", + "promise" + ], + "author": "David Frank", + "license": "MIT", + "bugs": { + "url": "https://github.com/bitinn/node-fetch/issues" + }, + "homepage": "https://github.com/bitinn/node-fetch", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + }, + "devDependencies": { + "@ungap/url-search-params": "^0.1.2", + "abort-controller": "^1.1.0", + "abortcontroller-polyfill": "^1.3.0", + "babel-core": "^6.26.3", + "babel-plugin-istanbul": "^4.1.6", + "babel-plugin-transform-async-generator-functions": "^6.24.1", + "babel-polyfill": "^6.26.0", + "babel-preset-env": "1.4.0", + "babel-register": "^6.16.3", + "chai": "^3.5.0", + "chai-as-promised": "^7.1.1", + "chai-iterator": "^1.1.1", + "chai-string": "~1.3.0", + "codecov": "3.3.0", + "cross-env": "^5.2.0", + "form-data": "^2.3.3", + "is-builtin-module": "^1.0.0", + "mocha": "^5.0.0", + "nyc": "11.9.0", + "parted": "^0.1.1", + "promise": "^8.0.3", + "resumer": "0.0.0", + "rollup": "^0.63.4", + "rollup-plugin-babel": "^3.0.7", + "string-to-arraybuffer": "^1.0.2", + "teeny-request": "3.7.0" + }, + "release": { + "branches": [ + "+([0-9]).x", + "main", + "next", + { + "name": "beta", + "prerelease": true + } + ] + } +} diff --git a/node_modules/cross-fetch/package.json b/node_modules/cross-fetch/package.json new file mode 100644 index 00000000..691981ca --- /dev/null +++ b/node_modules/cross-fetch/package.json @@ -0,0 +1,127 @@ +{ + "name": "cross-fetch", + "version": "3.1.8", + "description": "Universal WHATWG Fetch API for Node, Browsers and React Native", + "homepage": "https://github.com/lquixada/cross-fetch", + "main": "dist/node-ponyfill.js", + "browser": "dist/browser-ponyfill.js", + "react-native": "dist/react-native-ponyfill.js", + "types": "index.d.ts", + "scripts": { + "commit": "cz", + "prepare": "husky install", + "prepublishOnly": "rimraf dist && make build" + }, + "lint-staged": { + "*.js": [ + "standard --fix" + ] + }, + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } + }, + "standard": { + "env": [ + "mocha", + "browser" + ], + "globals": [ + "expect", + "assert", + "chai" + ], + "ignore": [ + "/dist/", + "bundle.js", + "test.js", + "test.*.js", + "api.spec.js", + "*.ts" + ] + }, + "mocha": { + "require": [ + "chai/register-expect", + "chai/register-assert" + ], + "check-leaks": true + }, + "nyc": { + "temp-dir": ".reports/.coverage" + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, + "repository": { + "type": "git", + "url": "https://github.com/lquixada/cross-fetch.git" + }, + "author": "Leonardo Quixada ", + "license": "MIT", + "bugs": { + "url": "https://github.com/lquixada/cross-fetch/issues" + }, + "dependencies": { + "node-fetch": "^2.6.12" + }, + "devDependencies": { + "@commitlint/cli": "12.0.1", + "@commitlint/config-conventional": "12.0.1", + "@types/chai": "4.2.22", + "@types/mocha": "8.2.2", + "@types/node": "14.14.37", + "body-parser": "1.19.0", + "chai": "4.3.4", + "codecov": "3.8.3", + "commitizen": "4.2.4", + "cz-conventional-changelog": "3.3.0", + "express": "4.17.1", + "husky": "6.0.0", + "lint-staged": "10.5.4", + "mocha": "8.3.2", + "mocha-headless-chrome": "4.0.0", + "nock": "13.1.3", + "nyc": "15.1.0", + "open-cli": "6.0.1", + "rimraf": "3.0.2", + "rollup": "2.58.0", + "rollup-plugin-copy": "3.4.0", + "rollup-plugin-terser": "7.0.2", + "semver": "7.3.5", + "serve-index": "1.9.1", + "standard": "16.0.4", + "standard-version": "9.3.1", + "typescript": "4.4.4", + "webpack": "5.82.1", + "webpack-cli": "4.9.0", + "whatwg-fetch": "3.0.0", + "yargs": "16.2.0" + }, + "files": [ + "dist", + "polyfill", + "index.d.ts" + ], + "keywords": [ + "fetch", + "http", + "url", + "promise", + "async", + "await", + "isomorphic", + "universal", + "node", + "react", + "native", + "browser", + "ponyfill", + "whatwg", + "xhr", + "ajax" + ] +} diff --git a/node_modules/cross-fetch/polyfill/package.json b/node_modules/cross-fetch/polyfill/package.json new file mode 100644 index 00000000..07e1d3ec --- /dev/null +++ b/node_modules/cross-fetch/polyfill/package.json @@ -0,0 +1,8 @@ +{ + "name": "cross-fetch-polyfill", + "version": "0.0.0", + "main": "../dist/node-polyfill.js", + "browser": "../dist/browser-polyfill.js", + "react-native": "../dist/react-native-polyfill.js", + "license": "MIT" +} diff --git a/node_modules/draft-js/CHANGELOG.md b/node_modules/draft-js/CHANGELOG.md new file mode 100644 index 00000000..76c873c7 --- /dev/null +++ b/node_modules/draft-js/CHANGELOG.md @@ -0,0 +1,846 @@ +# Changelog + +Notable changes to Draft.js will be documented in this file. + +Changes to `src` are live in production on facebook.com at the time of release. + +## 0.11.7 (Aug 13th, 2020) + +### Added + +* Allow aria-describedby overriding (Jeff Dickey in 8b8b9c00) +* Add support to create editor state using text string (Abhishek Pandya in fc9395fe) + +### Changed +* Update readme to suggest building with yarn (#2527) (Kevin Chavez in 54213a13) +* Update build, static analysis deps (+ upgrade to fbjs 2.0.0) (#2541) (Kevin Chavez in 5e92a32f) +* Tex example: Update babel to v7 + other deps (#2533) (Kevin Chavez in ce94ecf3) +* Update package.json (#2490) (Michaël De Boey in b79082f9) +* Update media.html (#2452) (fay in a8f44b15) +* Upgrade dependencies in playground example (#2534) (Kevin Chavez in f6bf4ed3) +* feat(docs): Update README.md (#2523) (Darsh Shah in e0fc33eb) +* adds highlight in docs (#2469) (Tunde Thomas in cef61910) +* Update QuickStart-API-Basics.md (#2491) (Michaël De Boey in 170fe23a) +* Update .travis.yml (#2495) (Michaël De Boey in 3eb391e7) +* Update link to Record in docs (#2418) (Rounak Agarwal in 6a55c383) +* Update link to Immutable Map in docs (#2530) (Rounak Agarwal in 31dde91a) +* Upgrade browserify and babel deps in universal example (#2532) (Kevin Chavez in 1c8815a1) +* Upgrade eslint, flow, jest (#2531) (Kevin Chavez in ccd0470b) +* Fix the build by adding an argument to catch statement (Kevin Chavez in 5482c902) +* Conditionally invokes URI.tryParseURI in OSS code (Claudio Procida in 36de6f1f) +* formatPastedText prop (Laura González in 9a9ccbd5) +* fix pasting invalid links (Frank Thompson in 862a5b2b) +* chore(dependabot): adds examples directories separately (#2505) (Claudio Procida in fb0eb34c) +* style(website): Removes desaturation (#2504) (Claudio Procida in 2b8edb18) +* Fixes links accessibility by adding underlines (#2497) (R Nabors in 5e17cc24) +* add codes to suppressions in www (Daniel Sainati in 8457ebba) +* update comments in mobile to support error codes (Daniel Sainati in fb728fde) +* Use object shorthand in DraftEditorCompositionHandler (Kevin Chavez in d949433d) +* Force the selection when composition is resolved (#2094) (Robbert Brak in 3be4d372) +* fix(security): Upgrades Docusaurus to address CVE-2020-7662 (#2457) (Claudio Procida in a08a8fa5) + + +## 0.11.6 (June 4th, 2020) + +### Added +* Adds BLM banner (#2454) (claudiopro in 2a0c5bbe) +* HtmlConversion: Add support for telephone links (#2365) (Andrew Lauria in e1e9a0c5) +* 7.C - Block Operations - Consume (Shalabh Vyas in 99c6b06c) +* Add fromJS() API to Draft model objects (Shalabh Vyas in 3ee5a23e) + +### Changed +* Add Null return value type in code example (#2429) (Jacob D. Castro in 45bb6b52) +* Add /meta/bundle-size-stats to .gitignore (#2436) (Kevin Chavez in e3a689df) +* Update eslint, cross-env and gulp-derequire. Fix version numbers for … (#2437) (Kevin Chavez in 79a25b5c) +* Update Overview.md (#2434) (Mohamed ABDELLANI in e5e293f1) +* Upgrade jest and flow-bin deps (#2435) (Kevin Chavez in 9ac399cc) +* Update cadence for dependabot updates (#2402) (Kevin Chavez in 6619077c) +* Bump alex from 8.0.0 to 8.1.1 (#2407) (dependabot-preview[bot] in 7e604b06) +* Bump fstream from 1.0.11 to 1.0.12 in /examples/draft-0-10-0/tex (#2396) (dependabot[bot] in 1f5d40ec) +* Bump acorn from 6.0.5 to 6.4.1 in /examples/draft-0-10-0/tex (#2376) (dependabot[bot] in 9028881c) +* chore(flow): Updates flow-bin to 0.123 (#2393) (Claudio Procida in 497a4787) +* Short-circuit getUpdatedSelectionState for invalid selection updates on prod (Kevin Chavez in 0585b68f) +* Type selection object in setDraftEditorSelection.js (Kevin Chavez in 31dec710) +* Type selection object in keyCommandBackspaceToStartOfLine.js (Kevin Chavez in aa5c4a19) +* Flow v0.123.0 in www (Panagiotis Vekris in af675755) +* Type selection object in getDraftEditorSelection.js (Kevin Chavez in dfacb1b4) +* Type selection object in editOnBlur.js (Kevin Chavez in 22997144) +* Type selection object in editOnInput. (Kevin Chavez in 41beae1b) +* upgrade to flow 0.122.0 (Marshall Roch in 97dd19b2) +* DraftEntity ID Changes (Shalabh Vyas in 13989e31) +* use pasted block type if pasting to empty unstyled block (Frank Thompson in 7d3d3c8f) +* Update deps for and cleanup playground example (#2368) (Kevin Chavez in 2658dd60) +* Only extend selection if it has ranges in setDraftEditorSelection.js (Kevin Chavez in d53fa7ab) +* Update draft.js on website to v0.11.5 (#2370) (Kevin Chavez in 538d864e) +* Make a few types exact (Kevin Chavez in 0950285d) +* Remaining non-generated non-reason-parsed files (Jordan Brown in 153482ff) + +### Fixed +* Fix draft-js pasted inline styles (Giulio Jiang in 92176ab2) +* docs: in react hooks example, limit createEmpty calls (#2432) (Benjamin Atkin in 05e838e6) +* Revisit comment for todo of T65805998, validate there's nothing to worry about (Kevin Chavez in 268ece35) +* html/shared/draft-js/model/transaction (generatedunixname89002005287564 in c75f1e4c) +* types-first in html/js/mobile (Panagiotis Vekris in e66f39ef) +* Address #2413 by making Firefox follow the same behaviour as Chrome (#2414) (Kevin Chavez in 6d619c61) +* Prevent placeholder from unnecessarily wrapping (#2392) (Frank Yan in 9d6bbfdc) +* docs: Fix simple typo, sibbling -> sibling (#2384) (Tim Gates in d1cb1e77) +* Fix build by adding missing modules (Kevin Chavez in fbe3417e) +* Fix flow by allowing optional chaining (#2369) (Kevin Chavez in 85764327) + +## 0.11.5 (Mar 26, 2020) + +### Removed +* Remove examples for draft.js 0.9.0 (#2358) (Kevin Chavez in fd16d8e2) + +### Changed +* Update deps in 'universal' example (#2362) (Kevin Chavez in dc8bfbb2) +* Remove unused Flow suppressions in WWW (George Zahariev in 3858858b) +* Improve types for EditorState (Kevin Chavez in 792bd3ab) +* Don't SSR example editor on website. (#2356) (Kevin Chavez in 9191a3f2) +* Deprecate Travis Bot files and configuration (Chris Lüer in 6c1c6544) +* Require ReactDOMComet instead of ReactDOM (Dan Abramov in 66301633) +* Strictify DraftEditorLeaf.react.js (Kevin Chavez in b4a1db99) +* Make decodeEntityRanges flow strict (Kevin Chavez in 7af73b70) +* Move key to static argument instead of spread (Sebastian Markbage in d6527a95) +* "ecmascript" => "ECMAScript" (#2327) (Agastya Chandrakant in 6cfed736) +* Abstract ReactDOM as ReactDOMComet (Sebastian Markbage in 24339f12) +* Prevent (but not fix) ‘Cannot read property 'getIn' of undefined’ in getUpdatedSelectionState (Steven Luscher in a9fcbb20) +* Make some more modules strict(-local) (Kevin Chavez in c30ca735 and 70025659) +* Update webpack deps (#2310) (Kevin Chavez in 0131e1d5) +* Remove unused gulp task remained from docusaurus 2 migration (#2308) (Kanitkorn S in 963e3126) +* Re-write `DraftEditorExample` in the website using react hooks (#2287) (Kevin Chavez in 9b9376bd) +* Add a preventScroll prop (Dan Abramov in 3ba907bb) +* Add editorRef prop to DraftEditor (Dan Abramov in 8c500424) +* Remove findDOMNode from DraftEditorBlockNode (Sebastian Markbage in 0dd39781) +* Remove findDOMNode in DraftEditorDragHandler (Sebastian Markbage in c1a55ceb) +* Remove findDOMNode from getContentEditableContainer (Sebastian Markbage in 9d587d9f) +* Upgrade to Flow explicit inexact object type syntax (Jordan Brown in b051fc1b) +* Upgrade eslint + flow, and fix failed test from nullishCoalescingOperator (#2083) (Kanitkorn S in 824fd125) +* chore(travis): bumps node versions used in Travis CI to 10 and 12 (#2300) (Claudio Procida in e711230f) + +### Fixed +* Fix Uncaught TypeError: Cannot read property 'nodeType' of null at editOnInput (#2330) (Konstantin Tarkus in db3216d9) +* Fix keyBindingFn documentation URL (Ryan Silva in 3251017d) +* fix style handling in convertFromHTMLToContentBlocks (Frank Thompson in ad8374d2) +* remove unused flow suppressions (Panagiotis Vekris in 822d2fbd) + +## 0.11.4 (January 7th, 2020) + +### Added +* Add Section and Article to DefaultBlockRenderMap (#2212) (Tarun047 in e20f79f) + +### Changed +* Add rules to .flowconfig for flow strict rules (#2288) (Kevin Chavez in f223799) +* Update website's yarn version to 0.11.3 (Kevin Chavez in efcaf42) +* Prettify docs files (#2275) (Yangshun Tay in 6fc9964) +* Remove Jest auto mocking (#2279) (Yangshun Tay in 817e371) +* Add myself to get TravisCI emails (Kevin Chavez in f4167fe) +* Unit tests for isHTMLBRElement (Claudio Procida in bb81765) +* Remove niveditc from Travis CI email (Nivedita Chopra in 7721805) +* Create CNAME (#2276) (Yangshun Tay in 92680be) +* Upgrade to Docusaurus 2 (#2268) (Yangshun Tay in 5b10191) +* move alex to dev dependencies (#2272) (Ilya in b889d5d) +* Improve docs syntax and formatting (#2267) (Yangshun Tay in 9b4a628) + +### Fixed +* fix(chore): fixes webpack-stream error with missing catch var declaration (#2291) (Claudio Procida in 4252469) +* IE could not display composer when opening or creating a new group chat from the chat create view (Jainil Parekh in 64b51df) +* Fix DOMObserver mutation data for IE (#2285) (Jainil Parekh in afb708f) +* Added tests and fixed IE IndexSizeError trying to get a range from a selection when there is not one (#2271) (Lauren Wyatt in aa55de2) +* Fix scroll behavior when node has tab chars (#2256) (cdr in 5d37c03) +* Fix docs links in readme (#2284) (Lucas Cordeiro in 3b6d231) +* Fix isHTMLBRElement test (#2278) (Yangshun Tay in 0603772) +* Fix `isHTMLBRElement` check (Jack Armstrong in e869fcb) +* Fix typing Chinese in Edge (#2082) (#2088) (Robbert Brak in 8c0727e) +* Fix Travis website deployment (#2274) (Yangshun Tay in 861aab8) +* getEntityKeyForSelection.js (Kevin Chavez in c07a404) + +## 0.11.3 (December 2nd, 2019) + +### Added +* Take over enhancements to render Draft.js in an iframe (#1938) (Claudio Procida in dceddf5) +* Implement click listener for editor wrapper (#2230) (Max Vyz in 8f77aa3) +* Add linting for insensitive and inconsiderate language (#2223) (Claudio Procida in 5dd99d3) + +### Changed +* Updates to Prettier 1.19.1 (#2265) (Claudio Procida in abcbe20) +* Bump mixin-deep from 1.3.1 to 1.3.2 in /examples/draft-0-10-0/universal (#2259) (dependabot[bot] in 37d281b) +* Upgrade dependencies in /website (#2263) (Kevin Chavez in 0b57720) +* Update dependencies in examples/draft-0-10-0/universal (#2257) (Kevin Chavez in ae2dd14) +* Update dependencies in examples/draft-0-10-0/playground (#2258) (Kevin Chavez in 11bc5d8) +* Prettify files rest of non-intern files in html/ (George Zahariev in 6217dc8) +* add flow declaration in editOnBeforeInput-test.js (Frank Thompson in 0601090) +* Bump lodash.merge from 4.6.1 to 4.6.2 in /website (#2241) (dependabot[bot] in 177db5e) +* Defaulting to createEmpty if block map is empty in createWithContent (Fixes issue #2226) (#2240) (David Fuentes in c42662e) +* Bump handlebars from 4.1.1 to 4.5.1 in /examples/draft-0-10-0/playground (#2242) (dependabot[bot] in 2a761af) +* Suppress non-synced files in www for 0.111 (Jordan Brown in 4bca140) +* Upgrade more deps. (#2239) (Kevin Chavez in a477e83) +* Bump lodash.template from 4.4.0 to 4.5.0 in /examples/draft-0-10-0/playground (#2236) (dependabot[bot] in 0e03745) +* Bump mixin-deep from 1.3.1 to 1.3.2 in /website (#2234) (dependabot[bot] in 78f20cc) +* Bump lodash from 4.17.11 to 4.17.15 in /website (#2233) (dependabot[bot] in da1ab7c) +* Updated browser icons in README (#2238) (SuNNjek in 6ed6ed4) +* Bump mixin-deep from 1.3.1 to 1.3.2 in /examples/draft-0-10-0/playground (#2235) (dependabot[bot] in 2744ff7) +* Upgrade 8 dependencies (including jest, @babel/core, etc). (#2237) (Kevin Chavez in 46103ac) +* Upgrades ESLint and related plugins/configs. (#2231) (Kevin Chavez in 53d2a63) + +### Fixed +* fix wrong property access in convertFromHTMLToContentBlocks (Frank Thompson in 7d26fab) +* Fix draftjs type error for event (Jack Armstrong in e7ae2e7) +* fix decorator handling in editOnBeforeInput (Frank Thompson in 1452b87) +* fixes #304, kudos to @andpor (#2197) (Ante Beslic in 2908035) +* Fix playground example import (#2220) (Ryan Lee in 778e88d) +* Fix React warnings (#2221) (Alan Norbauer in 2595016) + +### Meta +* deploy v112 to www (Daniel Sainati in ae542b7) + +## 0.11.2 (September 30th, 2019) + +### Changed + +* Upgrade to Flow strict-local (generatedunixname89002005287564 in 0c92bf7) +* chore(website): updates stylesheet for 0.11.1 (#2188) (Claudio Procida in 543df66) +* Prepare 0.11.1 (#2186) (Claudio Procida in 3adf593) + +### Fixed + +* fix(selection): Returns previous selection if either leaf is null (#2189) (Claudio Procida in fe68e43) + +## 0.11.1 (September 19th, 2019) + +### Added +* Support post processor on paste entities. (Tee Xie in 3043573) +* Adding 'preserveSelectionOnBlur' prop (#2128) (Matthew Holloway in db792ef) + +### Changed +* Reaping draft_segmented_entities_behavior (Mohamed Moussa in cd4adaa) +* Make insertIntoList strict-local (Kevin Chavez in db64f93) +* Adopt Contributor Covenant (Paul O'Shannessy in 2c61167) +* Flowify editOnKeyDown.js (Kevin Chavez in 8473e41) +* (Flowify) decodeInlineStyleRanges.js (Kevin Chavez in 20a619c) +* Flowify editOnInput.js (Kevin Chavez in 594a14f) +* Flowify editOnBlur.js (Kevin Chavez in 6972278) +* updated function description for onEditInput event handler function (#2132) (Mukesh Soni in 14349f1) +* updated hastext method to not account for zero space width chars (#2163) (Ajith V in 85aa3a3) +* Encode non-ASCII characters in all snapshot tests (Daniel Lo Nigro in 734bd82) +* @flow -> @flow-strict for html/shared (Runjie Guan in 0375c0e) +* Revert D16421104: [rfc][draft-js] catch errors when encoding entity map (Frank Thompson in 8e9cabf) +* catch errors when encoding entity map (Frank Thompson in 259d122) +* Revert D16362778: [rfc][draftjs] catch errors when encoding entity map (Frank Thompson in 96e7f25) +* catch errors when encoding entity map (Frank Thompson in c0e911c) +* Flow-type DataTransfer.js (Kevin Chavez in ed09f78) +* All these modules can actually be strict (Kevin Chavez in bc716b2) + +### Fixed +* convertFromHTML breaks after converting \n string, issue #1822 (#1823) (Sannikov in 9246cc7) +* Fixes HTML importer to make image entity immutable (#2184) (Claudio Procida in b858f43) +* Fixing js example and cleaning up one sentence (#2172) (Liz LeCrone in 819f58c) +* Reaping draft_killswitch_allow_nontextnodes (generatedunixname89002005287564 in 0e2e9a7) +* Fix for workchat composer cursor jumping (Jainil Parekh in aed35d2) +* Fix various grammatical errors (#2158) (Jordan Lee in 1ff8c8c) +* Composer: Not assuming element has leaves (Nitzan Raz in ce8bdd0) +* Update jsfiddle links with recent versions of the Draft and React (#2145) (Günay Mert Karadoğan in 22b7599) +* Changes reference to BSD license to MIT (#2130) (claudiopro in 4064cae) +* Updates CHANGELOG for v0.11.0 (#2052) (Claudio Procida in 973f7ff) +* Fixed a bug causing block data being over-written when pasted. (Tee Xie in 82e2135) +* Merge pull request #2113 from danielo515/patch-1 (Claudio Procida in 0e88544) +* Update ShipIt Sync (Claudio Procida in 0f138d1) + +## 0.11.0 (July 9th, 2019) + +### Added +* Adds support for nullish coalescing operator (#2076) (Claudio Procida in 96c7221) +* Add import statements for hooks-example in README (#2075) (Bennett in 943f6dc) +* Unit tests for DraftStringKey (Claudio Procida in 978ad6b) +* Adding Hooks in docs (#2004) (Charles ⚡ in f9f5fd6) +* Exports `isSoftNewlineEvent` as static method of `KeyBindingUtil` (Kevin Hawkinson in aede823) +* Add live demo to README.md (#1907) (PLa in 6db3726) +* added highlighting (`` tag) to draft js html to content block converter (Isaiah Solomon in 37f2f2a) +* Relicense under MIT and remove patents grant (#1967) (Claudio Procida in 585af35) +* Ctrl-K at end of line should delete newline (Sophie Alpert in 6455493) +* Add type annotations to `React.Component` classes in html/shared (Paco Estevez Garcia in 2e3a181) +* Add return type annotation to `addEmojiInput` (Sam Goldman in 280d242) +* Unstyle empty list item on Enter key (#769) (Eric Biewener in a0267a9) +* Allow Option+Space to be handled on OSX Chrome (#1254) (Colin Jeanne in 022bcf7) +* Added information about nature of block keys (#1892) (Prateek Nayak in 8ad59c4) +* Add flow to files (Nivedita Chopra in d87e093) +* Docs: add explicit deprecation notes to Entity methods (#1787) (vinogradov in cc6b897) +* Clarifies editor example, changes height to min-height (#1889) (Claudio Procida in 67d6fda) +* Improves editor overview example with min height and border (#1887) (Claudio Procida in b8862fd) +* Adds iframed editor example (#1879) (Claudio Procida in 8d5cbbe) +* Perform untab on backspace for nested items (Nivedita Chopra in 0688fa3) +* Support custom block rendering (Nivedita Chopra in fbe2267) +* Updates favicons and launcher icons with Draftjs logo (#1872) (Claudio Procida in d9c9d40) +* Merge successive non-leaf blocks resulting from tab (Nivedita Chopra in fbd18ce) +* Merge successive non-leaf blocks resulting from untab (Nivedita Chopra in 36e588a) +* Unnest the first non-leaf child (Nivedita Chopra in 0cb3804) +* Implement untab operations (Nivedita Chopra in 77e6844) +* added favicon (#1871) (saranshkataria in b9dd551) +* Add Algolia search (#1864) (Yangshun Tay in 1bf2145) +* `KeyBindingUtil`: add `usesMacOSHeuristics` method (#869) (William Boman in 98e7730) +* Export `RawDraftContentState` publicly (#1841) (Cédric Messiant in c6ff39d) +* Implement moveChildUp operation for untab (Nivedita Chopra in e145a2a) +* Allow insertion at a specific point for updateParentChild (Nivedita Chopra in 6b83312) +* Implement onTab in NestedRichTextEditorUtil (Nivedita Chopra in 8d3cfba) +* Add utilty methods for creating a new parent & updating node to become sibling's child (Nivedita Chopra in 6f73657) +* Add utility methods for parent-child & sibling pointer updates (Nivedita Chopra in 0cb80b7) +* Warn visibly when extensions break Draft (Sophie Alpert in c0fb6a8) +* Add data structure invariants for tree data (Nivedita Chopra in ad4f64f) +* Add Draft.js logo to header (Joel Marcey in 0ce20bc) +* Enable deprecated-type rule in www (George Zahariev in dc9fa27) +* Add different counter-style for ordered lists based on their depth (Noam Elboim in d2a3ae8) +* Finish modernizing `convertFromHTMLToContentBlocks` - max nesting bug fix (Noam Elboim in 06c0ee6) +* Finish modernizing `convertFromHTMLToContentBlocks` - upgrade draft-js internals (Noam Elboim in d24b802) +* Finish modernizing `convertFromHTMLToContentBlocks` - nesting bug fix (Noam Elboim in 49bdd85) +* Add docs about `DraftDecoratorComponentProps` (Flarnie Marchan in 7fddfcd) +* Add list block `onTab` test (il kwon Sim in 102701c) +* Integrating experiments on playground (mitermayer in b6ae887) +* Add clarifying comments to `getRemovalRange` (Flarnie Marchan in 28cb4a3) +* Adding Rich Editor to the playground (mitermayer in 227d125) +* Allow indentation beyond one level deeper than block above. (Eric Biewener in 73e5a9c) +* Enabling a GK manager for the plaground (mitermayer in 8eea2c2) +* Bundle size stats (Alan in 5ffce3d) +* Clear block type when pressing backspace (Sophie Alpert in 6a1e2b0) +* added favicon to website (Michael Baldwin in 6cc2d85) +* expose start/end positions of a decorated component within a contentBlock (Matthew Mans in 3a3d34b) +* Add draft js playground (Julian Krispel-Samsel in 18fdffb) + + +### Changed +* Moves test for legacy convertFromHTMLToContentBlocks out of OSS repo (Claudio Procida in 5eb49b1) +* Removes legacy convertFromHTMLToContentBlocks from OSS repo (Claudio Procida in a7d955e) +* Renames convertFromHTMLToContentBlocks2 to convertFromHTMLToContentBlocks (Claudio Procida in d08399b) +* Removes all resolved uses of convertFromHTMLToContentBlocks_DEPRECATED (Claudio Procida in ec43403) +* draft-js: clean up useless divs from HTML when pasting content (Daniel Quadros de Miranda in 0f5427a) +* docs: remove --save flag (#2008) (Mounish Sai in f92d4b1) +* Rename DraftEditorBlock to EditorBlock (#2002) (Umang Galaiya in 8514b57) +* Removes unnecessary eslint disable rules (Claudio Procida in 1ba0764) +* Upgrades react-scripts to ^1.1.5 (#2042) (Claudio Procida in 71ef373) +* Upgrades docusaurus (#2039) (Claudio Procida in 21753fa) +* Removes unused gulp-browserify-thin (#2032) (Claudio Procida in fc3549a) +* Upgrades @babel/core, babel-preset-fbjs, and gulp-util (#2028) (Claudio Procida in 68196f6) +* Deploy 0.94 to www (George Zahariev in 6183935) +* deploy 0.93 (Daniel Sainati in 3400cda) +* Normalize case in `convertFromHTMLToContentBlocks` variable names (Claudio Procida in b4183b1) +* Cleans up and refreshes generated website resources (#1998) (Claudio Procida in bd799f5) +* Upgrades Draft to React 16.8 ⚛️ (#1996) (claudiopro in a97ed7e) +* Adds email notifications for TravisCI builds (#1990) (Claudio Procida in a4cc10d) +* Upgrades flow-bin to 0.91.0 and mutes fbjs joinClasses error � (#1989) (Claudio Procida in e8a281c) +* Update to 0.92.0 (Paco Estevez Garcia in c022efb) +* Update webpack-dev-server & babel version in TeX examples (#1981) (Nivedita Chopra in a3a3585) +* Remove `componentWillReceiveProps` usages in examples (#1952) (Deep in 363f66e) +* Upgrade to Gulp 4 (fixes build) (#1957) (Kevin Chavez in 85ad25c) +* Kill permanent permanently. (Andrey Sukhachev in 236270a) +* Deploy Flow v0.85 to www (Sam Goldman in 744af91) +* flow 0.84 www deploy (Avik Chaudhuri in 59dd225) +* Bring back the ariaOwneeID prop. (#1883) (Andrea Fercia in ce7f677) +* Add Node.js version 10 for CI (#1909) (noelyoo in 4a9a6a8) +* Refactor buffer constructor (#1912) (noelyoo in 11d7379) +* Update Advanced-Topics-Inline-Styles.md (#1902) (Yao Bin in 0b7ec2a) +* Remove flow typing for DraftEntity mock (#1891) (Nivedita Chopra in 75aa88a) +* Flow strict for some files (Nivedita Chopra in bbd3ef1) +* Update documentation concerning immutable updates (#1884) (Connor Jennings in c336ae2) +* Update docs to ensure kebab menu shows subheads (#1885) (Connor Jennings in 2ff0c7e) +* Support npm version 6.x (#1866) (Yangshun Tay in 724fdc6) +* Remove unused var in BlockTree (#1859) (Nivedita Chopra in 0a45fcd) +* Update jest version to latest (#1858) (Nivedita Chopra in b962974) +* Update Advanced-Topics-Entities.md (#1767) (alaoui abdellah in d40ff40) +* Update link to code of conduct (#1855) (Nivedita Chopra in 8c373b6) +* var => const on remaining file (Nivedita Chopra in 022798c) +* Update prettier version to 1.13.6 (#1854) (Nivedita Chopra in e2c24cf) +* Remove Flow Strict Local from files with future sketchy-null errors after bug fix (George Zahariev in c5b785a) +* Remove non-leaf blocks in tree => raw conversion (Nivedita Chopra in f5b2acb) +* Update Docusaurus to 1.3.3 (#1797) (Yangshun Tay in d6a0ac0) +* modify docs overview url (#1802) (Shubham Tiwari in 9f86efb) +* v0.79.1 in www (Panagiotis Vekris in 93a90a9) +* Remove gating on draft_non_native_insertion_forces_selection (Sophie Alpert in 1a5b27a) +* 5/n Disable forward delete across blocks when nested blocks are enabled (Flarnie Marchan in 0600549) +* 3/n Splitting PR #1828: updates to the Rich Text Editor example (#1828) (mitermayer in e98e91e) +* 2/n splitting PR #1828: updating `removeRangeFromContentState` (#1828) (mitermayer in a399e43) +* 1/n splitting PR #1828: Initial forking of `RichTextEditorUtil` (#1828) (mitermayer in 328ddc6) +* Warn if `moveSelectionForward/Backward` called with non-collapsed selection (Flarnie Marchan in 99eca6b) +* codemod jasmine -> jest in html/shared (Aaron Abramov in 7f9299d) +* Remove logo from background circle (#1800) (Paul O’Shannessy in 47ae65a) +* var => const on test files (Nivedita Chopra in 0f58b64) +* Migrate to Docusaurus - Attempt #2 (Noam Elboim in 710919b) +* Remove old decorator fingerprint logic (Sophie Alpert in b2f6ed0) +* Use strict-local in as many files as possible (Miorel Palii in 3798902) +* Pass eventTimeStamp to `handleKeyPress` to allow tracking (Flarnie Marchan in 0ecf9a6) +* Pass synthetic event to `handleBeforeInput` callback (Flarnie Marchan in b86b5ce) +* `React.Element` / `React.Element<*>` -> `React.Node` as much as possible (Miorel Palii in a1f4593) +* Change remaining vars to let/const (Nivedita Chopra in 8de2db9) +* Removed `@providesModule` tags and dependencies from draft-js (Rubén Norte in ee2e9c8) +* Add `@providesModule` back to draft-js modules (Ashley Watkins in 05b2b4c) +* Add common Flow type for decorator components (Ashley Watkins in 8000486) +* Add `@providesModule` back to draft-js modules (Rubén Norte in 4c4465f) +* Removed `@providesModule` tag from non-generated files in html/shared directories (1/1) (Rubén Norte in 293f262) +* 2/n Remove last vestiges of cWU (Flarnie Marchan in e954091) +* 1/n Move `blockSelect` flag out of cWU (Flarnie Marchan in 0f6199d) +* Upgrade to Flow v0.68.0 (Sam Goldman in a99f51e) +* Strict-ify files that can be strict-ified with no additional changes (Miorel Palii in 22f9c52) +* rename-unsafe-lifecycles (Brian Vaughn in 8b3e8c9) +* Refactor `convertFromHTMLtoContentBlocks` (Nicolas Champsavoir in 732b69d) +* Making gkx overwrittable (mitermayer in 7495adf) +* 2/n Do update `blockSelectEvents` flag, during render (Flarnie Marchan in e571268) +* 1/n remove GK on `flushSync` (Flarnie Marchan in 4241f43) +* Playground - Making sure blockMap should always visible by default (mitermayer in 7eb2a50) +* Move uglifyjs-webpack-plugin to devDependencies (Thibaud Colas in 4de1345) +* Making a more sane .gitignore (mitermayer in f4bc3a7) +* Examples cleanup (Ken Hibino in 67f3586) +* Ensure selection collapses if user tries to replace with matching text (Brian Ng in 084bdb6) +* Move `_latestEditorState` assignment back to commit phase (Sophie Alpert in 04c2b9c) +* Remove Node 6 from engines list in package.json (Thibaud Colas in 584d849) +* Update `_latestEditorState` in render too (Flarnie Marchan in 90a8f22) +* Widen logging and add stack trace for IE selection bug (Flarnie Marchan in a6317e6) +* Match block and inline examples for consistency. (cbeninati in e65a8e6) +* Bundle size stats + Misc changes (Alan Norbauer in 0a1f981) +* Remove `componentWillUpdate` under GK (Flarnie Marchan in 7885959) +* try disabling 'blockSelectEvents' flag (Flarnie Marchan in d144883) +* Update site footer from 2017 -> 2018 (Michael Chen in 558352c) +* Make the Flow type of `CompositeDraftDecorator`'s constructor more strict (Steven Luscher in a894030) +* Deprecated the coarse `onArrowUp` et al key handler props on `DraftEditor.react` to make it possible to produce editor commands from these keys (Steven Luscher in dc5ca7f) +* Wrap Draft handlers in `flushControlled` instead of `flushSync` (Andrew Clark in cda13cb) +* Update docs/APIReference-Editor.md (Sai Kishore Komanduri in 27a5f10) +* Bumping internal flow version (mitermayer in 342a51a) +* Switch from `DraftFeatureFlags` to gkx() (Sophie Alpert in 07eb9c4) +* Add `flushSync` to Draft.js for *only* GK folks (Flarnie Marchan in 26040e5) + +### Fixed +* Fixed drag and drop `.length` error (#2117) (job in 2487e7d) +* Fix broken id anchor (#2095) (Sajad Torkamani in eddcc55) +* Typo corrected - Overview.md (#2089) (Jonathan Erlich in 87a812d) +* fix: set to nested list items to right depth (Kevin Li in 12c4480) +* fix(styles): avoid permanently accumulating attribute styles (Kevin Li in 7cfb055) +* Fixes runtime error when cutting empty selection at the end of the content (Claudio Procida in 23fc70f) +* Fixing major Android editing issues (#2035) (Fabio M. Costa in 634bd29) +* Fix broken link in Overview.md (#2062) (seojeee in e8e0bcf) +* Fix failing `DraftStringKey` test (#2064) (Claudio Procida in fe4e266) +* Fixes require order lint issues /2 (Claudio Procida in 76e121e) +* Fixes require order lint issues (Claudio Procida in e2c5357) +* Fix the issue of draft JS does not do copy and paste correctly with custom entities. (Tee Xie in d09ef3e) +* fix typo in README.md (#2055) (Tanner Eustice in 75a89ff) +* rename `*.test.js` to `*-test.js` to match naming convention (Aaron Abramov in dc58df8) +* Convert some of draftjs' `ReactDOM.findDOMNode` to refs (#2051) (Dennis Wilkins in 1fae34f) +* Correct warning condition (#2049) (Ben Gardner in ffd8f59) +* Fix npm run dev (#2030) (Fabio M. Costa in 3c01ef6) +* Specify correct type of `joinClasses` (George Zahariev in 7b9a7e1) +* Restores flow error suppression for fbjs@1.0.0 (#2014) (Claudio Procida in 6a26a82) +* Fix leading line feed conversion (Guillaume Aubert in 5081c87) +* Handles `
` tags in refactored HTML converter (Claudio Procida in fdf63aa) +* Typo fix in code comment (#1997) (Deniz Susman in e84e757) +* Fix bad destructuring when content block key has a `-` (#1995) (Jan Karlo Dela Cruz in c21a9f7) +* Fix typo in code comment for DraftEditor (#1991) (Deniz Susman in 7167210) +* Fixes lint warnings in `convertFromHTMLToContentBlocks2` tests (Claudio Procida in e942ee9) +* Update fbjs to 1.0.0 to fix ReDos Vulnerability (#1978) (Anthony Muscat in 9b2a366) +* Normalize copyright headers to BSD + patents grant and drop the year (#1964) (Claudio Procida in 642aa11) +* Fixes flow error (#1962) (Claudio Procida in fb7882b) +* Remove unused suppression comments from www as of v0.89 (Gabe Levi in 8dd6dda) +* Add correct type annotations to DraftEditor.react.js (Paco Estevez Garcia in 83edf02) +* Fix `$FlowFixMe` type not working for CI builds of draft-js (Paco Estevez Garcia in 81f92ee) +* Annotate exports codemod on html/shared (Paco Estevez Garcia in 7cb10f9) +* Revert D13097194: [codemod][types-first] Add type annotations to html/shared (Craig Phillips in 010fce7) +* Add type annotations to html/shared (Paco Estevez Garcia in 6f4102d) +* Fix all 'curly' violations (Paul O'Shannessy in ab199ef) +* Fix tex and universal examples crash because of different React versions (#1756) (#1931) (Thibaud Colas in 7dddded) +* Fix typo (#1913) (noelyoo in 1d3c77f) +* Fixes some drag-n-drop problems (#1599) (Denis Oblogin in 20a0f73) +* Bug/1668 (#1691) (Alexis H in 1d2d854) +* Fix SelectionState’s `hasEdgeWithin` (#1811) (Andrew Branch in 7666e95) +* Fix drop issue (#1725) (LaySent in 800d6b5) +* fixes #868 (#1878) (Julian Krispel in 6ba124c) +* Fix check for tree blocks (Nivedita Chopra in 690f7ef) +* Fix bug in merge blocks (Nivedita Chopra in 7daa87e) +* Fix raw to tree conversion (Nivedita Chopra in 8ac1922) +* Bug Fix - Remove deleted block from its parent's children (Nivedita Chopra in 02e0e00) +* Fix small typo (#1865) (Valentin Hervieu in 8bb9c6c) +* Fix paste handling for images with `role="presentation"` (Jainil Parekh in 6df3808) +* Minor fix in entities docs (#1534) (Alastair Hole in 9f0d115) +* Fixes incorrect docs, see #1497 (#1837) (Matt Greenfield in a18b6fe) +* Fixes warning for missing keys in example color controls (#1853) (Claudio Procida in 4a5ad07) +* Fix Lint errors for type imports (Nivedita Chopra in e6c693c) +* Fix Travis breakage caused due to unimported `idx` module (Nivedita Chopra in 3306ddf) +* Fix `DraftTreeAdapter` to respect the tree invariants (Nivedita Chopra in 39be488) +* Inline call to `gkx` to combat fatal in `ContentState` (Steven Luscher in a6c9ffd) +* Handle ReactDOM type errors (Ashley Watkins in 9130859) +* Fix tree invariants test (#1836) (Nivedita Chopra in 05208a8) +* Fix unlucky failures in character replacement (Sophie Alpert in ae25b8f) +* Regression test for bug with nested block and deleting (Flarnie Marchan in 2d7ad18) +* Tree Data - Fix for backspace at the start of a nested block (Nivedita Chopra in cf48f77) +* Tree Data - Don't update pointers if range is within the same block (Nivedita Chopra in f3d3490) +* Fix Draft input cursor jumping to the end (Dan Abramov in 37dadd3) +* Fix tests to be independent on the implementation of invariant (Matthew McKeen in 81cc54b) +* Re-apply order-requires linter on html/shared/ (Dave Alongi in 0bb8d76) +* Auto-fix `prefer-const` ESLint rule (3/n) (Miorel Palii in bf1a028) +* Auto-fix all auto-fixable eqeqeq problems (Miorel Palii in eea70f4) +* Fixing Docusaurus migration issues (Noam Elboim in 72ad814) +* Fix block tree before/after comparison (Sophie Alpert in fa88ee1) +* Fixed license, Flow and lint issues in draft-js (Rubén Norte in 3e9ff8e) +* Actually for real fix the flow type of decorator props (Flarnie Marchan in 7e1a107) +* Workaround for BlockNode variance issue caused by flow transform (#1621) (Bob Ippolito in 1d77500) +* Revert "rename-unsafe-lifecycles" (mitermayer in 6eec8f9) +* Fix typo (Aditya Bhardwaj in 6ef6c66) +* Website: Fixed code highlight (Marcelo Jorge Vieira in 04c667c) +* Fixing tex example (Guilherme Miranda in 900ef76) +* Fix typo (Thomas Broadley in 35b3605) +* Fixing master (mitermayer in 4c12ead) +* Fix Linux keyboard shortcuts (Thomas Nardone in f6fbf1c) +* fix typo in changelog (Flarnie Marchan in 93bc209) + +### Meta +* Add issue triage guidelines to CONTRIBUTING.md (#1896) (Nivedita Chopra in 7df9eb9) +* Add meeting notes for 10/12 (#1901) (Nivedita Chopra in 9a96ab0) +* Add meeting notes from 9/7 (#1862) (Nivedita Chopra in b8ea228) +* Change oncall to draft_js (Nivedita Chopra in fbc8a0c) +* Update biweekly sync meeting notes from February 2018 (Flarnie Marchan in 1ef4044) +* Update weekly meeting notes from Oct. 2017 - Jan. 2018 (Flarnie Marchan in 7017825) + + +## 0.10.5 (January 19th, 2018) + +### Added +* Add support for `ariaDescribedBy` prop, for better a11y. (Suraj Karnati in + [a6af3e15](https://github.com/facebook/draft-js/commit/a6af3e15120e74c8797c5670f5bb63cb45c49a32)) +* Add support for `ariaLabelledBy` prop, for better a11y. ([@jackyho112](https://github.com/jackyho112) + in [#1519](https://github.com/facebook/draft-js/pull/1519)) + +### Changed +* Cause editor to break out of code block when user enters two blank lines. (Hanzhi Zhang + in [548fd5d1](https://github.com/facebook/draft-js/commit/548fd5d1b1c31b7b4c79cd70b101fae69d522b3f)) + +### Fixed +* Preserve list indentation when copying and pasting from one Draft.js editor + into another. ([@GordyD](https://github.com/GordyD) in [#1605](https://github.com/facebook/draft-js/pull/1605)) +* Fix `cannot read property 'update' of undefined` error that was thrown when + typing same character into selection that starts with that character. ([@existentialism](https://github.com/existentialism) in + [#1512](https://github.com/facebook/draft-js/pull/1512)) +* Fix `encodeRawBlocks` to handle non-contiguous entities. Entities should + always be contiguous, and cover one sequential range of characters. However, + in cases where entityState is corrupted to include non-contiguous entities, + `encodeRawBlocks` would improperly process the entities in that case. (Frank + Thompson in [0059dd46](https://github.com/facebook/draft-js/commit/0059dd46f4d23af7d9803316aa93d8deddb5e8ae)) +* Updated CSS for DraftEditorPlaceholder to support multiline placeholder (Gaurav Vaish in + [c38b0285](https://github.com/facebook/draft-js/commit/c38b028513214416d66a3fdf191745dfde04ed2b) +* Fix issue where typing at the end of a link caused the link to continue. (Ian + Jones in + [d16833b3](https://github.com/facebook/draft-js/commit/d16833b3dae77ccf13e3af7f5e42c8131b0d1d2c)) +* Fix regression of bug where clicking a link caused the focus to move but the +selection state was not cleared, leading to a 'node not found' error. + ([@flarnie](https://github.com/flarnie) + in [55316176](https://github.com/facebook/draft-js/commit/553161761903bed7fad971d73e1fe04bb0ff360e)) +* Loosen Flow type definition for DraftBlockType to allow user-defined custom + block types. ([@mitermayer](https://github.com/mitermayer) + in [#1480](https://github.com/facebook/draft-js/pull/1480)) + +## 0.10.4 (October 24th, 2017) + +### Added +* Expose `onRightArrow` and `onLeftArrow` props to allow handling keyboard + events when right or left arrow is pressed. + ([@eessex](https://github.com/eessex) + in [#1384](https://github.com/facebook/draft-js/pull/1384)) +* Expose Draft.css as default CSS export in package.json for use by CSS + preprocessors. ([@darobin](https://github.com/darobin ) + in [#566](https://github.com/facebook/draft-js/pull/566)) + +### Changed +* Change 'lookUpwardForInlineStyle' from O(n^2) to O(n), improving performance. + :) ([@Lemmih](https://github.com/Lemmih) + in [#1429](https://github.com/facebook/draft-js/pull/1429)) + +### Fixed +* Fix bug where editors inside draggable parent were broken for Safari. + ([@mattkrick](https://github.com/mattkrick) in + [#1326](https://github.com/facebook/draft-js/pull/1326)) +* Stop pulling in Enzyme as production dependency. D'oh. + ([@flarnie](https://github.com/flarnie) in + [#1415](https://github.com/facebook/draft-js/pull/1415)) +* Fix `TypeError: Cannot read property 'nodeType' of undefined` error where + `anchorNode` was `undefined`. + ([@tleunen](https://github.com/tleunen) in + [#1407](https://github.com/facebook/draft-js/pull/1407)) +* Fix error thrown when callback tries to `focus` on editor after it has been + unmounted. ([@mattkrick](https://github.com/mattkrick) in + [#1409](https://github.com/facebook/draft-js/pull/1409)) +* Fix bug where selecting a single character then typing it doesn't replace it. + ([@karanjthakkar](https://github.com/karanjthakkar) in + [#719](https://github.com/facebook/draft-js/pull/719)) +* Clear the block type when backspacing at the start of the first block with + rich text utils. ([@jvaill](https://github.com/jvaill) in + [#748](https://github.com/facebook/draft-js/pull/748)) + +## 0.10.3 (September 28th, 2017) + +### Added +* Allow React 16.\* as peer dependency. ([@nikgraf](https://github.com/nikgraf) + in [#1385](https://github.com/facebook/draft-js/pull/1385)) + +### Fixed +* Fixed bug where using a custom block type without overriding the default block + map threw an error. ([@southerncross](https://github.com/southerncross) in + [#1302](https://github.com/facebook/draft-js/pull/1302)) +* Update dependency on `fbjs` to get fix for bug where `focus()` caused + unexpected scroll ([@flarnie](https://github.com/flarnie) in + [#1401](https://github.com/facebook/draft-js/pull/1401)) + +## 0.10.2 + +### Added +* Added support for `aria-controls` in draft.js ([@jessebeach](https://github.com/jessebeach) in [7f0cab28](https://github.com/facebook/draft-js/commit/7f0cab28386ec4bde8ec6289377bff9e53cd019b)) + +### Changed +* Change `aria-owns` to `aria-controls` in draft.js. ([@jessebeach](https://github.com/jessebeach) in [7f0cab28](https://github.com/facebook/draft-js/commit/7f0cab28386ec4bde8ec6289377bff9e53cd019b)) + * Deprecates support of `ariaOwns` and `ariaOwneeID` props. +* Deprecate use of `ariaHasPopup` prop in draft.js. `ariaExpanded` should be used instead if an input is showing a dropdown with options.([@jessebeach](https://github.com/jessebeach) in [744e9b4e](https://github.com/facebook/draft-js/commit/744e9b4eb4810797a93c66591fea6f9cac533b4b)) +* Pasting an `img` no longer inserts the `src` by default; now inserts image emoji if no decorator is used. ([@aadsm](https://github.com/aadsm) in [0b22d713](https://github.com/facebook/draft-js/commit/0b22d713d556ccc4820850099ad6231493b3f7aa) and [@flarnie](https://github.com/flarnie) in [1378](https://github.com/facebook/draft-js/pull/1378)) + +### Fixed + +* Fix issue where selection state was not cleared on blur and refocus of the + editor. ([@sophiebits](https://github.com/sophiebits) in + [19b9b1c5](https://github.com/facebook/draft-js/commit/19b9b1c5007bcb3a4111ea31f8d9a8cda629a1ff)) +* Fix issue where pasting code into code block defaulted to plain text, and + styles were dropped from pasted blocks in general. + ([@bumbu](https://github.com/bumbu) in + [e8d10112](https://github.com/facebook/draft-js/commit/e8d101121fb9dd9203a46d899124a7be4b0b2936)) +* Fix issue where Flow was not running with some 'import' statements ([@flarnie](https://github.com/flarnie) & [@yuku-t](https://github.com/yuku-t) in [#1263](https://github.com/facebook/draft-js/pull/1262)) +* Fix bug where Draft threw when two keys were pressed at same time in React 16 async mode ([@sophiebits](https://github.com/sophiebits) in [1c6a49b8](https://github.com/facebook/draft-js/commit/1c6a49b8801183fe0c29458626c0b5dbe1238e59)) +* Fix recent Chrome bug where tab causes error ([@sophiebits](https://github.com/sophiebits) in [5863399a](https://github.com/facebook/draft-js/commit/5863399a3a1bcbbe9b090249504a70496a7af7cc)) +* Fix "Refs must have owner" error when multiple copies of React are used ([@mks11](https://github.com/mks11) in [#925](https://github.com/facebook/draft-js/pull/925)) +* Fix issue where AT could treat 'return' as submit in Draft ([@jessebeach](https://github.com/jessebeach) in [#1295](https://github.com/facebook/draft-js/pull/1295)) +* Don't allow `aria-expanded` to be true unless the aria role is combobox ([@jessebeach](https://github.com/jessebeach) in [3494d45d](https://github.com/facebook/draft-js/commit/3494d45d32b64d6e82e4b3e8fcade6a2b5c6bd46)) +* Fix pesky "This Selection object doesn't have any Ranges" bug ([@sophiebits](https://github.com/sophiebits) in [96688e10](https://github.com/facebook/draft-js/commit/96688e10b22a778c76e03009da4b9f3d05eba5f7) and [036e3a84](https://github.com/facebook/draft-js/commit/036e3a848e3593c97f4c3011e1ddc045e128a7af)) +* Fix bug where pasting `img` with large data URL source could crash editor ([@aadsm](https://github.com/aadsm) in [0b22d713](https://github.com/facebook/draft-js/commit/0b22d713d556ccc4820850099ad6231493b3f7aa)) + +## 0.10.1 + +### Added + +* Support UMD in dist output format (#1090) +* Expose textDirectionality prop +* Expose props disabling auto-correct, auto-complete, auto-capitalize +* Add `editorKey` prop for SSR +* Pass `block` to `customStyleFn` callback +* Added `moveAtomicBlock` to `AtomicBlockUtils` + +### Fixed + +* Fix some cases of "Failed to execute 'setStart' on 'Range" bug (#1162) +* Fix Chrome text deletion bug (#1155) +* Pass fresh editorState to edit handlers (#1112 and #1113) +* Fix for text insertion bugs in Android 5.1 +* Correctly delete immutable and segmented entity content when at the edge of a + selection + * Fix bug where all text except first letter was dropped in IE11 + * Fix bug where starting new line incorrectly toggled inline style + * Fix 'getRangeClientRects' to work around [webkit selection bounding rect + bug](https://www.youtube.com/watch?v=TpNzVH5jlcU) + +## 0.10.0 (Dec. 16, 2016) + +### Added + +* Add improved API for entity manipulation to contentState +* Add deprecation warnings to old Entity module API +* Add image support to convertFromHTML +* Add option of 'aliasedElements' in block render map + +### Changed + +* This version supports both the old and new Entity API; we + are deprecating the Entity module in favor of + using contentState. See [the migration guide.](https://draftjs.org/docs/v0-10-api-migration.html#content) + +### Fixed + +* Fix bug where block data was not removed when deleting atomic block +* Fix bug preventing pasting from clipboard +* Fix dead key deletion and deletion in 2-Set Korean +* Fix ContentState.createFromBlockArray to allow taking an empty array +* Improve typing in Korean on Windows + +## 0.9.1 (September 16, 2016) + +### Added + +* `customStyleFn` for more control over inline style ranges + +### Fixed + +* Update Flow version +* Fix flow error in DraftEditorDragHandler + +## 0.9.0 (September 13, 2016) + +### Changed + +* Return 'handled' or 'not-handled' from cancellable handlers callback + * Boolean return value is deprecated +* Expand and update documentation + +### Fixed + +* Fix selection of atomic block when it is the last block +* Preserve the depth of custom block types when converting to raw +* Stop mutating component children when creating blocks with wrapper elements + +## 0.8.1 (August 12, 2016) + +### Fixed + +* Include `object-assign` in npm dependencies +* Include `babel-core` in npm dependencies of tex example + +## 0.8.0 (August 8, 2016) + +### Added + +* `customStyleFn` for more control over inline style ranges +* Uses `internalClipboard` for Safari +* Metadata for `ContentBlock` objects +* `convertFromHTMLToContentBlocks`: + * Support for `mailto` protocol for links + * Support "unset" inline styles +* Run ESLint on examples + + +### Changed + +* Removed redundant ESLint module in TeX example +* Update Travis CI config for readability, Node v4 requirements, and pruning/updating npm dependencies +* Use `immutable` ~3.7.4 to avoid Flow errors in updated versions +* Modify `getSelectionOffsetKeyForNode` to search for nested offset-annotated nodes +* Upgrade eslint to 3.0.1, use fbjs config +* Update to Flow 0.28 +* Jest + * Update to 12.1.1 + * Replaced `jest.fn().mockReturnValue(x)` with `jest.fn(() => x)` +* Remove extra spaces from the text decoration style +* No longer using `nullthrows` for `blockRenderMap` +* `convertFromHTMLToContentBlocks`: + * Improved variable names in `joinChunks` + * Additional whitelisted entities such as `className`, `rel`, `target`, `title` + +### Fixed + +* Fix bug where placeholder text was not being erased in Chrome +* Fix bug where double click link in Firefox broke selection +* Kill iOS tooltips +* removed unnecessary `undefined` checks on `DraftEditorLeaf` +* `convertFromHTMLToContentBlocks`: + * Preserve pasted block type on paste + * Strip XML carriage returns and zero-width spaces + * `getBlockMapSupportedTags()` will always return a valid array of tags +* Documentation fixes + +## 0.7.0 (May 3, 2016) + +### Added + +* `blockRenderMap`: A map that allows configuration for the DOM elements and +wrapper components to render, keyed by block type + * Includes configurability of element-to-block-type paste processing + +### Changed + +* Update to Jest 11.0.2 + +### Fixed + +* Change deletion behavior around `atomic` blocks to avoid DOM selection errors +* Properly apply entities across multiple blocks in +* Improve placeholder behavior for a11y +* Properly remove and modify entity ranges during spellcheck changes +* Match Chrome `