Skip to content

Commit 1680683

Browse files
committed
Refer to npm package instead of tarball for domino
1 parent 19a2e2c commit 1680683

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

examples/demand-express/ci/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const fetch = require('node-fetch');
22

3-
const domino = require('domino');
3+
const domino = require('domino-modernized');
44

55
export class HttpTestClient {
66
constructor(private serverUri: string) {}
@@ -47,4 +47,4 @@ const assertions = (text: string) => {
4747
if (/Sed ut perspiciatis unde omnis iste natus error sit voluptatem/i.test(application.textContent) === false) {
4848
throw new Error(`Server returned a document that does not contain the rendered blog element: ${text}`);
4949
}
50-
};
50+
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ssr",
3-
"version": "0.10.12",
3+
"version": "0.10.14",
44
"description": "Angular server-side rendering implementation",
55
"main": "build/index.js",
66
"typings": "build/index.d.ts",
@@ -79,7 +79,7 @@
7979
"bluebird": "^3.4.7",
8080
"chalk": "^1.1.3",
8181
"commander": "2.9.0",
82-
"domino": "https://github.com/clbond/domino/archive/1.0.45.tar.gz",
82+
"domino-modernized": "^1.0.46",
8383
"jsonschema": "^1.1.1",
8484
"lru_map": "^0.3.3",
8585
"mkdir-recursive": "^0.3.0",

source/runtime/browser-emulation/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import domino = require('domino');
1+
const domino = require('domino-modernized');
22

33
import {bindAnimation} from './animation';
44
import {bindBase64} from './base64';

source/runtime/browser-emulation/style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const {impl: {CSSStyleDeclaration}} = require('domino');
1+
const {impl: {CSSStyleDeclaration}} = require('domino-modernized');
22

33
const getMatchedCSSRules = () => {
44
return {

source/snapshot/creator/transform.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {Postprocessor} from '../../application/contracts';
22

33
import {SnapshotException} from '../../exception';
44

5-
const {createDocument} = require('domino');
5+
const {createDocument} = require('domino-modernized');
66

77
export const transformAndSerializeDocument = (processors: Array<Postprocessor>, document: Document): string => {
88
const renderedDocument = preprocess(processors, document);
@@ -48,4 +48,4 @@ const preprocess = (processors: Array<Postprocessor>, document: Document): strin
4848
}
4949

5050
return document.documentElement.outerHTML;
51-
};
51+
};

0 commit comments

Comments
 (0)