articulate-nlg
Advanced tools
Comparing version 2.1.8 to 3.0.1
"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); |
@@ -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; |
@@ -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; |
{ | ||
"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>", |
@@ -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 { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79238
7
412