Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@transferwise/styleguide-components
Advanced tools
TransfeWise AngularJS 1.x Styleguide Components
AngularJS components for TransferWise Bootstrap. The repo provides form controls, dynamic form components, validation, and some styling directives.
Live demo and documentation: http://transferwise.github.io/styleguide-components/
For detailed documentation on how to use JSON schema dynamic forms: https://transferwise.github.io/styleguide-components/requirements.html
For a playground where you can try out different JSON schemas in a live editor: https://transferwise.github.io/styleguide-components/playground.html
Import the latest version number from NPM.
dependencies: {
"@transferwise/styleguide-components": "^3.10.4",
}
Include the distribution file (exact path depends on your yarn/npm/bower config).
<script src="node_modules/styleguide-components/dist/js/styleguide-components.min.js"></script>
Within your angular application, simply add the module as a dependency for your application definition.
angular.module('my-app', ['tw.styleguide-components']);
Clone the project and run npm start
, this will build the project and set up a
watch for changes.
To run the local server with live reload you can run the following:
npm run dev
To test, run npm test
.
If you get errors while testing along the lines of:
libpng16.so.16: cannot open shared object file: No such file or directory
at Object.<anonymous> (node_modules/canvas/lib/bindings.js:3:18)
Then be sure to install the necessary dependencies for your OS by following https://www.npmjs.com/package/canvas#compiling.
If you still can't able to find libpcre.so.1
, and you're (still) on Ubuntu 16.04, well there's no libpcre.so.1
in the apt packages. Take guidance from this StackOverflow comment. You will need to download and extract the latest pcre-8.XX package from https://www.pcre.org/, ./configure
, make
, (sudo-)move the resulting .lib/libpcre.so.1.X.X
to maybe /usr/lib
, update its permissions, and ln -s
libpcre.so.1
to it.
In order to release a new version, here are the steps necessary:
Bump the version in package.json
and add description of the change in CHANGELOG.md
Use semver: http://semver.org
Make a pull request
Tests will be run automatically. You will need a review from a member of the @transferwise/frontend-guild.
Squash WIP commits and merge
Delete your branch after merging.
Build and release are made automatically on merge
CircleCI will:
FAQs
TransfeWise AngularJS 1.x Styleguide Components
The npm package @transferwise/styleguide-components receives a total of 0 weekly downloads. As such, @transferwise/styleguide-components popularity was classified as not popular.
We found that @transferwise/styleguide-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.