Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

articulate-nlg

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

articulate-nlg - npm Package Compare versions

Comparing version 2.1.8 to 3.0.1

7

dist/example.js
"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 {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc