projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update to Drupal 8.4.6
[yaffs-website]
/
node_modules
/
rechoir
/
lib
/
extension.js
1
const path = require('path');
2
3
const EXTRE = /^[.]?[^.]+([.].*)$/;
4
5
module.exports = function (input) {
6
var extension = EXTRE.exec(path.basename(input));
7
if (!extension) {
8
return;
9
}
10
return extension[1];
11
};