planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

29
node_modules/unist-util-position/index.js generated vendored Normal file
View File

@@ -0,0 +1,29 @@
'use strict'
var start = factory('start')
var end = factory('end')
module.exports = position
position.start = start
position.end = end
function position(node) {
return {start: start(node), end: end(node)}
}
function factory(type) {
point.displayName = type
return point
function point(node) {
var point = (node && node.position && node.position[type]) || {}
return {
line: point.line || null,
column: point.column || null,
offset: isNaN(point.offset) ? null : point.offset
}
}
}