Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuekit

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuekit - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

package.json
{
"name": "nuekit",
"version": "0.3.1",
"version": "0.3.2",
"description": "The closer-to-standards web framework. Build sites and apps with less effort.",

@@ -5,0 +5,0 @@ "homepage": "https://nuejs.org",

@@ -25,3 +25,3 @@

- [Hybrid app routing and page routing](https://nuejs.org/docs/concepts/client-side-navigation.html)
- [Modular layout components](https://nuejs.org/docs/concepts/layout-components.html)
- [layout components](https://nuejs.org/docs/concepts/layout-components.html)
- [JS/TypeScript modules](https://nuejs.org/docs/concepts/js-modules.html)

@@ -28,0 +28,0 @@ - [Content collections](https://nuejs.org/docs/concepts/content-collections.html)

@@ -25,11 +25,11 @@

// update (if changed)
// patch (with primitive DOM diffing)
if (a && b) {
if (a.outerHTML != b.outerHTML) a.replaceWith(b)
// remove
// remove original
} else if (a) {
a.remove()
// add
// add new one
} else {

@@ -36,0 +36,0 @@ const fn = query == 'footer' ? 'append' : 'prepend'

@@ -51,4 +51,5 @@

if (!path) throw { errno: -2 }
const buffer = await fs.readFile(join(root, path))
res.writeHead(code || 200, { 'content-type': TYPES[ext] || TYPES.html })
res.end(await fs.readFile(join(root, path)))
res.end(buffer)

@@ -55,0 +56,0 @@ } catch(e) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc