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

@wordpress/redux-routine

Package Overview
Dependencies
Maintainers
6
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/redux-routine - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

CHANGELOG.md

4

build-module/index.js

@@ -1,3 +0,1 @@

import _Promise from "@babel/runtime-corejs2/core-js/promise";
/**

@@ -40,3 +38,3 @@ * Internal dependencies

if (routine instanceof _Promise) {
if (routine instanceof Promise) {
// Async control routine awaits resolution.

@@ -43,0 +41,0 @@ routine.then(function (result) {

@@ -1,3 +0,1 @@

import _Symbol$toStringTag from "@babel/runtime-corejs2/core-js/symbol/to-string-tag";
/**

@@ -13,4 +11,4 @@ * Returns true if the given object is a generator, or false otherwise.

export default function isGenerator(object) {
return !!object && object[_Symbol$toStringTag] === 'Generator';
return !!object && object[Symbol.toStringTag] === 'Generator';
}
//# sourceMappingURL=is-generator.js.map
"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

@@ -10,4 +10,2 @@ Object.defineProperty(exports, "__esModule", {

var _promise = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/promise"));
var _isGenerator = _interopRequireDefault(require("./is-generator"));

@@ -52,3 +50,3 @@

if (routine instanceof _promise.default) {
if (routine instanceof Promise) {
// Async control routine awaits resolution.

@@ -55,0 +53,0 @@ routine.then(function (result) {

"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {

@@ -10,4 +8,2 @@ value: true

var _toStringTag = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/symbol/to-string-tag"));
/**

@@ -23,4 +19,4 @@ * Returns true if the given object is a generator, or false otherwise.

function isGenerator(object) {
return !!object && object[_toStringTag.default] === 'Generator';
return !!object && object[Symbol.toStringTag] === 'Generator';
}
//# sourceMappingURL=is-generator.js.map
{
"name": "@wordpress/redux-routine",
"version": "1.0.0",
"version": "2.0.0",
"description": "Redux middleware for generator coroutines.",

@@ -25,3 +25,3 @@ "author": "The WordPress Contributors",

"dependencies": {
"@babel/runtime-corejs2": "7.0.0-beta.56"
"@babel/runtime": "^7.0.0"
},

@@ -34,3 +34,3 @@ "devDependencies": {

},
"gitHead": "f02064f12a148df60b8d79801858ce3699bdfb89"
"gitHead": "df6f8da7b557894e4364c17db2dd4af0d1e20252"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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