Comparing version 3.5.0-next.1591797207.0013fce1350d3be5a11ed98549686de50bc45f22 to 3.5.0-next.1592598315.a0da5e9e63ffeaeb16682bdda7614be27beea617
// Import | ||
import pathUtil from 'https://deno.land/std/node/path.ts' | ||
import * as pathUtil from 'https://deno.land/std/node/path.ts' | ||
import ignorePatterns from 'https://unpkg.com/ignorepatterns@^4.4.0/edition-deno/index.ts' | ||
@@ -4,0 +4,0 @@ |
'use strict' | ||
var __createBinding = | ||
(this && this.__createBinding) || | ||
(Object.create | ||
? function (o, m, k, k2) { | ||
if (k2 === undefined) k2 = k | ||
Object.defineProperty(o, k2, { | ||
enumerable: true, | ||
get: function () { | ||
return m[k] | ||
}, | ||
}) | ||
} | ||
: function (o, m, k, k2) { | ||
if (k2 === undefined) k2 = k | ||
o[k2] = m[k] | ||
}) | ||
var __setModuleDefault = | ||
(this && this.__setModuleDefault) || | ||
(Object.create | ||
? function (o, v) { | ||
Object.defineProperty(o, 'default', { enumerable: true, value: v }) | ||
} | ||
: function (o, v) { | ||
o['default'] = v | ||
}) | ||
var __importStar = | ||
(this && this.__importStar) || | ||
function (mod) { | ||
if (mod && mod.__esModule) return mod | ||
var result = {} | ||
if (mod != null) | ||
for (var k in mod) | ||
if (k !== 'default' && Object.hasOwnProperty.call(mod, k)) | ||
__createBinding(result, mod, k) | ||
__setModuleDefault(result, mod) | ||
return result | ||
} | ||
var __importDefault = | ||
@@ -10,3 +47,3 @@ (this && this.__importDefault) || | ||
// Import | ||
const path_1 = __importDefault(require('path')) | ||
const pathUtil = __importStar(require('path')) | ||
const ignorepatterns_1 = __importDefault(require('ignorepatterns')) | ||
@@ -22,3 +59,3 @@ /** | ||
// Prepare | ||
const basename = path_1.default.basename(path) | ||
const basename = pathUtil.basename(path) | ||
// Test Paths | ||
@@ -25,0 +62,0 @@ if (opts.ignorePaths) { |
{ | ||
"title": "IgnoreFS", | ||
"name": "ignorefs", | ||
"version": "3.5.0-next.1591797207.0013fce1350d3be5a11ed98549686de50bc45f22", | ||
"version": "3.5.0-next.1592598315.a0da5e9e63ffeaeb16682bdda7614be27beea617", | ||
"description": "Ignore common and custom patterns of the file system", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/bevry/ignorefs", |
// Import | ||
import pathUtil from 'path' | ||
import * as pathUtil from 'path' | ||
import ignorePatterns from 'ignorepatterns' | ||
@@ -4,0 +4,0 @@ |
29116
248