Skip to content

Commit

Permalink
update deps and cdn url
Browse files Browse the repository at this point in the history
  • Loading branch information
danalloway committed Mar 31, 2023
1 parent 530f310 commit 8f56d76
Show file tree
Hide file tree
Showing 11 changed files with 3,126 additions and 6,611 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
node_modules
.cache
dist
.parcel-cache
2 changes: 0 additions & 2 deletions example/.parcel-cache/57b01bbc67f91782.txt

This file was deleted.

Binary file removed example/.parcel-cache/data.mdb
Binary file not shown.
Binary file removed example/.parcel-cache/lock.mdb
Binary file not shown.
1 change: 1 addition & 0 deletions example/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
24 changes: 13 additions & 11 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Playground</title>
</head>

<body>
<div id="root"></div>
<script src="./index.tsx"></script>
</body>
</html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Playground</title>
</head>

<body>
<div id="root"></div>
<script src="./index.tsx" type="module"></script>
</body>

</html>
11 changes: 5 additions & 6 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
{
"name": "example",
"version": "3.0.1",
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "parcel index.html",
"build": "parcel build index.html --public-url ./"
},
"dependencies": {
"react-app-polyfill": "^2.0.0"
"react-app-polyfill": "^3.0.0"
},
"alias": {
"react": "../node_modules/react",
"react-dom": "../node_modules/react-dom/profiling",
"scheduler/tracing": "../node_modules/scheduler/tracing-profiling"
},
"devDependencies": {
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"parcel": "1.12.3",
"typescript": "^4.5.2"
"@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11",
"parcel": "^2.8.3",
"typescript": "^5.0.3"
}
}
6,133 changes: 1,176 additions & 4,957 deletions example/yarn.lock

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.3",
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"gh-pages": "^3.2.3",
"husky": "^7.0.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^7.0.3",
"@size-limit/preset-small-lib": "^8.2.4",
"@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11",
"gh-pages": "^5.0.0",
"husky": "^8.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.2.4",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.5.2"
"tslib": "^2.5.0",
"typescript": "^5.0.3"
}
}
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';

const DEFAULT_CDN_URL =
'https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/4.1.4/flags/4x3/';
'https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/4x3/';
const DEFAULT_CDN_SUFFIX = 'svg';

// offset between uppercase ascii and regional indicator symbols
Expand Down
3,543 changes: 1,919 additions & 1,624 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 8f56d76

Please sign in to comment.