New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@enkidevs/curriculum-helpers

Package Overview
Dependencies
Maintainers
9
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enkidevs/curriculum-helpers - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

8

lib/compact-ast.js

@@ -5,3 +5,9 @@ const assertNode = require('unist-util-assert')

module.exports = function compactAst(ast) {
return map(ast, ({ position, ...rest }) => rest)
return map(ast, (node) => Object
.keys(node)
.filter(key => key !== 'position')
.reduce((n, key) => {
n[key] = node[key]
return n
}, {}))
}

2

package.json
{
"name": "@enkidevs/curriculum-helpers",
"version": "1.1.3",
"version": "1.2.0",
"description": "Helpers for parsing/transforming/compiling Enki Curriculum from and to different formats",

@@ -5,0 +5,0 @@ "main": "index.js",

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