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

@xstate/graph

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xstate/graph - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

CHANGELOG.md

22

package.json
{
"name": "@xstate/graph",
"version": "1.0.0",
"version": "1.1.0",
"description": "XState graph utilities",

@@ -17,6 +17,10 @@ "keywords": [

"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"sideEffects": false,
"files": [
"lib/**/*.js",
"lib/**/*.d.ts"
"lib/**/*.d.ts",
"es/**/*.js",
"es/**/*.d.ts"
],

@@ -28,5 +32,4 @@ "repository": {

"scripts": {
"clean": "rm -rf dist lib tsconfig.tsbuildinfo",
"prebuild": "npm run clean",
"build": "tsc",
"clean": "rm -rf dist lib es tsconfig.tsbuildinfo",
"build": "tsc && tsc --outDir es --module es2015",
"test": "jest",

@@ -39,13 +42,12 @@ "prepublish": "npm run build && npm run test"

"peerDependencies": {
"xstate": "^4.7.0"
"xstate": "^4.9.0"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"jest": "^24.8.0",
"lerna-alias": "3.0.3-0",
"ts-jest": "^24.0.2",
"typescript": "^3.7.2",
"xstate": "^4.7.0"
"ts-jest": "^24.1.9",
"typescript": "^3.8.3",
"xstate": "*"
},
"dependencies": {}
}

@@ -17,6 +17,6 @@ # @xstate/graph

import { Machine } from 'xstate';
import { simplePaths } from '@xstate/graph';
import { getSimplePaths } from '@xstate/graph';
const machine = Machine(/* ... */);
const paths = simplePaths(machine);
const paths = getSimplePaths(machine);
```

@@ -51,3 +51,3 @@

```json
```json5
{

@@ -174,3 +174,3 @@ "<SERIALIZED STATE>": {

```json
```json5
{

@@ -177,0 +177,0 @@ "<SERIALIZED STATE>": {

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