@stryke/path 0.19.1 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/path",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "type": "module",
5
5
  "description": "A package containing various utilities that expand the functionality of NodeJs's built-in `path` module",
6
6
  "repository": {
@@ -239,20 +239,6 @@
239
239
  "default": "./dist/correct-path.mjs"
240
240
  }
241
241
  },
242
- "./correct-path.spec": {
243
- "import": {
244
- "types": "./dist/correct-path.spec.d.ts",
245
- "default": "./dist/correct-path.spec.mjs"
246
- },
247
- "require": {
248
- "types": "./dist/correct-path.spec.d.ts",
249
- "default": "./dist/correct-path.spec.cjs"
250
- },
251
- "default": {
252
- "types": "./dist/correct-path.spec.d.ts",
253
- "default": "./dist/correct-path.spec.mjs"
254
- }
255
- },
256
242
  "./asset-extensions": {
257
243
  "import": {
258
244
  "types": "./dist/asset-extensions.d.ts",
@@ -294,5 +280,5 @@
294
280
  "main": "./dist/index.cjs",
295
281
  "module": "./dist/index.mjs",
296
282
  "types": "./dist/index.d.ts",
297
- "gitHead": "6772e4e88d48af5c80a74dcc8f6eafafc8ce77d1"
283
+ "gitHead": "70bd678a49290690486da02a1721a3ba179a9867"
298
284
  }
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- var _correctPath = require("./correct-path.cjs");
4
- describe("stripStars", () => {
5
- it("stripStars - single star", () => {
6
- const t = (0, _correctPath.stripStars)("hello/*");
7
- expect(t).toBe("hello");
8
- }), it("stripStars - multiple stars", () => {
9
- const t = (0, _correctPath.stripStars)("hello/**/*");
10
- expect(t).toBe("hello");
11
- });
12
- });
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- import{stripStars as s}from"./correct-path";describe("stripStars",()=>{it("stripStars - single star",()=>{const t=s("hello/*");expect(t).toBe("hello")}),it("stripStars - multiple stars",()=>{const t=s("hello/**/*");expect(t).toBe("hello")})});