Package detail

aurelia-pal-nodejs

aurelia23.8kMIT3.0.0-rc.2

The Node.js-specific implementation of Aurelia's platform abstraction layer.

aurelia, pal, nodejs

readme

Aurelia

License: MIT npm Version ci Discourse status Twitter Discord Chat

aurelia-pal-nodejs

This library is part of the Aurelia platform and contains the node-specific implementation of the platform abstraction layer.

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 look around our Discourse forums, chat in our community on Discord or use stack overflow. Documentation can be found in our developer hub.

Platform Support

This library can be used in NodeJS.

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 install
    
  3. To test the code, run:

    npm test
    
  4. To build the code, run:

    npm run build
    
  5. You will find the compiled code in the dist folder in CommonJS module format.

Acknowledgement

This software used a snippet borrowed from browser-env.

changelog

Changelog

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

3.0.0-rc.2 (2024-05-06)

Bug Fixes

  • filter out not writable "undefined" property from globals (69227d3)

3.0.0-rc.1 (2022-05-21)

  • Update jsdom to version 19, close #46

2.0.0 (2020-02-28)

Bug Fixes

  • platform: type mismatch (c823413)

Features

1.1.1 (2018-06-12)

Bug Fixes

  • mutation-observer: MutationObserver not handling changes to CharacterData.data

1.0.0-beta.3.3.0 (2018-04-17)

Features

  • Updated to support new PAL methods and typings.

1.0.0-beta.3.2.0 (2018-03-06)

Features

  • performance: update performance API (1508a8b)

1.0.0-beta.3.1.0 (2018-03-03)

Features

  • dom: add NodeList to global (20ce260)

Bug Fixes

  • global: add missing interface element to fix compile errors (fa2bbd3)

1.0.0-beta.2.0.0 (2017-08-22)

Bug Fixes

  • whole-text: remove unnecessary wholeText polyfill (348a272)

Features

  • dom: add createTemplateElement (8158b02)
  • dom: implement createAttribute (e926bd9)
  • index: add reset function (a33a116)
  • jsdom: update jsdom (d8e6239)

1.0.0-beta.1.0.0 (2016-12-07)

Bug Fixes

  • build: correct spec require fix (de0dca4)
  • index: alias console.debug to console.log (6eae254)
  • index: use proper objects for globalization (06ad303)
  • jsdom-whole-text: polyfill actual Text class too (bb2c0f8)
  • jsdom-whole-text: use hasOwnProperty (bf02c14)
  • nodejs-dom: fallback to a dummy class for SVGElement (e406710)
  • nodejs-global: add the missing globals (1f6e596)
  • nodejs-global: remove XMLHttpRequest (d20ffb0)
  • typings: updated types breaking the build (e797969)
  • whole-text: do not polyfill if implemented (d497559)

Features

  • index: globalize returns global scope (b1b001d)
  • index: move isInitialized to aurelia-pal (b7ce21a)
  • nodejs-global: add exported globalize function (55c2ffd)
  • whole-text: add @jdanyow's wholeText jsdom polyfill (a414eb7)