hops-mixin
Advanced tools
Comparing version 13.0.0-alpha.2 to 13.0.0-rc.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [13.0.0-rc.0](https://github.com/xing/hops/compare/v13.0.0-alpha.2...v13.0.0-rc.0) (2020-09-07) | ||
### Reverts | ||
* Revert "chore: deprecate "hops-mixin" in favor of "hops-bootstrap"" ([79438bb](https://github.com/xing/hops/commit/79438bb1a2054f5ef8362d59b4aefd412cd9be86)) | ||
# [13.0.0-alpha.2](https://github.com/xing/hops/compare/v13.0.0-alpha.1...v13.0.0-alpha.2) (2020-08-17) | ||
@@ -8,0 +19,0 @@ |
13
index.js
@@ -1,8 +0,11 @@ | ||
const { Mixin } = require('hops-bootstrap'); | ||
const isPlainObject = require('is-plain-obj'); | ||
const { sync, async } = require('mixinable'); | ||
const deprecate = require('depd')('hops-mixin'); | ||
deprecate( | ||
'[DEP0005] hops-mixin is deprecated. Please import "Mixin" from "hops-bootstrap" and strategies from "mixinable" https://github.com/xing/hops/blob/master/DEPRECATIONS.md#dep0005.' | ||
); | ||
class Mixin { | ||
constructor(config, ...args) { | ||
const options = args[args.length - 1]; | ||
this.config = config; | ||
this.options = isPlainObject(options) ? options : {}; | ||
} | ||
} | ||
@@ -9,0 +12,0 @@ module.exports = { |
{ | ||
"name": "hops-mixin", | ||
"version": "13.0.0-alpha.2", | ||
"version": "13.0.0-rc.0", | ||
"description": "Building blocks to build cusom hops mixins", | ||
@@ -20,8 +20,7 @@ "keywords": [ | ||
"dependencies": { | ||
"depd": "^2.0.0", | ||
"hops-bootstrap": "^13.0.0-alpha.2", | ||
"is-plain-obj": "^2.0.0", | ||
"mixinable": "^5.0.1" | ||
}, | ||
"homepage": "https://github.com/xing/hops/tree/master/packages/mixin#readme", | ||
"gitHead": "6707bff34bf59a7bd33d30152f1393e35296b3d4" | ||
"gitHead": "92230c1e4886e49ab13c10547beb0f26fcd440c5" | ||
} |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
5846
2
13
0
+ Addedis-plain-obj@^2.0.0
+ Addedis-plain-obj@2.1.0(transitive)
- Removeddepd@^2.0.0
- Removedhops-bootstrap@^13.0.0-alpha.2
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removedajv@7.2.4(transitive)
- Removedajv-formats@1.6.1(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedcheck-error@1.0.3(transitive)
- Removedcosmiconfig@7.1.0(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddepd@2.0.0(transitive)
- Removeddotenv@8.6.0(transitive)
- Removedenhanced-resolve@5.18.0(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfind-up@5.0.0(transitive)
- Removedflat@5.0.2(transitive)
- Removedget-func-name@2.0.2(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhops-bootstrap@13.4.3(transitive)
- Removedhops-debug@13.4.3(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-plain-obj@3.0.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedjson-schema-traverse@1.0.0(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedlocate-path@6.0.0(transitive)
- Removedms@2.1.3(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedp-locate@5.0.0(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedrequire-from-string@2.0.2(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedsupports-color@8.1.1(transitive)
- Removedtapable@2.2.1(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedyaml@1.10.2(transitive)
- Removedyocto-queue@0.1.0(transitive)