New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@culli/base

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@culli/base - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# 0.1.3 (2017-02-08)
---
## Bug Fixes
- fix(base): Fix most imports [61d0b38c](/commits/61d0b38cd7a2e6d7b62dd8b96061529f03ba6e1a)
# v0.1.2 (2016-10-27)

@@ -2,0 +9,0 @@ ---

@@ -6,2 +6,5 @@ "use strict";

});
var _util = require("./util");
var curry2 = function curry2(f) {

@@ -58,2 +61,5 @@ return function curried2(a0, a1) {

var curry = function curry(f) {
if (process.ENV !== "production") {
!(0, _util.isFun)(f) && (0, _util.throws)("Curried argument is not a function: " + f);
}
switch (f.length) {

@@ -60,0 +66,0 @@ case 0:

6

lib/obs.js

@@ -14,4 +14,2 @@ "use strict";

var _hold2 = _interopRequireDefault(_hold);
var _mostSubject = require("most-subject");

@@ -72,3 +70,3 @@

var hold = exports.hold = (0, _curry2.default)(_hold2.default);
var hold = exports.hold = (0, _curry2.default)(_hold.hold);

@@ -117,3 +115,3 @@ var skipRepeats = exports.skipRepeats = (0, _curry2.default)(most.skipRepeatsWith);

makeSubject: function makeSubject() {
var s = (0, _mostSubject.subject)();
var s = (0, _mostSubject.async)();
var o = {

@@ -120,0 +118,0 @@ next: function next(x) {

{
"name": "@culli/base",
"version": "0.1.2",
"version": "0.1.3",
"description": "Base utils for cullish cycle library development",

@@ -40,10 +40,10 @@ "author": "Matti Lankinen <m.lankinen@iki.fi> (https://github.com/milankinen)",

"dependencies": {
"@most/hold": "^1.3.1",
"most": "^1.0.4",
"most-subject": "^4.1.3"
"@most/hold": "^2.0.0",
"most": "^1.2.1",
"most-subject": "^5.3.0"
},
"devDependencies": {
"@cycle/xstream-adapter": "^3.0.4",
"should": "^11.1.1",
"xstream": "^6.5.0"
"@cycle/xstream-adapter": "^3.1.0",
"should": "^11.2.0",
"xstream": "^10.2.0"
},

@@ -50,0 +50,0 @@ "nyc": {

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

import {isFun, throws} from "./util"
const curry2 = f => function curried2(a0, a1) {

@@ -36,2 +38,5 @@ switch (arguments.length) {

const curry = f => {
if (process.ENV !== "production") {
!isFun(f) && throws(`Curried argument is not a function: ${f}`)
}
switch (f.length) {

@@ -38,0 +43,0 @@ case 0:

import * as most from "most"
import mhold from "@most/hold"
import {subject} from "most-subject"
import {hold as mhold} from "@most/hold"
import {async as subject} from "most-subject"
import curry from "./curry"

@@ -5,0 +5,0 @@ import {isFun} from "./util"

@@ -0,1 +1,2 @@

import should from "should"
import {curry} from "../src/index"

@@ -26,2 +27,5 @@

})
it("throws an exception if the given argument is not a function", () => {
should.throws(() => curry("tsers"))
})
})

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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