Détail du package

aurelia-path

aurelia50.9kMIT1.1.8

Utilities for path manipulation.

aurelia, path

readme

aurelia-path

npm Version Discord Chat Open in Visual Studio Code

This library is part of the Aurelia platform and contains utilities for path manipulation.

To keep up to date on Aurelia, please visit and subscribe to the official blog and our email list. We also invite you to follow us on twitter. If you have questions, please join our community on Discord or use stack overflow. Documentation can be found in our developer hub.

Platform Support

This library can be used in the browser as well as on the server.

Building The Code

To build the code, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:

    npm ci
  3. To build the code, you can now run:

    npm run build
  4. You will find the compiled code in the dist folder, available in three module formats: AMD, CommonJS and ES6.

Running The Tests

To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:

  1. You can now run the tests with this command:

    npm test

changelog

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

1.1.8 (2024-08-11)

Bug Fixes

  • update $ replace with global regexp (#54) (919e134)

1.1.7 (2021-09-26)

Bug Fixes

  • fix: security issue gh closes #44 (7c4e235), closes #44
  • fix(security): prevent proto pollution in simple assignment (d3bb6fa)
  • chore(all): add latest build artifacts (0624b03)
  • chore(all): merge latest release (ac538ac)
  • chore(all): update build process, deps (4aa9088)
  • chore(ci): fix circleci yml (a990648)

1.1.6 (2019-10-15)

Bug Fixes

  • all: change es2015 back to native-modules (3a13e2f)

1.1.5 (2019-09-10)

Bug Fixes

  • all: change es2015 back to native-modules (3a13e2f)

1.1.4 (2019-03-26)

Bug Fixes

  • all: change es2015 back to native-modules (3a13e2f)

1.1.3 (2019-02-04)

Bug Fixes

  • all: change es2015 back to native-modules (3a13e2f)

1.1.2 (2019-01-18)

  • Add module field to package.json.

1.1.1 (2016-09-23)

Bug Fixes

  • index: ensure new traditional param is marked as optional (fc600e5)

1.1.0 (2016-09-22)

Features

  • queries: Build and parse queries also in traditional style

1.0.0 (2016-07-27)

1.0.0-rc.1.0.0 (2016-06-22)

1.0.0-beta.1.2.2 (2016-05-10)

1.0.0-beta.1.2.1 (2016-04-06)

  • Fix for query string return true for param with equal sign on the end
  • Added Unit tests for Fix for query string return true for param with equal sign on the end

1.0.0-beta.1.2.0 (2016-03-22)

  • Update to Babel 6

1.0.0-beta.1.1.1 (2016-03-01)

1.0.0-beta.1.1.0 (2016-01-28)

1.0.0-beta.1 (2015-11-16)

0.11.0 (2015-11-09)

0.10.0 (2015-10-13)

Bug Fixes

  • Path: declare trailingSlash (3b772ff6)
  • all:
  • build:
    • update linting, testing and tools (557f223f)
    • add missing bower bump (869ab8dd)
  • join:
    • respect file protocol with empty host (d51d32b7)
    • add compiled js (46620452)
    • keep trailing slash (3e7ed200)
    • numerous bug fixes to the join algorithm (0114d322)
  • package:
    • update aurelia tools and dts generator (379e53e0)
    • change jspm directories (a12623eb)
  • path:
    • Join protocol independent paths (34655ae4)
    • joining an absolute path fragment with another incorrectly removes the first sla (4111cfef)

Features

  • all: add buildParams for building querystrings. (52b22de6)
  • build: update compiler and switch to register module format (470daf2e)
  • docs: generate api.json from .d.ts file (9362b808)
  • join: add a utility for joining paths (9342f179)
  • query-strings: move query string helpers from route-recognizer so they can be reused (adccb98d)

0.9.0 (2015-09-04)

Bug Fixes

  • build: update linting, testing and tools (557f223f)
  • join: respect file protocol with empty host (d51d32b7)

Features

  • docs: generate api.json from .d.ts file (9362b808)
  • query-strings: move query string helpers from route-recognizer so they can be reused (adccb98d)

0.8.1 (2015-07-29)

  • improve output file name

0.8.0 (2015-07-01)

Bug Fixes

  • package: update aurelia tools and dts generator (379e53e0)

0.7.0 (2015-06-08)

0.6.1 (2015-05-06)

Bug Fixes

  • Path: declare trailingSlash (3b772ff6)

0.6.0 (2015-04-30)

Bug Fixes

0.5.0 (2015-04-09)

Bug Fixes

0.4.6 (2015-03-24)

Bug Fixes

  • path: Join protocol independent paths (34655ae4)

0.4.5 (2015-02-28)

Bug Fixes

  • package: change jspm directories (a12623eb)

0.4.4 (2015-02-27)

  • Update compiler.

0.4.3 (2015-02-11)

Bug Fixes

  • all: rename buildParams to buildQueryString (e6d9ed33)
  • build: add missing bower bump (869ab8dd)

Features

  • all: add buildParams for building querystrings. (52b22de6)

0.4.2 (2015-01-30)

Bug Fixes

  • path: joining an absolute path fragment with another incorrectly removes the first sla (4111cfef)

0.4.1 (2015-01-22)

  • Update compiler.

0.4.0 (2015-01-06)

Features

  • build: update compiler and switch to register module format (470daf2e)

0.3.0 (2014-12-18)

Bug Fixes

  • join: numerous bug fixes to the join algorithm (0114d322)

0.2.0 (2014-12-16)

Features

  • join: add a utility for joining paths (9342f179)