mondrian-components
Advanced tools
Comparing version 1.2.2 to 1.2.3
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const React = require("react"); | ||
const Mark = require("mark.js"); | ||
const mark_js_1 = require("mark.js"); | ||
class Body extends React.Component { | ||
@@ -9,3 +9,3 @@ componentDidMount() { | ||
return; | ||
const instance = new Mark(this.node); | ||
const instance = new mark_js_1.default(this.node); | ||
instance.mark(this.props.query, { | ||
@@ -12,0 +12,0 @@ acrossElements: true, |
@@ -73,2 +73,6 @@ /// <reference types="react" /> | ||
}>; | ||
export declare const Bibl: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
theme?: any; | ||
innerRef?: (instance: any) => void; | ||
}>; | ||
export declare const C: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
@@ -98,2 +102,10 @@ theme?: any; | ||
}>; | ||
export declare const MdTranspose: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
theme?: any; | ||
innerRef?: (instance: any) => void; | ||
}>; | ||
export declare const Metamark: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
theme?: any; | ||
innerRef?: (instance: any) => void; | ||
}>; | ||
export declare const Note: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
@@ -107,2 +119,6 @@ theme?: any; | ||
}>; | ||
export declare const Ref: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
theme?: any; | ||
innerRef?: (instance: any) => void; | ||
}>; | ||
export declare const Retrace: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
@@ -112,2 +128,6 @@ theme?: any; | ||
}>; | ||
export declare const Rs: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
theme?: any; | ||
innerRef?: (instance: any) => void; | ||
}>; | ||
export declare const Space: React.ComponentClass<React.HTMLProps<HTMLDivElement> & { | ||
@@ -114,0 +134,0 @@ theme?: any; |
@@ -57,2 +57,3 @@ "use strict"; | ||
exports.Anchor = Tag; | ||
exports.Bibl = Tag; | ||
exports.C = Tag; | ||
@@ -64,7 +65,11 @@ exports.Choice = Tag; | ||
exports.MdPostmark = Tag; | ||
exports.MdTranspose = Tag; | ||
exports.Metamark = Tag; | ||
exports.Note = Tag; | ||
exports.P = Tag; | ||
exports.Ref = Tag; | ||
exports.Retrace = Tag; | ||
exports.Rs = Tag; | ||
exports.Space = Tag; | ||
__export(require("./no")); | ||
__export(require("./body")); |
@@ -0,1 +1,4 @@ | ||
### v1.2.3 (2017/4/20 14:6) | ||
* Add undefined tags | ||
### v1.2.2 (2017/4/20 10:5) | ||
@@ -2,0 +5,0 @@ * Don't run mark.js when query is empty |
{ | ||
"name": "mondrian-components", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "## Development - $ npm install - $ npm run watch - Open new terminal. - $ npm run server - The default browser is pointed to http://localhost:3000.", | ||
@@ -16,3 +16,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"mark.js": "github:julmot/mark.js", | ||
"mark.js": "github:gijsjan/mark.js", | ||
"react": "^15.4.2", | ||
@@ -19,0 +19,0 @@ "styled-components": "^1.4.4" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
1923537
7790