replace yo-yoify with nanohtml

This commit is contained in:
Danny Coates 2018-11-23 13:25:22 -08:00
parent d439dbe168
commit 5845fa5c05
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
3 changed files with 5 additions and 63 deletions

63
package-lock.json generated
View File

@ -981,34 +981,6 @@
} }
} }
}, },
"@f/has": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@f/has/-/has-1.0.1.tgz",
"integrity": "sha1-t08TK/OqpdwECe3+jucjN9bnP74=",
"dev": true
},
"@f/is-svg": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@f/is-svg/-/is-svg-1.0.0.tgz",
"integrity": "sha1-Q0fYy1VBkl+F9WMXSMwx3GRQ70Y=",
"dev": true,
"requires": {
"@f/has": "^1.0.0",
"@f/svg-elements": "^1.0.0"
}
},
"@f/svg-elements": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@f/svg-elements/-/svg-elements-1.0.1.tgz",
"integrity": "sha1-qNMKizODbJiISNKOs8RgXZI1gd0=",
"dev": true
},
"@f/svg-namespace": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@f/svg-namespace/-/svg-namespace-1.0.1.tgz",
"integrity": "sha1-9vGlzl05caSt6RoR0i1MRZrNN18=",
"dev": true
},
"@fullhuman/postcss-purgecss": { "@fullhuman/postcss-purgecss": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@fullhuman/postcss-purgecss/-/postcss-purgecss-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@fullhuman/postcss-purgecss/-/postcss-purgecss-1.1.0.tgz",
@ -2009,21 +1981,6 @@
"babel-runtime": "^6.26.0" "babel-runtime": "^6.26.0"
} }
}, },
"babel-plugin-yo-yoify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/babel-plugin-yo-yoify/-/babel-plugin-yo-yoify-2.0.0.tgz",
"integrity": "sha512-wmNnRBVN3YD14+BqZR4iAxStFEGaJ3oV2x8QTDkYAfA7hc5Auh9dlonQD+DzsnvomNLzsT56zZDvayIlB050+g==",
"dev": true,
"requires": {
"@f/is-svg": "^1.0.0",
"@f/svg-namespace": "^1.0.1",
"camel-case": "^3.0.0",
"hyperx": "^2.3.0",
"is-boolean-attribute": "0.0.1",
"normalize-html-whitespace": "^0.2.0",
"yo-yoify": "^4.0.0"
}
},
"babel-polyfill": { "babel-polyfill": {
"version": "6.26.0", "version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz",
@ -9628,9 +9585,9 @@
} }
}, },
"nanohtml": { "nanohtml": {
"version": "1.2.6", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/nanohtml/-/nanohtml-1.2.6.tgz", "resolved": "https://registry.npmjs.org/nanohtml/-/nanohtml-1.3.0.tgz",
"integrity": "sha512-B7bI5axnIHlXG+wdisUv7Q+yHQv2EUk1tyYMuC6mhc6Ne+yxC7JatSkDZQFiM0k18FeqGTSndYsJODRiMcNmNw==", "integrity": "sha512-RLtiwRrdkuib7tQhJ6BhXYt61FbwsGyaWfx+Wo9PgCI/UOmnT3D9xyoMnPQ1FNUM5wBoqfRszfWvQhO+58J3IQ==",
"requires": { "requires": {
"acorn": "^5.2.1", "acorn": "^5.2.1",
"camel-case": "^3.0.0", "camel-case": "^3.0.0",
@ -20625,20 +20582,6 @@
"fd-slicer": "~1.0.1" "fd-slicer": "~1.0.1"
} }
}, },
"yo-yoify": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/yo-yoify/-/yo-yoify-4.3.0.tgz",
"integrity": "sha512-txj2+d99KbSg3+GvFawb04vwB7dnIvERzxfndOogbiumKlKKbMR+zFyHInZfdGXDswIo7ce3ZExxD4sb8mD87g==",
"dev": true,
"requires": {
"acorn": "^5.0.0",
"convert-source-map": "^1.5.1",
"hyperx": "^2.0.3",
"on-load": "^3.2.0",
"through2": "^2.0.1",
"transform-ast": "^2.2.1"
}
},
"zip-stream": { "zip-stream": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-1.2.0.tgz", "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-1.2.0.tgz",

View File

@ -69,7 +69,6 @@
"asmcrypto.js": "^2.3.2", "asmcrypto.js": "^2.3.2",
"babel-loader": "^8.0.4", "babel-loader": "^8.0.4",
"babel-plugin-istanbul": "^5.0.1", "babel-plugin-istanbul": "^5.0.1",
"babel-plugin-yo-yoify": "^2.0.0",
"base64-js": "^1.3.0", "base64-js": "^1.3.0",
"content-disposition": "^0.5.2", "content-disposition": "^0.5.2",
"copy-webpack-plugin": "^4.5.2", "copy-webpack-plugin": "^4.5.2",
@ -97,6 +96,7 @@
"mocha": "^5.2.0", "mocha": "^5.2.0",
"morgan": "^1.9.1", "morgan": "^1.9.1",
"nanobus": "^4.3.4", "nanobus": "^4.3.4",
"nanohtml": "^1.3.0",
"nanotiming": "^7.3.1", "nanotiming": "^7.3.1",
"npm-run-all": "^4.1.3", "npm-run-all": "^4.1.3",
"nyc": "^13.0.1", "nyc": "^13.0.1",

View File

@ -16,10 +16,9 @@ const webJsOptions = {
} }
] ]
], ],
// yo-yoify converts html template strings to direct dom api calls
plugins: [ plugins: [
'@babel/plugin-syntax-dynamic-import', '@babel/plugin-syntax-dynamic-import',
'yo-yoify', 'module:nanohtml',
['@babel/plugin-proposal-class-properties', { loose: false }] ['@babel/plugin-proposal-class-properties', { loose: false }]
] ]
}; };