@vrbo/catalyst-render
Advanced tools
Comparing version 2.0.1 to 3.0.0
@@ -7,7 +7,17 @@ # Changelog | ||
## [2.0.1] - 2019-11-19 | ||
## 3.0.0 - 2020-08-18 | ||
### BREAKING CHANGE | ||
- [Breaking] Drop support for Hapi <= 19 | ||
- [Breaking] Drop support for Node <= 10 | ||
- Updating dependencies to latest versions | ||
## 2.0.1 - 2019-11-19 | ||
### Changed | ||
- The 2.0.0 publish didn't actually include the advertised changes. 2.0.1 does. | ||
## [2.0.0] - 2019-10-7 | ||
## 2.0.1 - 2019-11-19 | ||
### Changed | ||
- The 2.0.0 publish didn't actually include the advertised changes. 2.0.1 does. | ||
## 2.0.0 - 2019-10-7 | ||
### BREAKING CHANGE | ||
@@ -14,0 +24,0 @@ - Update to use `@hapi` scoped packages. |
@@ -20,3 +20,3 @@ /* | ||
const Vision = require('@hapi/vision') | ||
const Joi = require('@hapi/joi') | ||
const Joi = require('joi') | ||
const debug = require('debug')('catalyst-render') | ||
@@ -23,0 +23,0 @@ const { name, version } = require('../package.json') |
{ | ||
"name": "@vrbo/catalyst-render", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"description": "A Hapi.js plugin to aid in server-side rendering using Handlebars and React.", | ||
@@ -28,12 +28,13 @@ "main": "lib/index.js", | ||
"type": "git", | ||
"url": "https://github.com/homeaway/catalyst-render" | ||
"url": "https://github.com/expediagroup/catalyst-render" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/homeaway/catalyst-render/issues" | ||
"url": "https://github.com/expediagroup/catalyst-render/issues" | ||
}, | ||
"engines": { | ||
"node": ">=8.0.0", | ||
"npm": ">=5.0.0" | ||
"node": ">=12.0.0", | ||
"npm": ">=6.0.0" | ||
}, | ||
"keywords": [ | ||
"catalyst", | ||
"catalyst-render", | ||
@@ -44,21 +45,25 @@ "hapi", | ||
"react", | ||
"node.js" | ||
"node.js", | ||
"homeaway", | ||
"vrbo", | ||
"expedia", | ||
"expediagroup" | ||
], | ||
"license": "Apache-2.0", | ||
"peerDependencies": { | ||
"@hapi/hapi": ">=17.9.0" | ||
"@hapi/hapi": ">=20.0.0" | ||
}, | ||
"dependencies": { | ||
"@hapi/vision": "^6.0.0", | ||
"debug": "^4.1.1", | ||
"handlebars": "^4.4.2", | ||
"@hapi/joi": "^16.1.7", | ||
"@hapi/vision": "^5.5.4" | ||
"handlebars": "^4.7.6", | ||
"joi": "^17.2.0" | ||
}, | ||
"devDependencies": { | ||
"@hapi/hapi": "^18.3.2", | ||
"nyc": "^13.2.0", | ||
"standard": "^12.0.1", | ||
"@hapi/hapi": "^20.0.0", | ||
"nyc": "^15.0.0", | ||
"standard": "^14.0.0", | ||
"tap-spec": "^5.0.0", | ||
"tape": "^4.9.2" | ||
"tape": "^5.0.0" | ||
} | ||
} |
# @vrbo/catalyst-render | ||
[![NPM Version](https://img.shields.io/npm/v/@vrbo/catalyst-render.svg?style=flat-square)](https://www.npmjs.com/package/@vrbo/catalyst-render) | ||
[![Build Status](https://travis-ci.org/homeaway/catalyst-render.svg?branch=master)](https://travis-ci.org/homeaway/catalyst-render) | ||
[![Dependency Status](https://david-dm.org/homeaway/catalyst-render.svg?theme=shields.io)](https://david-dm.org/homeaway/catalyst-render) | ||
![](https://github.com/ExpediaGroup/catalyst-render/workflows/Node_CI/badge.svg) | ||
[![Dependency Status](https://david-dm.org/expediagroup/catalyst-render.svg?theme=shields.io)](https://david-dm.org/expediagroup/catalyst-render) | ||
[![NPM Downloads](https://img.shields.io/npm/dm/@vrbo/catalyst-render.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@vrbo/catalyst-render) | ||
@@ -14,3 +14,3 @@ | ||
## Introduction | ||
A Hapi.js plugin that works with the [catalyst-server](https://github.com/homeaway/catalyst-server) to aid in server-side rendering using Handlebars and React. It allows you to relate a Handlebars template and a React component to a route. This route will automatically be registered with the server and will decorate `request.pre.component` with the react component and the `request.pre.template` with the template. It will also register @hapi/vision and server views with Handlebars rendering for the page scaffolding. | ||
A Hapi.js plugin that works with the [catalyst-server](https://github.com/expediagroup/catalyst-server) to aid in server-side rendering using Handlebars and React. It allows you to relate a Handlebars template and a React component to a route. This route will automatically be registered with the server and will decorate `request.pre.component` with the react component and the `request.pre.template` with the template. It will also register @hapi/vision and server views with Handlebars rendering for the page scaffolding. | ||
@@ -17,0 +17,0 @@ ## Usage |
@@ -42,3 +42,3 @@ const Tape = require('tape') | ||
const { register } = Plugin.plugin | ||
register(server, options) | ||
await register(server, options) | ||
}) | ||
@@ -65,3 +65,3 @@ | ||
const { register } = Plugin.plugin | ||
register(server, options) | ||
await register(server, options) | ||
}) | ||
@@ -116,3 +116,3 @@ | ||
const { register } = Plugin.plugin | ||
register(server, options) | ||
await register(server, options) | ||
}) | ||
@@ -119,0 +119,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
28734
1
+ Addedjoi@^17.2.0
+ Added@hapi/boom@9.1.4(transitive)
+ Added@hapi/bounce@2.0.0(transitive)
+ Added@hapi/hoek@9.3.0(transitive)
+ Added@hapi/topo@5.1.0(transitive)
+ Added@hapi/validate@1.1.3(transitive)
+ Added@hapi/vision@6.1.0(transitive)
+ Added@sideway/address@4.1.5(transitive)
+ Added@sideway/formula@3.0.1(transitive)
+ Added@sideway/pinpoint@2.0.0(transitive)
+ Addedjoi@17.13.3(transitive)
- Removed@hapi/joi@^16.1.7
- Removed@hapi/address@2.1.4(transitive)
- Removed@hapi/boom@7.4.11(transitive)
- Removed@hapi/bounce@1.3.2(transitive)
- Removed@hapi/formula@1.2.0(transitive)
- Removed@hapi/hoek@8.5.1(transitive)
- Removed@hapi/joi@16.1.8(transitive)
- Removed@hapi/pinpoint@1.0.2(transitive)
- Removed@hapi/topo@3.1.6(transitive)
- Removed@hapi/vision@5.5.4(transitive)
Updated@hapi/vision@^6.0.0
Updatedhandlebars@^4.7.6