Son CV dans un terminal web en Javascript! https://terminal-cv.gregandev.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
terminal-cv/node_modules/@parcel/utils/lib/dependency-location.js

21 lines
561 B

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = createDependencyLocation;
function createDependencyLocation(start, specifier, lineOffset = 0, columnOffset = 0, // Imports are usually wrapped in quotes
importWrapperLength = 2) {
return {
filePath: specifier,
start: {
line: start.line + lineOffset,
column: start.column + columnOffset
},
end: {
line: start.line + lineOffset,
column: start.column + specifier.length - 1 + importWrapperLength + columnOffset
}
};
}