articulate-nlg
Advanced tools
+2
-5
| "use strict"; | ||
| var __importDefault = (this && this.__importDefault) || function (mod) { | ||
| return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| const index_1 = __importDefault(require("./index")); | ||
| class Dog extends index_1.default { | ||
| const index_1 = require("./index"); | ||
| class Dog extends index_1.Persona { | ||
| constructor() { | ||
@@ -9,0 +6,0 @@ super(...arguments); |
+1
-1
@@ -23,3 +23,3 @@ export interface WeightedText { | ||
| export type Text = string | StringFunction; | ||
| export default class Persona { | ||
| export declare class Persona { | ||
| vocab: Vocabulary; | ||
@@ -26,0 +26,0 @@ private params; |
+2
-1
@@ -6,2 +6,3 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.Persona = void 0; | ||
| const random_seed_weighted_chooser_1 = __importDefault(require("random-seed-weighted-chooser")); | ||
@@ -156,2 +157,2 @@ const toWeightedTexts = (texts) => { | ||
| } | ||
| exports.default = Persona; | ||
| exports.Persona = Persona; |
+1
-1
| { | ||
| "name": "articulate-nlg", | ||
| "version": "2.1.8", | ||
| "version": "3.0.1", | ||
| "coreVersion": "2.4.8", | ||
@@ -5,0 +5,0 @@ "author": "Justin Mahar <contact@justinmahar.com>", |
+2
-2
@@ -94,3 +94,3 @@ <h2 align="center"> | ||
| ```jsx | ||
| import Persona from "articulate-nlg"; | ||
| import { Persona } from "articulate-nlg"; | ||
| ``` | ||
@@ -109,3 +109,3 @@ | ||
| ```js | ||
| import Persona from "articulate-nlg"; | ||
| import { Persona } from "articulate-nlg"; | ||
@@ -112,0 +112,0 @@ class Dog extends Persona { |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
79238
-0.15%412
-0.48%