@portabletext/toolkit
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -1,3 +0,3 @@ | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | ||
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
@@ -4,0 +4,0 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } |
{ | ||
"name": "@portabletext/toolkit", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "Toolkit of handy utility functions for dealing with Portable Text", | ||
@@ -48,16 +48,2 @@ "keywords": [ | ||
], | ||
"scripts": { | ||
"build": "run-s clean pkg:build pkg:check", | ||
"clean": "rimraf dist coverage", | ||
"coverage": "vitest run --coverage", | ||
"docs:build": "typedoc", | ||
"format": "prettier --write --cache --ignore-unknown .", | ||
"lint": "eslint .", | ||
"pkg:build": "pkg-utils build --strict", | ||
"pkg:check": "pkg-utils --strict", | ||
"prepare": "husky install", | ||
"prepublishOnly": "run-s build lint type-check", | ||
"test": "vitest", | ||
"type-check": "tsc --noEmit" | ||
}, | ||
"commitlint": { | ||
@@ -99,34 +85,18 @@ "extends": [ | ||
}, | ||
"release": { | ||
"branches": [ | ||
"+([0-9])?(.{+([0-9]),x}).x", | ||
"main", | ||
{ | ||
"name": "beta", | ||
"prerelease": true | ||
}, | ||
{ | ||
"name": "alpha", | ||
"prerelease": true | ||
} | ||
], | ||
"extends": "@sanity/semantic-release-preset" | ||
}, | ||
"dependencies": { | ||
"@portabletext/types": "^2.0.6" | ||
"@portabletext/types": "^2.0.7" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.22.10", | ||
"@babel/core": "^7.23.0", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.20.7", | ||
"@commitlint/cli": "^17.7.1", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@sanity/pkg-utils": "^2.4.8", | ||
"@sanity/semantic-release-preset": "^4.1.3", | ||
"@types/node": "^20.5.4", | ||
"@typescript-eslint/eslint-plugin": "^6.4.1", | ||
"@typescript-eslint/parser": "^6.4.1", | ||
"@vitest/coverage-v8": "^0.34.2", | ||
"@sanity/pkg-utils": "^2.4.9", | ||
"@types/node": "^20.7.1", | ||
"@typescript-eslint/eslint-plugin": "^6.7.3", | ||
"@typescript-eslint/parser": "^6.7.3", | ||
"@vitest/coverage-v8": "^0.34.5", | ||
"commitizen": "^4.3.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.47.0", | ||
"eslint": "^8.50.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
@@ -136,12 +106,11 @@ "eslint-config-sanity": "^6.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^3.0.2", | ||
"prettier": "^3.0.3", | ||
"prettier-plugin-packagejson": "^2.4.5", | ||
"rimraf": "^4.4.1", | ||
"semantic-release": "^21.0.9", | ||
"typedoc": "^0.24.8", | ||
"typescript": "^5.1.6", | ||
"vitest": "^0.34.2", | ||
"typedoc": "^0.25.1", | ||
"typescript": "^5.2.2", | ||
"vitest": "^0.34.5", | ||
"vitest-github-actions-reporter": "^0.10.0" | ||
}, | ||
"packageManager": "pnpm@8.6.12", | ||
"packageManager": "pnpm@8.8.0", | ||
"engines": { | ||
@@ -151,5 +120,16 @@ "node": "^14.13.1 || >=16.0.0" | ||
"publishConfig": { | ||
"access": "public", | ||
"provenance": true | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"build": "run-s clean pkg:build pkg:check", | ||
"clean": "rimraf dist coverage", | ||
"coverage": "vitest run --coverage", | ||
"docs:build": "typedoc", | ||
"format": "prettier --write --cache --ignore-unknown .", | ||
"lint": "eslint .", | ||
"pkg:build": "pkg-utils build --strict", | ||
"pkg:check": "pkg-utils --strict", | ||
"test": "vitest", | ||
"type-check": "tsc --noEmit" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
147497
23
18
1932
Updated@portabletext/types@^2.0.7