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

dtto

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtto - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

babel.config.js

3

dist/index.js

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

function n(n){return n.replace(/\W+/g," ").split(/ |\B(?=[A-Z])/).map(function(n){return n.toLowerCase()}).join("_")}function e(e,t){function r(n,e,t){return null==n?t:e()}return{nullOr:function(n,e){return r(n,e,null)},withDefault:r,fromSnakeCaseKeys:function(r){var o={};return r?r.forEach(function(e){o[e]=t[n(e)]}):Object.getOwnPropertyNames(e).forEach(function(e){o[e]=t[n(e)]}),o}}}function t(){return t=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},t.apply(this,arguments)}function r(n,e){var r=Object.create(Object.getPrototypeOf(n),Object.getOwnPropertyDescriptors(n)),o=t({},r,e);return Object.keys(o).forEach(function(n){Object.defineProperty(r,n,{value:o[n]})}),r}var o=new Map;function c(n,e){o.set(n,e)}function u(n,t){var r=new n,c=Object.getOwnPropertyNames(r),u=o.get(n),a=u?u(t,e(r,t)):{};return c.forEach(function(n){Object.defineProperty(r,n,{value:n in a?a[n]:null==t?null:t[n],writable:!0})}),r}function a(n,e){var t=new n;return Object.getOwnPropertyNames(t).forEach(function(n){Object.defineProperty(t,n,{value:e&&n in e?e[n]:null})}),t}function i(n,e){return r(new n,e)}export{r as copyWith,e as createTransformAPI,c as defineTransform,u as fromJson,i as make,a as mutable};
//# sourceMappingURL=index.js.map
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["restful-resource"]={})}(this,(function(e){"use strict";function t(e){return e.replace(/\W+/g," ").split(/ |\B(?=[A-Z])/).map((e=>e.toLowerCase())).join("_")}function n(e,n){function r(e,t,n){return null==e?n:t()}return{nullOr:function(e,t){return r(e,t,null)},withDefault:r,fromSnakeCaseKeys:function(r){const o={};if(r)r.forEach((e=>{o[e]=n[t(e)]}));else{Object.getOwnPropertyNames(e).forEach((e=>{o[e]=n[t(e)]}))}return o}}}function r(e,t){const n=Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),r=Object.assign(Object.assign({},n),t);return Object.keys(r).forEach((e=>{Object.defineProperty(n,e,{value:r[e]})})),n}const o=new Map;e.copyWith=r,e.createTransformAPI=n,e.defineTransform=function(e,t){o.set(e,t)},e.fromJson=function(e,t){const r=new e,c=Object.getOwnPropertyNames(r),f=(u=e,o.get(u));var u;const i=f?f(t,n(r,t)):{};return c.forEach((e=>{let n;n=e in i?i[e]:null==t?null:t[e],Object.defineProperty(r,e,{value:n,writable:!0})})),r},e.make=function(e,t){return r(new e,t)},e.mutable=function(e,t){const n=new e;return Object.getOwnPropertyNames(n).forEach((e=>{Object.defineProperty(n,e,{value:t&&e in t?t[e]:null})})),n},Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "dtto",
"version": "0.0.4",
"version": "0.0.5",
"description": "",

@@ -19,5 +19,6 @@ "type": "module",

"test": "jest",
"build": "microbundle",
"release": "rm -rf dist/ && npm run build",
"prettier": "prettier './src/**/*.ts' --write"
"prettier": "prettier './src/**/*.ts' --write",
"release": "rm -rf dist/ && tsc -d && rollup -c",
"lint": "eslint --ext .ts --ignore-path .eslintignore .",
"lint:fix": "npm run lint -- --fix"
},

@@ -28,2 +29,4 @@ "author": "drewjbartlett",

"devDependencies": {
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@types/jest": "^29.1.1",

@@ -36,4 +39,7 @@ "@types/node": "^18.8.2",

"jest": "^29.1.2",
"microbundle": "^0.15.1",
"prettier": "^2.8.4",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^29.0.3",

@@ -40,0 +46,0 @@ "typescript": "^4.9.5"

{
"compilerOptions": {
"allowJs": true,
"module": "commonjs",
"module": "ESNext",
"declaration": true,

@@ -6,0 +6,0 @@ "removeComments": true,

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