mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-12-05 17:33:41 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d898d7170 | ||
|
|
7dd69094d1 | ||
|
|
e79e5cd235 | ||
|
|
86a051ca63 | ||
|
|
28d0338ee0 | ||
|
|
3ec9271e83 | ||
|
|
19dd66469c | ||
|
|
43d61fe909 |
Generated
+9
-9
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "ionicons",
|
||||
"version": "5.5.4",
|
||||
"version": "6.0.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ionicons",
|
||||
"version": "5.5.4",
|
||||
"version": "6.0.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@stencil/core": "~2.10.0"
|
||||
"@stencil/core": "~2.16.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^9.0.6",
|
||||
@@ -1134,9 +1134,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@stencil/core": {
|
||||
"version": "2.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.10.0.tgz",
|
||||
"integrity": "sha512-15rWMTPQ/sp0lSV82HVCXkIya3QLN+uBl7pqK4JnTrp4HiLrzLmNbWjbvgCs55gw0lULbCIGbRIEsFz+Pe/Q+A==",
|
||||
"version": "2.16.0",
|
||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.16.0.tgz",
|
||||
"integrity": "sha512-oKxPYxpH1no0oMFSf8EesuFBcn9hVpoqrpiS2WH0H50RKKL8hhKoxDfn/cNeD12L0Aj7kf6nNtexIllmkYG6lw==",
|
||||
"bin": {
|
||||
"stencil": "bin/stencil"
|
||||
},
|
||||
@@ -12396,9 +12396,9 @@
|
||||
}
|
||||
},
|
||||
"@stencil/core": {
|
||||
"version": "2.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.10.0.tgz",
|
||||
"integrity": "sha512-15rWMTPQ/sp0lSV82HVCXkIya3QLN+uBl7pqK4JnTrp4HiLrzLmNbWjbvgCs55gw0lULbCIGbRIEsFz+Pe/Q+A=="
|
||||
"version": "2.16.0",
|
||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.16.0.tgz",
|
||||
"integrity": "sha512-oKxPYxpH1no0oMFSf8EesuFBcn9hVpoqrpiS2WH0H50RKKL8hhKoxDfn/cNeD12L0Aj7kf6nNtexIllmkYG6lw=="
|
||||
},
|
||||
"@szmarczak/http-timer": {
|
||||
"version": "4.0.5",
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionicons",
|
||||
"version": "5.5.4",
|
||||
"version": "6.0.2",
|
||||
"description": "Premium icons for Ionic.",
|
||||
"files": [
|
||||
"components/",
|
||||
@@ -24,7 +24,7 @@
|
||||
"version": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@stencil/core": "~2.10.0"
|
||||
"@stencil/core": "~2.16.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^9.0.6",
|
||||
|
||||
@@ -7,7 +7,7 @@ describe('isValid', () => {
|
||||
const el = {
|
||||
nodeType: 1,
|
||||
nodeName: 'svg',
|
||||
attributes: [{ value: 'onload' }],
|
||||
attributes: [{ name: 'onload' }],
|
||||
childNodes: []
|
||||
} as any;
|
||||
expect(isValid(el)).toBe(false);
|
||||
@@ -17,7 +17,7 @@ describe('isValid', () => {
|
||||
const el = {
|
||||
nodeType: 1,
|
||||
nodeName: 'svg',
|
||||
attributes: [{ value: 'OnClIcK' }],
|
||||
attributes: [{ name: 'OnClIcK' }],
|
||||
childNodes: []
|
||||
} as any;
|
||||
expect(isValid(el)).toBe(false);
|
||||
|
||||
@@ -34,8 +34,8 @@ export const isValid = (elm: HTMLElement) => {
|
||||
}
|
||||
|
||||
for (let i = 0; i < elm.attributes.length; i++) {
|
||||
const val = elm.attributes[i].value;
|
||||
if (isStr(val) && val.toLowerCase().indexOf('on') === 0) {
|
||||
const name = elm.attributes[i].name;
|
||||
if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user