Socket
Socket
Sign inDemoInstall

angular2-in-memory-web-api

Package Overview
Dependencies
8
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular2-in-memory-web-api

An in-memory web api for demos and tests


Version published
Weekly downloads
441
decreased by-22.22%
Maintainers
2
Install size
97.8 kB
Created
Weekly downloads
 

Changelog

Source

0.0.14 (2016-06-30)

  • RC4

<a id="0.0.13"></a>

Readme

Source

angular2 in-memory-web-api

An in-memory web api for Angular 2 demos and tests.

See usage in the Angular.io Server Communication chapter.

Simple Query String Support

Custom filters can be passed as a regex pattern via query string. The query string defines which property and value to match against.

Format: /app/heroes/?propertyName=regexPattern

In the following example we are matching on all names containing the letter 'j' in the heroes collection.

/app/heroes/?name=j+

To Do

  • add documentation
  • add tests (shameful omission!)

Build Instructions

Mostly gulp driven.

The following describes steps for updating from one Angular version to the next

This is essential even when there are no changes of real consequence. Neglecting to synchronize Angular 2 versions triggers typescript definition duplication error messages when compiling your application project.

  • gulp bump - up the package version number

  • update CHANGELOG.MD to record the change

  • update the dependent version(s) in package.json

  • npm install the new package(s) (make sure they really do install!)
    npm list --depth=0

  • consider updating typings, install individually/several: npm run typings -- install packagename --ambient --save

    NB: Do not add to npm postinstall as that screws up consumers!

  • npm run typings install

  • npm run tsc to confirm the project compiles w/o error (sanity check)

-- NO TESTS YET ... BAD --

  • gulp build

  • commit and push

  • npm publish

  • Fix and validate angular.io docs samples

  • Add two tags to the release commit with for npmcdn

    • the version number
    • 'latest'

FAQs

Last updated on 30 Jun 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc