Socket
Socket
Sign inDemoInstall

@contentful/rich-text-types

Package Overview
Dependencies
Maintainers
39
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/rich-text-types - npm Package Compare versions

Comparing version 5.0.0 to 8.0.0

9

dist/lib/__test__/index.test.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var blocks_1 = require("../blocks");
var inlines_1 = require("../inlines");
var faker_1 = require("faker");
var blocks_1 = __importDefault(require("../blocks"));
var inlines_1 = __importDefault(require("../inlines"));
var faker_1 = __importDefault(require("faker"));
describe('Document', function () {

@@ -7,0 +10,0 @@ it('empty Document', function () {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var _a;
var blocks_1 = require("./blocks");
var blocks_1 = __importDefault(require("./blocks"));
/**

@@ -6,0 +9,0 @@ * Array of all top level block types.

{
"name": "@contentful/rich-text-types",
"version": "5.0.0",
"description": "",
"keywords": [],
"version": "8.0.0",
"main": "dist/rich-text-types.es5.js",

@@ -11,6 +9,5 @@ "typings": "dist/types/index.d.ts",

],
"author": "",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/contentful/rich-text-types.git"
"url": "https://github.com/contentful/rich-text.git"
},

@@ -21,72 +18,11 @@ "license": "MIT",

},
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts",
"start": "rollup -c rollup.config.ts -w",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm t && npm run lint",
"build": "tsc --module commonjs && rollup -c rollup.config.js",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once --pro",
"precommit": "lint-staged",
"commitmsg": "validate-commit-msg",
"prepush": "npm run test:prod && npm run build"
"start": "tsc && rollup -c rollup.config.js -w"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
}
},
"jest": {
"cache": false,
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testPathIgnorePatterns": [
"/dist/"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/",
"/__test__/",
"/dist/"
],
"_coverageThreshold": {
"global": {
"branches": 74,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"collectCoverage": true,
"globals": {
"ts-jest": {
"enableTsDiagnostics": true
}
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"devDependencies": {

@@ -99,35 +35,39 @@ "@types/faker": "^4.1.2",

"colors": "^1.1.2",
"commitizen": "^2.9.6",
"coveralls": "^3.0.0",
"cross-env": "^5.0.1",
"cz-conventional-changelog": "^2.0.0",
"commitizen": "^3.0.4",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"faker": "^4.1.0",
"husky": "^0.14.0",
"jest": "^22.0.2",
"lint-staged": "^7.0.0",
"git-cz": "^1.7.1",
"husky": "^1.1.2",
"jest": "^23.6.0",
"lint-staged": "^7.3.0",
"lodash.camelcase": "^4.3.0",
"prettier": "^1.4.4",
"prettier": "^1.14.3",
"prompt": "^1.0.0",
"replace-in-file": "^3.0.0-beta.2",
"rimraf": "^2.6.1",
"rollup": "^0.58.0",
"rollup-plugin-commonjs": "^9.0.0",
"rollup-plugin-json": "^3.0.0",
"rollup-plugin-node-resolve": "^3.0.0",
"replace-in-file": "^3.4.2",
"rimraf": "^2.6.2",
"rollup": "^0.66.6",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript2": "^0.11.1",
"semantic-release": "^15.6.0",
"travis-deploy-once": "^5.0.0",
"ts-jest": "^22.0.0",
"ts-node": "^6.0.0",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.1.0",
"tslint-config-standard": "^7.0.0",
"rollup-plugin-typescript2": "^0.17.2",
"semantic-release": "15.6.3",
"travis-deploy-once": "^5.0.9",
"ts-jest": "^23.10.4",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^2.6.2",
"validate-commit-msg": "^2.12.2"
"validate-commit-msg": "^2.14.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {}
"dependencies": {
"@semantic-release/changelog": "2.1.2",
"@semantic-release/git": "6.0.2",
"@semantic-release/npm": "3.4.1",
"faker": "^4.1.0",
"semantic-release-monorepo": "^6.1.1"
}
}

@@ -7,8 +7,6 @@ # rich-text-types

## Releases flow (Atomatic Releases)
## Releases flow
Automatic releases are possible thanks to [semantic release](https://github.com/semantic-release/semantic-release), which publishes the code automatically on npm and generates a changelog.
We follow [angular commit format](https://gist.github.com/stephenparish/9941e89d80e2bc58a153#allowed-type) to generate a changelog.
You'll need to use `npm run commit`, to create conventional commits.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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