From d051e01954ca2d522449a8625be7a740ad18c0b8 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Wed, 26 May 2021 11:49:07 -0400 Subject: [PATCH] Remove usage of path-posix library. We can use `require('path').posix` which has been around since at least Node 0.12. --- index.js | 2 +- package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index ff1c223..39ffab4 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ 'use strict'; -const path = require('path-posix'); +const path = require('path').posix; const Minimatch = require('minimatch').Minimatch; const arrayEqual = require('array-equal'); const Plugin = require('broccoli-plugin'); diff --git a/package.json b/package.json index 9e30314..6180aad 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "fs-tree-diff": "^2.0.1", "heimdalljs": "^0.2.0", "minimatch": "^3.0.0", - "path-posix": "^1.0.0", "walk-sync": "^2.0.2" }, "devDependencies": {